You were right, the problem occured because Tomcat couldn't find
WSServletContextListener.
I checked and the above class comes with "Sun Java Server" which I don't
have.
Does Tomcat comes with a listener that supports the Annotations API (the
@WebService and @WebMethod)?
If so what is the name of the listener class?
If not where could I download a library that has a listener that supports
the Annotations API?
After all those annotations are supported by JSR 181, so there must be other
implementations besides the one that comes with "Sun Java Server".

I tried googling for it but I couldn't find one suitable.


Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> To whom it may concer,
> 
> Guest1234 wrote:
> | I have a simple web-service that all it does is print "Hello World", I'm
> | following the example at the
> | "Jave EE tutorial" here:
> | http://java.sun.com/javaee/5/docs/tutorial/doc/bnayn.html Java EE
> Tutorial
> | example
> | However I'm not using the Sun Java Server and instead I'm using Tomcat
> so I
> | can't deploy with their
> | instructions.
> 
> Perhaps you /should/ run with Sun Java Server if you want to follow
> their instructions.
> 
> |
> <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
> 
> I suspect that this filter is unavailable. It looks like something that
> might be packaged with either Sun's Java Server or through Sun's WSDP.
> 
> Check your catalina.out: it should contain more information about the
> error (probably a ClassNotFoundException). If that's the case, you
> should find whatever library is necessary and install it in your webapp.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkfgMicACgkQ9CaO5/Lv0PBq8QCeJFxthQZv8ShOTZ7yLswsnuw5
> IFMAnievNw3W5HPodxqob0PYzR70YrZR
> =GTGP
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Having-problem-deploy-a-simple-webapp-tp16129389p16189946.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to