facebook

JAX-WS deployment problems

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

    bcorder8
    Member

    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

    #288958 Reply

    Loyal Water
    Member

    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.

    #289056 Reply

    bcorder8
    Member

    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

    #289109 Reply

    Brian Fernandes
    Moderator

    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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JAX-WS deployment problems

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