AnsweredAssumed Answered

Error after update 1.2RC1 to RC2

Question asked by plaugraud on Feb 14, 2006
Latest reply on Feb 15, 2006 by plaugraud
Hello,

today I upgraded Alfresco 1.1.2 successfully to 1.2RC1.
Then I updated the alfresco.war to RC2, and now there are some depoyment error at JBoss start:

2006-02-14 16:27:58,452 INFO  [org.alfresco.repo.policy.PolicyComponentImpl] Registered class policy {http://www.alfresco.org}onContentRead (interface org.alfresco.repo.content.ContentServicePolicies$OnContentReadPolicy)
2006-02-14 16:27:58,512 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/core-services-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 'nodeIndexer' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'indexerComponent' while setting property 'indexer';
……
nested exception is java.lang.NumberFormatException: For input string: "${lucene.commit.lock.timeout}"], [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [long] for property 'lockPollInterval'; nested exception is java.lang.NumberFormatException: For input string: "${lucene.lock.poll.interval}"]
PropertyAccessExceptionsException (3 errors)
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [long] for property 'writeLockTimeout'; nested exception is java.lang.NumberFormatException: For input string: "${lucene.write.lock.timeout}"
java.lang.NumberFormatException: For input string: "${lucene.write.lock.timeout}"
       at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48 )
       at java.lang.Long.parseLong(Long.java:403)
        …
        …
— Incompletely deployed packages —
org.jboss.deployment.DeploymentInfo@f39f8cbb { url=file:/opt/jboss-4.0.2/server/default/deploy/alfresco.war/ }
  deployer: org.jboss.web.tomcat.tc5.Tomcat5@72d873
  status: Deployment FAILED reason: URL file:/opt/jboss-4.0.2/server/default/deploy/alfresco.war/ deployment failed
  state: FAILED
  watch: file:/opt/jboss-4.0.2/server/default/deploy/alfresco.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1139931834240
  lastModified: 1139931750000
  mbeans:

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

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

—————————————-

Deployment is on plain jboss 4.0.2 (Linux)

Thx for advice.
Regards, Rudolf.

Outcomes