Topic
  • 3 replies
  • Latest Post - ‏2012-09-11T04:33:07Z by X75J_Li_Yanli
txasmst
txasmst
2 Posts

Pinned topic JAR files not deleted after 5 retries, with 0 interruptions.

‏2012-08-29T16:14:09Z |
<Please read to the END. Question is at the BOTTOM>
Every time the server is restarted for the new code gets effective, the following messages are displayed:

--------Display Console

WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\ojdbc14.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\saaj.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\sqljdbc.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\woden-api-1.0M8.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\woden-impl-dom-1.0M8.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\wsdl4j-1.6.2.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\wstx-asl-3.2.4.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\xercesImpl.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\xml-apis.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib\XmlSchema-1.4.3.jar not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF\lib not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car\WEB-INF not deleted after 5 retries, with 0 interruptions.
WARN IOUtil C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car not deleted after 5 retries, with 0 interruptions.
ERROR RepositoryConfigurationStore C:\wasce\repository\subfolders\1.0\XXXXXXXX-1.0.car is not an empty directory
--------------------WORK AROUND SOLUTION
To work around, here are the steps:
1. stop the server.
2. delete the content under the xxxx.car folder
3. restart the server for the new code gets effective.

---log------------
Redeploy of module failed. See log for details.
org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: Configuration already exists: package-name/sub-folder/1.0/car
org.apache.geronimo.common.DeploymentException: org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: Configuration already exists: package-name/sub-folder/1.0/car/1.0/car
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:519)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.kernel.KernelGBean.invoke(KernelGBean.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException: Configuration already exists: package-name/sub-folder/1.0/car/1.0/car
at org.apache.geronimo.system.configuration.RepositoryConfigurationStore.createNewConfigurationDir(RepositoryConfigurationStore.java:194)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:517)
... 41 more

-------------------QUESTION

Could you help to to resolve the issue if you have experienced with this? Thanks!
Updated on 2012-09-11T04:33:07Z at 2012-09-11T04:33:07Z by X75J_Li_Yanli
  • Shawn_Jiang
    Shawn_Jiang
    154 Posts

    Re: JAR files not deleted after 5 retries, with 0 interruptions.

    ‏2012-08-30T01:42:43Z  
    Some suggestions you might want to try:

    1, delete the car completely instead of only content under the car
    2, Remove if there's the car module entry in CE_HOME/var/config/config.xml
    3, "CE_HOME/bin/geronimo run -c" will clean up some issues caused by corrupted OSGi cache.

    Hope it helps.
  • txasmst
    txasmst
    2 Posts

    Re: JAR files not deleted after 5 retries, with 0 interruptions.

    ‏2012-09-01T00:02:01Z  
    Some suggestions you might want to try:

    1, delete the car completely instead of only content under the car
    2, Remove if there's the car module entry in CE_HOME/var/config/config.xml
    3, "CE_HOME/bin/geronimo run -c" will clean up some issues caused by corrupted OSGi cache.

    Hope it helps.
    Thanks Shawn Jiang. I followed your instruction and the issue is still. Any other suggestions?
  • X75J_Li_Yanli
    X75J_Li_Yanli
    45 Posts

    Re: JAR files not deleted after 5 retries, with 0 interruptions.

    ‏2012-09-11T04:33:07Z  
    • txasmst
    • ‏2012-09-01T00:02:01Z
    Thanks Shawn Jiang. I followed your instruction and the issue is still. Any other suggestions?
    Hi,

    Could you provide your samples used in the testing? It will be helpful for the problem solving.
    By the way,please also provide your test environment and used version of wasce which will help a lot.