Problem with a 2nd instance of JBOSS ?
amartiny Jan 31, 2005 1:07 PMHello,
I?ve got a problem of configuration with Jboss 4.0.1. I work from the « all » configuration and I add 3 services in my service-jboss.xml which are :
<mbean code="org.jboss.naming.NamingAlias" name="DefaultDomain:service=NamingAlias,fromName=QueueConnectionFactory"> <attribute name="ToName">ConnectionFactory</attribute> <attribute name="FromName">QueueConnectionFactory</attribute> <depends >jboss:service=Naming </depends > </mbean> <mbean code="org.jboss.naming.NamingAlias" name="DefaultDomain:service=NamingAlias,fromName=TopicConnectionFactory"> <attribute name="ToName">ConnectionFactory</attribute> <attribute name="FromName">TopicConnectionFactory</attribute> <depends >jboss:service=Naming </depends > </mbean> <mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=persistency"> <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends> <attribute name="SecurityConf"> <security> <role name="guest" read="true" write="true"/> <role name="publisher" read="true" write="true" create="false"/> <role name="durpublisher" read="true" write="true" create="true"/> </security> </attribute> </mbean>
When I start one server, I have no problem to start and use my customer application. But, when I try to start a second server on another machine, I?ve got a problem with my persistency service (see the following message) :
2005-01-31 09:04:20,173 WARN [org.jboss.naming.NamingService] Context.PROVIDER_URL in server jndi.properties, url=xxx.xx.3.75:1099
2005-01-31 09:04:59,485 WARN [org.jboss.resource.security.ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
2005-01-31 09:05:03,938 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.mq.destination:name=persistency,service=Topic
state: CONFIGURED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=DestinationManager
state: NOTYETINSTALLED
* I Depend On:
Depends On Me: jboss.mq.destination:name=persistency,service=Topic
2005-01-31 09:05:04,126 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.mq.destination:name=persistency,service=Topic
state: CONFIGURED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
Depends On Me:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=DestinationManager
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.mq.destination:name=persistency,service=Topic
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:536)
Any suggestions would be great.
Regards,
EDE