[jboss-jira] [JBoss JIRA] Commented: (AS7-1579) auto-deploying exploded war loops

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Fri Aug 19 07:14:18 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622165#comment-12622165 ] 

Darran Lofthouse commented on AS7-1579:
---------------------------------------

This deployment loop is triggered by the birt.war deployment.

To decide if we should re-deploy an exploded archive we recursively scan the archive to identify the most recently modified file, if the identified file is more recently modified than the last time the archive was deployed we re-deploy the archive.

The birt.war archive writes a log file each time it is deployed, this means that the log is discovered on the next scan, the log is more recent than the last deployment so the deployment is redeployed.

For archives that modify their content automatic deployment is not practical and manual deployment with a birt.war.dodeploy marker should be used instead.

> auto-deploying exploded war loops
> ---------------------------------
>
>                 Key: AS7-1579
>                 URL: https://issues.jboss.org/browse/AS7-1579
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.1.0.Alpha1
>         Environment: No specific environment, original report was a test on Windows however this is reproducible on Linux.
>            Reporter: Nicklas Karlsson
>            Assignee: Darran Lofthouse
>             Fix For: 7.0.2.Final
>
>
> setting /subsystem=deployment-scanner/scanner=default:write-attribute(name="auto-deploy-exploded", value="true") and deploying an exploded war loops with 
> 10:52:38,498 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started in 26355ms - Started 520 of 577 services (57 services are passive or on-demand)
> 10:52:38,524 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "birt.war"
> 10:52:43,707 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_cs.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_de_DE.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_es.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_fr.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_hu.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_it.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ja_JP.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ko_KR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,709 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pl.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,709 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_pt_BR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,709 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_ru.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,709 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_CN.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,709 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry derbyLocale_zh_TW.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:43,731 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) added javax.persistence.api dependency to birt.war
> 10:52:44,024 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver (version 10.5)
> 10:52:44,863 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /birt
> 10:52:44,948 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "birt.war"
> 10:52:50,253 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Stopped deployment birt.war in 210ms
> 10:52:50,254 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "birt.war"
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_cs.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_de_DE.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_es.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_fr.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_hu.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_it.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_ja_JP.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,759 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_ko_KR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,760 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_pl.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,760 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_pt_BR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,760 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_ru.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,760 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_zh_CN.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,760 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry derbyLocale_zh_TW.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:52:52,781 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) added javax.persistence.api dependency to birt.war
> 10:52:53,020 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver (version 10.5)
> 10:52:53,703 INFO  [org.jboss.web] (MSC service thread 1-6) registering web context: /birt
> 10:52:53,733 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Replaced deployment "birt.war" with deployment "birt.war"
> 10:52:59,018 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment birt.war in 193ms
> 10:52:59,019 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "birt.war"
> 10:53:01,443 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_cs.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_de_DE.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_es.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_fr.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_hu.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_it.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ja_JP.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ko_KR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,444 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_pl.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,445 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_pt_BR.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,445 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ru.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,445 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_zh_CN.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,445 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_zh_TW.jar in "/C:/Java/AS/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/deployments/birt.war/WEB-INF/lib/derby.jar"  does not point to a valid jar for a Class-Path reference.
> 10:53:01,456 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) added javax.persistence.api dependency to birt.war
> watching the deployments.folder you see both a birt.war.deployed and birt.war.isdeploying file

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list