1 Reply Latest reply on Feb 27, 2002 7:09 AM by James Cleary

    java.lang.IllegalArgumentException: addChild:  Child name '/

    someoneelse Newbie

      trying to deploy interest.ear on tomcat_bundled jboss
      returns with the following error.

      [INFO,EmbeddedCatalinaServiceSX] deploy, ctxPath=/interest, warUrl=file:/D:/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/interest.ear/web1016/
      [ERROR,Default] java.lang.IllegalArgumentException: addChild: Child name '/interest' is not unique
      [ERROR,Default] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
      [ERROR,Default

      what causes such error and how to solve it.