1 Reply Latest reply on Dec 16, 2002 2:07 PM by Manoj Nair

    Problem in deploying entity beans in JBuilder7

    Hao.Zeng Newbie

      JBoss 3.0.2 has been integrated into JBuilder7, I created a CMP entity bean, but the deployment failed with the following messages:

      09:56:27,968 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB,jndiName=TaxEJBTable

      org.jboss.deployment.DeploymentException: Error in jaws.xml for Entity TaxEJBTable: expected one order tag

      at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.importXml(JawsApplicationMetaData.java:248)

      at org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:81)

      at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:144)

      at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:104)

      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)

      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)

      at org.jboss.ejb.Container.invoke(Container.java:760)

      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)

      at $Proxy5.create(Unknown Source)

      at org.jboss.system.ServiceController.create(ServiceController.java:314)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

      at $Proxy46.create(Unknown Source)

      at org.jboss.ejb.EjbModule.createService(EjbModule.java:386)

      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:136)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)

      at $Proxy5.create(Unknown Source)

      at org.jboss.system.ServiceController.create(ServiceController.java:314)

      at org.jboss.system.ServiceController.create(ServiceController.java:242)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

      at $Proxy8.create(Unknown Source)

      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:376)

      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:755)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

      at $Proxy4.deploy(Unknown Source)

      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)

      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)

      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)

      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)

      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)

      at $Proxy0.start(Unknown Source)

      at org.jboss.system.ServiceController.start(ServiceController.java:396)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

      at $Proxy3.start(Unknown Source)

      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)

      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)

      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)

      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)

      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)

      at org.jboss.Main.boot(Main.java:142)

      at org.jboss.Main$1.run(Main.java:375)

      at java.lang.Thread.run(Thread.java:484)

      09:56:27,984 INFO [EjbModule] Created

      09:56:27,984 INFO [EjbModule] Starting

      09:56:27,984 INFO [EjbModule] Started

      09:56:27,984 INFO [MainDeployer] Deployed package: file:/E:/Soft/JBoss/jboss/jboss-3.0.2/jboss-3.0.2/jboss-3.0.2/server/all/deploy/Entity1.jar

      09:56:27,984 INFO [MainDeployer] Starting deployment of package: file:/E:/Soft/JBoss/jboss/jboss-3.0.2/jboss-3.0.2/jboss-3.0.2/server/all/deploy/jmx-console.war/

      09:56:28,390 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console

      09:56:30,984 INFO [jbossweb] Started WebApplicationContext[/jmx-console,file:/E:/Soft/JBoss/jboss/jboss-3.0.2/jboss-3.0.2/jboss-3.0.2/server/all/deploy/jmx-console.war/]

      09:56:31,093 INFO [jbossweb] successfully deployed file:/E:/Soft/JBoss/jboss/jboss-3.0.2/jboss-3.0.2/jboss-3.0.2/server/all/deploy/jmx-console.war/ to /jmx-console

      09:56:31,093 INFO [MainDeployer] Deployed package: file:/E:/Soft/JBoss/jboss/jboss-3.0.2/jboss-3.0.2/jboss-3.0.2/server/all/deploy/jmx-console.war/

      09:56:31,109 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:service=EJB,jndiName=TaxEJBTable
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error in jaws.xml for Entity TaxEJBTable: expected one order tag]


      I checked the jaws.xml file, and found that it lacked an order element inside the finder element. How can I correct the problem?