cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco jboss

clombart
Champ in-the-making
Champ in-the-making
Hi all,

I'm testing Alfresco on different plateform. I runs well on Tomcat with MySql but not on jboss. I would like to run the war (without the jboss portal stuff) into my own jboss 4.0.5 but it takes a long time to populate the Alfresco tables.  If I create the tables before running for the first time Alfresco on jboss, it works. This problem was not present with Tomcat.

Why is taking a long time to populate the tables on jboss (and not on Tomcat) ? Do I have to do something to optimize this process ?

Tested on : kubuntu/Mysql 4+/Jboss 4.0.5/Alfresco 1.4 community edition.

We have the same issue with Oracle on Windows.

Thanks for your help
Christophe
4 REPLIES 4

kevinr
Star Contributor
Star Contributor
The problem is probably the common issue with the default log4j settings in JBoss - for some bizare reason is it commonly set to DEBUG by default. This causes gigs of log files to be (very slowly) generated by verbose libraries such as Hibernate and Spring.

Try modifying your jboss log4j.xml file thus:

   <root>
      <priority value="INFO" />
      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>
   </root>

Thanks,

Kevin

ltendi
Champ on-the-rise
Champ on-the-rise
Hi Christophe,
looking to your posted issue I understand you install both on tomcat and jboss.   I would like to understand which are the implications:
Do the different installation provides different features to alfresco or the alfresco installation chosen (tomcat/jboss) depends on the environment you have on the server? If I do not have other external requirement do I loose functionality choosing tomcat instead jboss from alfresco point of view? 
Thank you,
Luciano

unknown-user
Champ on-the-rise
Champ on-the-rise
I would like to run the war (without the jboss portal stuff) into my own jboss 4.0.5 but it takes a long time to populate the Alfresco tables.

I have the exact same, even further I have disabled logging on log4j by setting level to ERROR. I have even let it run all night. All I can see is MySQL (5.0) adding and also removing rows.

If I create the tables before running for the first time Alfresco on jboss, it works.

Is there a separate SQL file for the creation of these databases ?
If someone could point me to them I can try this too, so far I have been unable to find them, the only sql file I find creates the 'alfresco' database itself but does not creates tables.

unknown-user
Champ on-the-rise
Champ on-the-rise
I have been doing some further research into this, turns out the .war file provided is mostly setup for Tomcat.
As you mentioned in your top post.

I found another topic on this : http://forums.alfresco.com/viewtopic.php?p=13010

Turns out there are some files which collide with JBoss installation.
Those provided inside the package are from older JBoss versions.
The link provides some instruction which files to remove and which not.

I on the other hand am trying to recompile the .war file from source.
Turns out this isn't really that easy since the SVN depository doesnt seem to be using tags or branches.