cancel
Showing results for 
Search instead for 
Did you mean: 

Context Initialation Failed

sumitlole
Champ in-the-making
Champ in-the-making
I am using Alfresco Community 3.0 Lab. While starting the server i am getting the problem



Apr 22, 2011 9:04:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Set web app root system property: 'webapp.root' = [C:\Alfresco\tomcat\webapps\alfresco\]
Apr 22, 2011 9:04:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Apr 22, 2011 9:05:39 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
net.sf.jooreports.openoffice.connection.OpenOfficeException: connection failed: socket,host=localhost,port=8100,tcpNoDelay=1; com.sun.star.lang.DisposedException: java.io.IOException: com.sun.star.io.IOException: EOF reached - socket,host=localhost,port=8100,tcpNoDelay=1,localHost=127.0.0.1,localPort=1116,peerHost=localhost,peerPort=8100
   at net.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection.connect(AbstractOpenOfficeConnection.java:77)
   at org.alfresco.util.OpenOfficeConnectionTester.testAndConnect(OpenOfficeConnectionTester.java:157)
   at org.alfresco.util.OpenOfficeConnectionTester.checkConnection(OpenOfficeConnectionTester.java:128)
   at org.alfresco.util.OpenOfficeConnectionTester.onBootstrap(OpenOfficeConnectionTester.java:101)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045
Urgent help is needed. please help…
6 REPLIES 6

mohammed_amr
Champ in-the-making
Champ in-the-making
Dear,

Simply Check your connection to the database; let me now if you know that !

Mohammed Amr
Senior System Developer
Digital Series

muralie39
Champ on-the-rise
Champ on-the-rise
Post the full log for identifying the problem..

mehul1511
Champ in-the-making
Champ in-the-making
Dear Mohammed, I had the similar problem were you able to find any answer to it?

Please let me know.. Thank you in advance

mohammed_amr
Champ in-the-making
Champ in-the-making
Dear mehul1511 ,

can you please give me the version of your alfresco cause i'm working on alfresco 3.4.e and this version uses a postgerSQL ?

mehul1511
Champ in-the-making
Champ in-the-making
Hi thank you so much for the reply. I am using the lastest alfresco 3.4 d with MySQL bundled with it.

Please let me know how to stop and restart alfresco as to take a back up it is a necessary step. Please let me know, Thank you

mohammed_amr
Champ in-the-making
Champ in-the-making
you can check the file alfresco-*.properties which is found in the shared/classes document for connection parameters.

what is the type of backup you need to take ? what is the OS you are working on ?