JBoss server not starting after alfresco.war copied
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2007 01:26 PM
I have a problem on Fedora Core 4 with JDK 1.5.0_10 and JBoss 4.0.5. I have 2 application running in the /server/default configuration that are working without any problems so I can vouch for the server. If I start the server with the alfresco war in /server/default/deploy nothing works
What I did is:
a) downloaded the community 1.4 war tgz (alfresco-community-war-1.4.0.tar.gz)
b) stopped Jboss
c) untarred the tgz and copied the alfresco.war to /server/default/deploy (where th other applications are)
d) donloaded the Mysql jdbc driver (mysql-connector-java-5.0.4.tar.gz)
e) copied the driver jar to /server/default/lib (where I already have the Oracle jdbc)
f) created the alfresco user in MySql using the db_setup.sql script
g) restarted Jboss
What happens is that when the alfresco.war gets deployed, the java process starts taking up 99.9% of cpu time and the server.log file grows by anout 1 gb per minute (many, many DEBUG messages). I found out about this because the first time I ran out of disk space on that volume after 10 minutes. Unfortunately the server log does not show anything obviously wrong and beiing so big is pretty hard to work with anyway. I shut down Jboss and manually kill the java process.
I thought of directing server.log to /dev/null to avoid the disk problem to see if it will eventually start but it seems that 10 minutes is too long to start Alfresco. So something else must be wrong with my configuration.
I loged into MySql with the alfresco login and saw that the tables were created.
Has anybody had this type of problem? Any suggestions?
Thanks.
What I did is:
a) downloaded the community 1.4 war tgz (alfresco-community-war-1.4.0.tar.gz)
b) stopped Jboss
c) untarred the tgz and copied the alfresco.war to /server/default/deploy (where th other applications are)
d) donloaded the Mysql jdbc driver (mysql-connector-java-5.0.4.tar.gz)
e) copied the driver jar to /server/default/lib (where I already have the Oracle jdbc)
f) created the alfresco user in MySql using the db_setup.sql script
g) restarted Jboss
What happens is that when the alfresco.war gets deployed, the java process starts taking up 99.9% of cpu time and the server.log file grows by anout 1 gb per minute (many, many DEBUG messages). I found out about this because the first time I ran out of disk space on that volume after 10 minutes. Unfortunately the server log does not show anything obviously wrong and beiing so big is pretty hard to work with anyway. I shut down Jboss and manually kill the java process.
I thought of directing server.log to /dev/null to avoid the disk problem to see if it will eventually start but it seems that 10 minutes is too long to start Alfresco. So something else must be wrong with my configuration.
I loged into MySql with the alfresco login and saw that the tables were created.
Has anybody had this type of problem? Any suggestions?
Thanks.
Labels:
- Labels:
-
Archive
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2007 08:29 PM
Thanks a lot for the info and ideas. I decided to give it another try before installing the portal and put almost everything in WARN and INFO. I got the server to start (in 1 minute and 23 seconds with my 2 applicationas plus Alfresco)) and got the Alfresco main page. I have not played around with it yet.
So my conclusion is that the portal is NOT needed and my previous problem may have had to do with the immense number of log messages saturating the system. I only messed around in log4j.xml this time so why it now works is a mystery to me.
To wrap it up:
Fedora core 4
java jdk 1.5.0_10
jboss 4.0.5GA (zip install)
alfresco 1.4 community
Apparently work together (at least enough to start up).
So my conclusion is that the portal is NOT needed and my previous problem may have had to do with the immense number of log messages saturating the system. I only messed around in log4j.xml this time so why it now works is a mystery to me.
To wrap it up:
Fedora core 4
java jdk 1.5.0_10
jboss 4.0.5GA (zip install)
alfresco 1.4 community
Apparently work together (at least enough to start up).

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2007 04:17 AM
Just click the 'log in' and see what happens - that's when I get the NotSerializableException
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2007 08:15 PM
Sean; Sorry, I did not see this comment until today. Well, I logged in fine so I think the problem lies not with Jboss or Alfresco.
However, I made a small change to my JBoss installation. The init script for starting it from /etc/rc.d/init.d was not picking up the value for $JAVA_HOME (although it had $JBOSS_HOME fine and I set both of those in /etc/profile.d/jboss.sh), so I just defined $JAVA_HOME in this init scrit again. I think this might have been causing JBoss to ponit to thr JRE instead of the JDK. I found out when I once started JBoss by running bin/run.sh manually on the console. I did this because on one occasion I had JBoss crash due to an apparent out of memory error and I went to investigate. I'm not sure that this helps or even solves the problem which may lie elsewhere. But so far Alfresco is working for me. Keep in mind that due to lack of time I haven't done any work on it except create users.
However, I made a small change to my JBoss installation. The init script for starting it from /etc/rc.d/init.d was not picking up the value for $JAVA_HOME (although it had $JBOSS_HOME fine and I set both of those in /etc/profile.d/jboss.sh), so I just defined $JAVA_HOME in this init scrit again. I think this might have been causing JBoss to ponit to thr JRE instead of the JDK. I found out when I once started JBoss by running bin/run.sh manually on the console. I did this because on one occasion I had JBoss crash due to an apparent out of memory error and I went to investigate. I'm not sure that this helps or even solves the problem which may lie elsewhere. But so far Alfresco is working for me. Keep in mind that due to lack of time I haven't done any work on it except create users.
