Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Workspace » KW 1.0 RC1 - error (Debian Lenny/Squeeze 32bit)
  •  
stepan.lendak

Messages: 7
Karma: 0
Send a private message to this user
After upgrading into RC1 - KW is not working anymore.

Debian 5.0 /Debian 6.0 - 32bit


error.log:
[28/Feb/2011 16:22:03] HTTPS service not running on all interfaces, port 4060

kerio-workspace-catalina.log:
[28/Feb/2011 16:21:36] ERROR: Cannot find specified temporary folder at /opt/kerio/workspace/tomcat/temp
[28/Feb/2011 16:21:38] ERROR: Error initializing endpoint
java.lang.Exception: Unable to load certificate key /opt/kerio/workspace/sslcert/active.key (error:02001002:system library:fopen:No such file or directory)
at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java :720)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprPro tocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector .java:1014)
at org.apache.catalina.core.StandardService.initialize(Standard Service.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardS erver.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 1)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:27 6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLo ader.java:160)
[28/Feb/2011 16:21:38] ERROR: Catalina.start
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Unable to load certificate key /opt/kerio/workspace/sslcert/active.key (error:02001002:system library:fopen:No such file or directory)
at org.apache.catalina.connector.Connector.initialize(Connector .java:1016)
at org.apache.catalina.core.StandardService.initialize(Standard Service.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardS erver.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 1)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:27 6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLo ader.java:160)
log4j:WARN No appenders could be found for logger (com.kerio.workspace).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[28/Feb/2011 16:21:58] ERROR: Error starting endpoint
java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java :646)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.jav a:753)
at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprPr otocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java :1087)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
[28/Feb/2011 16:21:58] ERROR: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.catalina.connector.Connector.start(Connector.java :1094)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
kerio-workspace:/opt/kerio/workspace/logs# echo "-------------" >> kerio-workspace-catalina.log
kerio-workspace:/opt/kerio/workspace/logs# cat kerio-workspace-catalina.log
[28/Feb/2011 16:21:36] ERROR: Cannot find specified temporary folder at /opt/kerio/workspace/tomcat/temp
[28/Feb/2011 16:21:38] ERROR: Error initializing endpoint
java.lang.Exception: Unable to load certificate key /opt/kerio/workspace/sslcert/active.key (error:02001002:system library:fopen:No such file or directory)
at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java :720)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprPro tocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector .java:1014)
at org.apache.catalina.core.StandardService.initialize(Standard Service.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardS erver.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 1)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:27 6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLo ader.java:160)
[28/Feb/2011 16:21:38] ERROR: Catalina.start
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Unable to load certificate key /opt/kerio/workspace/sslcert/active.key (error:02001002:system library:fopen:No such file or directory)
at org.apache.catalina.connector.Connector.initialize(Connector .java:1016)
at org.apache.catalina.core.StandardService.initialize(Standard Service.java:680)
at org.apache.catalina.core.StandardServer.initialize(StandardS erver.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 1)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:27 6)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLo ader.java:160)
log4j:WARN No appenders could be found for logger (com.kerio.workspace).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[28/Feb/2011 16:21:58] ERROR: Error starting endpoint
java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java :646)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.jav a:753)
at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprPr otocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java :1087)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
[28/Feb/2011 16:21:58] ERROR: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [98] Address already in use
at org.apache.catalina.connector.Connector.start(Connector.java :1094)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:534)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)

  •  
Jarda Snajdr (Kerio)

Messages: 221
Karma: 12
Send a private message to this user
Hello Stepan,

does the /opt/kerio/workspace/tomcat/temp directory exist? Does the file with the SSL certificate, /opt/kerio/workspace/sslcert/active.[key|crt], exist?

Do they have correct permissions? I.e., read-write rights for user 'kworkspace'?

Jarda


  •  
stepan.lendak

Messages: 7
Karma: 0
Send a private message to this user
Previous log was pasted from Deb. Squeeze clean installation.

