cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco engineers, please will you look at this.

winston
Champ in-the-making
Champ in-the-making
Hi there,

I have just changed values in this file:
/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/web-client-config.xml

I changed some listing values from 10 - 100

I did /opt/alfresco/alfresco.sh stop
then I did /opt/alfresco/alfresco.sh start

and now I keep getting this error:

HTTP Status 404 - /alfresco/

type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.20

Nothing on my end changed and I can see alfresco is in the tomcat/webapps directory

root@www:~# ls -la /opt/alfresco/tomcat/webapps/alfresco
total 44
drwxr-xr-x 10 root root 4096 2007-04-22 11:03 .
drwxr-xr-x  4 root root 4096 2007-04-24 16:14 ..
drwxr-xr-x  2 root root 4096 2007-04-22 11:03 css
drwxr-xr-x  7 root root 4096 2007-04-22 11:03 images
-rw-r–r–  1 root root 3140 2007-02-21 12:17 index.jsp
drwxr-xr-x 21 root root 4096 2007-04-22 11:03 jsp
drwxr-xr-x  2 root root 4096 2007-04-22 11:03 META-INF
drwxr-xr-x  4 root root 4096 2007-04-22 11:03 scripts
drwxr-xr-x  2 root root 4096 2007-04-22 11:03 services
drwxr-xr-x  6 root root 4096 2007-04-24 14:01 WEB-INF
drwxr-xr-x  2 root root 4096 2007-04-22 11:03 wsdl

but it simply won't load the page.
Where do I start to fix this?

Thanks guys,
Winston
20 REPLIES 20

winston
Champ in-the-making
Champ in-the-making
OK I have now stopped tomcat, none of my ports are open as you can see below:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:41766         0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:47286         0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:41766         127.0.0.1:47072         ESTABLISHED
tcp        0      0 127.0.0.1:47072         127.0.0.1:41766         ESTABLISHED
tcp6       0      0 :::993                  :::*                    LISTEN
tcp6       0      0 :::995                  :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::443                  :::*                    LISTEN
tcp6       0 48 ::ffff:196.36.166.182:22 ::ffff:41.208.238.211:51864 ESTABLISHED
udp        0      0 0.0.0.0:68              0.0.0.0:*


Now, I will start alfresco and check my logs.

Darn!
:twisted:

I see this has failed again.

root@www:~# tail -f /opt/alfresco/tomcat/logs/catalina.2007-08-23.log
2007/08/23 08:24:20 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1412 ms
2007/08/23 08:24:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2007/08/23 08:24:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
2007/08/23 08:24:20 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 08:24:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 08:25:11 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 08:25:11 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 08:25:12 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 08:25:12 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 08:25:17 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load cryptix.jce.provider.md.MD4.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.security.Provider$Service.getImplClass(Provider.java:1172)
        at java.security.Provider$Service.newInstance(Provider.java:1129)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:147)
        at java.security.Security.getImpl(Security.java:658)
        at java.security.MessageDigest.getInstance(MessageDigest.java:122)
        at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.<clinit>(MD4PasswordEncoderImpl.java:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:325)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:298)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        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:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007/08/23 08:25:36 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 08:25:36 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 08:25:37 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2007/08/23 08:25:37 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2007/08/23 08:25:37 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/74  config=null
2007/08/23 08:25:37 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2007/08/23 08:25:38 org.apache.catalina.startup.Catalina start
INFO: Server startup in 77779 ms
2007/08/23 08:26:02 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.quartz.JobDetail.class$(JobDetail.java:279)
        at org.quartz.JobDetail.isStateful(JobDetail.java:425)
        at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1296)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
2007/08/23 08:26:04 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.alfresco.repo.avm.OrphanReaper$1TxnWork.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at org.alfresco.repo.avm.OrphanReaper.doBatch(OrphanReaper.java:340)
        at org.alfresco.repo.avm.OrphanReaper.run(OrphanReaper.java:213)
        at java.lang.Thread.run(Thread.java:595)
                                                                                                                    

