cancel
Showing results for 
Search instead for 
Did you mean: 

The remote server may be unavailable or your authentication

alantruism
Champ in-the-making
Champ in-the-making
Smiley Sad I inherited an Alfresco server and it appears to be broken. Please help me. When I attempt to logon I get the following error -

"The remote server may be unavailable or your authentication details have not been recognized."

I am not sure where to begin to troubleshoot.

Some errors I'm seeing are:
javax.servlet.ServletException: Could not resolve view with name 'site/InfoTech/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)

The Alfresco log has the following info:
12:12:55,322 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
12:12:59,917 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 04180000 Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:330)
   at org.alfresco.repo.workflow.WorkflowDeployer$1.doWork(WorkflowDeployer.java:437)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:433)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)

Any suggestions on where to begin.

Also, are users uploaded files stored somehwhere in the file system? I need to recover a particular document and I am unable to find it. Is it saved in a database rather than in the regular file system? If so is there a way for me to recover that file without having Alfresco in a completely operational state?
17 REPLIES 17

gnyce
Champ in-the-making
Champ in-the-making
You dont' really give much detail here, but as this is 'inherited', you might be dealing with something completely new.  You don't say if this is a Windows or Linux OS, for one. 

Typically, Alfresco content/docs are stored in a structure under the "./alf_data/contentstore/" directory.  It is stored by date/time… so if you know when the doc in question was created, or updated, you _might_ be able to find it.  Say it was updated yesterday… ./alf_data/contentstore/2011/5/26/HOUR/MINUTE/   The bad news is, even though the content format is not changed, the name is.  Everything will be a long GUID/UUID with a .bin extension.  So likely you will have to hunt around. 

Perhaps it might be easier to see about figuring out what is wrong with this setup?  As this is new to you - perhaps you can figure out how to restart Alfresco?  If you can - or even if you can't - typically we would want to see entries in the ./tomcat/log/catalina.out logfile…

mrogers
Star Contributor
Star Contributor
Please don't cross post.   I've deleted them for you since it will just confuse a response.

Is that all there is in the log?   There's clearly a problem with a workflow, it will help if we can Identify which workflow is causing problems.    Is there anything above and below the part you have posted?

As gnyce says above you need to give some more basic details.

I'd also be interested in whether there are custom workflows deployed.

Also when did this system last work?   And do you know when and how it got broken?

alantruism
Champ in-the-making
Champ in-the-making
You dont' really give much detail here, but as this is 'inherited', you might be dealing with something completely new.  You don't say if this is a Windows or Linux OS, for one. 

Typically, Alfresco content/docs are stored in a structure under the "./alf_data/contentstore/" directory.  It is stored by date/time… so if you know when the doc in question was created, or updated, you _might_ be able to find it.  Say it was updated yesterday… ./alf_data/contentstore/2011/5/26/HOUR/MINUTE/   The bad news is, even though the content format is not changed, the name is.  Everything will be a long GUID/UUID with a .bin extension.  So likely you will have to hunt around.
Perhaps it might be easier to see about figuring out what is wrong with this setup?  As this is new to you - perhaps you can figure out how to restart Alfresco?  If you can - or even if you can't - typically we would want to see entries in the ./tomcat/log/catalina.out logfile…

I'm running on Linux, Ubuntu distrib. By inherited I mean that the previous IT person at my company set it up with the help of a college intern. Neither one is with the company any more and though I've had fairly extensive linux experience in the past it has been quite a few years and I am a little rusty.

the catalina.out logfile is fairly huge.  Here are a few big chunks ….
 
at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
        at org.apache.log4j.Logger.getLogger(Logger.java:105)
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
        at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
        at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
        at org.apache.myfaces.webapp.StartupServletContextListener.<clinit>(StartupServletContextListener.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3916)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:636)
log4j:ERROR Either File or DatePattern options are not set for appender [File].
12:14:32,971  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/re
pository.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/do
main/transaction.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
12:14:33,048  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alf
resco/alfresco-shared.properties]
12:14:36,848  WARN  [hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
grady@ps-9:/var/log/tomcat6$ cls
No command 'cls' found, but there are 19 similar ones
cls: command not found
grady@ps-9:/var/log/tomcat6$ clear
grady@ps-9:/var/log/tomcat6$ more catalina.out
Jul 15, 2010 11:22:32 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on
the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm
/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
Jul 15, 2010 11:22:32 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 15, 2010 11:22:32 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 549 ms
Jul 15, 2010 11:22:32 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 15, 2010 11:22:32 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Jul 15, 2010 11:22:32 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 15, 2010 11:22:33 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 15, 2010 11:22:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 272 ms
Jul 15, 2010 12:14:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jul 15, 2010 12:14:26 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The dupl
icate definition has been ignored.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
        at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
        at org.apache.log4j.Logger.getLogger(Logger.java:105)
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
        at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
        at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
        at org.apache.myfaces.webapp.StartupServletContextListener.<clinit>(StartupServletContextListener.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3916)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:636)
