JRE_HOME Path
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2012 02:22 AM
hai..When I start alfrsco server..JRE_HOME just shows /usr..pls let me know where to set this path..I'm using open-jdk from Ubuntu ..
sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$ ./alfresco.sh start tomcat
Using CATALINA_BASE: /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_HOME: /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_TMPDIR: /home/sourceone/alfresco-4.0.d/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/sourceone/alfresco-4.0.d/tomcat/bin/bootstrap.jar
/home/sourceone/alfresco-4.0.d/tomcat/scripts/ctl.sh : tomcat started
sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$
sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$ ./alfresco.sh start tomcat
Using CATALINA_BASE: /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_HOME: /home/sourceone/alfresco-4.0.d/tomcat
Using CATALINA_TMPDIR: /home/sourceone/alfresco-4.0.d/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/sourceone/alfresco-4.0.d/tomcat/bin/bootstrap.jar
/home/sourceone/alfresco-4.0.d/tomcat/scripts/ctl.sh : tomcat started
sourceone@sourceone-ThinkCentre-M71e:~/alfresco-4.0.d$
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2012 02:30 AM
It had taken your default JAVA_HOME,JRE_HOME
ie the reason tomcat been started,
Can you check the logs to see if you had any problem in starting tomcat
If you want to customise ur JAVA_HOME and JRE_HOME
you need to export it prior before starting the service, in your case U don't need to do it
ie the reason tomcat been started,
Can you check the logs to see if you had any problem in starting tomcat
If you want to customise ur JAVA_HOME and JRE_HOME
you need to export it prior before starting the service, in your case U don't need to do it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2012 03:07 AM
yes..I 've set..below PATH in both../etc/environment and /etc/bash.bashrc file…
It should display JRE_HOME know../usr/lib/jvm/java-7-oracle
JAVA_HOME=/usr/lib/jvm/java-7-oracle
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
It should display JRE_HOME know../usr/lib/jvm/java-7-oracle
JAVA_HOME=/usr/lib/jvm/java-7-oracle
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
