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

  • ContextLoader

    Hi,

    When I try to deploy recompiled class via Idea IDE in debugger mode I receive this message and cannot refresh the application (spring 2.0.2), the Error 500 message appears:

    Listening for transport dt_socket at address: 5005
    <11.9.2007 14:28:28 CEST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListe ner failed: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!.
    java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:167)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 49)
    at weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run(EventsManager.java:375)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
    Truncated. see log file for complete stacktrace

    Thank you. Maybe tapestry log helps as well:

    Error 500--Internal Server Error
    org.apache.hivemind.ApplicationRuntimeException: Error: An error occured processing annotation @com.javaforge.tapestry.spring.annotations.InjectS pring(value=codeTables) of public abstract cz.csas.cicnet.ct.CodeTableViews cz.csas.cicnet.tapestry.pages.CicNetBasePage.getCo deTables(): Property codeTables has already been accounted for by the element at Annotation @com.javaforge.tapestry.spring.annotations.InjectS pring(value=codeTables) of public abstract cz.csas.cicnet.ct.CodeTableViews cz.csas.cicnet.tapestry.pages.CicNetBasePage.getCo deTables(). [Annotation @com.javaforge.tapestry.spring.annotations.InjectS pring(value=codeTables) of public abstract cz.csas.cicnet.ct.CodeTableViews cz.csas.cicnet.tapestry.pages.CicNetBasePage.getCo deTables()]
    at org.apache.tapestry.error.ExceptionPresenterImpl.p resentException(ExceptionPresenterImpl.java:64)
    at $ExceptionPresenter_114f48acbc9.presentException($ ExceptionPresenter_114f48acbc9.java)
    at org.apache.tapestry.engine.AbstractEngine.activate ExceptionPage(AbstractEngine.java:121)
    at org.apache.tapestry.engine.AbstractEngine.service( AbstractEngine.java:280)

  • #2
    There have been some questions about this and it appears to be a weblogic issue. At redeployment resources aren't correctly released.

    Comment


    • #3
      Thx

      Thank you for the clue, I will contact BEA though.

      Comment


      • #4
        There was a thread about the exact same issue last week, you might try that one and bundle the experiences.

        Comment

        Working...
        X