Attempting to deploy the JBoss.3.0TemplateAndExamples
on JBoss 3.2RC3 (with Tomcat) gives an error message
regarding "test/TestEntity" in the ejb-jar.xml: "The ejb-name for a CMP 2.x Entity must be a valid Java Identifier" on both Linux and Windows.
Removing all references to TestEntity from the ejb-jar.xml
and jboss.xml will allow a crippled version of template to
be installed.
JBoss/Tomcat 3.0.4 prints a warning but allows the template
to be deployed and run.
This is a spec requirement.
We chose to only make it a warning in 3.0 once
we discovered the validation was incorrect.
Remove the / from the <ejb-name> it is not allowed
for Entities.
Regards,
Adrian