Alfresco engineers, at this point I must urge you to disclose more information to me. I cannot understand this listener and why it doesn't want to open the ports I need.

Please hook a brother up!

Wins

winston
Champ in-the-making
Champ in-the-making
OK,

Consulted the alfresco wiki to set up my ftp settings.

added the following to my /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-servers.xml

<config evaluator="string-compare" condition="FTP Server">
          <serverEnable enabled="true"/>
          <port>21</port>
          <bindto>0.0.0.0</bindto>
          <rootDirectory>/Alfresco/</rootDirectory>
          <debug flags="log4j.logger.org.alfresco.ftp.protocol=debug"/>
<!–      <debug flags="File,Search,Error,Directory,Info,DataPort"/> –>
</config>

I also made sure that these two files are the same:

/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-servers.xml
/opt/alfresco/tomcat/shared/classes/alfresco/extension/file-servers-custom.xml

Still I get that damn listener error,
How in pete's name do you debug that thing?

Oh and alfresco, I don't know what your paid support is like, but your community support is slow man, way slow,
don't see this as a negative, you can see my posts, you can see I am trying here, still it's been over a day and not one peep out of you guys.

I am sorry but that's just lame

Wins

winston
Champ in-the-making
Champ in-the-making
OK,

changed all my values to false in this file
/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-servers.xml

my goal was to see if i set cifs server and ftp server to false maybe this head ache will go away, and yet it hasn't made any difference.

i still see the same error log.

root@www:~# tail -f /opt/alfresco/tomcat/logs/catalina.2007-08-23.log
2007/08/23 09:32:08 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1415 ms
2007/08/23 09:32:08 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2007/08/23 09:32:08 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
2007/08/23 09:32:08 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 09:32:11 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 09:32:54 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 09:32:54 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 09:32:56 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 09:32:56 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 09:33:03 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load cryptix.jce.provider.md.MD4.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.security.Provider$Service.getImplClass(Provider.java:1172)
        at java.security.Provider$Service.newInstance(Provider.java:1129)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:147)
        at java.security.Security.getImpl(Security.java:658)
        at java.security.MessageDigest.getInstance(MessageDigest.java:122)
        at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.<clinit>(MD4PasswordEncoderImpl.java:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:325)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:298)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        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:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007/08/23 09:33:21 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 09:33:21 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 09:33:22 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2007/08/23 09:33:22 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2007/08/23 09:33:23 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/65  config=null
2007/08/23 09:33:23 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2007/08/23 09:33:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 74987 ms
2007/08/23 09:33:48 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.quartz.JobDetail.class$(JobDetail.java:279)
        at org.quartz.JobDetail.isStateful(JobDetail.java:425)
        at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1296)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)
2007/08/23 09:33:49 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.alfresco.repo.avm.OrphanReaper$1TxnWork.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at org.alfresco.repo.avm.OrphanReaper.doBatch(OrphanReaper.java:340)
        at org.alfresco.repo.avm.OrphanReaper.run(OrphanReaper.java:213)
        at java.lang.Thread.run(Thread.java:595)
                                                                                                                                   

I ask again, how do i debug the listener, and why is this thing so full of well, you know what i mean
:lol:

I am open to suggestions here as nothing will make this server come back up.
:roll:

on another note:

this server houses the data for the FIFA 2010 world cup football stadium in cape town, south africa. i can see major advertising opportunity here as initially we were going to let aconex http://www.aconex.com handle this for us. eventually the decision was made to stick to alfresco.

I have encouraged many architectural firms here in south africa to use alfresco, and one of them is already investigating how alfresco can work for them.

see this email:

Subject: Alfresco document management system

Elza

I hope you can recall we did speak some time ago about the Alfresco
document management system.

As I mentioned to you, I will be in cape Town next week. I will make
contact with you on Monday next week to gauge your availability to meet
for an hour or so.

My contact details are below, including my cell number. Please call
should you have any queries.



Regards
Pradesh Chanderpaul

nTier Software Services
http://www.ntier.co.za
+27 (0)11 781 5744 (office)
+27 (0)82 654 5765 (mobile)