log4j:ERROR Either File or DatePattern options are not set for appender [File].
12:14:32,971  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/re
pository.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/do
main/transaction.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
12:14:32,973  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
12:14:33,048  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alf
resco/alfresco-shared.properties]
12:14:36,848  WARN  [hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
        at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvid
er.java:81)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:855)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:774)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:2
11)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCap
ableBeanFactory.java:1460)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapabl
eBeanFactory.java:1398)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableB
eanFactory.java:512)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
nFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
ava:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver
.java:322)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueR
esolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireC
apableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableB
eanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableB
eanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
nFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
ava:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver
.java:322)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueR
esolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireC
apableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableB
eanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableB
eanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
nFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
ava:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver
.java:322)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueR
esolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireC
apableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableB
eanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableB
eanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
nFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
ava:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanF
actory.java:557)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplication
Context.java:842)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
–More–(2%)

and

14:24:25,262  WARN  [webscripts.connector.RemoteClient] Exception during close() of HTTP API connection
ClientAbortException:  java.net.SocketException: Broken pipe
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
        at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
        at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
        at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:870)
        at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:438)
        at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:128)
        at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:289)
        at org.springframework.extensions.webscripts.servlet.mvc.EndPointProxyController.handleRequestInternal(EndPointProxyC
ontroller.java:274)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
–More–(14%)

and
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototyp
e beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application wa
s stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Jul 15, 2010 12:14:36 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1e565b
d]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@17a6686]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Jul 15, 2010 12:14:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
–More–(4%)

and

SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transact
ional resources]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To
prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1b3cd4
a]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web appli
cation was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@16a
ee91]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@154
745e]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forci
bly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Current
transaction isolation level]) and a value of type [null] (value [null]) but failed to remove it when the web application was
stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Current
aspect-driven transaction]) and a value of type [null] (value [null]) but failed to remove it when the web application was st
opped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Prototyp
e beans currently in creation]) and a value of type [null] (value [null]) but failed to remove it when the web application wa
s stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1a3df9
8]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@1ac9e07]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Apr 25, 2011 3:47:23 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Transact
ion synchronizations]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped
. To prevent a memory leak, the ThreadLoca

My thought is that something may have been installed on the server that is conflicting with the necessary Alfresco processes or that a system update may have done something bad.  :shock:

gnyce
Champ in-the-making
Champ in-the-making
I'm probably out of my depth here, but will give it a shot.  As you already had an Alfresco engineer post, maybe he'll come back.

It might make sense to shutdown Alfresco, move the old catalina.out somewhere else, and restart Alfresco to get a clean catalina.out logfile.  Just in case - to shutdown Alfresco, go to the directory it was installed to (defaults to /opt/alfresco-something ) and run "./alfresco stop".  When it says it is done, make sure there are no java processes running (ps ax|grep java)… if there is, kill them.  Move ./tomcat/logs/catalina.out somewhere else, start Alfresco "./alfresco start" and then let's look at what is written to the new catalina.out logfile. 

So getting started from what you posted… here is what is probably the beginning of your Alfresco startup.

ul 15, 2010 11:22:32 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on
the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm
/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib

Dont' need to worry about that.

Jul 15, 2010 11:22:32 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 15, 2010 11:22:32 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 549 ms
Jul 15, 2010 11:22:32 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 15, 2010 11:22:32 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Jul 15, 2010 11:22:32 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 15, 2010 11:22:33 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 15, 2010 11:22:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 272 ms
Jul 15, 2010 12:14:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jul 15, 2010 12:14:26 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The dupl
icate definition has been ignored.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)

First problem - looks like, as it says, a permissions error for log4j to write to the alfresco.log.  I don't think that is the main problem, however.

12:14:32,971 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/re
pository.properties]
12:14:32,973 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/do
main/transaction.properties]
12:14:32,973 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
12:14:32,973 INFO [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/a
lfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
12:14:33,048 INFO [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alf
resco/alfresco-shared.properties]
12:14:36,848 WARN [hibernate.cfg.SettingsFactory] Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)

This section cuts off before we can see more, but this might be a problem here.  The "cannot load JDBC driver" _might_ be a big flag.  There is not enough here to know why this gets thrown - for example, is the JDBC driver/jar file missing?  Or can Alfresco not talk to MySQL?  Is MySQL running on this box?  Is Alfresco setup to talk to MySQL running on this host, or another machine? 

