wood burning stoves*
The moose likes Web Services and the fly likes Getting ListenerStart error when Deploying Webserices war file on TomCat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Getting ListenerStart error when Deploying Webserices war file on TomCat" Watch "Getting ListenerStart error when Deploying Webserices war file on TomCat" New topic
Author

Getting ListenerStart error when Deploying Webserices war file on TomCat

Nageswar Kakolla
Ranch Hand

Joined: Jan 16, 2006
Posts: 71
Oct 23, 2009 1:50:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/63 config=null
Oct 23, 2009 1:50:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1389 ms
Oct 23, 2009 1:50:56 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 23, 2009 1:50:56 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Retailer-7.1.0.3] startup failed due to previous errors

I am using Tomcat 6.0.0_20 with JDK 1.6.0.04 and trying to deploy war file.

here is snippet of web.xml

<listener>
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
</listener>
<display-name>Retailer</display-name>
<servlet>
<servlet-name>jaxws-servlet</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jaxws-servlet</servlet-name>
<url-pattern>/delta/Retailer</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>

and sun-jaxws.xml

<endpoints xmlns='http://java.sun.com/xml/ns/jax-ws/ri/runtime' version='2.0'>
<endpoint
name='NetQualService'
implementation='com.xx.Retailers'
url-pattern='/delta/Retaler'>
<javaee:handler-chains xmlns:javaee="http://java.sun.com/xml/ns/javaee">
<javaee:handler-chain>
<javaee:handler>
<javaee:handler-class>com.xx.handler.RetailerHandler
</javaee:handler-class>
</javaee:handler>
<javaee:handler>
</endpoint>
</endpoints>

Apprecaite any help and i found following link but not quite clear about the solutions,

http://www.nabble.com/SEVERE:-Error-listenerStart-td23642483.html

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Getting ListenerStart error when Deploying Webserices war file on TomCat