Bugs item #474977, was opened at 2001-10-25 10:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=474977&group_id=22866
Category: JBossServer Group: v2.4 (stable) >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Matthew Bishop (mattbishop) >Assigned to: Andreas Schaefer (schaefera) Summary: run.sh fails on Mac OS X Initial Comment: The run.sh script in JBoss 2.4.1a and 2.4.3 incorrectly identifies a HotSpot Server VM and then tries to instantiate the VM with the '-server' option. This fails if the VM is indeed a HotSpot Client VM and not the server variety. Mac OS X does not ship with a server HotSpot, so the run.sh script fails when it tries to instantiate the VM. Here is a sample output: [localhost:/J2EE-servers/jboss/bin] matt% sh run.sh Unrecognized option: -server Could not create the Java virtual machine. Here is the output from Mac OS X 10.1 when checking the version: [localhost:/J2EE-servers/jboss/bin] matt% java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-root-010902-18:51) Java HotSpot(TM) Client VM (build 1.3.1, mixed mode) My workaround is to edit the run.sh script and remove the $HOTSPOT variable from the instantiation line. ---------------------------------------------------------------------- >Comment By: Andreas Schaefer (schaefera) Date: 2001-11-16 15:23 Message: Logged In: YES user_id=70434 Current CVS Branch_2_4 contains the fix. Andy ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=474977&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development