Firstly, see if MySQL is running… "netstat -an | grep 3306" to see if anything listening on port 3306, or "ps ax | grep -i sql".  Also, confirm that Alfresco is supposed to talk to MySQL on this machine…  "less ./tomcat/shared/classes/alfresco-global.properties, and look for something like this:

db.driver=org.gjt.mm.mysql.Driver
db.username=*********
db.password=**********
db.name=alfresco
db.url=jdbc:mysql://localhost/alfresco

And if it calls out 'localhost', that tells you it should be local to that machine indeed.  And if MySQL is _not_ running here and is supposed to be, that would certainly be a problem.  You could try starting it (not an ubuntu person but… "/etc/init.d/mysqld start" perhaps?

gnyce
Champ in-the-making
Champ in-the-making
Umm - just realized, those log entries are dated July 2010.  Think we need a much more recent timestamp than that.  So original suggestion holds true, to shutdown alfresco, move catalina.out, start alfresco, and look anew at the latest log entries.

alantruism
Champ in-the-making
Champ in-the-making
Umm - just realized, those log entries are dated July 2010.  Think we need a much more recent timestamp than that.  So original suggestion holds true, to shutdown alfresco, move catalina.out, start alfresco, and look anew at the latest log entries.


Done. Thanks for your help. Here is the new catalina.out file
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesJdbc
SEVERE: A web application registered the JBDC driver [org.postgresql.Driver] but
failed to unregister it when the web application was stopped. To prevent a memo
ry leak, the JDBC Driver has been forcibly unregistered.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [net.sf.ehcache
.CacheManager@12cd736] but has failed to stop it. This is very likely to create
a memory leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [MySQL Statemen
t Cancellation Timer] but has failed to stop it. This is very likely to create a
memory leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-1] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-2] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-3] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-4] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-5] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-6] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-7] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-8] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-9] but has failed to stop it. This is very likely to create a memory l
eak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_Worker-10] but has failed to stop it. This is very likely to create a memory
leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [Thread-13] but
has failed to stop it. This is very likely to create a memory leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [Timer-0] but h
as failed to stop it. This is very likely to create a memory leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: A web application appears to have started a thread named [DefaultSchedul
er_QuartzSchedulerThread] but has failed to stop it. This is very likely to crea
te a memory leak.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Current transaction name]) and a value of t
ype [null] (value [null]) but failed to remove it when the web application was s
topped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Hibernate Sessions registered for deferred
close]) and a value of type [null] (value [null]) but failed to remove it when t
he web application was stopped. To prevent a memory leak, the ThreadLocal has be
en forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and
a value of type [null] (value [null]) but failed to remove it when the web appl
ication was stopped. To prevent a memory leak, the ThreadLocal has been forcibly
removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [null] (value [
com.sun.xml.bind.v2.ClassFactory$1@16889eb]) and a value of type [java.util.Weak
HashMap] (value [{class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.Wea
kReference@6fd7d9, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.W
eakReference@c412dd, class org.alfresco.repo.audit.model._3.DataGenerator=java.l
ang.ref.WeakReference@b2aa22, class org.alfresco.repo.audit.model._3.AuditPath=j
ava.lang.ref.WeakReference@1bfcec0, class org.alfresco.repo.audit.model._3.DataE
xtractor=java.lang.ref.WeakReference@19eb196, class org.alfresco.repo.audit.mode
l._3.DataExtractors=java.lang.ref.WeakReference@19cf1bb, class org.alfresco.repo
.audit.model._3.GenerateValue=java.lang.ref.WeakReference@c26850, class org.alfr
esco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@14e65cf, class
org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@1fe
0603, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakRefer
ence@3ce552, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakRe
ference@1f37d14, class org.alfresco.repo.audit.model._3.Application=java.lang.re
f.WeakReference@98b95b, class java.util.ArrayList=java.lang.ref.WeakReference@b1
267e}]) but failed to remove it when the web application was stopped. To prevent
a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Current transaction read-only status]) and
a value of type [null] (value [null]) but failed to remove it when the web appli
cation was stopped. To prevent a memory leak, the ThreadLocal has been forcibly
removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.Thre
adLocal] (value [java.lang.ThreadLocal@5650eb]) and a value of type [com.ibatis.
sqlmap.engine.mapping.result.ResultObjectFactoryUtil.FactorySettings] (value [co
m.ibatis.sqlmap.engine.mapping.result.ResultObjectFactoryUtil$FactorySettings@b6
3f05]) but failed to remove it when the web application was stopped. To prevent
a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Transactional resources]) and a value of ty
pe [null] (value [null]) but failed to remove it when the web application was st
opped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.Thre
adLocal] (value [java.lang.ThreadLocal@e366c1]) and a value of type [org.alfresc
o.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the
web application was stopped. To prevent a memory leak, the ThreadLocal has been
forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [null] (value [
com.sun.xml.bind.v2.runtime.Coordinator$1@16f2b35]) and a value of type [com.sun
.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordi
nator;@17dd585]) but failed to remove it when the web application was stopped. T
o prevent a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Current transaction isolation level]) and a
value of type [null] (value [null]) but failed to remove it when the web applic
ation was stopped. To prevent a memory leak, the ThreadLocal has been forcibly r
emoved.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Current aspect-driven transaction]) and a v
alue of type [null] (value [null]) but failed to remove it when the web applicat
ion was stopped. To prevent a memory leak, the ThreadLocal has been forcibly rem
oved.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and
a value of type [null] (value [null]) but failed to remove it when the web appl
ication was stopped. To prevent a memory leak, the ThreadLocal has been forcibly
removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.Thre
adLocal] (value [java.lang.ThreadLocal@4d4e1a]) and a value of type [org.apache.
cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@1428e24]) but failed t
o remove it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Transaction synchronizations]) and a value
of type [null] (value [null]) but failed to remove it when the web application w
as stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
May 31, 2011 2:11:05 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: A web application created a ThreadLocal with key of type [org.springfram
ework.core.NamedThreadLocal] (value [Actual transaction active]) and a value of
type [null] (value [null]) but failed to remove it when the web application was
stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
May 31, 2011 2:11:07 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
May 31, 2011 2:11:08 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
14:11:13,325  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 227 W
eb Scripts (+0 failed), 235 URLs
14:11:13,327  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Pac
kage Description Documents (+0 failed)
14:11:13,327  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Sch
ema Description Documents (+0 failed)
14:11:13,397  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised
Spring Surf Container Web Script Container (in 1588.489ms)
14:11:13,531  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
14:11:13,639  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
14:11:13,708  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
14:11:13,712  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
14:11:13,786  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered
template processor freemarker for extension ftl
14:11:13,800  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered s
cript processor javascript for extension js
May 31, 2011 2:11:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 31, 2011 2:11:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 70586 ms
user@ps-9:/var/log/tomcat6$

