[CentOS] alfresco
Craig White
craigwhite at azapple.com
Fri May 30 23:20:30 UTC 2008
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
More information about the CentOS
mailing list