chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-812) Error deploying chemistry-opencmis-server-inmemory-0.11.0.war on WebLogic
Date Thu, 05 Jun 2014 12:10:01 GMT

    [ https://issues.apache.org/jira/browse/CMIS-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018718#comment-14018718
] 

Jana commented on CMIS-812:
---------------------------

Thanks, but how to do that?
I added the following JAR to the classpath: modules/databinding.override_1.0.0.0.jar which
prevents the Exceptions but I then I could not login anonymous to the repository (which is
working for WebSphere and Tomcat). I always need to provide the application Server Admin user
and Passwort to logon

> Error deploying chemistry-opencmis-server-inmemory-0.11.0.war on WebLogic
> -------------------------------------------------------------------------
>
>                 Key: CMIS-812
>                 URL: https://issues.apache.org/jira/browse/CMIS-812
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server-inmemory
>    Affects Versions: OpenCMIS 0.11.0
>         Environment: Windows
>            Reporter: Jana
>
> chemistry-opencmis-server-inmemory-0.11.0.war can be deployt to WebSphere and Tomcat
without issues. After deploying to WebLogic and trying to start the application a NullPointerException
occured.
> weblogic.application.ModuleException: [HTTP:101216]Servlet: "cmisws10" failed to preload
on startup in Web application: "chemistry-opencmis-server-inmemory-0.11.0.war".
> java.lang.NullPointerException
> 	at org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.getDelegate(CmisWebServicesServlet.java:250)
> 	at com.sun.xml.ws.transport.http.servlet.WSServlet.init(WSServlet.java:64)
> 	at org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.init(CmisWebServicesServlet.java:101)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> 	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
> 	at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:94)
> 	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:82)
> 	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)
> 	at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60)
> 	at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:34)
> 	at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:624)
> 	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:565)
> 	at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1874)
> 	at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1848)
> 	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1738)
> 	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740)
> 	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
> 	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
> 	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
> 	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212)
> Beforehand some RuntimeExceptions are thrown:
> Exception [EclipseLink-110] (Eclipse Persistence Services - 2.3.2.v20111125-r10461):
org.eclipse.persistence.exceptions.DescriptorException
> Exception Description: Descriptor is missing for class [org.apache.chemistry.opencmis.commons.impl.jaxb.EnumIncludeRelationships].
> Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping[includeRelationships]
> Descriptor: XMLDescriptor(org.apache.chemistry.opencmis.commons.impl.jaxb.GetObjectByPath
--> [DatabaseTable(getObjectByPath)])
> Runtime Exceptions: 
> ---------------------------------------------------------
> 	at com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:185)
> 	at com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:179)
> 	at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:211)
> And also Databinding issues occured:
> <1401964561900> <BEA-101162> <User defined listener com.sun.xml.ws.transport.http.servlet.WSServletContextListener
failed: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse
runtime descriptor: com.sun.xml.ws.spi.db.DatabindingException: 
> Any ideas on that?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message