[Clustering/JBoss] - Re: Clustering JBoss 4.0.5, not working, stuck
by egandt
I also tried adding java.naming.provider.url=172.19.2.10:1100:172.19.2.11:1100
to the all/conf/jndi.properties file, which force the a set of nodes. This causes the first member to be brought up to throw exceptions, saying it can not contact the second member (which is understandable), but the second member (while not throwing any exceptions), also does not find the first cluster member:
Example of the second server starting up:
-------------------------------------------------------
| GMS: address is oraclelinuxoracle11clusterA:1453 (additional data: 16 bytes)
| -------------------------------------------------------
| 22:15:41,835 INFO [DefaultPartition] Number of cluster members: 1
| 22:15:41,846 INFO [DefaultPartition] Other members: 0
| 22:15:41,847 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 22:15:41,872 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
| 22:15:42,578 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099]
| 22:15:42,642 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event:
| 22:15:42,645 INFO [DefaultPartition] Dead members: 0 ([])
| 22:15:42,645 INFO [DefaultPartition] New Members : 0 ([])
| 22:15:42,646 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099])
| 22:15:42,874 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10
| 22:15:43,118 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100
| 22:15:50,536 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 22:15:51,522 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 22:15:54,043 INFO [Embedded] Catalina naming disabled
| 22:15:54,204 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 22:15:54,215 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 22:15:56,100 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080
| 22:15:56,160 INFO [Catalina] Initialization processed in 1940 ms
|
Notice it did not find the primary member 172.19.2.11 in this case, even though it is already started.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161783#4161783
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161783
17 years, 4 months
[Installation, Configuration & DEPLOYMENT] - LinkageError starting JBossAS 5.0.0CR1
by legolas
Hi all,
I've just downloaded and unzipped the JBossAS 5.0.0CR1 package, and eager as I am, I immediately started it using bin\run.bat.
This error appeared on the console:
14:58:48,222 ERROR [AbstractKernelController] Error installing to Create: name=ManagedConnectionFactoryParserDeployer state=Configured
| java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/C:/Java/jboss-5.0.0.CR1/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
| at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
| at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
| at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
| 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
| at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
| at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
| at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
| at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:120)
| 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:56)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
| 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.dependency.plugins.AbstractController.install(AbstractController.java:1392)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
| 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:174)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:250)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:544)
| at java.lang.Thread.run(Thread.java:619)
I am running JBoss on a Windows Vista SP1 machine with a sun JVM build 1.6.0_04-b12.
Did I forget a configuration step, or should this run OOTB?
Thanks,
Marcel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161772#4161772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161772
17 years, 4 months
[Clustering/JBoss] - Clustering JBoss 4.0.5, not working, stuck
by egandt
I am using the All profile, to which I have made the changes at http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss?action=e&windowstate=n...
This includes adding the jvmRoute="node1" and jvmRoute="node2" to the 2 instances, setting <attribute name="UseJK">true</attribute> and ensuring that AJP connector is uncommented.
Yet when I start up the 2 cluster members, the first and second servers to be brought up are not finding each other. I allowed the first server to completely start then started the second server.
I have also setup apache 2.2 using mod_proxy_http as per the instructions on http://wiki.jboss.org/wiki/UsingMod_proxyWithJBoss
However if the 2 cluster members can not see each other, the Apache configuration is not really an issue yet.
First Cluster Member:
GMS: address is oraclelinuxoracle11clusterA:1420 (additional data: 16 bytes)
| -------------------------------------------------------
| 21:42:32,178 INFO [DefaultPartition] Number of cluster members: 1
| 21:42:32,180 INFO [DefaultPartition] Other members: 0
| 21:42:32,190 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 21:42:32,216 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
| 21:42:32,244 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099]
| 21:42:32,462 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event:
| 21:42:32,466 INFO [DefaultPartition] Dead members: 0 ([])
| 21:42:32,510 INFO [DefaultPartition] New Members : 0 ([])
| 21:42:32,515 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099])
| 21:42:32,658 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10
| 21:42:32,725 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100
| 21:42:35,774 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:42:36,123 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000C3137322E31392E322E3130000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:42:37,447 INFO [Embedded] Catalina naming disabled
| 21:42:37,659 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 21:42:37,708 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 21:42:38,558 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080
| 21:42:38,611 INFO [Catalina] Initialization processed in 856 ms
| 21:42:38,614 INFO [StandardService] Starting service jboss.web
| 21:42:38,667 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
| 21:42:38,768 INFO [StandardHost] XML validation disabled
| 21:42:38,850 INFO [Catalina] Server startup in 236 ms
|
Second Cluster Member:
-------------------------------------------------------
| GMS: address is oraclelinuxoracle11clusterB:1427 (additional data: 16 bytes)
| -------------------------------------------------------
| 21:43:56,137 INFO [DefaultPartition] Number of cluster members: 1
| 21:43:56,139 INFO [DefaultPartition] Other members: 0
| 21:43:56,185 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 21:43:56,236 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
| 21:43:56,422 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.11
| 21:43:56,499 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.11:1102, group=230.0.0.4, HA-JNDI address=172.19.2.11:1100
| 21:43:59,903 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000C3137322E31392E322E3131000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:44:00,333 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000C3137322E31392E322E3131000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C000000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C3137322E31392E322E3130000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
| 21:44:01,720 INFO [Embedded] Catalina naming disabled
| 21:44:01,872 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 21:44:01,884 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 21:44:03,158 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.11-8080
| 21:44:03,178 INFO [Catalina] Initialization processed in 1290 ms
|
Any ideas on what I'm doing wrong?
ERIC
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161770#4161770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161770
17 years, 4 months