./alfresco.sh: 9: s: not found
Using CATALINA_BASE: /opt/Alfresco/tomcat
Using CATALINA_HOME: /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.10/
[code]j'ai fait aussi :tail -f tomcat/logs/catalina.out et voila ce qui m'affiche:
[code]/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.10//bin/java: not found
le probleme est dans java?
export JAVA_HOME=/opt/java
qui pointe vers votre JDK ?
export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.10/"
mais lorsque je fait cette commande: echo $JAVA_HOME rien ne s'affiche.
#!/bin/sh
# Start or stop Alfresco server
# Set the following to where Tomcat is installed
ALF_HOME=/opt/Alfresco
cd "$ALF_HOME"
APPSERVER="${ALF_HOME}/tomcat"
export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.10/"
# Set any default JVM value
s
export JAVA_OPTS='-Xms128m -Xmx512m -XX:MaxPermSize=128m -server'
# Following only needed for Sun JVMs before to 1.5 update 8
export JAVA_OPTS="${JAVA_OPTS} -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeDeletions"
#
if [ "$1" = "start" ]; then
"${APPSERVER}/bin/startup.sh"
# if [ -r ./virtual_start.sh ]; then
# sh ./virtual_start.sh
# fi
# if [ -r "$ALF_HOME"/start_oo.sh ]; then
# sh "$ALF_HOME"/start_oo.sh
# fi
elif [ "$1" = "stop" ]; then
"${APPSERVER}/bin/shutdown.sh"
# if [ -r ./virtual_start.sh ]; then
# sh ./virtual_stop.sh
# fi
# if [ -r "$ALF_HOME"/start_oo.sh ]; then
# killall soffice.bin
# fi
fi
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2026)
… 27 more
28 juil. 2009 14:04:49 org.apache.coyote.http11.Http11Protocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8080
28 juil. 2009 14:04:50 org.apache.catalina.core.StandardService stop
INFO: Arr�t du service Catalina
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.07//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.07//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.07//bin/java: not found
/opt/Alfresco/tomcat/bin/catalina.sh: 357: /usr/lib/jvm/java-6-sun-1.6.0.07//bin/java: not found
Il y a 4 alternatives fournissant « java ».
Sélection Alternative
———————————————–
* 1 /usr/lib/jvm/java-6-sun/jre/bin/java
2 /usr/bin/gij-4.2
3 /usr/lib/jvm/java-gcj/jre/bin/java
+ 4 /usr/lib/jvm/java-6-openjdk/jre/bin/java
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.