Here is log from Debian Lenny after upgrade:
log4j:WARN No appenders could be found for logger (com.kerio.workspace).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j:ERROR Couldn't read configuration from config file /opt/kerio/workspace/workspace-config.xml
org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
Nested exception:
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExc eption(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknow n Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
Nested exception: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExc eption(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknow n Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
log4j:ERROR Couldn't read even backup config file "/opt/kerio/workspace/workspace-config.xml" to "/opt/kerio/workspace/workspace-config.xml.bak"
org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
Nested exception:
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExc eption(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknow n Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
Nested exception: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExc eption(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknow n Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersio n(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unk nown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:352)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
[01/Mar/2011 08:14:48] ERROR: Exception sending context initialized event to listener instance of class com.kerio.workspace.HibernateListener
java.lang.ExceptionInInitializerError
at com.kerio.workspace.Configuration.startup(Configuration.java :89)
at com.kerio.workspace.HibernateListener.contextInitialized(Hib ernateListener.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:546)
at org.apache.catalina.startup.HostConfig.deployDescriptor(Host Config.java:637)
at org.apache.catalina.startup.HostConfig.deployDescriptors(Hos tConfig.java:563)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:498)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonL oader.java:177)
Caused by: org.dom4j.DocumentException: /opt/kerio/workspace/workspace-config.xml.bak (No such file or directory) Nested exception: /opt/kerio/workspace/workspace-config.xml.bak (No such file or directory)
at org.dom4j.io.SAXReader.read(SAXReader.java:266)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:311)
at com.kerio.workspace.Configuration.readConfiguration(Configur ation.java:369)
at com.kerio.workspace.Configuration.init(Configuration.java:60 )
at com.kerio.workspace.Configuration.startup(Configuration.java :85)
... 29 more
[01/Mar/2011 08:14:48] ERROR: Error listenerStart
[01/Mar/2011 08:14:48] ERROR: Context [] startup failed due to previous errors
2011-03-01 07:14:48.554 GMT Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied)
[01/Mar/2011 08:14:48] ERROR: A web application registered the JBDC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

  •  
Jarda Snajdr (Kerio)

Messages: 221
Karma: 12
Send a private message to this user
Hello Stepan,

can you please answer my questions about files and permissions in the /opt/kerio/workspace directory? Thanks.

Jarda
  •  
stepan.lendak

Messages: 7
Karma: 0
Send a private message to this user
user/group permissions:

-rwxr-x--- 1 kworkspace kworkspace 0 2011-02-25 13:47 /opt/kerio/workspace/workspace-config.xml

/opt/kerio/workspace/backup:
total 8
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-25 14:22 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..

/opt/kerio/workspace/client:
total 40276
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
-rwxr-x--- 1 kworkspace kworkspace 19634663 2011-02-23 15:01 kerio-workspace-client-1.0.0-1379-r1-firefox.xpi
-rwxr-x--- 1 kworkspace kworkspace 10779831 2011-02-23 15:01 kerio-workspace-client-1.0.0-1379-r1-mac.dmg
-rwxr-x--- 1 kworkspace kworkspace 10816656 2011-02-23 15:01 kerio-workspace-client-1.0.0-1379-r1-win32.exe

