facebook

RESTful Web Services Running on WebSphere 6.1

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #294491 Reply

    APEXMASON
    Member

    Did anyone deploy sucessfully the sample RESTful Web Service explained in the following tutorial on WebSphere 6.1:

    http://www.myeclipseide.com/documentation/quickstarts/webservices_rest/

    I had trouble deploying it on WebSphere. It ran perfectly in Tomcat. But when I deployed it to WebSphere 6.1, it returned the following errors:

    ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet JAX-RS REST Servlet: java.lang.NoSuchMethodError: org/objectweb/asm/ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V

    I am using the paid version of MyEclipse Blue Edition 7.0.

    Any help is appreciated.

    As we understand, RESTful Web Services is the next big thing, I found that not enough support from the tool or app server vendors right now. I hope MyEclipse developers can give us a solution for deploying RESTful Web Services (jersey APIs) to WebSphere and other major app servers.

    John

    #294525 Reply

    Brian Fernandes
    Moderator

    John,

    This looks like a conflict with the asm lib to me. Jersey uses a recent version of the asm library (3.1) and for some reason your application is using another older version of the library. Is asm-3.1.jar being deployed with your application along with the rest of the libraries? Could you check to see if asm a library that your installation of WebSphere 6.1 provides? This could be taking precedence over the version being deployed.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: RESTful Web Services Running on WebSphere 6.1

You must be logged in to post in the forum log in