alantruism
Champ in-the-making
Champ in-the-making
not sure but if this would be helpful but here is the most recent alfresco.log file:

more alfresco.log.2011-05-27
08:38:29,082 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Reposi
tory Template Processor for extension ftl
08:38:29,085 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository
Script Processor for extension js
08:38:37,812 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect
.MySQLInnoDBDialect.
08:38:49,854 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
08:38:56,917 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID
: [sysAdmin, default]
08:38:56,977 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [
alfresco/alfresco-shared.properties]
08:38:56,999 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem,
ID: [sysAdmin, default] complete
08:39:01,684 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 04270000 Workflow deployment failed
        at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:330)
        at org.alfresco.repo.workflow.WorkflowDeployer$1.doWork(WorkflowDeployer.java:437)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
        at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:433)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticast
er.java:97)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.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(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
–More–(7%)

alantruism
Champ in-the-making
Champ in-the-making
Here is my alfresco-global.properties file:
# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http

#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

#
# RMI Services
# To make your RMI services available from other machines you will need to change
# alfresco.rmi.services.host from "localhost".
# alfresco.rmi.services.port=50500
(END)

alantruism
Champ in-the-making
Champ in-the-making
Here is my alfresco.sh file
#!/bin/sh
# Start or stop Alfresco server
# Set the following to where Tomcat is installed
ALF_HOME=.
cd "$ALF_HOME"
APPSERVER="${ALF_HOME}/tomcat"
# Set any default JVM values
export JAVA_OPTS='-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=256m -XX:NewSize=256m -server'
export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote"
#
if [ "$1" = "start" ]; then
  "${APPSERVER}/bin/startup.sh"
#  if [ -r ./virtual_start.sh ]; then
#    sh ./virtual_start.sh
#  fi
#  if [ -r ./start_oo.sh ]; then
#    sh ./start_oo.sh
#  fi
elif [ "$1" = "stop" ]; then
  "${APPSERVER}/bin/shutdown.sh"
#  if [ -r ./virtual_start.sh ]; then
#    sh ./virtual_stop.sh
#  fi
#  if [ -r ./start_oo.sh ]; then
#    killall soffice.bin
#  fi
fi
alfresco.sh

I've noticed that tomcat on my system is located in a directory called "tomcat6" rather than "tomcat"

could that be the source of my problem?