Announcement Announcement Module
Collapse
No announcement yet.
DefaultListableBeanFactory.setSerializationId error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultListableBeanFactory.setSerializationId error

    Hi guys

    I am facing an issue which drive me crazy. I juse jetty6.1.15 to start jax-ws RI webservice and using spring to do the configuration. it runs perfect on windows, but when I run on unix, it throws errors below

    please help, did I miss anything

    a problem when I startup jetty6.1.15


    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__.i5 gq6r/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.init WebApplicationContext

    (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.AbstractApplic ationContext.prepareRefresh

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

    org.springframework.web.context.ContextLoader.init WebApplicationContext

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

    org.springframework.beans.factory.support.DefaultL istableBeanFactory.setSerializationId

    (Ljava/lang/String
    at

    org.springframework.context.support.AbstractRefres hableApplicationContext.refreshBeanFactory

    (AbstractRefreshableApplicationContext.java:128)
    at

    org.springframework.context.support.AbstractApplic ationContext.obtainFreshBeanFactory

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

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

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

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

    (ContextLoaderListener.java:45)
    at org.mortbay.jetty.handler.ContextHandler.startCont ext(ContextHandler.java:548)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:136)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1239)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:517)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:466)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart

    (ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:222)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:985)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.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.DefaultL istableBeanFactory.setSerializationId

    (Ljava/lang/StringV
    at

    org.springframework.context.support.AbstractRefres hableApplicationContext.refreshBeanFactory

    (AbstractRefreshableApplicationContext.java:128)
    at

    org.springframework.context.support.AbstractApplic ationContext.obtainFreshBeanFactory

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

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

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

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

    (ContextLoaderListener.java:45)
    at org.mortbay.jetty.handler.ContextHandler.startCont ext(ContextHandler.java:548)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:136)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1239)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:517)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:466)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart

    (ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:222)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:985)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.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:

  • #2
    I don't know if you ever resolved this issue, but I'm having the exact same problem. I'm about to start looking through the dependencies to see if it is part of my migration from spring 2.5.6 to spring 3.0.3, but I'm seriously hoping it's not.

    If this issue was ever resolved please let me know what you did.

    Thanks

    Comment

    Working...
    X