cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco-explorer not starting at tomcat restart

elmuchacho
Champ in-the-making
Champ in-the-making
Alfresco Community installed on Ubuntu 8.04 LTS x64
everything looks fine …
added support for german language … (still only works in Share)
and restarted tomcat …
after that only the shares are accessible (serverip:8080/share)
explorer can't get loaded (ERROR 404) (serverip:8080/alfresco)

alfresco.log shows this:
14:34:32,925 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
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=localhost,localPort=46388,peerHost=localhost,peerPort=8100

catalina.log shows this:
09.10.2009 14:34:11 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
09.10.2009 14:34:11 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
09.10.2009 14:34:11 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 904 ms
09.10.2009 14:34:11 org.apache.catalina.users.MemoryUserDatabase save
WARNUNG: User database is not persistable - no write permissions on directory
09.10.2009 14:34:11 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
09.10.2009 14:34:11 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
09.10.2009 14:34:13 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
09.10.2009 14:34:32 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
09.10.2009 14:34:32 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/alfresco] startup failed due to previous errors
09.10.2009 14:34:33 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
09.10.2009 14:34:35 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
09.10.2009 14:34:35 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
09.10.2009 14:34:35 org.apache.catalina.startup.Catalina start
INFO: Server startup in 24284 ms

netstat -tapn | grep 8100 shows:
tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      4996/soffice.bin

after a reboot everything works …

after a tomcat restart the error comes up …
but if i kill the soffice.bin process before restarting tomcat it works too

help needed Smiley Wink
2 REPLIES 2

norgan
Champ in-the-making
Champ in-the-making
1) See the second link in my signature regarding "share works"
2) check for still running java processes from previous starts

elmuchacho
Champ in-the-making
Champ in-the-making
watched out out your tipps …

but everything is ok here …
my only prob is, that soffice's PID is not killed in a tomcat-restart …

I've created a batch to fix it for now:

/etc/init.d/tomcat6 stop
killall soffice
/etc/init.d/tomcat6  start

this wokors for now …