Is it possible to send us the WAR you are trying to deploy ?
Vijay
Mark Hansen wrote:
> I'm using v2 b33. When deploying class samples.RequestOrder (below),
> I get a LifecycleException (resulting from a ClassCastException) in
> the server log (below). Any ideas?
>
> @WebService(endpointInterface="com.example.req.RequestOrderPort",
> wsdlLocation="WEB-INF/wsdl/RequestOrder.wsdl")
> public class RequestOrder implements RequestOrderPort {
>
> // snip
>
> }
>
> /**
> * This class was generated by the JAXWS SI.
> * JAX-WS RI 2.1-hudson-1709-EA3
> * Generated source version: 2.1
> *
> */
> @WebService(name = "RequestOrderPort", targetNamespace =
> "http://www.example.com/req")
> @XmlSeeAlso({
> com.example.oms.ObjectFactory.class,
> com.example.req.ObjectFactory.class,
> com.example.faults.ObjectFactory.class
> })
> public interface RequestOrderPort {
>
> //snip
>
> }
>
>
>
> [#|2007-03-08T00:05:12.402-0500|SEVERE|sun-appserver9.1|org.apache.catalina.core.ContainerBase|_ThreadID=10;_ThreadName=main;_RequestID=46450ad4-930c-4492-a102-e70eea92775a;|PWC1240:
> Container
> StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/chap06-endpoint-endpoint-1.0]
> has not been started
>
> LifecycleException: java.lang.ClassCastException: samples.RequestOrder
>
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4766)
>
>
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5152)
>
> at com.sun.enterprise.web.WebModule.start(WebModule.java:302)
>
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:924)
>
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1224)
>
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
>
> at org.apache.catalina.startup.Embedded.start(Embedded.java:916)
>
> at com.sun.enterprise.web.WebContainer.start(WebContainer.java:853)
>
> at
> com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:742)
>
>
> at
> com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:71)
>
>
> at
> com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
>
>
> at
> com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
>
>
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
>
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>