• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Some errors are throwing on JBOSS cluster.

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Mp Ramkumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic