JBOSS 6.1 and openkm
PostPosted:Mon Jan 26, 2015 6:34 pm
I downloaded openkm 6.3 war file.
I am trying to install on windows.
I have JBOSS 6.1 EAP running. I dropped the war file inside $JBOSS_HOME/standalone/deployments
I got the following warnings.
I know there does not exist any install doc for jBOSS. Incidentally i installed the bundled tomcat version and it works. I did a diff between the bundled and the standalone tomcat. I see that there is a resource needs to be defined in server.xml. Also there are 2 files openkm.xml and openkm.cfg.
Is there something else that needs to be done to get it working in JBOSS?
I would be glad to document this so that it will assist others. Let me know.
\|/
I am trying to install on windows.
I have JBOSS 6.1 EAP running. I dropped the war file inside $JBOSS_HOME/standalone/deployments
I got the following warnings.
Code: Select all
I also got the following error and the app did not work.13:59:57,543 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry derbyLocale_cs.jar in /C:/pgfiles/jboss-eap-6.1/bin/content/OpenKM.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference.
13:59:57,543 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry derbyLocale_de_DE.jar in /C:/pgfiles/jboss-eap-6.1/bin/content/OpenKM.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference.
13:59:57,543 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry derbyLocale_es.jar in /C:/pgfiles/jboss-eap-6.1/bin/content/OpenKM.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference.
13:59:57,543 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry derbyLocale_fr.jar in /C:/pgfiles/jboss-eap-6.1/bin/content/OpenKM.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference.
13:59:57,543 WARN [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015960: Class Path entry derbyLocale_hu.jar in /C:/pgfiles/jboss-eap-6.1/bin/content/OpenKM.war/WEB-INF/lib/derby-10.5.3.0_1.jar does not point to a valid jar for a Class-Path reference.
Code: Select all
Can anyone help me?14:00:07,372 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {http://webservices.impl.server.opencmis.chemistry.apache.org/}RepositoryService10Service from class org.apache.chemistry.opencmis.server.impl.webservices.RepositoryServicePort10
14:00:07,378 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."OpenKM.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."OpenKM.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "OpenKM.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.jaxws.JaxWsConfigurationException: The @javax.jws.WebMethod(exclude=true) cannot be used on a service endpoint interface. Method: createType
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:368)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:67)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:250)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:536)
at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:116)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:128)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
... 5 more
Caused by: org.apache.cxf.jaxws.JaxWsConfigurationException: The @javax.jws.WebMethod(exclude=true) cannot be used on a service endpoint interface. Method: createType
at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isOperation(JaxWsServiceConfiguration.java:200)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.isValidMethod(ReflectionServiceFactoryBean.java:1933)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createInterface(ReflectionServiceFactoryBean.java:981)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:469)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:540)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:252)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:453)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:333)
... 13 more
14:00:07,505 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ldap.jar" (runtime-name : "ldap.jar")
14:00:07,505 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "OpenKM.war" (runtime-name : "OpenKM.war")
14:00:07,505 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "ldap.sar" (runtime-name : "ldap.sar")
14:00:07,505 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "helloworld.war" (runtime-name : "helloworld.war")
14:00:07,525 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."OpenKM.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."OpenKM.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "OpenKM.war"
I know there does not exist any install doc for jBOSS. Incidentally i installed the bundled tomcat version and it works. I did a diff between the bundled and the standalone tomcat. I see that there is a resource needs to be defined in server.xml. Also there are 2 files openkm.xml and openkm.cfg.
Is there something else that needs to be done to get it working in JBOSS?
I would be glad to document this so that it will assist others. Let me know.
\|/