users@glassfish.java.net

Re: Deploying application in domain failed; Could not rename

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 May 2007 06:14:36 PDT

I am using Sun Java System Application Server 9.1 (build b33e-beta) and still receive this error.

My web framework is Tapestry 5, so I doubt it has to do with the web framework since we've now covered Struts, JSF and Tapestry in this thread.

All I'm really doing is copying a rather simple war to the autodeploy directory. I'd say on a good day this process works about a third of the time. Hate to use the word "sometimes" in a thread like this, but I can't seem to find a pattern to it. "Undeploying" in the asadmin console before I drop the war into the directory seems to increase stability, but I'd say it only works about 80% of the time still.

Here's the stack trace again:

[#|2007-04-30T16:22:46.894-0400|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Timer-4;_RequestID=28ee5de6-5b7d-48f4-82e5-714ad59a7afe;|ADM0013: A config exception occurred. Details are:
com.sun.enterprise.config.ConfigException: Error Flushing ConfigContext com.sun.enterprise.config.ConfigContext: Url=C:/Sun/SDK/domains/domain1\config\domain.xml, ReadOnly=false, ResolvePath=true, LastModified Timestamp=1177964558531, isChanged=true, Autocommit=false, isConfigBeanNull=false
        at com.sun.enterprise.config.impl.ConfigContextImpl.flush(ConfigContextImpl.java:331)
        at com.sun.enterprise.config.impl.ConfigContextImpl.flush(ConfigContextImpl.java:347)
        at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:101)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
        at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:508)
        at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:489)
        at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:436)
        at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:253)
        at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:361)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
|#]

[#|2007-04-30T16:22:46.894-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-4;Error Flushing ConfigContext com.sun.enterprise.config.ConfigContext: Url=C:/Sun/SDK/domains/domain1\config\domain.xml, ReadOnly=false, ResolvePath=true, LastModified Timestamp=1177964558531, isChanged=true, Autocommit=false, isConfigBeanNull=false
;_RequestID=28ee5de6-5b7d-48f4-82e5-714ad59a7afe;|"DPL8011: autodeployment failure while deploying the application : Error Flushing ConfigContext com.sun.enterprise.config.ConfigContext: Url=C:/Sun/SDK/domains/domain1\config\domain.xml, ReadOnly=false, ResolvePath=true, LastModified Timestamp=1177964558531, isChanged=true, Autocommit=false, isConfigBeanNull=false
"|#]
[Message sent by forum member 'wiegmajd' (wiegmajd)]

http://forums.java.net/jive/thread.jspa?messageID=215042