cancel
Showing results for 
Search instead for 
Did you mean: 

Error starting up alfresco: ERROR [URLDeploymentScanner] Inc

potatoinmiri
Champ in-the-making
Champ in-the-making
Dear friends,

  Previously I have got Alfresco configured and started successfully. Recently, I returned my focus on the project and when I tried to start it with ./alfresco.sh start it fails and feeds a series of error messages back, the errors messages are stated below:

ERROR [WebModule] Starting failed jboss.web.deployment:war=alfresco .war,id=-552604449
org.jboss.deployment.DeploymentException: URL file:/opt/alfresco/jboss/server/de fault/tmp/deploy/tmp41632alfresco.war/ deployment failed

ERROR [MainDeployer] could not start deployment: file:/opt/alfresco /jboss/server/default/deploy/alfresco.war
org.jboss.deployment.DeploymentException: URL file:/opt/alfresco/jboss/server/de fault/tmp/deploy/tmp31123alfresco.war/ deployment failed

ERROR [URLDeploymentScanner] Incomplete Deployment listing:

— Incompletely deployed packages —
org.jboss.deployment.DeploymentInfo@df0fecdf { url=file:/opt/alfresco/jboss/serv er/default/deploy/alfresco.war }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@145e5a6
  status: Deployment FAILED reason: URL file:/opt/alfresco/jboss/server/default/ tmp/deploy/tmp31123alfresco.war/ deployment failed
  state: FAILED
  watch: file:/opt/alfresco/jboss/server/default/deploy/alfresco.war
  altDD: null
  lastDeployed: 1134779616961
  lastModified: 1134779616000
  mbeans:

— MBeans waiting for other MBeans —
ObjectName: jboss.web.deployment:war=alfresco.war,id=-552604449
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL file:/opt/alfresco/jboss /server/default/tmp/deploy/tmp31123alfresco.war/ deployment failed

— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: jboss.web.deployment:war=alfresco.war,id=-552604449
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL file:/opt/alfresco/jboss /server/default/tmp/deploy/tmp31123alfresco.war/ deployment failed

Any idea what went wrong? I tried on my home computer with the latest release but got similar error…

thanks for taking time reading my thread…thanks a  lot..

Regards
Fong
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
Are you using Java1.5? Can you check that your JAVA_HOME env var is set to the java1.5 location as per the instructions in the Alfresco README file.

Also, it may be a MySQL startup issue, please see this article:
http://www.alfresco.org/forums/viewtopic.php?t=6

Thanks,

Kevin

potatoinmiri
Champ in-the-making
Champ in-the-making
Hi kevinr,

  thanks for your reply. Yes, my java_home is in the correct location.
I am using java 1.5. 

I tried uninstall mysql, alfresco and tried agian bus still gives me error. The errors are more complicated now with the following feedback:

ERROR [JDBCExceptionReporter] Table not found: JBP_USER_PREF_SET in statement [select top ? userprefse0_.jbp_id as jbp1_, userprefse0_.jbp_parent_id as jbp2_6_, userprefse0_.name as name6_ from jbp_user_pref_set userprefse0_]

ERROR [StandardContext] Error listenerStart
11:06:22,747 ERROR [StandardContext] Context [/alfresco] startup failed due to previous errors
11:06:22,827 ERROR [[/alfresco]] Exception sending context destroyed event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/application-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/application-context.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection


Previously it started well…
my mysql started fine also…I have also imported the db_setup.sql.

any more ideas what is the problem? Sorry for bothering so much, really appreciate any help…don't know where to turn for help now..thanks a lot…

Regards
Fong

potatoinmiri
Champ in-the-making
Champ in-the-making
Hi,

  I have solved the problem. thanks a lot for any replies before. 
Its because I didn't offer permission to host other than localhost.

thanks,

regards
Fong