Hello,
i get follwing Message from my JBoss:
14:01:21,143 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/deploy/SimpleMessage.jar org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean SimpleMessageBean: found in jboss.xml but not in ejb-jar.xml
<?xml version="1.0"?> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd"> <jboss> <enterprise-beans> <message-driven> <ejb-name>SimpleMessageBean</ejb-name> <destination-jndi-name>topic/errorTopic</destination-jndi-name> <configuration-name>Simple Message Bean</configuration-name> </message-driven> </enterprise-beans> </jboss>
Got it.
The error was that the values of <ejb-name> were different in ejb-jar.xml and jboss.xml.
ragards
Toni