So it's not like i am not doing my part to promote your brand!
I can see a huge 10 meter by 5 meter bill board right infront of the new stadium being build say "Alfresco, making this possible" or something marketing related.

but this isn't the way to encourage me guys.
support is no where to be found, and it seems you guys don't care.

15 posts later and no one from the alfresco team has even said "hi man, sorry for your trouble, let's se where we can make it better"

So it's not cool man

will keep posting about my experience and hopefully this post will end in a resolution soon

thanks for the support from the other community members

wins

winston
Champ in-the-making
Champ in-the-making
OK I have spoken with Pradesh from nTier Software Services
they do have support in johannesburg and I am waiting for one of these guys to get back to me, maybe I can grab a support contract and have this issue resolved.

:lol:

what a laugh though!
this kind of defeat the purpose of this forum Smiley Wink

wins

mikeh
Star Contributor
Star Contributor
Hi,

It sounds like something else has changed on your server other than the configuration files - could something have been updated like the JDK perhaps?

It's a little old, but this forum post looks like the same problem you're having:
http://forums.alfresco.com/viewtopic.php?t=966

The listenerStart error is a bit of a red herring - it means the application couldn't deploy, not specifcally that some TCP ports could be bound to.

Finally, you don't mention what platform you're running on; obviously some flavour of Linux and Apache Tomcat/5.5.20 but what version of Java, etc.?

Thanks,
Mike


P.S. Alfresco engineers try to contribute to the forums whenever possible - often outside normal working hours. Please remember however that we have a duty to prioritise paying Enterprise customers and sometimes that leaves little time to dig into complicated Community support issues such as yours. Coupled with this being holiday season in the UK, hopefully you can appreciate we can't cover every forum post individually and have to sometimes rely on the community helping eachother.

winston
Champ in-the-making
Champ in-the-making
Hey Mike,

Thank you very  much for getting back to me.

P.S. Alfresco engineers try to contribute to the forums whenever possible - often outside normal working hours. Please remember however that we have …

I understand 100%.
Thanks for putting it across in such a pleasant manner.

In order to optimize the time I get from you I am going to give you as much information as possible. In return I need you to just think of a few ways to get this server up again. I just want to serve data at the very least via http:// and, if possible via ftp://.

As I said, just changed a few lines in /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/web-client-config.xml
My goal was to show a listing of 100 items in details view where it only shows 10.

I was quite happy to have a working alfresco installation, this was a bit of a mission to get running, so when the server was up, I didn't change anything in my config files. I also haven't upgraded java. The install was working great until I stopped and started Alfresco.

Here is my system details:

Operating system: Ubuntu Dapper 6.06
Kernel:  Linux www 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux
CPU:model name      : Intel(R) Xeon(R) CPU            5110  @ 1.60GHz
Memory:MemTotal:      2071020 kB

#/etc/hosts

127.0.0.1 localhost www lka1 alfresco stadiumarchitects stadiumarchitects.com www.stadiumarchitects.com projects.louiskarol.com server.stadiumarchitects.com
127.0.1.1 lka1
196.36.166.182  www lka1 alfresco stadiumarchitects stadiumarchitects.com www.stadiumarchitects.com projects.louiskarol.com server.stadiumarchitects.com

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

#hostname
www

I seem to be getting this in my logs all the time.
Is there an easy way to see why the listener fail like a debug log? Would love to know what is the real issue here :lol:

