installation error on websphere 8.0

424 views
Skip to first unread message

tw laam

unread,
Jun 16, 2014, 3:57:27 AM6/16/14
to dot...@googlegroups.com
Hi Everyone,


After the server startup, I got the following error(s).

[6/16/14 15:37:32:005] 00000010 webapp        E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets: {0}
                                 javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:396)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1315)
        at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:588)
        at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:559)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:421)
        at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
        at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
        at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:422)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:714)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1154)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1369)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:638)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:967)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:760)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2147)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:994)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)
Caused by: java.lang.NoSuchMethodError: org/codehaus/jackson/map/ObjectMapper.setDateFormat(Ljava/text/DateFormat;)V
        at com.dotcms.content.elasticsearch.business.ESMappingAPIImpl.<init>(ESMappingAPIImpl.java:84)
        at com.dotcms.content.elasticsearch.business.ESIndexAPI.<clinit>(ESIndexAPI.java:77)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
        at com.dotcms.content.elasticsearch.business.ESContentletIndexAPI.<clinit>(ESContentletIndexAPI.java:45)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
        at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.<clinit>(ESContentletAPIImpl.java:135)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
        at com.dotmarketing.business.APIIndex.create(APILocator.java:403)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:334)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:95)
        at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
        at com.dotmarketing.business.APILocator.getInstance(APILocator.java:322)
        at com.dotmarketing.business.APILocator.getContentletAPIImpl(APILocator.java:154)
        at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.<init>(ContentletAPIInterceptor.java:49)
        at com.dotmarketing.business.APIIndex.create(APILocator.java:404)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:334)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:95)
        at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
        at com.dotmarketing.business.APILocator.getInstance(APILocator.java:322)
        at com.dotmarketing.business.APILocator.getContentletAPI(APILocator.java:163)
        at com.dotmarketing.business.IdentifierAPIImpl.<init>(IdentifierAPIImpl.java:25)
        at com.dotmarketing.business.APIIndex.create(APILocator.java:406)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:334)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:95)
        at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
        at com.dotmarketing.business.APILocator.getInstance(APILocator.java:322)
        at com.dotmarketing.business.APILocator.getIdentifierAPI(APILocator.java:168)
        at com.dotmarketing.portlets.files.business.FileAPIImpl.<init>(FileAPIImpl.java:66)
        at com.dotmarketing.business.APIIndex.create(APILocator.java:424)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:334)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:95)
        at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
        at com.dotmarketing.business.APILocator.getInstance(APILocator.java:322)
        at com.dotmarketing.business.APILocator.getFileAPI(APILocator.java:241)
        at com.dotcms.enterprise.a.a.f(SourceFile:439)
        at com.dotcms.enterprise.a.a.b(SourceFile:58)
        at com.dotcms.enterprise.a.a.<init>(SourceFile:54)
        at com.dotcms.enterprise.a.a.a(SourceFile:183)
        at com.dotcms.enterprise.ClusterThreadProxy.loadLevel(SourceFile:17)
        at com.liferay.portal.servlet.InitServlet.init(InitServlet.java:56)
        at javax.servlet.GenericServlet.init(GenericServlet.java:161)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:334)
        ... 24 more



