AnsweredAssumed Answered

Installing Alfresco War File

Question asked by wcameron on Nov 14, 2006
Latest reply on Nov 18, 2006 by marcusm
I am trying to install the alfresco war file using the tomcat deploy and web app start tasks.

I can get the alfresco war file successfully deployed but i cannot get the alfresco web application to start up successfully.

My configuration is:
Tomcat 5.5.17 (From liferay)
JDK 1.5
Liferay 4.1.13
PostgreSQL

I have modified the extension files appropriately.

Can anyone provide advice on how i can install this properly.

The first exception i get is: (there are loads more after this one)
DEBUG http-9090-Processor24 org.apache.catalina.loader.WebappClassLoader - Could not set field typeDesc to null in class org.alfresco.repo.webservice.dictionary.DictionaryFault
java.lang.ExceptionInInitializerError
   at sun.misc.Unsafe.ensureClassInitialized(Native Method)
   at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
   at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
   at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
   at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
   at java.lang.reflect.Field.set(Field.java:656)
   at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1608)
   at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1489)
   at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:706)
   at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4387)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
   at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
   at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
   at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
   at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
   at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37)
   at org.apache.axis.AxisFault.<clinit>(AxisFault.java:64)
   … 30 more
Caused by: java.lang.NullPointerException
   at org.apache.log4j.LogManager.getLogger(LogManager.java:179)
   at org.apache.log4j.Logger.getLogger(Logger.java:85)
   at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102)
   at sun.reflect.GeneratedConstructorAccessor72.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
   … 34 more
DEBUG http-9090-Processor24 org.apache.catalina.loader.WebappClassLoader - Could not set field typeDesc to null in class org.alfresco.repo.webservice.dictionary.DictionaryFault
java.lang.ExceptionInInitializerError
   at sun.misc.Unsafe.ensureClassInitialized(Native Method)
   at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
   at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
   at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
   at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
   at java.lang.reflect.Field.set(Field.java:656)
   at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1608)
   at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1489)
   at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:706)
   at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4387)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
   at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
   at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:368)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
   at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
   at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
   at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37)
   at org.apache.axis.AxisFault.<clinit>(AxisFault.java:64)
   … 30 more
Caused by: java.lang.NullPointerException
   at org.apache.log4j.LogManager.getLogger(LogManager.java:179)
   at org.apache.log4j.Logger.getLogger(Logger.java:85)
   at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102)
   at sun.reflect.GeneratedConstructorAccessor72.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
   … 34 more

Can anyone give me some advice on what i can do to get this working.

Regards Wendy

Outcomes