Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bcorder8
Post subject: JAX-WS deployment problems  PostPosted: Sep 10, 2008 - 01:10 PM
Registered Member
Registered Member


Joined: Jul 24, 2007
Posts: 2

I 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/ExpressionFactory

2008-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.WSServletContextListener

I have deployed the following jars to my application WEB-INF/lib directory:
jsf-api.jar
jsf-impl.jar
jstl-1.2.jar

I would rather not have to upgrade my entire jdk or tomcat if I could patch this up somehow.

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: JAX-WS deployment problems  PostPosted: Sep 10, 2008 - 06:05 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

It 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.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
bcorder8
Post subject: RE: JAX-WS deployment problems  PostPosted: Sep 15, 2008 - 04:10 PM
Registered Member
Registered Member


Joined: Jul 24, 2007
Posts: 2

Having 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
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Sep 16, 2008 - 10:15 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 1294

The 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

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits