As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
# # MySQL dialect (default) # hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
db.username=toto db.password=toto
# MySQL dialect (default) # hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect #
mysql> source db_setup.sql
ERROR 1007 (HY000): Can't create database 'alfresco'; database exists Query OK, 0 rows affected (0.09 sec) Query OK, 0 rows affected (0.00 sec)
db.name=alfresco db.username=alfresco db.password=alfresco c'est le meme erreur lorsque je relance alfresco.
c'est le meme erreur lorsque je relance alfresco.
./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
export JAVA_HOME=/opt/java
export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.10/"
#!/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