Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clustering in jboss

 
meenakshi gavhale
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i have to launch a JBoss Enterprise Application Platform in Cluster.

i m using following command to run server.

1. ./run.sh -c production -g DefaultPartition -u 239.255.95.92 \ -b inbase01 -Djboss.messaging.ServerPeerID=2 \ -Djboss.service.binding.set=ports-01
2. ./run.sh -c production -g DefaultPartition -u 239.255.95.103 \ -b inbase01 -Djboss.messaging.ServerPeerID=2 \ -Djboss.service.binding.set=ports-02
[size=12]
[/size]
first instance is started properly. but while running second instance i m getting the following exception..

[color=darkred]ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
./run.sh: line 284: 25982 Aborted "/opt/jdk1.6.0_29/bin/java" -Dprogram.name=run.sh -server -Xms1303m -Xmx1303 m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterv al=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Xrunjdwp:transport=dt_socket,address=8790,server=y,suspend=n -Djboss. platform.mbeanserver -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.au thenticate=false -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djava.net.preferIPv4St ack=true -Djava.endorsed.dirs="/export/home/infdev/8.4.1/JBossEAP_5.1.2/jboss-eap-5.1/jboss-as/lib/endorsed" -classpath "/expo rt/home/infdev/8.4.1/JBossEAP_5.1.2/jboss-eap-5.1/jboss-as/bin/run.jar:/opt/jdk1.6.0_29/lib/tools.jar" org.jboss.Main -c produ ction -g DefaultPartition -u 239.255.95.92 -b inbase01 -Djboss.messaging.ServerPeerID=2 -Djboss.service.binding.set=ports-01
-bash-3.2$ ./run.sh -c production -g DefaultPartition -u 239.255.95.92 \ -b inbase01 -Djboss.messaging.ServerPeerID=2 \ -Djboss.service.binding.set=ports-01
scenario: Two Nodes on a Single, Non-Multihomed, Server.
[/color]


Thanks,
Meenakshi G.





 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your run.conf script, I think, has JVM debug parameters enabled (look for the line containing 8790 port number). You'll either have to comment out that line to disable debugging or use a different port for the second instance.
 
meenakshi gavhale
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i used two different ports but still i am getting this error
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic