File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Some errors are throwing on JBOSS cluster. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Some errors are throwing on JBOSS cluster." Watch "Some errors are throwing on JBOSS cluster." New topic

Some errors are throwing on JBOSS cluster.

Mp Ramkumar

Joined: Apr 28, 2009
Posts: 26
I started using the JBOSS recently. I have done clustering of the JBOSS 4.3.0 GA CP02 with load balancer using Apache HTTP server

The load balancing and the clustering is working fine. Today I have configured another two machines with JBOSS in the same subnet and I started them using the following command to avoid the old cluster nodes.

I have started the first cluster with the following command
Cluster A:
Machine 1:
F:\jboss-eap-4.3\jboss-as\bin>run -c node1 -b
Machine 2:
F:\jboss-eap-4.3\jboss-as\bin>run -c node2 -b

Cluster B:
F:\jboss-eap-4.3\jboss-as\bin>run -c node1 -g TS63PERF -b
F:\jboss-eap-4.3\jboss-as\bin>run -c node2 -g TS63PERF -b

I am gettign the following errors.

1. In cluster B command prompt window, after entering the run command the following error is getting displayed and then server is getting started. please find the copy of the command prompt window below.
'-Xdebug' is not recognized as an internal or external command,
operable program or batch file.

JBoss Bootstrap Environment

JBOSS_HOME: F:\jboss-eap-4.3\jboss-as

JAVA: C:\Program Files\Java\jdk1.5.0_10\bin\java

JAVA_OPTS: -XX:MaxPermSize=512m -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

CLASSPATH: C:\Program Files\Java\jdk1.5.0_10\lib\tools.jar;F:\jboss-eap-4.3\jboss-as\bin\run.jar


12:37:25,546 INFO [Server] Starting JBoss (MX MicroKernel)...
12:37:25,546 INFO [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP02 (build: SVNTag=JBPAPP_4_3_0_GA_CP02 date=200808051050)
12:37:25,546 INFO [Server] Home Dir: F:\jboss-eap-4.3\jboss-as
12:37:25,546 INFO [Server] Home URL: file:/F:/jboss-eap-4.3/jboss-as/
12:37:25,546 INFO [Server] Patch URL: null
12:37:25,546 INFO [Server] Server Name: node2
12:37:25,546 INFO [Server] Server Home Dir: F:\jboss-eap-4.3\jboss-as\server\node2
12:37:25,546 INFO [Server] Server Home URL: file:/F:/jboss-eap-4.3/jboss-as/server/node2/
12:37:25,562 INFO [Server] Server Log Dir: F:\jboss-eap-4.3\jboss-as\server\node2\log
12:37:25,562 INFO [Server] Server Temp Dir: F:\jboss-eap-4.3\jboss-as\server\node2\tmp
12:37:25,562 INFO [Server] Root Deployment Filename: jboss-service.xml
12:37:26,031 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
12:37:26,031 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems Inc.
12:37:26,031 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
12:37:26,453 INFO [Server] Core system initialized
12:37:29,390 INFO [WebService] Using RMI server codebase:
12:37:29,390 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

2. Also in cluster B, server.log file continuously getting updated with the following line
2009-06-04 15:58:15,656 WARN [org.jgroups.protocols.UDP] discarded message from different group "Tomcat-Cluster" (our group is "Tomcat-TS63PERF"). Sender was

Can some one tell me how to avoide these errors?

Thanks & Regards,
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

I don't see an error, I just see the warning to let you know that it received a message from the other cluster, but that it is ignoring it.

but I think you don't want to see those warnings. So check this out


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mp Ramkumar

Joined: Apr 28, 2009
Posts: 26
Hi Mark,
ThanQ very much.. Now the warning message is not coming by giving the run command to start jboss as below

run -c <folder name of the server> -b <hostname or IP address of the machine> -u

I agree. Here's the link:
subject: Some errors are throwing on JBOSS cluster.
Similar Threads
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11
Server started with Deployment Errors
Unique node during installation.
new to jndi name connecting to mysql
when i strat my server i am facing below problem in solaris