You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by "J. Patrick Bedell (JIRA)" <ji...@apache.org> on 2005/08/03 00:39:35 UTC

[jira] Created: (HERMES-15) Pubscribe webapp deployment fails

Pubscribe webapp deployment fails 
----------------------------------

         Key: HERMES-15
         URL: http://issues.apache.org/jira/browse/HERMES-15
     Project: Pubscribe
        Type: Bug
 Environment: Tomcat 5.5.9 / Java J2SE 1.5.0
    Reporter: J. Patrick Bedell


Hello, 
   It appears that pubscribe is not functioning correctly when it's deployed to the container, because of the addition of the WsrfServletContextListener listener-class to web.xml.  I'm filing this bug to stimulate discussion and development, as appropriate.  
   Thanks for all your work!

   Patrick

--> 08-02-05 15:10:53 ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [/pubscribe]: Exception sending context initialized event
to listener instance of class org.apache.ws.resource.webapp.WsrfServletContextListener
java.lang.RuntimeException: Fatal error! Failed to initialize WSRF JNDI context.
        at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:73)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1165)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.NameAlreadyBoundException: Name DefaultParameters is already bound in this Context
        at org.apache.naming.NamingContext.bind(NamingContext.java:857)
        at org.apache.naming.NamingContext.bind(NamingContext.java:170)
        at org.apache.naming.NamingContext.bind(NamingContext.java:186)
        at org.apache.ws.util.jndi.XmlBeanNamingContext.addResource(XmlBeanNamingContext.java:216)
        at org.apache.ws.util.jndi.XmlBeanJndiUtils.addGlobalElements(XmlBeanJndiUtils.java:488)
        at org.apache.ws.util.jndi.XmlBeanJndiUtils.parseJNDIConfig(XmlBeanJndiUtils.java:236)
        at org.apache.ws.util.jndi.XmlBeanJndiUtils.initFromInputStream(XmlBeanJndiUtils.java:175)
        at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:69)
        ... 16 more


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-dev-help@ws.apache.org


[jira] Commented: (HERMES-15) Pubscribe webapp deployment fails

Posted by "Ian P. Springer (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HERMES-15?page=comments#action_12317532 ] 

Ian P. Springer commented on HERMES-15:
---------------------------------------

Hi Patrick,

Thanks for reporting this issue. We haven't encountered this problem ourselves. Do you by any chance have two DefaultParameters resources in the global section of your jndi-config? In any case, can you attach your jndi-config file to this issue? Also what version of Tomcat are you using? And are there any other details you can provide that might help me reproduce?

Thanks!
Ian


> Pubscribe webapp deployment fails
> ---------------------------------
>
>          Key: HERMES-15
>          URL: http://issues.apache.org/jira/browse/HERMES-15
>      Project: Pubscribe
>         Type: Bug
>  Environment: Tomcat 5.5.9 / Java J2SE 1.5.0
>     Reporter: J. Patrick Bedell
>     Assignee: Ian P. Springer

>
> Hello, 
>    It appears that pubscribe is not functioning correctly when it's deployed to the container, because of the addition of the WsrfServletContextListener listener-class to web.xml.  I'm filing this bug to stimulate discussion and development, as appropriate.  
>    Thanks for all your work!
>    Patrick
> --> 08-02-05 15:10:53 ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [/pubscribe]: Exception sending context initialized event
> to listener instance of class org.apache.ws.resource.webapp.WsrfServletContextListener
> java.lang.RuntimeException: Fatal error! Failed to initialize WSRF JNDI context.
>         at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:73)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1165)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.naming.NameAlreadyBoundException: Name DefaultParameters is already bound in this Context
>         at org.apache.naming.NamingContext.bind(NamingContext.java:857)
>         at org.apache.naming.NamingContext.bind(NamingContext.java:170)
>         at org.apache.naming.NamingContext.bind(NamingContext.java:186)
>         at org.apache.ws.util.jndi.XmlBeanNamingContext.addResource(XmlBeanNamingContext.java:216)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.addGlobalElements(XmlBeanJndiUtils.java:488)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.parseJNDIConfig(XmlBeanJndiUtils.java:236)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.initFromInputStream(XmlBeanJndiUtils.java:175)
>         at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:69)
>         ... 16 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-dev-help@ws.apache.org


[jira] Assigned: (HERMES-15) Pubscribe webapp deployment fails

Posted by "Ian P. Springer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HERMES-15?page=all ]

Ian P. Springer reassigned HERMES-15:
-------------------------------------

    Assign To: Ian P. Springer

> Pubscribe webapp deployment fails
> ---------------------------------
>
>          Key: HERMES-15
>          URL: http://issues.apache.org/jira/browse/HERMES-15
>      Project: Pubscribe
>         Type: Bug
>  Environment: Tomcat 5.5.9 / Java J2SE 1.5.0
>     Reporter: J. Patrick Bedell
>     Assignee: Ian P. Springer

>
> Hello, 
>    It appears that pubscribe is not functioning correctly when it's deployed to the container, because of the addition of the WsrfServletContextListener listener-class to web.xml.  I'm filing this bug to stimulate discussion and development, as appropriate.  
>    Thanks for all your work!
>    Patrick
> --> 08-02-05 15:10:53 ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [/pubscribe]: Exception sending context initialized event
> to listener instance of class org.apache.ws.resource.webapp.WsrfServletContextListener
> java.lang.RuntimeException: Fatal error! Failed to initialize WSRF JNDI context.
>         at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:73)
>         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1165)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.naming.NameAlreadyBoundException: Name DefaultParameters is already bound in this Context
>         at org.apache.naming.NamingContext.bind(NamingContext.java:857)
>         at org.apache.naming.NamingContext.bind(NamingContext.java:170)
>         at org.apache.naming.NamingContext.bind(NamingContext.java:186)
>         at org.apache.ws.util.jndi.XmlBeanNamingContext.addResource(XmlBeanNamingContext.java:216)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.addGlobalElements(XmlBeanJndiUtils.java:488)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.parseJNDIConfig(XmlBeanJndiUtils.java:236)
>         at org.apache.ws.util.jndi.XmlBeanJndiUtils.initFromInputStream(XmlBeanJndiUtils.java:175)
>         at org.apache.ws.resource.webapp.WsrfServletContextListener.contextInitialized(WsrfServletContextListener.java:69)
>         ... 16 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-dev-help@ws.apache.org