bin/apacheds Segmentation fault when installed with a 64 bit JavaVM
-------------------------------------------------------------------
Key: DIRSERVER-980
URL: https://issues.apache.org/jira/browse/DIRSERVER-980
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.5.0
Environment: Linux Suse 10.2 with a 64bit JVM (Sun JRE 1.5.9 update 11)
Reporter: David Bucciarelli
Executing "/etc/init.d/apacheds start" leads to a segmentation fault with the
following output:
tst-ldavid3:/home/david/tmp # /etc/init.d/apacheds start
JAVA_HOME=/opt/jre1.5.0_11
APACHEDS_HOME=/opt/apacheds-1.5.0
CLASSPATH=:/opt/jre1.5.0_11/lib/tools.jar:/opt/apacheds-1.5.0/bin/bootstrapper.jar:/opt/apacheds-1.5.0/bin/logger.jar:/opt/apacheds-1.5.0/bin/daemon.jar
Starting apacheds server: 22/06/2007 16:07:32 4629 apacheds error: Cannot find
any VM in Java Home /opt/jre1.5.0_11
/etc/init.d/apacheds: line 131: 4629 Segmentation fault
$DAEMON_HOME/apacheds -user $APACHEDS_USER -home $JAVA_HOME
-Djava.io.tmpdir=$TMP_DIR -Dlog4j.c
onfiguration=file://$SERVER_HOME/conf/log4j.properties -Xms384m -Xmx384m
-pidfile $PID_FILE -outfile $SERVER_HOME/var/log/apacheds-stdout.log -errfile
$SERVE
R_HOME/var/log/apacheds-stderr.log -cp $CLASSPATH
org.apache.directory.daemon.JsvcBootstrapper $APACHEDS_HOME start
successful apacheds server startup
It happens only when using a 64bit JVM. Everything works fine when using a
32bit JVM. It looks like the bin/apacheds wrapper is not compatible with 64bit
JVM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.