0 Replies Latest reply on Jun 17, 2005 10:43 AM by Navin Parthasarathy

    Deployment issue in 3.2.3

    Navin Parthasarathy Newbie

      Hi,
      I am deploying my ear file and get the following errors. I DONT get these errors in version 3.2.6, but I am unable to run the application as it cannot locate the beans.
      I have checked all the relevant .xml files but cannot seem to find the problem.
      Here is the server log:
      "==============================="
      2005-06-15 21:19:15,830 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /favicon.ico
      2005-06-15 21:19:15,830 INFO [org.jboss.web.localhost.Engine] StandardHost[localhost]: MAPPING configuration error for request URI /favicon.ico
      2005-06-15 21:23:29,617 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/assetminder.ear
      2005-06-15 21:23:29,648 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss-3.2.3/server/default/deploy/assetminder.ear
      2005-06-15 21:23:32,017 INFO [org.jboss.ejb.EjbModule] Deploying CompanyEJB
      2005-06-15 21:23:32,189 INFO [org.jboss.ejb.EjbModule] Deploying RoleEJB
      2005-06-15 21:23:32,204 INFO [org.jboss.ejb.EjbModule] Deploying EmployeeEJB
      2005-06-15 21:23:32,220 INFO [org.jboss.ejb.EjbModule] Deploying MaintenanceContractEJB
      2005-06-15 21:23:32,220 INFO [org.jboss.ejb.EjbModule] Deploying LeaseContractEJB
      2005-06-15 21:23:32,235 INFO [org.jboss.ejb.EjbModule] Deploying AddressEJB
      2005-06-15 21:23:32,251 INFO [org.jboss.ejb.EjbModule] Deploying ProductEJB
      2005-06-15 21:23:32,267 INFO [org.jboss.ejb.EjbModule] Deploying UserEJB
      2005-06-15 21:23:32,267 INFO [org.jboss.ejb.EjbModule] Deploying LandmarkEJB
      2005-06-15 21:23:32,282 INFO [org.jboss.ejb.EjbModule] Deploying ProductTypeEJB
      2005-06-15 21:23:32,298 INFO [org.jboss.ejb.EjbModule] Deploying WarrantyContractEJB
      2005-06-15 21:23:32,298 INFO [org.jboss.ejb.EjbModule] Deploying AssetEJB
      2005-06-15 21:23:32,313 INFO [org.jboss.ejb.EjbModule] Deploying CustomerManagerEJB
      2005-06-15 21:23:32,345 INFO [org.jboss.ejb.EjbModule] Deploying AssetManagerEJB
      2005-06-15 21:23:32,360 INFO [org.jboss.ejb.EjbModule] Deploying ReportManagerEJB
      2005-06-15 21:23:32,360 INFO [org.jboss.ejb.EjbModule] Deploying UserManagerEJB
      2005-06-15 21:23:32,376 INFO [org.jboss.ejb.EjbModule] Deploying AuthorizationManagerEJB
      2005-06-15 21:23:32,672 ERROR [org.jboss.ejb.EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException: ejb-local-ref ejb/EmployeeEJBLocal, expected either ejb-link in ejb-jar.xml or local-jndi-name in jboss.xml
      at org.jboss.ejb.Container.setupEnvironment(Container.java:915)
      at org.jboss.ejb.Container.startService(Container.java:572)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:328)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy31.start(Unknown Source)
      at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy12.start(Unknown Source)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2005-06-15 21:23:32,687 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/assetMinder/CompanyEJB,service=EJB
      org.jboss.deployment.DeploymentException: ejb-local-ref ejb/EmployeeEJBLocal, expected either ejb-link in ejb-jar.xml or local-jndi-name in jboss.xml
      at org.jboss.ejb.Container.setupEnvironment(Container.java:915)
      at org.jboss.ejb.Container.startService(Container.java:572)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:328)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy31.start(Unknown Source)
      at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy12.start(Unknown Source)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2005-06-15 21:23:32,719 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=ejb/assetMinder/RoleEJB,plugin=pool,service=EJB
      2005-06-15 21:23:32,719 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=ejb/assetMinder/RoleEJB,service=EJB
      2005-06-15 21:23:32,719 ERROR [org.jboss.ejb.EntityContainer] Starting failed....

      "========================================="


      It appears that <ejb-link> tag for references to local beans is not required by 3.2.6. BUt this version still cannot locate the beans.

      Any pointers in the right direction will be helpful.

      Thanks,
      Navin