MyEclipse: Web Service Error initializing XFireServlet on WebLogic
bobcoss - Jul 11, 2006 - 01:55 PM
Post subject: Web Service Error initializing XFireServlet on WebLogic
Can you provide me with any insight as to how to proceed past a problem with deployment.
ME Beta 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?
bobcoss - Jul 11, 2006 - 05:26 PM
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
support-rkalla - Jul 11, 2006 - 06:41 PM
Thank you for following up, I am going to mark this thread sticky for others.
fratelic - Oct 10, 2006 - 07:21 AM
is it the same for weblogic 9.2?
tizzyd - Oct 25, 2006 - 08:15 PM
Post subject: Same goes for WebSphere
I found that on both WAS 6 and WAS 5.X, the QName jar was required.
fabriziotarara - Nov 17, 2006 - 10:31 PM
Post subject: Does this really work???
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.
tomeksz - Mar 05, 2007 - 10:40 AM
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.
tomeksz - Mar 05, 2007 - 10:44 AM
Solution for WLS 9.2
ojojoj - Mar 19, 2007 - 09:25 AM
> 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?
tomeksz - Mar 19, 2007 - 12:49 PM
There should be no consequences, API should be backward compatible
ojojoj - Mar 21, 2007 - 01:35 PM
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.
|There should be no consequences, API should be backward compatible|
support-rkalla - Mar 26, 2007 - 04:12 PM
Thank you for posting with that information ojojoj
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits