tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Horký <honz...@gmail.com>
Subject Re: Difference between running bootstrap.jar and catalina.bat
Date Fri, 15 May 2009 05:25:34 GMT
Hi,

I got the following error:

15.5.2009 7:10:16
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor:
java.lang.VerifyError: (class: com/sun/xml/ws/model/AbstractSEIModelImpl,
method: createJAXBContext signature: ()Lcom/sun/xml/bind/api/JAXBRIContext;)
Incompatible argument to function java.lang.VerifyError: (class:
com/sun/xml/ws/model/AbstractSEIModelImpl, method: createJAXBContext
signature: ()Lcom/sun/xml/bind/api/JAXBRIContext;) Incompatible argument
to function
        at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:215)
        at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
        at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
        at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
15.5.2009 7:10:16 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart


It has to be some classpath mismatch(java -jar bootstrap.jar start works
fine) but I can't find what. The libraries in this app are bit complicated.
There is custom tomcat realm for authentication (this is the thing why is
some libraries located in tomcat\lib) some custom listeners and so on. I
need to override somehow the jaxb1 api which I'm using for older custom
component in application.
I appreciate your time, thanks for answer, Jan.


On Thu, May 14, 2009 at 8:56 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jan,
>
> On 5/14/2009 5:05 AM, Jan Horký wrote:
> > Hi, thank you for replay.
> >
> > I tried to set various options in strartup.bat but It didn't work. It
> > worked only if I ran "java -jar bootstrap.jar start" command from
> > commnad line in tomcat\bin\. The thing which I'm interested in is
> > which options (variables) are used when I start Tomcat this way (java
> > -jar boot...). Than I can try to set service (windows registry, good
> > to know, thx) same way as it's set when I'm using bootstrap class to
> > tomcat run.
>
> When you say it "doesn't work", what /does/ happen? Log files? Console
> output?
>
> I suspect you've messed-up Tomcat's lib directory and there are odd
> dependencies not being fulfilled. You shouldn't have put anything into
> Java's lib directory. You should probably also not have put anything
> into Tomcat's lib directory. You should deploy the application-specific
> JAR files into the webapp's WEB-INF/lib directory.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkoMaXUACgkQ9CaO5/Lv0PC5HACgqpYBYbdDf5NqJEDo7ZHrc+FX
> +8cAoJ0vvB65bJuxdis/m2NecvD/ev/W
> =hETv
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message