This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

run.sh and run.conf configuration in JBoss  RSS feed

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have made changes in run.sh and run.conf file present in j boss after this j boss is not able to start. Changes done are below :

j boss version 4.2.2
OS : HP unix B.11.23




 
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error are you seeing?
 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Not able to see any Error in boot.log or nothing is eing displayed in server.log. Any other log files to find out the error ?
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open a command prompt and then type run.sh. Post whatever output it shows.
 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

# ./run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt/HP/jboss

JAVA: /opt/java1.5/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=3000
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -server
-Xss1m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=
/logs/ -verbose:gc -XX:+PrintGCDetails -Xloggc:/logs/gc.log -XX:+PrintGCTimeStamps -XX:NewRatio=2
-XX:+UseParallelGC -XX:+UseParallelOldGC -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

CLASSPATH: /opt/HP/jboss/bin/run.jar:/opt/java1.5/lib/tools.jar

=========================================================================

Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
Could not create the Java virtual machine.

+HeapDumpOnOutOfMemoryError' do you think not supported by HP-UX.... The same options works with RHEL 5.3.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

jaya kemmannu wrote:
Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
Could not create the Java virtual machine.

+HeapDumpOnOutOfMemoryError' do you think not supported by HP-UX.... The same options works with RHEL 5.3.



That's a VM option, which means that the Java vendor/version that's being run on HP-UX doesn't support that option.
 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The same version of JAVA (1.5) used in RHEL dont give any Exception. is this OS specific ?
 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

MY java version is

# java -version
java version "1.5.0.03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03-_13_feb_2006_16_39)
Java HotSpot(TM) Server VM (build 1.5.0.03 jinteg:02.13.06-21:25 IA64, mixed mode)
You have mail in /var/mail/root
#
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

jaya kemmannu wrote:
MY java version is

# java -version
java version "1.5.0.03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03-_13_feb_2006_16_39)



As per this page http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c01496541 (which I found after I googled for that error), you need a higher version of Java to use that VM option.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!