This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Some errors are throwing on JBOSS cluster." Watch "Some errors are throwing on JBOSS cluster." New topic
Author

Some errors are throwing on JBOSS cluster.

Mp Ramkumar
Greenhorn

Joined: Apr 28, 2009
Posts: 26
Hi
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 2.2.1.1.

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 192.168.106.53
Machine 2:
F:\jboss-eap-4.3\jboss-as\bin>run -c node2 -b 192.168.106.55

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

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 -Dprogram.name=run.bat -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: http://192.168.106.36:8083/
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 192.168.106.53:18339


Can some one tell me how to avoide these errors?

Thanks & Regards,
RamkumarMP
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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

http://www.jboss.org/community/wiki/TwoClustersontheSameNetwork

Mark


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

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 224.0.0.1

Thanks
RamkumarMP
 
GeeCON Prague 2014
 
subject: Some errors are throwing on JBOSS cluster.