when i start jboss, i always get the error message :
[Container factory] org.jboss.ejb.DeploymentException: Error in
jboss.xml for Bean Optimized: found in jboss.xml but not in ejb-jar.xml
it happens when jboss tries to deploy the tomcat-test.ear (I didn't change
anything)
when i deploy beans without a jboss.xml everything works fine, but when i
try to deploy beans which have a jboss.xml, i get the same error,
the beans worked already.
even after I installed jboss again, the error occurs
(I'm new in EJB and Jboss, so the beans are very simple)
[Auto deploy] Watching C:\jboss-tomcat-2.2\jboss-2.2\deploy
[Auto deploy] Auto deploy of
file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/tomcat-test.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/tomcat-test.ear
[J2EE Deployer Default] Create application tomcat-test.ear
[J2EE Deployer Default] inflate and install module tomcat-test.war
[J2EE Deployer Default] install module tomcat-test.jar
[J2EE Deployer Default] add all ejb jar files to the common classpath
[J2EE Deployer Default] Starting module tomcat-test.war
2001-04-30 10:11:02 - ContextManager: Adding context Ctx( /jboss )
[Container factory]
Deploying:file:/C:/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/tomcat-test
.ear
[Container factory] org.jboss.ejb.DeploymentException: Error in jboss.xml
for Bean Optimized: found in jboss.xml but not in ejb-jar.xml
[Container factory] at
org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.ja
va:322)
[Container factory] at
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:120)
................
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user