facebook

Web Service Error initializing XFireServlet on WebLogic

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

    bobcoss
    Member

    Can you provide me with any insight as to how to proceed past a problem with deployment.

    Environment:

    ME Beta 2
    Eclilpse 3.2
    Weblogic 8.1 SP3

    I followed the web service example in the help documentation exactly except for selecting J2EE 1.3 (because weblogic 8.1 doesn’t support J2EE 1.4) and deployed to the weblogic server instead of to tomcat like done in the example.

    I’m getting an error:

    <BEA-101216> <Servlet: “XFireServlet” failed to preload on startup in Web application: “HelloWorld”.
    javax.servlet.ServletException: Error initializing XFireServlet.

    Can you provide me with any tips on getting started?

    Thank you.

    Bob Coss

    #254550 Reply

    bobcoss
    Member

    I found the solution… Check out http://xfire.codehaus.org/XFire+on+Weblogic+8.1

    It seems that weblogic.jar has an old avax.xml.namespace.QName and xfire needs a newer one. This url provides a link to a new one, and the changes needed to the weblogic.xml to cause the library file to override the jar file.

    I hope this helps someone else

    Bob Coss

    #254565 Reply

    Riyad Kalla
    Member

    Bob,
    Thank you for following up, I am going to mark this thread sticky for others.

    #260101 Reply

    fratelic
    Member

    is it the same for weblogic 9.2?

    #260901 Reply

    I found that on both WAS 6 and WAS 5.X, the QName jar was required.

    #262194 Reply

    I have tried exactly what this solution states with no luck. Has anyone else ran into this and gotten the same problem? If there is another solution to this project please let me know.

    Fabrizio

    #266951 Reply

    tomeksz
    Member

    Sometimes helps to put qname.jar at beginning of WLS classpath ( in startweblogic script ).
    Not sure if its the best and most elegant solution, but works for me.

    #266952 Reply

    tomeksz
    Member
    #267568 Reply

    ojojoj
    Member

    > Sometimes helps to put qname.jar at beginning of WLS classpath

    Yep. That works for me, but I’m worried – Does anyone know the consequences of replacing qname this way?

    OJ

    #267571 Reply

    tomeksz
    Member

    There should be no consequences, API should be backward compatible

    #267794 Reply

    ojojoj
    Member

    @tomeksz wrote:

    There should be no consequences, API should be backward compatible

    Just completed a BEA support case. According to BEA putting qname.jar in the beginning of the WLS classpath is safe, and may be the only way to get XFire running (with Spring) on WL8.1 + java 1.4.x. They mentioned they were working on a patch as well.

    #268005 Reply

    Riyad Kalla
    Member

    Thank you for posting with that information ojojoj

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Web Service Error initializing XFireServlet on WebLogic

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