- This topic has 3 replies, 2 voices, and was last updated 17 years, 10 months ago by Brian Fernandes.
-
AuthorPosts
-
vbapatMemberI am having the same problem with XFire Servlet deployment
Can you provide me with any insight as to how to proceedEnvironment:
MyEclipse5.1
Tomcat 5.5.2
JDK6I followed the HelloWorld web service example in the help documentation exactly and deployed to the Tomcat server like 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.I tried changing Xfire 1.2 to XFire1.1 core lib by downloading the correct jars but of no use…
Can you provide me with any tips on getting started?Thank you.
Brian FernandesModeratorHi,
Are you sure you’re deploying to Tomcat and not BEA Weblogic? You seem to have a BEA error number BEA-101216.
This issue is covered by this thread: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-13264.htmlPlease read that thread and let us know if you still require assistance.
vbapatMemberHi,
Sorry that was a fumble from trying to post and not able to post it for a while.
The error was by mistake from previous post paste.
I am still getting the error of javax.servlet.ServletException: Error initializing XFireConfigurableServlet for deploying on Tomcat.
My Environment still is
MyEclipse5.1
Tomcat 5.5.2
JDK6
XFire Lib – 1.2.2 core which I did restore default.If I change XFire lib to 1.1 – I am getting classpath error like
SEVERE: Error deploying web application archive HelloWorld.war
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletIf there is a patch provided for this via XFire, can you please provide me a correct Xfire update site ,so that I can update for ME5.1
Thanks!
Vrunda
Brian FernandesModeratorVrunda,
There is no need to change any of the XFire libraries, if you have made any library changes, please undo them. XFire 1.2.2 should work just fine for you.
Could you please enumerate the MyEclipse libraries present in your project? You should minimally have “J2EE 1.4 Library container” & “XFire 1.2 Core Libraries”.
Also your application server log will contain a more detailed error message with a stack trace. Can you paste that here for us? -
AuthorPosts