cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco 2.1.0R1,jboss 4.2.0 and jboss portal 2.6:Possible ?

deas0815
Star Contributor
Star Contributor
Hallo everybody,

I've been trying to get alfreso working with several more or less recent versions
of jboss and jboss portal, but I was always running into problems. (I am aware of
http://wiki.alfresco.com/wiki/Server_Installation but there were always problems remaining).

My latest try was jboss 4.2.0, jboss-portal 2.6 and alfresco  2.1.0R1.

The problems I have run into where related to hibernate and JSF/Myfaces, mostly

- org.hibernate.<somthing> javaassist proxies baling out they cannot find their super
interface org.alfresco.<something>

(I've tryied copying javaassist.jar to alfresco/WEB-INF/lib, but the problem remained.
Besides, it seems it is not really feasible to force hibernate to use cglib instead
as jboss sets the bytecode provider as a global System property).

- MyFaces/JSF classloading problems (org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL did not really help here)

Has anyone managed to get this combination working ?

If so, I would appreciate instructions how to get this up and running.

regards
Andreas
5 REPLIES 5

chrisky
Champ in-the-making
Champ in-the-making
Same problem here trying to get Alfresco 2.1 working with JBOSS 4.2.X without PORTAL.

Same problem

Submitted Issue

kevinr
Star Contributor
Star Contributor
A solution has been posted, I have tested it and it worked for me.
http://forums.alfresco.com/viewtopic.php?p=27936#27936

Thanks,

Kevin

robertoroberto
Champ in-the-making
Champ in-the-making
hi kevin.
Can you explain me (step by step)how to deploy alfresco 2.1 war with jboss 4.2.X?

kevinr
Star Contributor
Star Contributor
Follow the instructions here (except download and use JBoss4.2.X instead of JBoss4.0.5) http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss

but before starting the server (the last step) follow these additional instructions:
http://wiki.alfresco.com/wiki/Install_On_Jboss_4.2.0

Thanks,

Kevin

robertoroberto
Champ in-the-making
Champ in-the-making
I have added this in web.xml

<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>

Then I have modified hibernate property in
persistence.properties

- hibernate.bytecode.provider=cglib



but I have this error on deploy

Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener