3 Replies Latest reply on Sep 12, 2003 9:33 AM by Juha Lindfors

    Can't run template / testsuite

    sitgate Newbie

      Hi all,

      I can't make the template / testsuite run. I built the main target without errors but I get the following deployment error:

      2003-09-11 17:40:42,079 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:42,239 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:42,409 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.ejb.EJBDeployer@1033a6f
      2003-09-11 17:40:42,960 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:42,970 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.ejb:service=EJBDeployer,type=org.jboss.deployment.SubDeployer.init,sequenceNumber=6,timeStamp=1063294842970,message=null,userData=org.jboss.deployment.DeploymentInfo@7cc4f7df { url=file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar }
      deployer: org.jboss.ejb.EJBDeployer@1033a6f
      status: null
      state: INIT_DEPLOYER
      watch: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      lastDeployed: 0
      lastModified: 0
      mbeans:
      ]
      2003-09-11 17:40:42,970 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      2003-09-11 17:40:42,970 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/D:/Programme/Server/JBoss/server/default/tmp/deploy/tmp31764ejb-test.jar
      2003-09-11 17:40:42,970 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@148c02f{ url=file:/D:/Programme/Server/JBoss/server/default/tmp/deploy/tmp31764ejb-test.jar ,addedOrder=0}
      2003-09-11 17:40:42,990 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:42,990 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:42,990 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      2003-09-11 17:40:43,751 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2003-09-11 17:40:43,861 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2003-09-11 17:40:43,861 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2003-09-11 17:40:43,942 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean test/TestEntity: The ejb-name for a CMP2.x Entity must be a valid Java Identifier
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:252)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2003-09-11 17:40:43,982 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@7cc4f7df{ url=file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean test/TestEntity: The ejb-name for a CMP2.x Entity must be a valid Java Identifier
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:252)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2003-09-11 17:40:43,982 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar -> file:/D:/Programme/Server/JBoss/server/default/deploy/ejb-test.jar

      How's that possible? I didn't change the code at all.

      Thanks for your help,
      Ulf Moehring