07-13-2007 01:45 AM
[root@sparkpress alfresco]# ./alfresco.sh start
Using CATALINA_BASE: /opt/alfresco/tomcat
Using CATALINA_HOME: /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME: /usr/bin/java
[root@sparkpress alfresco]#
Alfresco does not start.[root@sparkpress logs]# more catalina.out
/opt/alfresco/tomcat/bin/catalina.sh: line 273: /usr/bin/java/bin/java: Not a directory
Obviously this should just say /usr/bin/java, and I have set the JAVA_HOME variable properly:[root@sparkpress alfresco]# echo $JAVA_HOME
/usr/bin/java
07-17-2007 12:57 PM
07-17-2007 04:32 PM
07-17-2007 05:08 PM
ls -al /usr/bin/java
and/usr/bin/java –version
07-17-2007 05:16 PM
07-17-2007 06:02 PM
[root@sparkpress ~]# ls -al /usr/bin/java
lrwxrwxrwx 1 root root 26 Jul 11 21:02 /usr/bin/java -> /usr/java/default/bin/java
[root@sparkpress ~]# /usr/bin/java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode)
[root@sparkpress ~]# /usr/bin/java
Usage: java [-options] class [args…]
(to execute a class)
or java [-options] -jar jarfile [args…]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-client to select the "client" VM
…. etc., etc…
07-18-2007 11:35 AM
07-18-2007 08:28 PM
[root@sparkpress ~]# ls -al /usr/bin/java
lrwxrwxrwx 1 root root 26 Jul 11 21:02 /usr/bin/java -> /usr/java/default/bin/java
export JAVA_HOME=/usr/java/default
export PATH=$JAVA_HOME/bin:$PATH
07-19-2007 05:57 AM
07-19-2007 09:50 AM
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I am using a hosted virtual linux server, where I have root access but I think there is only 256MB of dedicated memory. If I lower the maximum heap size for Java, will that fix this, or is there a minimum amount of memory required for Java/Tomcat/Alfresco to run?Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.