cancel
Showing results for 
Search instead for 
Did you mean: 

Install Alfresco 3.4e in JBoss AS 5.1

chicco0386
Champ on-the-rise
Champ on-the-rise
Hi all,
I've installed Alfresco 3.4e in a JBoss AS 5.1 and it start correctly, but if I'm going to install some extension that I've in an older tomcat installation and put it inside /server/default/conf/alfresco/extension, for example for LDAP configuration and synchronization I put the "subsystems" directory inside the extension folder, but when I restart the server this new extension is not read correctly, infact I've a  LDAP connection exception why Alfresco read the subsystems folder inside the war that's it's not set correctly.

Can you help me please?
Thank you
3 REPLIES 3

jean-rémyrevy
Champ in-the-making
Champ in-the-making
Hello,
I'm facing of the same issue with Alfresco 3.4.a, JBoss 5.1.2 (and Red Hat 5.5EL).

This is quite strange, because my alfresco-global.properties is correctly loaded from /conf, but not my subsystems.
My tree structure is identiqual :

$JBOSS_HOME/conf/alfresco/extension/subsystems/Authentication/external/external_xxx
$JBOSS_HOME/deploy/alfresco.war/WEB-INF/classes/alfresco/extension/subsystems/Authentication/external/external_xxx

OR

$JBOSS_HOME/conf/alfresco/extension/subsystems/Authentication/ldap-ad/ldap-ad_xxx
$JBOSS_HOME/deploy/alfresco.war/WEB-INF/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap-ad_xxx

As far as I know, /conf is considered as a root of ClassLoader, like anApp.war/WEB-INF/classes.
So, I'm currently looking for a bad Spring Import like :
<import resource="../subsystems/some-context.xml" />

instead of
<import resource="classpath:/alfresco/subsystems/**/*.xml" />

Does any one knows how to solve it ?

jean-rémyrevy
Champ in-the-making
Champ in-the-making
After further googling Smiley Wink, it seems that' an issue between JBoss 5.x and Spring 2.5 :
https://jira.springsource.org/browse/SPR-5120
https://issues.jboss.org/browse/SNOWDROP-4

I didn't test yet solutions given above (copying some jars in server/<conf>/lib), but f it can help …

jean-rémyrevy
Champ in-the-making
Champ in-the-making
After deeeper searches, I had to apologize. Smiley Surprisedops:
I forgot to put this line on JBOSS configuration script :

JBOSS_CLASSPATH="${JBOSS_CLASSPATH}:/app/jboss/courant/server/${JBOSS_CONF}/conf"

Since I did it, that works fine -_-.

I hope that will help …