a problem when I startup jetty6.1.15

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

a problem when I startup jetty6.1.15

juesee
A application like aaa.war I deploy in $jetty.home\webapps with Windows system,startup and run,everyting is OK.but when I integerate it to Linux system,a error happened like below:

[root@bestlinks172 jetty-6.1.15]# java -jar start.jar etc/jetty.xml
2010-02-07 02:59:07.813::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2010-02-07 02:59:09.580::INFO:  jetty-6.1.15
2010-02-07 02:59:10.253::INFO:  Deploy /usr/local/bsp/jetty-6.1.15/contexts/test-jndi.xml ->

org.mortbay.jetty.webapp.WebAppContext@8e32e7{/test-jndi,/usr/local/bsp/jetty-

6.1.15/contexts/test-jndi.d}
2010-02-07 02:59:10.286::INFO:  Deploy /usr/local/bsp/jetty-6.1.15/contexts/test.xml ->

org.mortbay.jetty.webapp.WebAppContext@18d9850{/,/usr/local/bsp/jetty-6.1.15/webapps/test}
2010-02-07 02:59:10.353::INFO:  Deploy /usr/local/bsp/jetty-6.1.15/contexts/javadoc.xml ->

org.mortbay.jetty.handler.ContextHandler@29e357{/javadoc,file:/usr/local/bsp/jetty-

6.1.15/javadoc/}
2010-02-07 02:59:10.905::INFO:  No Transaction manager found - if your webapp requires one,

please configure one.
2010-02-07 02:59:14.143::INFO:  Extract file:/usr/local/bsp/jetty-6.1.15/webapps/bsp-us-

web.war to /tmp/Jetty_0_0_0_0_8080_bsp.us.web.war__bsp.us.web__.i5gq6r/webapp
2010-02-07 03:00:14.423:/bsp-us-web:INFO:  Initializing Spring root WebApplicationContext
02-07 03:00:14 INFO  - Root WebApplicationContext: initialization started

org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:189)
02-07 03:00:14 INFO  - Refreshing Root WebApplicationContext: startup date [Sun Feb 07

03:00:14 CST 2010]; root of context hierarchy

org.springframework.context.support.AbstractApplicationContext.prepareRefresh

(AbstractApplicationContext.java:447)
02-07 03:00:15 ERROR - Context initialization failed

org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:220)
java.lang.NoSuchMethodError:

org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId

(Ljava/lang/String;)
        at

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

(AbstractRefreshableApplicationContext.java:128)
        at

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)
        at org.springframework.context.support.AbstractApplicationContext.refresh

(AbstractApplicationContext.java:388)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext

(ContextLoader.java:255)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:199)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized

(ContextLoaderListener.java:45)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart

(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        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:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:523)
        at org.mortbay.start.Main.main(Main.java:119)
2010-02-07 03:00:15.230::WARN:  failed org.mortbay.jetty.webapp.WebAppContext@15f157b{/bsp-

us-web,file:/usr/local/bsp/jetty-6.1.15/webapps/bsp-us-web.war}
java.lang.NoSuchMethodError:

org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId

(Ljava/lang/String;)V
        at

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

(AbstractRefreshableApplicationContext.java:128)
        at

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)
        at org.springframework.context.support.AbstractApplicationContext.refresh

(AbstractApplicationContext.java:388)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext

(ContextLoader.java:255)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:199)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized

(ContextLoaderListener.java:45)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart

(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        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:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:523)
        at org.mortbay.start.Main.main(Main.java:119)
2010-02-07 03:00:15.262::WARN:  failed ContextHandlerCollection@17b40fe
java.lang.NoSuchMethodError:

org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId

(Ljava/lang/String;)V
        at

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

(AbstractRefreshableApplicationContext.java:128)
        at

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)
        at org.springframework.context.support.AbstractApplicationContext.refresh

(AbstractApplicationContext.java:388)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext

(ContextLoader.java:255)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:199)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized

(ContextLoaderListener.java:45)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart

(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        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:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:523)
        at org.mortbay.start.Main.main(Main.java:119)
2010-02-07 03:00:15.282::INFO:  Opened /usr/local/bsp/jetty-

6.1.15/logs/2010_02_06.request.log
2010-02-07 03:00:15.282::WARN:  failed HandlerCollection@108f8e0
java.lang.NoSuchMethodError:

org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId

(Ljava/lang/String;)V
        at

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

(AbstractRefreshableApplicationContext.java:128)
        at

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)
        at org.springframework.context.support.AbstractApplicationContext.refresh

(AbstractApplicationContext.java:388)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext

(ContextLoader.java:255)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:199)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized

(ContextLoaderListener.java:45)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart

(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        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:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:523)
        at org.mortbay.start.Main.main(Main.java:119)
2010-02-07 03:00:15.285::WARN:  Error starting handlers
java.lang.NoSuchMethodError:

org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId

(Ljava/lang/String;)V
        at

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

(AbstractRefreshableApplicationContext.java:128)
        at

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory

(AbstractApplicationContext.java:458)
        at org.springframework.context.support.AbstractApplicationContext.refresh

(AbstractApplicationContext.java:388)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext

(ContextLoader.java:255)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext

(ContextLoader.java:199)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized

(ContextLoaderListener.java:45)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart

(ContextHandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
        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:597)
        at org.mortbay.start.Main.invokeMain(Main.java:194)
        at org.mortbay.start.Main.start(Main.java:523)
        at org.mortbay.start.Main.main(Main.java:119)
2010-02-07 03:00:15.525::INFO:  Started SelectChannelConnector@0.0.0.0:8080