-
1. Re: Jboss 5.x deploy problem
peterj Mar 5, 2009 1:06 AM (in response to zlajaj)Earlier in the console log there should be one or more stack traces; post the first one. (What you posted is the deployment report which outlines which deployments failed, but that report rarely describes the root cause.)
Also, the named using in persistence.xml does not match what is in *-ds.xml.
Finally, When posting XML text or source code, please enclose the text in UBBCode "code" tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. -
2. Re: Jboss 5.x deploy problem
zlajaj Mar 5, 2009 7:10 AM (in response to zlajaj)First thanks for reply.
Error in -ds.xml file I made when I wrote post In my development enviroment it si fine.
I've found only this, it is logged as debug and I'am not shure is related to the problem :2009-03-05 12:37:51,809 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to retrieve orb javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559) at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:451) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:97) 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:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) at $Proxy36.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44) at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286) at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87) at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535) at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44) at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286) at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87) at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535) at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) at org.jboss.system.ServiceController.doInstall(ServiceController.java:670) at org.jboss.system.ServiceController.register(ServiceController.java:373) at org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:104) at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286) at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87) at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535) at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44) 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:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286) at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87) at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535) at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Thread.java:619)
and at the end of log file :2009-03-05 12:38:07,520 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=SystemSessionBean,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=SystemSessionBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/CbadmSubsystemSession/remote-com.incrementum.cbadm.beans.CbadmSubsystemSession' **") Deployment "jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=UserSessionBean,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=UserSessionBean,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/SystemSessionBean/remote-com.incrementum.framework.interfaces.SystemSessionBeanRemote' **") Deployment "jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSession,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSession,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=Incrementum-ear-0.0.1-SNAPSHOT.ear/ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar#ModuleAdmCbPersistence' **") Deployment "jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSubsystemSession,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSubsystemSession,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/CbadmSession/remote-com.incrementum.cbadm.beans.CbadmSession' **") Deployment "persistence.unit:unitName=Incrementum-ear-0.0.1-SNAPSHOT.ear/ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar#ModuleAdmCbPersistence" is missing the following dependencies: Dependency "jboss.jca:name= java:/app/jdbc/jdbc/cbadmDS ,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name= java:/app/jdbc/jdbc/cbadmDS ,service=DataSourceBinding' **") Deployment "persistence.unit:unitName=Incrementum-ear-0.0.1-SNAPSHOT.ear/ModuleRunCbPersistence-0.0.1-SNAPSHOT.jar#ModuleRunCbPersistence" is missing the following dependencies: Dependency "jboss.jca:name= java:/app/jdbc/jdbc/cbrunDS ,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name= java:/app/jdbc/jdbc/cbrunDS ,service=DataSourceBinding' **") DEPLOYMENTS IN ERROR: Deployment "jboss.jca:name= java:/app/jdbc/jdbc/cbrunDS ,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name= java:/app/jdbc/jdbc/cbrunDS ,service=DataSourceBinding' ** Deployment "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=UserSessionBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/SystemSessionBean/remote-com.incrementum.framework.interfaces.SystemSessionBeanRemote' ** Deployment "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSubsystemSession,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/CbadmSession/remote-com.incrementum.cbadm.beans.CbadmSession' ** Deployment "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=MainApplication-0.0.1-SNAPSHOT.jar,name=SystemSessionBean,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:Incrementum-ear-0.0.1-SNAPSHOT/CbadmSubsystemSession/remote-com.incrementum.cbadm.beans.CbadmSubsystemSession' ** Deployment "jboss.jca:name= java:/app/jdbc/jdbc/cbadmDS ,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name= java:/app/jdbc/jdbc/cbadmDS ,service=DataSourceBinding' ** Deployment "<UNKNOWN jboss.j2ee:ear=Incrementum-ear-0.0.1-SNAPSHOT.ear,jar=ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar,name=CbadmSession,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=Incrementum-ear-0.0.1-SNAPSHOT.ear/ModuleAdmCbPersistence-0.0.1-SNAPSHOT.jar#ModuleAdmCbPersistence' **
This is part of my jmx-console:java: Namespace +- securityManagement (class: org.jboss.security.integration.JNDIBasedSecurityManagement) +- comp (class: javax.namingMain.Context) +- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) +- policyRegistration (class: org.jboss.security.plugins.JBossPolicyRegistration) +- app (class: org.jnp.interfaces.NamingContext) | +- jdbc (class: org.jnp.interfaces.NamingContext) | | +- jdbc (class: org.jnp.interfaces.NamingContext) | | | +- finDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cbmainDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cbhrDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cbcashDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cbrunDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cbadmDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- hrDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | | +- cashDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
I use jboss-5.0.1.GA.
Thanks for any help -
3. Re: Jboss 5.x deploy problem
folesen Mar 12, 2009 4:01 PM (in response to zlajaj)I have the exact same problem. I just downloaded and installed 5.0.1.GA (jdk6 version) and the error occurs immediately. Has anyone solved the problem.
-
4. Re: Jboss 5.x deploy problem
peterj Mar 12, 2009 5:23 PM (in response to zlajaj)The "unable to find orb" message is expected when running a nonclustered instance of JBoss AS - you can ignore that message. Note that it is a DEBUG message.
I dont like the looks of this part of the error text:Dependency "jboss.jca:name= java:/app/jdbc/jdbc/cbadmDS ,service=DataSourceBinding
Did you by any chance define the data source name in persistence.xml as follows:<jta-data-source> java:/app/jdbc/jdbc/cbadmDS </jta-data-source>
Are you aware that white space is not trimmed for the data source name that you provide? Thus the newlines and spaces are assumed to be part of the name? Instead, use:<jta-data-source>java:/app/jdbc/jdbc/cbadmDS</jta-data-source>
folesen, I don't see how you ran into the exact same problem unless you are deploying the exact same application that zlatkop is deploying. I recommend that you open a new topic and post your exception stack trace there - hijacking someone else's post to get help on your problem is not good manners.