cancel
Showing results for 
Search instead for 
Did you mean: 

Instructions for creating the JBoss community 1.4 release

markpope
Champ in-the-making
Champ in-the-making
I want to port Alfresco-jboss-1.4  release to JBoss-4.0.5GA. Are there release notes or an ant build.xml available that created the  Alfresco-jboss-1.4 release.

Thanks,
Mark
7 REPLIES 7

kevinr
Star Contributor
Star Contributor
The Alfresco SDK download contains the build.xml used to build both the JBoss+Portal and TomCat WAR files.

There are only a few small differences to the WARs, so to deploy to a plain JBossAS installation you would probably be best starting with the generic WAR file download from sourceforge and then correcting the JAR files in the lib directory to be compatible with JBoss. I think the only change required is to remove the log4j.jar from the WAR file - that may not even be required with the latest version of JBoss. Please let us know how you get on!

Thanks,

Kevin

markpope
Champ in-the-making
Champ in-the-making
The Alfresco SDK download contains the build.xml used to build both the JBoss+Portal and TomCat WAR files.

There are only a few small differences to the WARs, so to deploy to a plain JBossAS installation you would probably be best starting with the generic WAR file download from sourceforge and then correcting the JAR files in the lib directory to be compatible with JBoss. I think the only change required is to remove the log4j.jar from the WAR file - that may not even be required with the latest version of JBoss. Please let us know how you get on!

Thanks,

Kevin

Doing so I get the following stack trace. I've fixed other problems but am at a loss for this one.

21:59:23,684 INFO  [STDOUT] 21:59:23,684 ERROR [StartupServletContextListener] E
rror initializing ServletContext
java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
        at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(Faces
Configurator.java:595)
        at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurat
or.java:131)
        at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(Sta
rtupServletContextListener.java:63)
        at org.apache.myfaces.webapp.StartupServletContextListener.contextInitia
lized(StartupServletContextListener.java:46)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3763)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
211)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:50
52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatD
eployer.java:297)
        at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.
java:103)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)

        at org.jboss.web.WebModule.startModule(WebModule.java:83)
        at org.jboss.web.WebModule.startService(WebModule.java:61)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:417)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy93.start(Unknown Source)
        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46
6)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
        at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInte
rceptor.java:92)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
        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:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy94.start(Unknown Source)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        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:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy7.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)
