01-27-2007 11:50 AM
17:45:06,279 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 63.563MB
17:45:06,280 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB
17:45:06,281 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21
17:45:06,307 ERROR [web.app.ContextListener] Failed to initialise
org.alfresco.error.AlfrescoRuntimeException: Root path not created prior to application startup: app:company_home
at org.alfresco.web.app.ContextListener.contextInitialized(ContextListener.java:109)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17:45:06,309 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Failed to initialise
at org.alfresco.web.app.ContextListener.contextInitialized(ContextListener.java:132)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.alfresco.error.AlfrescoRuntimeException: Root path not created prior to application startup: app:company_home
at org.alfresco.web.app.ContextListener.contextInitialized(ContextListener.java:109)
… 24 more
Jan 27, 2007 5:45:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 27, 2007 5:45:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Jan 27, 2007 5:45:06 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 27, 2007 5:45:06 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 27, 2007 5:45:06 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/27 config=null
Jan 27, 2007 5:45:06 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 27, 2007 5:45:06 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 22995 ms
01-29-2007 06:26 AM
01-29-2007 07:27 AM
01-30-2007 06:26 AM
This error can only occur if the "Company Home" root space has been deleted. Did you start the server from the same location? i.e. make sure you only have one copy of the alf_data folder - if you have 2 then the system is loading the indexes from the wrong location. Did the admin using delete the company home space?
04-20-2007 05:30 AM
20-apr-2007 11:01:35 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Alfresco\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Alfresco\java\bin;C:\Alfresco\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\PROGRA~1\AscentSS\ServLib\ImgCtls\bin;C:\Program Files\AscentSS\ServLib\Bin
20-apr-2007 11:01:37 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
20-apr-2007 11:01:37 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7328 ms
20-apr-2007 11:01:37 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
20-apr-2007 11:01:37 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
20-apr-2007 11:01:37 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
20-apr-2007 11:01:42 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
20-apr-2007 11:03:08 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
20-apr-2007 11:03:08 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
20-apr-2007 11:03:11 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
20-apr-2007 11:03:12 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
20-apr-2007 11:03:12 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/797 config=null
20-apr-2007 11:03:12 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
20-apr-2007 11:03:13 org.apache.catalina.startup.Catalina start
INFO: Server startup in 96047 ms
04-21-2007 10:13 AM
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
You have propably noticed the message complaining about the missing Apache Tomcat Native library in catalina.out. This means that Apache Portable Runtime is not installed. With apr the HTTP connector uses sendfile for hadling static files using high performance kernel level calls. This should provide superior scalability and performance but I haven't done any benchmarks yet so I cannot confirm this.
Install required packages (libapr1-dev, libssl-dev, gcc and make) and go to $CATALINA_HOME/bin. Extract tomcat-native.tar.gz package and install the libs.
# apt-get install libapr1-dev libssl-dev gcc make
# cd $CATALINA_HOME/bin
# tar -zxvf tomcat-native.tar.gz
# cd $CATALINA_HOME/bin/tomcat-native-1.1.3/jni/native
# ./configure –with-apr=/usr/bin/ –with-java-home=/usr/lib/j2sdk1.5-sun/
# make && make install
After 'make install' you cand find the apr libs from /usr/local/apr and you need to add them to java.library.path. This can be done by adding the following line to Tomcat's initscript or $CATALINA_HOME/bin/catalina.sh.
CATALINA_OPTS="-Djava.library.path=/usr/local/apr/lib"
Tomcat uses the apr library automatically after restart but I was a bit amused about the informational message I got during the startup. Tomcat recommends version 1.1.4 or greater but the most recent version of Tomcat includes version 1.1.3.
05-03-2007 08:55 AM
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.