/opt/kerio/workspace/doc:
total 760
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
-rwxr-x--- 1 kworkspace kworkspace 1499 2011-02-23 15:01 antisamy-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1499 2011-02-23 15:01 antlr-License.txt
-rwxr-x--- 1 kworkspace kworkspace 17983 2011-02-23 11:38 apache_apr-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10645 2011-02-23 15:01 apache_commons_beanutils-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10418 2011-02-23 15:01 apache_commons_codec-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10418 2011-02-23 15:01 apache_commons_collections-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10802 2011-02-23 15:01 apache_commons_compress-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10642 2011-02-23 15:01 apache_commons_fileupload-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10462 2011-02-23 15:01 apache_commons_io-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10572 2011-02-23 15:01 apache_commons_logging-License.txt
-rwxr-x--- 1 kworkspace kworkspace 17087 2011-02-23 15:01 apache_derby-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10645 2011-02-23 15:01 apache_geronimo_stax_api-License.txt
-rwxr-x--- 1 kworkspace kworkspace 9391 2011-02-23 15:01 apache_jakarta_httpclient-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10571 2011-02-23 15:01 apache_logging_services-License.txt
-rwxr-x--- 1 kworkspace kworkspace 13092 2011-02-23 15:01 apache_lucene-License.txt
-rwxr-x--- 1 kworkspace kworkspace 31050 2011-02-23 15:01 apache_pdfbox-License.txt
-rwxr-x--- 1 kworkspace kworkspace 25672 2011-02-23 15:01 apache_poi-License.txt
-rwxr-x--- 1 kworkspace kworkspace 14183 2011-02-23 15:01 apache_tika-License.txt
-rwxr-x--- 1 kworkspace kworkspace 38656 2011-02-23 11:38 apache_tomcat-License.txt
-rwxr-x--- 1 kworkspace kworkspace 11240 2011-02-23 15:01 apache_xerces-License.txt
-rwxr-x--- 1 kworkspace kworkspace 11542 2011-02-23 15:01 apache_xmlbeans-License.txt
-rwxr-x--- 1 kworkspace kworkspace 22215 2011-02-23 15:01 apache_xml_commons-License.txt
-rwxr-x--- 1 kworkspace kworkspace 3114 2011-02-23 15:01 asm-License.txt
-rwxr-x--- 1 kworkspace kworkspace 11091 2011-02-23 15:01 batik-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1156 2011-02-23 15:01 bouncy_castle-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 c3p0-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 cron4j-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1876 2011-02-23 15:01 dom4j-License.txt
-rwxr-x--- 1 kworkspace kworkspace 12500 2010-10-06 12:52 eula.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 ext.ux.tinymce-License.txt
-rwxr-x--- 1 kworkspace kworkspace 17990 2011-02-23 11:02 gpl_ghostscript-License.txt
-rwxr-x--- 1 kworkspace kworkspace 16041 2011-02-23 11:04 graphicsmagick-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 hibernate-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 hibernate_search-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1553 2011-02-23 15:01 icu-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 im4java-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1715 2011-02-23 15:01 jaxen-License.txt
-rwxr-x--- 1 kworkspace kworkspace 24117 2011-02-23 15:01 jodconverter-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1127 2011-02-23 15:01 json-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1027 2011-02-23 15:01 libcurl-License.txt
-rwxr-x--- 1 kworkspace kworkspace 2245 2011-02-23 15:01 openldap-License.txt
-rwxr-x--- 1 kworkspace kworkspace 39582 2011-02-23 15:01 openoffice_client_libs-License.txt
-rwxr-x--- 1 kworkspace kworkspace 43717 2011-02-23 11:09 openoffice-License.txt
-rwxr-x--- 1 kworkspace kworkspace 6026 2011-02-23 15:01 openssl-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1153 2011-02-23 15:01 slf4j-License.txt
-rwxr-x--- 1 kworkspace kworkspace 26931 2011-02-23 15:01 tinymce-License.txt
-rwxr-x--- 1 kworkspace kworkspace 10668 2011-02-23 15:01 truezip-License.txt
-rwxr-x--- 1 kworkspace kworkspace 1555 2011-02-23 15:01 xstream-License.txt

/opt/kerio/workspace/ghostscript:
total 16
drwxr-x--- 4 kworkspace kworkspace 4096 2011-02-25 14:08 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 bin
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-25 14:08 share

/opt/kerio/workspace/graphicsmagick:
total 20
drwxr-x--- 5 kworkspace kworkspace 4096 2011-02-25 14:08 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 bin
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-28 17:01 lib
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-25 14:08 share

/opt/kerio/workspace/logs:
total 276
drwxr-x--- 2 kworkspace kworkspace 4096 2011-03-01 10:48 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
-rwxr-x--- 1 kworkspace kworkspace 82 2011-02-25 14:09 kerio-workspace-catalina.err
-rwxr-x--- 1 kworkspace kworkspace 254281 2011-03-01 10:48 kerio-workspace-catalina.log
-rw------- 1 root root 5 2011-03-01 10:48 kerio-workspace-catalina.pid
-rw-r--r-- 1 root root 5 2011-03-01 10:48 kerio-workspace-rendering.pid