[6/16/14 15:39:43:872] 00000006 webapp        E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextDestroyed SRVE0285E: Exception caught while destroying context: {0}
                                 java.lang.NoClassDefFoundError: com.dotcms.content.elasticsearch.business.ESContentletIndexAPI (initialization failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:168)
        at com.dotmarketing.business.APIIndex.create(APILocator.java:435)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:334)
        at com.dotmarketing.business.APILocator.createService(APILocator.java:95)
        at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
        at com.dotmarketing.business.APILocator.getInstance(APILocator.java:322)
        at com.dotmarketing.business.APILocator.getContentletIndexAPI(APILocator.java:281)
        at com.dotmarketing.common.reindex.ReindexThread.<clinit>(ReindexThread.java:36)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
        at com.dotmarketing.listeners.ContextLifecycleListener.contextDestroyed(ContextLifecycleListener.java:27)
        at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDestroyed(WebApp.java:1710)
        at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:2963)
        at com.ibm.ws.webcontainer.webapp.WebAppImpl.destroy(WebAppImpl.java:1287)
        at com.ibm.ws.container.AbstractContainer.destroy(AbstractContainer.java:75)
        at com.ibm.ws.webcontainer.webapp.WebGroup.destroy(WebGroup.java:228)
        at com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:269)
        at com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:296)
        at com.ibm.ws.webcontainer.VirtualHostImpl.removeWebApplication(VirtualHostImpl.java:211)
        at com.ibm.ws.webcontainer.WSWebContainer.removeWebApplication(WSWebContainer.java:820)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:454)
        at com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:725)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1190)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1374)
        at com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:670)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.stop(DeployedApplicationImpl.java:1148)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:941)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:894)
        at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(ContainerHelper.java:476)
        at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(ContainerHelper.java:460)
        at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:650)
        at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:638)
        at com.ibm.ws.runtime.component.ApplicationServerImpl.stop(ApplicationServerImpl.java:263)
        at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(ContainerHelper.java:476)
        at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(ContainerHelper.java:460)
        at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:650)
        at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:638)
        at com.ibm.ws.runtime.component.ServerImpl.stop(ServerImpl.java:615)
        at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.run(ServerCollaborator.java:860)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5323)
        at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5539)
        at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run(ServerCollaborator.java:850)
        at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm(ServerCollaborator.java:809)
        at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:133)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)


I confirm all necessary jar files were untouched as downloaded and located under WEB-INF\lib

dotcms_2.5.4.jar
jackson-core-asl-1.9.2.jar      
jackson-jaxrs-1.9.2.jar         
jackson-mapper-asl-1.9.2.jar    
jackson-xc-1.9.2.jar            


Please advise!


Jason Tesser

unread,
Jun 16, 2014, 10:47:16 AM6/16/14
to dot...@googlegroups.com
Well this is interesting
Caused by: java.lang.NoSuchMethodError:
org/codehaus/jackson/map/ObjectMapper.setDateFormat(Ljava/text/DateFormat;)V

Maybe you have another version of that library on your class path.
Maybe your web sphere 8 is shipping with it

Look into your class path

On Mon, Jun 16, 2014 at 3:57 AM, tw laam <tw4...@gmail.com> wrote:
> Caused by: java.lang.NoSuchMethodError:
> org/codehaus/jackson/map/ObjectMapper.setDateFormat(Ljava/text/DateFormat;)V



Thanks,
Jason S. Tesser
Director, Product Development, Lead Engineer
Dotcms, Inc.
T: 305.858.1422 x7003
http://twitter.com/dotCMS
www.dotcms.com

Will Ezell

unread,
Jun 16, 2014, 10:49:15 AM6/16/14
to dot...@googlegroups.com
Also, the instructions on our site are for Websphere 8.5.  I would try running that version and see if you come up with the same issue.


----
Will Ezell
http://dotcms.com
phone: (305) 900-2001 ext. 7010
direct: (978) 294-9429
skype: wezell1




--
You received this message because you are subscribed to the Google Groups "Dotcms User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/d/optout.

Brent Griffin

unread,
Jun 16, 2014, 11:25:58 AM6/16/14
to dot...@googlegroups.com
You can use something like the attached shell script to search jar files recursively in a directory structure to find if you have another version of this class on the classpath.

Usage:
    findclass.sh [dirtosearch] [classname]

i.e.  findclass.sh ~ org.codehaus.jackson/map.ObjectMapper

Brent Griffin
Sr. Java Architect
Director of Quality Assurance
Dotcms
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
findclass.sh
Reply all
Reply to author
Forward
0 new messages