Hi all,

        I am using JBoss for many weeks and everything went well since this
morning...!
        Here is my problem:
        I had a table with the 'msgExp' cmp-field in the database.
        But I no more need this field, so I removed all stuff related to
this field in my whole jar file,
        without forget to specify to remove the table in the jaws.xml file.
        When I first re-deploy the new jar file, everything worked well: a
new table has been created ...
        Then I have had to shut down JBoss because of adding new services
and now,
        when the table has to be deployed, the container factory is looking
for the 'msgExp' field
        which no more exits...!

        Could anybody tell me what I did wrong?
        I am looking forward your help.
        Thank you very much, in advance.

        Helene.

        PS: The following lines are the beginning of the error message that
I get ...

[Container factory] org.jboss.ejb.DeploymentException: cmp-field msgExp is
not a
 field in ejb class normativeCore.repository.NSBean
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.
verifyNestedField(CMPFieldMetaData.java:206)
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.
checkField(CMPFieldMetaData.java:179)
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.CMPFieldMetaData.
<init>(CMPFieldMetaData.java:99)
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.JawsEntityMetaDat
a.<init>(JawsEntityMetaData.java:129)
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMe
taData.<init>(JawsApplicationMetaData.java:89)
[Container factory]     at
org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader
.load(JawsXmlFileLoader.java:53)
[Container factory]     at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.<i
nit>(JDBCCommandFactory.java:79)
[Container factory]     at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.ini
t(JAWSPersistenceManager.java:78)
[Container factory]     at
org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPP
ersistenceManager.java:105)
[Container factory]     at
org.jboss.ejb.EntityContainer.init(EntityContainer.ja
va:198)
[Container factory]     at
org.jboss.ejb.Application.init(Application.java:183)
[Container factory]     at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:337)
[Container factory]     at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:275)
[Container factory]     at java.lang.reflect.Method.invoke(Native Method)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Container factory]     at
org.jboss.deployment.J2eeDeployer.startApplication(J2
eeDeployer.java:415)
[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(MBeanSe
rverImpl.java:1628)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Container factory]     at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:3
58)
[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(ServiceMBean
Support.java:93)
[Container factory]     at java.lang.reflect.Method.invoke(Native Method)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Container factory]     at
org.jboss.util.ServiceControl.start(ServiceControl.ja
va:97)
[Container factory]     at java.lang.reflect.Method.invoke(Native Method)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Container factory]     at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Container factory]     at org.jboss.Main.<init>(Main.java:217)
[Container factory]     at org.jboss.Main$1.run(Main.java:121)
[Container factory]     at
java.security.AccessController.doPrivileged(Native Me
thod)
[Container factory]     at org.jboss.Main.main(Main.java:117)

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to