- This topic has 3 replies, 3 voices, and was last updated 16 years, 2 months ago by Brian Fernandes.
-
AuthorPosts
-
bcorder8MemberI have created a jax-ws web service bottom-up on MyEclipse 7.1. It runs fine in my development environment. When deploying to suse linux, jdk1.5.0_10, tomcat 5.0.28, I get the following errors:
2008-09-09 16:11:09 StandardContext[/GsaWebService]Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/el/ExpressionFactory2008-09-09 16:11:10 StandardContext[/GsaWebService]Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListenerI have deployed the following jars to my application WEB-INF/lib directory:
jsf-api.jar
jsf-impl.jar
jstl-1.2.jarI would rather not have to upgrade my entire jdk or tomcat if I could patch this up somehow.
thanks
Loyal WaterMemberIt seems like you will have to include el-api.jar and el-ri.jar along with the other JARs. I hope that fixes the issue.
bcorder8MemberHaving included the two above mentioned jars, I now get the following error(s) when starting Tomcat…
INFO: Installing web application at context path /GsaWebService from URL file:/usr/jakarta-tomcat-5.0.28/webapps/GsaWebService
Sep 15, 2008 10:04:14 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Sep 15, 2008 10:04:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 15, 2008 10:04:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Brian FernandesModeratorThe embedded Tomcat server is Apache Tomcat 6 and includes JAX-WS libraries which are not traditionally distributed with Tomcat, this is why your application may work out of the box in your dev environment, but not in a standalone Tomcat installation.
JAX-WS is known to work with Tomcat 5, but by default Tomcat 5 will not include required JAX-WS runtime libraries. Some instructions on how to add these to your project are covered in Section 6 of this tutorial: http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/index.html
Hope this helps
-
AuthorPosts