cancel
Showing results for 
Search instead for 
Did you mean: 

Bootstrap Error after installing alfresco on ubuntu

nlazouzi
Champ in-the-making
Champ in-the-making
Hello
after install, i start the alfresco serve using /etc/init.d/alfresco start
during the startup script i get a message saying  " javaldx: Could not find a Java Runtime Environment! "

The http://localhost:8080/share co,mes up fine but i can't login to it.
the  http://localhost:8080/alfresco one however doesn't. i get "HTTP Status 404 "

bellow is my alfresco.log file.

any ideas ??
Any help would be very much appreciated.

Sat Mar  7 23:31:53 EST 2009 Starting Alfresco …
23:32:32,073 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
23:32:58,790 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
23:32:58,954 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-11191.sql (Generated).
23:33:07,189 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-11192.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql).
23:33:07,246 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-11193.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-Extra.sql).
23:33:08,087 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-11194.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/post-create-indexes-04.sql).
23:33:08,183 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-11195.sql (Copied from classpath:alfresco/dbscripts/create/3.0/org.hibernate.dialect.MySQLInnoDBDialect/create-activities-extras.sql).
23:33:08,530 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] All executed statements written to file /opt/alfresco/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-All_Statements-11196.sql.
23:35:32,728 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:351)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:702)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
"alfresco.log" 97L, 9103C
3 REPLIES 3

derek
Star Contributor
Star Contributor
Was there more to the exception or was that all in the logs?

nlazouzi
Champ in-the-making
Champ in-the-making
Hello Derek,
I solved the problem in two steps.
1- by modifying the Mysql Hibernate statement. i was able to get passed this problem,
2 I then encountered something about a "double entry in store…ERROR." Which i resolved by removing "Index folder " , adding the AUTO generate line to the catalina.sh, restart the computer then restart the alfresco server.

The main problem now, is the performance. it takes for ever for the "local……8080/alfresco" to come up. + the CPU is being used at about 100%. absolutely terrible.

Any suggestions as to what may be causing this and a possible solution ?

Please let me know.

Thank you

derek
Star Contributor
Star Contributor
Hi,
You didn't give more of the exception - you should not have to modify Hibernate queries for it to work.
You'll need to describe your machine and JVM settings, for starters.  Secondly, run using JDK1.6 and run a jstack while it is starting up.  Find the bootstrap thread and post it here.
Regards