This is a guess...
Are you on windows? If so perhaps there's a servlet that is opening
the dwr jar file and not closing it. IIUC this would prevent the zip
file and thus the war from being deleted. I'm not very familiar with
windows but there might be a way to check for files opened by an
application.
thanks
david jencks
On Apr 14, 2009, at 1:08 AM, Silv wrote:
Hello,
in every Project i used DirectWebRemoting(v. 205 or v. 3rc1) i can't
redeploy my application without an error ( see below ).
The Projects are Dynamic Web Projects and i add dwr.jar in my WEB-
INF/lib
Folder.
If i remove dwr.jar in my Project, redeploy works...
Does anyone know this problem?
I'm using Geronimo in version 2.1.4
org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException:
Configuration already exists: default/mail/1.0/war
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException:
Configuration already exists: default/mail/1.0/war
at
org
.apache
.geronimo
.j2ee
.deployment
.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:521)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.apache
.geronimo
.gbean
.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
34)
at
org
.apache
.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org
.apache
.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
239)
at
org
.apache
.geronimo
.deployment
.plugin
.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at
org
.apache
.geronimo
.deployment
.plugin
.local
.RedeployCommand.redeploySameConfiguration(RedeployCommand.java:225)
at
org
.apache
.geronimo
.deployment.plugin.local.RedeployCommand.run(RedeployCommand.java:101)
at java.lang.Thread.run(Thread.java:595)
Caused by:
org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException:
Configuration already exists: default/mail/1.0/war
at
org
.apache
.geronimo
.system
.configuration
.RepositoryConfigurationStore
.createNewConfigurationDir(RepositoryConfigurationStore.java:194)
at
org
.apache
.geronimo
.j2ee
.deployment
.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:519)
... 13 more
I also got this Warnings/Error:
WARN [IOUtil] .../mail-1.0.war/WEB-INF/lib not deleted after 5
retries,
with 0 interruptions.
WARN [IOUtil] .../mail-1.0.war/WEB-INF not deleted after 5 retries,
with 0
interruptions.
WARN [IOUtil] .../mail-1.0.war not deleted after 5 retries, with 0
interruptions.
ERROR [RepositoryConfigurationStore] ...mail-1.0.war is not an empty
directory
Then I navigate to this Directory and see that all Files are
deleted...
after I delete them manually i can deploy my project.
*edit*
Oh, in this Folder([...]WEB-INF/lib) is a hidden zip File called
".nfs0c9d029c00000012" with the content of dwr.jar...
In another Project with 8 Files in the /lib Folder, all 8 Files are
hidden
zip Files after uninstall/redeploy.
Why doesn't Geronimo delete this Files?
Thanks
Silvio
--
View this message in context:
http://www.nabble.com/Problem-with-Redeploy-while-using-DWR---Configuration-already-exists-tp23035004s134p23035004.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.