root@www:~# tail -f /opt/alfresco/tomcat/logs/catalina.2007-08-23.log
2007/08/23 01:29:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1410 ms
2007/08/23 01:29:48 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2007/08/23 01:29:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
2007/08/23 01:29:48 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 01:29:51 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 01:30:35 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 01:30:35 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 01:30:36 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007/08/23 01:30:36 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
2007/08/23 01:30:43 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load cryptix.jce.provider.md.MD4.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1241)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.security.Provider$Service.getImplClass(Provider.java:1172)
        at java.security.Provider$Service.newInstance(Provider.java:1129)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:220)
        at sun.security.jca.GetInstance.getInstance(GetInstance.java:147)
        at java.security.Security.getImpl(Security.java:658)
        at java.security.MessageDigest.getInstance(MessageDigest.java:122)
        at org.alfresco.repo.security.authentication.MD4PasswordEncoderImpl.<clinit>(MD4PasswordEncoderImpl.java:61)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:108)
        at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:426)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:392)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:307)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:325)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:298)
        at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:191)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126)
        at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        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:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        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:1021)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        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:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007/08/23 01:31:01 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2007/08/23 01:31:01 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
2007/08/23 01:31:02 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2007/08/23 01:31:02 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2007/08/23 01:31:02 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/18  config=null
2007/08/23 01:31:03 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2007/08/23 01:31:03 org.apache.catalina.startup.Catalina start
INFO: Server startup in 74547 ms


I have looked at this thread:
http://forums.alfresco.com/viewtopic.php?t=966

I have followed Gary's advice here:

Could you try moving the cryptix-jce-provider.jar to the Tomcat shared/lib folder.

Yet, the alfresco won't start.

Any idea on just how to get the server running, even just http would be great. I have db backups and I have plenty disc space so I could archive my data? The thing is I am not sure I want to do a complete re-install, data and database. That looks quite intense. :lol:

Mike I am willing to get paid support though, make no mistake. I can't get a whole year though. I can get like 10 hours of support, but the last time I enquired about this I got the impression this can't be done.

Maybe you have a number of a support channel or partner in Cape Town, South Africa, or even Johannesburg. I will try them as well.
My goal is to have the server running so everyone can have a good time at work. I am therefore open to any suggestions you make.

Thanks again for your time Mike, I really do appreciate it. Smiley Happy

Wins

mikeh
Star Contributor
Star Contributor
Hi,
Is there an easy way to see why the listener fail like a debug log? Would love to know what is the real issue here
You can up the debugging level by editing log4j.properties (webapps/alfresco/WEB-INF/classes)

You should also have an alfresco.log file which may or may not contain further information.

At the moment I'm at a loss what to suggest, however I'll ask around.

Thanks,
Mike

winston
Champ in-the-making
Champ in-the-making
Wow what a day!

OK, so I could do a fresh install. I was never so happy to see a default alfresco install!
Smiley Tongue

Then I started testing weather the fault was db or data related.
After I had a default install working, worked from there

#test stadium database (stadium db, new alf_data)
-drop default alfresco db and restore stadium db
-leave alf_data in tact
-start alfresco.sh

SEVERE: Error listenerStart

#test stadium data (stadium data, new db)
-drop old db and restore new one
-copy stadium alf_data
-start alfresco.sh

got it working.

For some reason when the db is involved I get the listener start  error
:lol:
Who would have thought!

Checked my DB with phpmyadmin. Came out clean.
Alfresco engineers, do you have any advice for me? Do you have a tool I can check my db with and if possible fix any errors?

Thanks in advance,

Wins

winston
Champ in-the-making
Champ in-the-making
Spoke to Gerit from I-kno solutions.

He has explained to me in detail how the community version vs the enterprise version works.
He has been transparent in his explanation, and clear about how the enterprise application can benefit us.

I believe he is a great asset to alfresco and an amazing resource to have in South Africa.

Will stick with ntier for now as they might be able to get me out of this bind.

Question: If I have a broken db and it doesn't match up with my alf_data, how can I get my raw data back?

Wins

steve
Champ in-the-making
Champ in-the-making
Hi Winston,

You have been checking that the ports that Alfresco use are not used, but have you checked to ensure that the Tomcat instance that Alfresco runs in has properly shut down?

The error "INFO: Illegal access: this web application instance has been stopped already" could indicate that this is the case.

Try doing something along the lines of 'ps -ef | grep tomcat | grep alfresco', and if you get a result kill the process before you attempt to start Alfresco again.

Hope this helps,

Steve
(p.s., I am one of the ones who has been on holiday  Smiley Happy )