08-07-2008 03:33 AM
# Alfresco init script for Ubuntu
# 2 nov 2007 Joost Horward
#
export JAVA_HOME="/usr/lib/jvm/java-6-sun" ## NEU!!
export JRE_HOME="/usr/lib/jvm/java-6-sun" ## NEU!!
export ALFRESCO_HOME=/opt/alfresco
export CATALINA_BASE=/opt/alfresco/tomcat
export CATALINA_HOME=/opt/alfresco/tomcat
export PIDFILE=/var/run/alfresco
export LOGFILE=/var/log/alfresco/alfresco.log
# Set any default JVM values
export JAVA_OPTS='-Xms128m -Xmx512m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp'
export JAVA_OPTS="${JAVA_OPTS} -Djava.rmi.server.hostname=localhost" ## NEU !!
HTTP Status 404 - /alfresco/
type Status report
message /alfresco/
description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.23
08-07-2008 04:11 AM
root@nxxxx999:/var/log/alfresco/tomcat/logs# cat cat*
07.08.2008 10:05:22 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
07.08.2008 10:05:22 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 830 ms
07.08.2008 10:05:22 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
07.08.2008 10:05:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
07.08.2008 10:05:22 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
07.08.2008 10:05:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
07.08.2008 10:05:25 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
07.08.2008 10:05:41 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
07.08.2008 10:05:41 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/alfresco] startup failed due to previous errors
07.08.2008 10:05:43 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
07.08.2008 10:05:43 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
07.08.2008 10:05:43 org.apache.catalina.startup.Catalina start
INFO: Server startup in 21205 ms
07.08.2008 10:05:22 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
07.08.2008 10:05:22 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 830 ms
07.08.2008 10:05:22 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
07.08.2008 10:05:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
07.08.2008 10:05:22 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
07.08.2008 10:05:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
10:05:25,477 INFO [web.site.FrameworkHelper] Successfully Initialized Web Framework
07.08.2008 10:05:25 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
10:05:37,845 INFO [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
10:05:39,255 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:804)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:744)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:245)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1019)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
08-07-2008 04:58 AM
10:43:21,941 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
10:43:26,521 ERROR [transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
os: Linux
command: pdf2swf -V
succeeded: false
exit code: 1
out:
err: Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
10:43:28,093 INFO [domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-59782.sql (Copied from classpath:alfresco/dbscripts/upgrade/1.4/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoSchemaUpdate-1.4-1.sql).
10:43:28,111 ERROR [domain.schema.SchemaBootstrap] Statement execution failed:
SQL: ALTER TABLE applied_patch ENGINE = InnoDB
Error: Table 'alfresco.applied_patch' doesn't exist
File: /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-59782.sql
Line: 31
10:43:28,113 ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed
08-29-2008 08:53 AM
rm -r /var/lib/alfresco/alf_data/*
3.) Die alfresco-Datenbank gelöscht und neu erstellt habe mit:mysql -u root -p
drop database alfresco;
create database alfresco;
grant all privileges on alfresco.* to alfresco@localhost identified by 'alfresco';4.) Alfresco Server neu gestartet habe
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.