[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] Examples in Quick Start - are these supposed to run...
From:       "Steven T. Hatton" <hattons () globalsymmetry ! com>
Date:       2003-03-13 3:14:51
[Download RAW message or body]

I am trying to figure out what the Quick Start Guide is trying to tell me 
about the Template project.  It's not clear to me that this is supposed to 
run without my adding some code to it.  It's also not very clear /what/ that 
code might be. It may simply be that things are out of sync in the examples, 
and there are some files missing.  Before I get too much further into this, I 
would like to know if I have something that has the potential to work.

Has anybody else gotten theses examples to run on Linux?  Are they supposed to 
run 'out of the box'?  I got them to compile, but I get errors when starting 
the server:

19:30:22,996 INFO  [EJBDeployer] looking for nested deployments in : 
file:/opt/com/jboss/jboss-3.2.0RC3_tomcat-4.1.18/server/default/deploy/
ejb-test.jar
19:30:23,398 ERROR [MainDeployer] could not create deployment: 
file:/opt/com/jboss/jboss-3.2.0RC3_tomcat-4.1.18/server/default/deploy/ejb-te
st.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 v
alid Java Identifier
        at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:247)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:152)
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:348)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:779)
...

19:30:23,401 ERROR [URLDeploymentScanner] Failed to deploy: 
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@dbd9166f{ 
url=file
:/opt/com/jboss/jboss-3.2.0RC3_tomcat-4.1.18/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 v
alid Java Identifier
        at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:247)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:152)
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:348)


Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
  <none>
Incompletely deployed packages:

[org.jboss.deployment.DeploymentInfo@dbd9166f { 
url=file:/opt/com/jboss/jboss-3.2.0RC3_tomcat-4.1.18/server/default/deploy/ejb-test.jar 
}
  deployer: org.jboss.ejb.EJBDeployer@185572a
  status: Deployment FAILED reason: Error in ejb-jar.xml for Entity Bean 
test/TestEntity: The ejb-name for a CMP2.x Entity must be a valid J
ava Identifier
  state: FAILED
  watch: 
file:/opt/com/jboss/jboss-3.2.0RC3_tomcat-4.1.18/server/default/deploy/ejb-test.jar
  lastDeployed: 1047515423156
  lastModified: 1047515422000
  mbeans:
]MBeans waiting for classes:
  <none>
MBeans waiting for other MBeans:
  <none>

Does anybody understand what these are telling me?

-- 
STH
Hatton's Law: 
"There is only One inviolable Law."



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic