https://issues.apache.org/bugzilla/show_bug.cgi?id=48226
Summary: Wrong JRE_HOME set Product: Tomcat 6 Version: unspecified Platform: Sun OS/Version: Solaris Status: NEW Severity: major Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: andreas.ferr...@profidatagroup.com Java: jdk1.6.0_10 When JRE_HOME is not set and in your path ist the 64bit version of Java -> ../jdk1.6.0_10/bin/sparcv9/java the script setclasspath.sh in the bin dir sets the wrong dir for your JRE_HOME Here is the parte of the script which needs to be fixed ..............snip...................... JAVA_PATH=`which java 2>/dev/null` # will not work if java is in ../jdk1.6.0_10/bin/sparcv9/java if [ "x$JAVA_PATH" != "x" ]; then JAVA_PATH=`dirname $JAVA_PATH 2>/dev/null` JRE_HOME=`dirname $JAVA_PATH 2>/dev/null` fi # end of part which will not work for Sun 64bit java if [ "x$JRE_HOME" = "x" ]; then # XXX: Should we try other locations? if [ -x /usr/bin/java ]; then JRE_HOME=/usr fi fi fi ..............snip...................... regards Andreas -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org