We are getting a real funny error when deploying some ejb's in JBOSS. JBoss keep on telling us that a specific field is not a field in our EJB. The specifid error : "cmp-field fileSourceNo is not a field in ejb class com.didata.itax.payment.sars.efiles.FileTypeInfoCMP" (Stack Trace below !) This seems very obvious why it does not work - BUT the field is in our EJB, ejb-jar.xml, jaws.xml + jboss.xml. If I take the same jar files that is giving us a problem on the one machine and copy them to another machine - this jar files is mysteriously working. We use ejbdoclet to create the Home + Remote Interfaces + all the xml files... We get around this problem by overiding the version of jboss that is not working with a version from the server that is working - but then later it breaks on the machine again. Then we need to do the same again to fix it again. We are using jboss 2.2 Very Funny !!! Any Ideas ! > [Container factory] org.jboss.ejb.DeploymentException: cmp-field > fileSourceNo is not a field in ejb class > com.didata.itax.payment.sars.efiles.FileTypeInfoCMP > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.verifyNestedField(CMP > FieldMetaData.java:206) > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.checkField(CMPFieldMe > taData.java:179) > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.<init>(CMPFieldMetaDa > ta.java:99) > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.JawsEntityMetaData.<init>(JawsEntityMe > taData.java:129) > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.<init>(JawsApp > licationMetaData.java:89) > [Container factory] at > org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoad > er.java:53) > [Container factory] at > org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.<init>(JDBCCommandFacto > ry.java:79) > [Container factory] at > org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceMana > ger.java:78) > [Container factory] at > org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.jav > a:105) > [Container factory] at > org.jboss.ejb.EntityContainer.init(EntityContainer.java:198) > [Container factory] at > org.jboss.ejb.Application.init(Application.java:183) > [Container factory] at > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:337) > [Container factory] at > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275) > [Container factory] at java.lang.reflect.Method.invoke(Native Method) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > [Container factory] at > org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435) > [Container factory] at > org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) > [Container factory] at java.lang.reflect.Method.invoke(Native Method) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > [Container factory] at > org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358) > [Container factory] at > org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) > [Container factory] at > org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332) > [Container factory] at > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) > [Container factory] at java.lang.reflect.Method.invoke(Native Method) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > [Container factory] at > org.jboss.util.ServiceControl.start(ServiceControl.java:97) > [Container factory] at java.lang.reflect.Method.invoke(Native Method) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > [Container factory] at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > [Container factory] at org.jboss.Main.<init>(Main.java:203) > [Container factory] at org.jboss.Main$1.run(Main.java:107) > [Container factory] at > java.security.AccessController.doPrivileged(Native Method) > [Container factory] at org.jboss.Main.main(Main.java:103) ******************************************************************* The information in this e-mail is confidential and is legally privileged. It is intended solely for the addressee. If this email is not intended for you, you cannot copy, distribute, or disclose the included information to any-one If you are not the intended recipient please delete the mail. Whilst all reasonable steps have been taken to ensure the accuracy and integrity of all data transmitted electronically, no liability is accepted if the data, for whatever reason, is corrupt or does not reach it's intended destination. All business is undertaken, subject to our standard trading conditions which are available on request. ******************************************************************* _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user