Jahia DX > Jahia 6.5 on JBoss

0 (0 Good)
0 (0 Bad)

Jahia 6.5 on JBoss

by  hyc »  2011/06/07 18:06

Hi,

I am trying to deploy Jahia 6.5 on JBoss server and I followed the instructions given here for glassfish: viewtopic.php?f=24&t=496&start=0


Found some conflicting jars but fixed them, now I am getting an exception related to spring. Will be great if someone can point me to the right direction. Thanks

 

11:24:23,669 INFO  [STDOUT] 2011-05-21 11:24:23,664: ERROR [ContextLoader] - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jBPMProvider' defined in ServletContext resource [/WEB-INF/etc/spring/workflow/applicationcontext-jBPM.xml]: Invocation of init method failed; nested exception is java.io.IOException: File resolution not supported for nested resource: ZipEntryHandler@2107434028[path=jahia.war/WEB-INF/lib/social-1.0-SNAPSHOT.jar/org/jahia/services/workflow/user-connection.jpdl.xml context=file:/Users/alinaqvi/apps/jboss-5.1.0.GA/server/default/deploy/ real=file:/Users/alinaqvi/apps/jboss-5.1.0.GA/server/default/deploy/jahia.war/WEB-INF/lib/social-1.0-SNAPSHOT.jar/org/jahia/services/workflow/user-connection.jpdl.xml]

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)

   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)

   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)

   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)

   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)

   at org.apache.pluto.driver.PortalStartupListener.contextInitialized(PortalStartupListener.java:108)

   at org.jahia.bin.listeners.JahiaContextLoaderListener.contextInitialized(JahiaContextLoaderListener.java:104)

   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)

   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

   at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:597)

   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

   at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

   at $Proxy38.start(Unknown Source)

   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

   at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

   at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

   at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

   at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

   at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

   at org.jboss.system.ServiceController.start(ServiceController.java:460)

   at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

   at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

   at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

   at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

   at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

   at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

   at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

   at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

   at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

   at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

   at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

   at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

   at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.

11:24:23,669 INFO  [STDOUT] java:822)

   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

   at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

   at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

   at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

   at org.jboss.Main.boot(Main.java:221)

   at org.jboss.Main$1.run(Main.java:556)

   at java.lang.Thread.run(Thread.java:680)

Caused by: java.io.IOException: File resolution not supported for nested resource: ZipEntryHandler@2107434028[path=jahia.war/WEB-INF/lib/social-1.0-SNAPSHOT.jar/org/jahia/services/workflow/user-connection.jpdl.xml context=file:/Users/alinaqvi/apps/jboss-5.1.0.GA/server/default/deploy/ real=file:/Users/alinaqvi/apps/jboss-5.1.0.GA/server/default/deploy/jahia.war/WEB-INF/lib/social-1.0-SNAPSHOT.jar/org/jahia/services/workflow/user-connection.jpdl.xml]

   at org.springframework.core.io.VfsUtils.getFile(VfsUtils.java:222)

   at org.springframework.core.io.VfsResource.getFile(VfsResource.java:85)

   at org.jahia.utils.FileUtils.getLastModified(FileUtils.java:195)

   at org.jahia.services.workflow.jbpm.JBPMProvider.deployDeclaredProcesses(JBPMProvider.java:173)

   at org.jahia.services.workflow.jbpm.JBPMProvider.start(JBPMProvider.java:151)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:597)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)

   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

   ... 83 more

 

  (hyc)

Number of messages  8
Registration date
0 (0 Good)
0 (0 Bad)

Re: Jahia 6.5 on JBoss

by  shuber »  2011/06/07 18:06

Hello,

Did you deploy it as an exploded WAR ? This is a requirements for Jahia.

Regards,
Serge Huber.

Serge Huber (shuber)

Number of messages  271
Registration date
0 (0 Good)
0 (0 Bad)

Re: Jahia 6.5 on JBoss

by  hyc »  2011/06/07 18:06

Hi, Thanks for replying. Yes I've deployed it as an exploded war.

  (hyc)

Number of messages  8
Registration date
0 (0 Good)
0 (0 Bad)

Re: Jahia 6.5 on JBoss

by  shyrkov »  2011/06/07 18:06

 

hello,

 

the "officially" supported JBoss version for Jahia 6.5 is 4.2.3.GA/4.3.0. The compatibility with JBoss 5.x is on our ToDo list for the next months, but won't be addressed for 6.5 release.

 

We are preparing an advanced (enterprise) stack installer of Jahia 6.5 which allows creating required artifacts (WAR, EAR, configuration) to target JBoss 4.2.3.GA/4.3.0, WebLogic Server 11g and WebSphere 6.1.

 

Please stay tuned for the next weeks! We will update this thread when the installer will be out.

 

Kind regards

Sergiy

  • Re: Jahia 6.5 on JBoss
    2011/06/30 14:26

    shyrkov <p> &nbsp;</p> <p> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> </p> <p> <meta content="text/css" http-equiv="Content-Style-Type" /> </p> <p> <title></title> </p> <p> <meta content="Cocoa HTML Writer" name="Generator" /> </p> <p> <meta content="1038.35" name="CocoaVersion" /> <style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 21.0px; font: 16.0px Arial; color: #333233} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 21.0px; font: 16.0px Arial; color: #333233; min-height: 18.0px} </style> </p> <p class="p1"> hello,</p> <p class="p2"> &nbsp;</p> <p class="p1"> the &quot;officially&quot; supported JBoss version for Jahia 6.5 is 4.2.3.GA/4.3.0. The compatibility with JBoss 5.x is on our ToDo list for the next months, but won&#39;t be addressed for 6.5 release.</p> <p class="p2"> &nbsp;</p> <p class="p1"> We are preparing an advanced (enterprise) stack installer of Jahia 6.5 which allows creating required artifacts (WAR, EAR, configuration) to target JBoss 4.2.3.GA/4.3.0, WebLogic Server 11g and WebSphere 6.1.</p> <p class="p2"> &nbsp;</p> <p class="p1"> Please stay tuned for the next weeks! We will update this thread when the installer will be out.</p> <p class="p2"> &nbsp;</p> <p class="p1"> Kind regards</p> <p class="p1"> Sergiy</p>

  • Number of messages  407
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page