/opt/kerio/workspace/rendering:
total 20
drwxr-x--- 5 kworkspace kworkspace 4096 2011-02-25 14:08 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
drwxr-x--- 4 kworkspace kworkspace 4096 2011-03-01 10:48 home
drwxr-x--- 4 kworkspace kworkspace 4096 2011-02-25 14:08 openoffice.org
drwxr-x--- 5 kworkspace kworkspace 4096 2011-02-28 17:01 openoffice.org3

/opt/kerio/workspace/sslcert:
total 16
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
-rwxr-x--- 1 kworkspace kworkspace 962 2011-02-25 13:46 active.crt
-rwxr-x--- 1 kworkspace kworkspace 1700 2011-02-25 13:46 active.key

/opt/kerio/workspace/store:
total 8
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..

/opt/kerio/workspace/tomcat:
total 76
drwxr-x--- 8 kworkspace kworkspace 4096 2011-03-01 08:12 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
drwxr-x--- 2 kworkspace kworkspace 4096 2011-02-28 17:01 bin
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-28 17:01 conf
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-28 17:01 lib
-rwxr-x--- 1 kworkspace kworkspace 38656 2011-02-23 11:38 LICENSE
-rwxr-x--- 1 kworkspace kworkspace 573 2011-02-23 11:38 NOTICE
drwxr-x--- 2 kworkspace kworkspace 4096 2011-03-01 08:12 temp
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-25 14:08 webapps
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-28 17:01 work

/opt/kerio/workspace/workspace-data:
total 28
drwxr-x--- 7 kworkspace kworkspace 4096 2011-02-25 13:48 .
drwxr-x--- 13 kworkspace kworkspace 4096 2011-02-28 17:01 ..
drwxr-x--- 4 kworkspace kworkspace 4096 2011-02-25 13:48 db
-rwxr-x--- 1 kworkspace kworkspace 0 2011-02-25 13:48 derby.log
drwxr-x--- 102 kworkspace kworkspace 4096 2011-02-25 13:48 files
drwxr-x--- 3 kworkspace kworkspace 4096 2011-02-25 13:48 index
drwxr-x--- 102 kworkspace kworkspace 4096 2011-02-25 13:48 index-text
drwxr-x--- 69 kworkspace kworkspace 4096 2011-02-25 13:48 previews

  •  
Jarda Snajdr (Kerio)

Messages: 221
Karma: 12
Send a private message to this user
The file workspace-config.xml has zero size: this definitely shouldn't happen.

From which version were you upgrading?

Is there a file named workspace-config.xml.bak or workspace.cfg in the directory /opt/kerio/workspace?

Jarda
  •  
stepan.lendak

Messages: 7
Karma: 0
Send a private message to this user
upgraded from Kerio Workspace 1.0 beta 8.

there isn't file workspace-config.xml.bak

But it is strange, that RC1 is not working in clean installation also.
  •  
Jarda Snajdr (Kerio)

Messages: 221
Karma: 12
Send a private message to this user
Hello,

we tested the package only on Ubuntu 10.04 before release. We'll test on Denian Lenny and will let you know. This issue looks quite serious.

Jarda
  •  
Dave Hahn

Messages: 13
Karma: 0
Send a private message to this user
I did a fresh install of Debian 6 Squeeze in a VM - installed sun-java6-jre and kerio RC1 and everything appears to be running fine (I can login to admin, login as users, and basically use workspace as intended) but I also get complaints in the catalina log about the temp folder not existing.

/opt/kerio/workspace/logs/kerio-workspace-catalina.log