21:59:23,887 ERROR [STDERR] java.lang.ClassCastException: com.sun.facelets.compo
nent.RepeatRenderer
21:59:23,887 ERROR [STDERR]     at org.apache.myfaces.config.FacesConfigurator.c
onfigureRenderKits(FacesConfigurator.java:595)
21:59:23,887 ERROR [STDERR]     at org.apache.myfaces.config.FacesConfigurator.c
onfigure(FacesConfigurator.java:131)
21:59:23,887 ERROR [STDERR]     at org.apache.myfaces.webapp.StartupServletConte
xtListener.initFaces(StartupServletContextListener.java:63)
21:59:23,887 ERROR [STDERR]     at org.apache.myfaces.webapp.StartupServletConte
xtListener.contextInitialized(StartupServletContextListener.java:46)
21:59:23,887 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.list
enerStart(StandardContext.java:3763)
21:59:23,887 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.star
t(StandardContext.java:4211)
21:59:23,887 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChi
ldInternal(ContainerBase.java:759)
21:59:23,902 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChi
ld(ContainerBase.java:739)
21:59:23,902 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChil
d(StandardHost.java:524)
21:59:23,902 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
21:59:23,902 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
21:59:23,902 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,902 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,902 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.inv
oke(BaseModelMBean.java:503)
21:59:23,902 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(
RawDynamicInvoker.java:164)
21:59:23,902 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:23,902 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init
(StandardContext.java:5052)
21:59:23,902 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
21:59:23,918 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
21:59:23,918 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,918 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,918 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.inv
oke(BaseModelMBean.java:503)
21:59:23,918 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(
RawDynamicInvoker.java:164)
21:59:23,918 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:23,918 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.perfo
rmDeployInternal(TomcatDeployer.java:297)
21:59:23,918 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.perfo
rmDeploy(TomcatDeployer.java:103)
21:59:23,918 ERROR [STDERR]     at org.jboss.web.AbstractWebDeployer.start(Abstr
actWebDeployer.java:371)
21:59:23,918 ERROR [STDERR]     at org.jboss.web.WebModule.startModule(WebModule
.java:83)
21:59:23,918 ERROR [STDERR]     at org.jboss.web.WebModule.startService(WebModul
e.java:61)
21:59:23,934 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInt
ernalStart(ServiceMBeanSupport.java:289)
21:59:23,934 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInt
ernalLifecycle(ServiceMBeanSupport.java:245)
21:59:23,934 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(U
nknown Source)
21:59:23,934 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,934 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,934 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:155)
21:59:23,934 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:94)
21:59:23,934 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:86)
21:59:23,934 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:264)
21:59:23,934 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:23,934 ERROR [STDERR]     at org.jboss.system.ServiceController$ServicePro
xy.invoke(ServiceController.java:978)
21:59:23,949 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
21:59:23,949 ERROR [STDERR]     at org.jboss.system.ServiceController.start(Serv
iceController.java:417)
21:59:23,949 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor5.invoke(U
nknown Source)
21:59:23,949 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,949 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:155)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:94)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:86)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:264)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:23,949 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
roxyExt.java:210)
21:59:23,965 ERROR [STDERR]     at $Proxy93.start(Unknown Source)
21:59:23,965 ERROR [STDERR]     at org.jboss.web.AbstractWebContainer.start(Abst
ractWebContainer.java:466)
21:59:23,965 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
21:59:23,965 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
21:59:23,965 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,965 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,965 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:155)
21:59:23,965 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:94)
21:59:23,965 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.
invoke(AbstractInterceptor.java:133)
21:59:23,965 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:88)
21:59:23,965 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationI
nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
21:59:23,981 ERROR [STDERR]     at org.jboss.mx.interceptor.DynamicInterceptor.i
nvoke(DynamicInterceptor.java:97)
21:59:23,981 ERROR [STDERR]     at org.jboss.system.InterceptorServiceMBeanSuppo
rt.invokeNext(InterceptorServiceMBeanSupport.java:238)
21:59:23,981 ERROR [STDERR]     at org.jboss.ws.integration.jboss.DeployerInterc
eptor.start(DeployerInterceptor.java:92)
21:59:23,981 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptorSu
pport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
21:59:23,981 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptor.i
nvoke(SubDeployerInterceptor.java:95)
21:59:23,981 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:88)
21:59:23,981 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:264)
21:59:23,981 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:23,981 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
roxyExt.java:210)
21:59:23,981 ERROR [STDERR]     at $Proxy94.start(Unknown Source)
21:59:23,981 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainD
eployer.java:1025)
21:59:23,996 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:819)
21:59:23,996 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:782)
21:59:23,996 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor17.invoke(
Unknown Source)
21:59:23,996 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
21:59:23,996 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:5
85)
21:59:23,996 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:155)
21:59:23,996 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:94)
21:59:23,996 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.
invoke(AbstractInterceptor.java:133)
21:59:23,996 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:88)
21:59:23,996 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationI
nterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
21:59:24,012 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:88)
21:59:24,012 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:264)
21:59:24,012 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:659)
21:59:24,012 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
roxyExt.java:210)
21:59:24,012 ERROR [STDERR]     at $Proxy7.deploy(Unknown Source)
21:59:24,012 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentSca
nner.deploy(URLDeploymentScanner.java:421)
21:59:24,012 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentSca
nner.scan(URLDeploymentScanner.java:634)
21:59:24,012 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeployme
ntScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
21:59:24,012 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeployme
ntScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
21:59:24,012 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeployme
ntScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
21:59:24,012 INFO  [STDOUT] 21:59:24,012 INFO  [StartupServletContextListener] S
ervletContext 'C:\work\jboss-4.0.5.GA\server\portal\.\tmp\deploy\tmp1233alfresc
o-exp.war\' initialized.

kevinr
Star Contributor
Star Contributor
Does the tomcat integrated into JBoss have a directory inside it called "jsf-libs" (might be in server\default\deploy\jbossweb.sar\jsf-libs)? If so, can you replace the 2 jar files in that dir with the files of the same name from inside the alfresco.war file - i think it's a MyFaces library version issue.

Thanks,

Kevin

keythread
Champ in-the-making
Champ in-the-making
I'm getting the same stack trace with JBoss 4.0.5.GA and alfresco-community-war-1.4.0.  Replacing the jsf-libs in the jbossweb-tomcat55.sar directory with those found in the alfresco.war didn't make a difference in my case.

Rick

kevinr
Star Contributor
Star Contributor
I'll try with a copy of JBoss 4.0.5.GA and a alfresco-community-war-1.4.0 to see if i can reproduce the issues.

Thanks,

Kevin

kevinr
Star Contributor
Star Contributor
OK i've tried this and got it working - it was easier than perhaps I had previously suggested Smiley Happy

These are the exact steps I followed:

1. Downloaded JBoss 4.0.5.GA and alfresco-community-war-1.4.0 from sourceforge.
2. Extracted JBoss.
3. Created a fresh empty database schema instance called 'alfresco' in MySQL
4. Copied the MySQL driver 'mysql-connector-java-5.0.3-bin.jar' to \jboss-4.0.5.GA\server\default\lib
5. Extracted alfresco.war from alfresco-community-war-1.4.0.zip and copied to \jboss-4.0.5.GA\server\default\deploy
6. Edited \jboss-4.0.5.GA\server\default\conf\log4j.xml thus:

   <!– ======================= –>
   <!– Setup the Root category –>
   <!– ======================= –>

   <root>
      <priority value="INFO" />
      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>
   </root>
7. Executed run.bat from \jboss-4.0.5.GA\bin
8. After server start (no errors) browsed to URL http://localhost:8080/alfresco and could login as admin/admin OK.

So i didn't need to modify the alfresco.war file or the jsf-libs at all and it worked fine for me.

Thanks,

Kevin

kevinr
Star Contributor
Star Contributor
I have created a wiki page guide:
http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss