[jboss-jira] [JBoss JIRA] Created: (JBAS-7114) Undeploy-deploy loop of directly referenced applications due to hasStructureBeenModified

Juergen none (JIRA) jira-events at lists.jboss.org
Tue Jul 21 09:39:29 EDT 2009


Undeploy-deploy loop of directly referenced applications due to hasStructureBeenModified
----------------------------------------------------------------------------------------

                 Key: JBAS-7114
                 URL: https://jira.jboss.org/jira/browse/JBAS-7114
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: VFS
    Affects Versions: JBossAS-5.1.0.GA
         Environment: 14:51:33,954 INFO  [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
14:51:33,954 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
14:51:33,954 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.0-b16,Sun Microsystems Inc.
14:51:33,954 INFO  [ServerInfo] OS-System: Linux 2.6.25.14-69.fc8,amd64
14:51:33,955 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh -Dcom.sun.management.jmxremote -Xms128m -Xmx1536m -XX:MaxPermSize=256m -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss/jboss-5.1.0.GA/lib/endorsed 

            Reporter: Juergen none
            Assignee: Ales Justin


in conf/bootstrap/profile.xml, applicationURIs:
<value>file://home/login-service.sar</value>
<value>file://home/app-local.ear</value>

login-service.sar gets undeployed-redeployed every 5000 ms (HDScanner interval)

from debugging:
org.jboss.system.server.profileservice.repository.HotDeploymentRepository.getModifiedDeployments(), calling hasStructureBeenModified()
for file://home/jboss-login-edirectory-service.sar stays true

both files share same root.getPathName() == "" !
org.jboss.deployers.vfs.spi.structure.modified.MetaDataStructureModificationChecker.hasRootBeenModified():
1) root := app-local.ear: (app-local.ear).getPathName() == "", cached value for "" is null, put lastModified of (app-local.ear).getLastModified()
2) root := login-service.sar: (login-service.sar).getPathName() == "", cache value for "" is (app-local.ear).getLastModified() (<= (login-service.sar).getLastModified()) -> redeploy login-service.sar + getCache().invalidateCache(root.getPathName()): set "" to null
3) back to 1) -> loop

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list