[04/Mar/2011 19:53:04] ERROR: Cannot find specified temporary folder at /opt/kerio/workspace/tomcat/temp
[04/Mar/2011 20:25:24] FATAL: Exception initializing page context
java.lang.IllegalStateException: Cannot create a session after the response has been committed
at org.apache.catalina.connector.Request.doGetSession(Request.j ava:2381)
at org.apache.catalina.connector.Request.getSession(Request.jav a:2098)
at org.apache.catalina.connector.RequestFacade.getSession(Reque stFacade.java:833)
at javax.servlet.http.HttpServletRequestWrapper.getSession(Http ServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(A pplicationHttpRequest.java:544)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(A pplicationHttpRequest.java:493)
at org.apache.jasper.runtime.PageContextImpl._initialize(PageCo ntextImpl.java:146)
at org.apache.jasper.runtime.PageContextImpl.initialize(PageCon textImpl.java:124)
at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageCont ext(JspFactoryImpl.java:107)
at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspF actoryImpl.java:63)
at org.apache.jsp.WEB_002dINF.jspf.loginRedirect_jsp._jspServic e(loginRedirect_jsp.java:44)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(Applic ationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(App licationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(Appli cationDispatcher.java:488)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRunti meLibrary.java:968)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11Ap rProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionH andler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoin t.java:1555)
at java.lang.Thread.run(Thread.java:662)


Clearing this log - then doing:
/etc/init.d/kerio-workspace-application stop
/etc/init.d/kerio-workspace-rendering stop
/etc/init.d/kerio-workspace-application start
/etc/init.d/kerio-workspace-rending start

caused this to appear in the catalina log:
[07/Mar/2011 10:19:15] ERROR: A web application registered the JBDC driver [org.apache.derby.jdbc.AutoloadedDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1<_at_ >17fdda2]) and a value of type [java.util.WeakHashMap] (value [{=null, =null, ={2}}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1<_at_ >17fdda2]) and a value of type [java.util.WeakHashMap] (value [{=null}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >1c92c97]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1] (value [org.apache.derby.iapi.sql.dictionary.TableDescriptor$1<_at_ >17fdda2]) and a value of type [java.util.WeakHashMap] (value [{=null, =null, =null}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >d16b37]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >1b1a678]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >d16b37]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >1b1a678]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
[07/Mar/2011 10:19:15] ERROR: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1afcf0a]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager<_at_ >1c92c97]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.

  •  
stepan.lendak

Messages: 7
Karma: 0
Send a private message to this user
After removing KW

apt-get remove kerio-workspace --purge

and new installation, its working now.

I dont know, where was the problem before.(Maybe there was low space on disk)

So it looks like there was a problem on my side.
  •  
sfhn

Messages: 67
Karma: 2
Send a private message to this user
I'm not quite sure if this helps everyone here, but it did fine with my installation.

When installing everything worked fine, but webservices were not running.

14.03.2011 12:29:45 com.kerio.generatecertificate.Main main
SCHWERWIEGEND: null
java.net.UnknownHostException: Debian6-Workspace-BM: Debian6-Workspace-BM
at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at com.kerio.generatecertificate.Main.main(Main.java:51)
Starting Kerio Workspace Application Server
Starting Kerio Workspace Rendering Server



When looking at the first line, you can see that the installer was not able to create the ssl certificate due to the fact, that the hostname was not resolvable (line 3).

Reason:
I have a debian vm ware image which I clone whenever I need a debian test machine. First thing I do after cloning: changing the hostname and then it differs from the hostname within /etc/hosts and is therefore no more resolvable.

Solution:
1. uninstall workspace (apt-get remove kerio-workspace --purge)
2. create the appropriate entries whitin the /etc/hosts file or in your dns server
3. install workspace again



  •  
Jarda Snajdr (Kerio)

Messages: 221
Karma: 12
Send a private message to this user
Hello sfhn,

the certificate error is a bug, will be fixed in the next RC.

Jarda
  •  
Jaromir Obr (Kerio)

Messages: 463
Karma: 3
Send a private message to this user
Hello,
is it possible to verify that it's working well with latest RC3 ?

Regards

Jaromir Obr
Senior Tester
Kerio Technologies
............................................
Connect. Communicate. Collaborate. Securely.
Previous Topic: ERROR SMTP
Next Topic: SHARING TWO DATABASE
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Tue Sep 26 18:23:37 CEST 2017

Total time taken to generate the page: 0.00533 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.