2 Replies Latest reply on Mar 11, 2002 3:56 PM by Jim

    Problem deploying examples.war in jboss244+tc401

    Jim Newbie

      Hi,

      Can anyone explain why, when I attempt to deploy the examples.war to jboss/deploy, I get the following naming exception:[pre]
      [INFO,J2eeDeployer] Starting module examples.war
      [INFO,EmbeddedCatalinaServiceSX] deploy, ctxPath=/examples, warUrl=file:/usr/local/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/examples.war/web1004/
      [INFO,EmbeddedCatalinaServiceSX] WebappLoader[/examples]: Deploying class repositories to work directory /usr/local/JBoss-2.4.4_Tomcat-4.0.1/catalina/work/localhost/examples
      [INFO,EmbeddedCatalinaServiceSX] StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom
      [INFO,EmbeddedCatalinaServiceSX] StandardManager[/examples]: Seeding of random number generator has been completed
      [INFO,EmbeddedCatalinaServiceSX] ContextConfig[/examples]: Added certificates -> request attribute Valve
      [INFO,EmbeddedCatalinaServiceSX] ContextConfig[/examples]: Configured an authenticator for method FORM
      [ERROR,EmbeddedCatalinaServiceSX] Failed to setup web application ENC
      javax.naming.NamingException: ejb-ref: ejb/Account, expected jndi-name in jboss-web.xml

      org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.java:428)
      at org.jboss.web.AbstractWebContainer.parseWebAppDescriptors(AbstractWebContainer.java:339)
      at org.jboss.web.AbstractWebContainer$DescriptorParser.parseWebAppDescriptors(AbstractWebContainer.java:471)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.contextInit(EmbeddedCatalinaServiceSX.java:484)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.access$100(EmbeddedCatalinaServiceSX.java:74)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX$1.lifecycleEvent(EmbeddedCatalinaServiceSX.java:420)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3334)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106):

      [/pre]

      I have done the jar cvf examples.war * from within catalina/webapps/examples and moved it into jboss/deploy. This is when I get the above message.


      Thanks
      Joe