[Building Sakai] Incompatibility error in WAS

Joaquín Marqués Alós joaquin.marques.sakai at gmail.com
Tue Oct 26 00:59:43 PDT 2010


Hello,

we're trying to deploy Sakai 2.7.1 on WebSphere 6.1.0.33 and we get
some errors in a few tools (osp-portal, xsl-portal, axis-2 and melete).

Some of them seem related with incompatibilities between libraries, but
we haven't found how to solve them properly.

For example, this is the exception returned by the osp-portal.

java.lang.ClassCastException: org.apache.xerces.jaxp.
DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.
DocumentBuilderFactory
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
Source)
    at org.theospi.portfolio.portal.web.XsltPortal.init(XsltPortal.java:
1221)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.
java:227)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init
(ServletWrapper.java:341)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize
(ServletWrapper.java:1308)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize
(ServletWrapper.java:174)
    at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.
createServletWrapper(WebExtensionProcessor.java:99)
    at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:
902)
    at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:
824)
    at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings
(WebApp.java:542)
    at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish
(WebApp.java:379)
    at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)
    at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication
(WebGroup.java:93)
    at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.
java:162)
    at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:
673)
    at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication
(WebContainer.java:626)
    at com.ibm.ws.webcontainer.component.WebContainerImpl.install
(WebContainerImpl.java:335)
    at com.ibm.ws.webcontainer.component.WebContainerImpl.start
(WebContainerImpl.java:551)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.start
(ApplicationMgrImpl.java:1269)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.
fireDeployedObjectStart(DeployedApplicationImpl.java:1137)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.start
(DeployedModuleImpl.java:572)
    at com.ibm.ws.runtime.component.DeployedApplicationImpl.start
(DeployedApplicationImpl.java:816)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication
(ApplicationMgrImpl.java:940)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run
(ApplicationMgrImpl.java:2115)
    at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.
run(WsComponentImpl.java:342)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

Thanks, Joaquín.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101026/dbe98bdc/attachment.html 


More information about the sakai-dev mailing list