Has anyone here setup alfresco on centos 5?
I would like to speak to them off list about it if so.
I am aware that they (alfresco) have a contributed wiki article about doing this, but i have run into some issues.
DNK
On Fri, 2008-05-30 at 13:48 -0700, dnk wrote:
Has anyone here setup alfresco on centos 5?
I would like to speak to them off list about it if so.
I am aware that they (alfresco) have a contributed wiki article about doing this, but i have run into some issues.
---- I have - why not on list?
Craig
I just figured that since my issues were likely more with my alfresco configurations, I thought some might consider it off topic.
I guess I will start it on list, and if anyone feels it is off topic, I will pull it back off the list.
In a nut shell, I was following the howto located at:
http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Commun...
Now I have gone through it step by step, and the only mods I did were to use some more updated package versions, but that is about it.
After all was said and done, my tomcat, etc all start without issue.
At the end of the tutorial it states I should be able to go to:
http://serverIP:8080/alfresco/
now when I go there, I get a tomcat error stating that the page is not found....
------------- HTTP Status 404 - /alfresco/ type Status report
message /alfresco/
description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.20 -------------
Granted I am very inexperienced with tomcat. But that is where I am stuck at.....
So I had a look at my /var/log/tomcat5/alfresco.log, and it was complaining about failed loading of ImageMagick... so I just yumed that in and rebooted. That is now gone, however my same issue (resource not found) still persists.
dnk
On 30-May-08, at 2:01 PM, Craig White wrote:
On Fri, 2008-05-30 at 13:48 -0700, dnk wrote:
Has anyone here setup alfresco on centos 5?
I would like to speak to them off list about it if so.
I am aware that they (alfresco) have a contributed wiki article about doing this, but i have run into some issues.
I have - why not on list?
Craig
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, 2008-05-30 at 15:07 -0700, dnk wrote:
I just figured that since my issues were likely more with my alfresco configurations, I thought some might consider it off topic.
I guess I will start it on list, and if anyone feels it is off topic, I will pull it back off the list.
In a nut shell, I was following the howto located at:
http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Commun...
Now I have gone through it step by step, and the only mods I did were to use some more updated package versions, but that is about it.
After all was said and done, my tomcat, etc all start without issue.
At the end of the tutorial it states I should be able to go to:
http://serverIP:8080/alfresco/
now when I go there, I get a tomcat error stating that the page is not found....
HTTP Status 404 - /alfresco/ type Status report
message /alfresco/
description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.20
Granted I am very inexperienced with tomcat. But that is where I am stuck at.....
So I had a look at my /var/log/tomcat5/alfresco.log, and it was complaining about failed loading of ImageMagick... so I just yumed that in and rebooted. That is now gone, however my same issue (resource not found) still persists.
---- I think you should look at /var/log/tomcat5/catalina.out because that is where startup issues will be located.
Craig
On 30-May-08, at 3:26 PM, Craig White wrote:
On Fri, 2008-05-30 at 15:07 -0700, dnk wrote:
I just figured that since my issues were likely more with my alfresco configurations, I thought some might consider it off topic.
I guess I will start it on list, and if anyone feels it is off topic, I will pull it back off the list.
In a nut shell, I was following the howto located at:
http://wiki.alfresco.com/wiki/Installing_on_Linux#Installing_Alfresco_Commun...
Now I have gone through it step by step, and the only mods I did were to use some more updated package versions, but that is about it.
After all was said and done, my tomcat, etc all start without issue.
At the end of the tutorial it states I should be able to go to:
http://serverIP:8080/alfresco/
now when I go there, I get a tomcat error stating that the page is not found....
HTTP Status 404 - /alfresco/ type Status report
message /alfresco/
description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.20
Granted I am very inexperienced with tomcat. But that is where I am stuck at.....
So I had a look at my /var/log/tomcat5/alfresco.log, and it was complaining about failed loading of ImageMagick... so I just yumed that in and rebooted. That is now gone, however my same issue (resource not found) still persists.
I think you should look at /var/log/tomcat5/catalina.out because that is where startup issues will be located.
Craig
Ok, having a look in there, and the things that stick out at me are:
INFO: Deploying web application archive alfresco.war 07:34:00,712 User:System WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 07:34:02,499 User:System INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 07:34:02,811 User:System INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 07:34:29,783 User:System ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
Then at the end of the log file i have:
SEVERE: Error listenerStart May 30, 2008 7:34:29 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/alfresco] startup failed due to previous errors log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
And in the alfresco.log I have:
07:07:02,705 WARN [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 07:07:04,541 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 07:07:05,232 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema. 07:07:33,090 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
Then further down I have: <snip> Caused by: java.lang.OutOfMemoryError: Java heap space </snip>
dnk
On Fri, 2008-05-30 at 15:44 -0700, dnk wrote:
On 30-May-08, at 3:26 PM, Craig White wrote:
INFO: Deploying web application archive alfresco.war 07:34:00,712 User:System WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 07:34:02,499 User:System INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 07:34:02,811 User:System INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 07:34:29,783 User:System ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
---- clearly an error with mysql
either you didn't get the user/passwords right or you failed to get this package installed... mysql-server mysql xml-commons-apis
As I recall, I installed this manually and didn't know that there was a rpm package for it.
Is SELinux on? Is that stopping things? -----
Then at the end of the log file i have:
SEVERE: Error listenerStart May 30, 2008 7:34:29 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/alfresco] startup failed due to previous errors log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
And in the alfresco.log I have:
07:07:02,705 WARN [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 07:07:04,541 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 07:07:05,232 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema. 07:07:33,090 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
Then further down I have:
<snip> Caused by: java.lang.OutOfMemoryError: Java heap space </snip>
----- The web site you pointed to says...
Configuring Tomcat To configure proper usage of system memory, edit /etc/sysconfig/tomcat5 and add the following to the bottom of the file:
JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx512m"
These values seem to work well on our system, which has 2 GB memory.
Did you do this?
How much RAM is in this server?
Clearly tomcat isn't starting up...that's what catalina.out is telling you.
it also appears that I added this to /etc/sysconfig/tomcat5 (all on one line)
JAVA_OPTS="$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib: $CATALINA_HOME/common/lib"
but this doesn't appear to be your issue...
Craig
On Fri, 2008-05-30 at 15:44 -0700, dnk wrote:
Ok, having a look in there, and the things that stick out at me are:
INFO: Deploying web application archive alfresco.war 07:34:00,712 User:System WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 07:34:02,499 User:System INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 07:34:02,811 User:System INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 07:34:29,783 User:System ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
---- also...make sure you follow the instructions on that web page that you linked to about...
mysql-connector-java [root@localhost alfresco]# tar -xzf mysql-connector-java-5.1.5.tar.gz
[root@localhost alfresco]# cd mysql-connector-java-5.1.5
[root@localhost alfresco]# cp mysql-connector-java-5.1.5-bin.jar /usr/share/java/
[root@localhost alfresco]# cd /var/lib/tomcat5/common/endorsed/
[root@localhost alfresco]# rebuild-jar-repository /var/lib/tomcat5/common/endorsed mysql-connector-java-5.1.5-bin.jar
As these are essential to getting it to connect to MySQL
Craig