-
1. Re: [deploymentinfo] and temporary files
dimitris Jun 16, 2006 3:15 AM (in response to garryj33)This is not a problem. It only appear on Windows due to bugs in the jdk.
-
2. Re: [deploymentinfo] and temporary files
garryj33 Jun 16, 2006 4:03 AM (in response to garryj33)so can it be fixed ? it is a problem as the Home interface cannot be found next time you activate a jsp page refering to the updated bean unless you restart the server !
-
3. Re: [deploymentinfo] and temporary files
garryj33 Jun 16, 2006 4:09 AM (in response to garryj33)just to give a bit more info, unless i restart jboss, i get this error if i redeploy because it can't overwrite the temporary file
java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.A1 com.A1Home.create() throws javax.ejb.CreateException,java.rmi.RemoteException -
4. Re: [deploymentinfo] and temporary files
jumpfroggy Jul 17, 2006 9:02 PM (in response to garryj33)I also have this problem, jboss cannot delete the temp files. Sometimes I can reload the war file and jboss will pick it up, but most of the time I have to stop and then restart the server otherwise it locks up due to this error. Is there any way to fix it, or is there any way to unload the app so the files aren't being used?
-
5. Re: [deploymentinfo] and temporary files
siwas Aug 3, 2006 12:55 PM (in response to garryj33)Hello
I'm new in J2ee and I have this problem:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract au.com.tusc.session.StoreAccess au.com.tusc.session.StoreAccessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
How resolve it?
Remove temporary folder?? -
6. Re: [deploymentinfo] and temporary files
sengsational Jan 30, 2007 3:26 PM (in response to garryj33)"GarryJ33" wrote:
I am having a problem with bean re-deployment. Jboss does not overwrite its temporary files, the message appears [DeploymentInfo] could not delete file (** see below **) restart will delete it.
I am worried that Jboss is not cleaning up properly - is there a way to correct this ?
**
(the file is in default/ tmp/ deploy/ test.jar)
So what are Windows users doing for hot deploy? -
7. Re: [deploymentinfo] and temporary files
dimitris Jan 30, 2007 5:28 PM (in response to garryj33)There is (almost) nothing wrong with this. It's a jdk bug on windows. The tmp files are locked by the classloaders using them, and they will only deleted by jboss when it restarts.
-
8. Re: [deploymentinfo] and temporary files
t_skowronek Jan 30, 2007 5:41 PM (in response to garryj33)Does this apply to all JDK versions on Windows?
Which JDK bug are you referring to? -
9. Re: [deploymentinfo] and temporary files
sengsational Jan 31, 2007 7:49 AM (in response to garryj33)"dimitris@jboss.org" wrote:
Thanks for the quick reply. I was just fretting over not getting the benefit of hot deploy. Since it not available for jar files on Windows, I'm not leaving anything on the table, so to speak.
There is (almost) nothing wrong with this. It's a jdk bug on windows. The tmp files are locked by the classloaders using them, and they will only deleted by jboss when it restarts.
I've got jboss-4.0.1RC2 and Java version: 1.4.2_07. This isn't critical, but it doesn't seem to delete the tmp files when it restarts. But no matter, really, since I've got to go to the server to restart JBoss anyway, its easy enough to wipe the temp files myself.
I put this at the end of shutdown bat (just a random IP - no native 'sleep' on Windows):rem wait a few seconds ping -n 1 -w 5000 192.168.234.234 erase "C:\jboss-4.0.1RC2\server\default\tmp\deploy\*.*" /s /Q
--Dale-- -
10. Re: [deploymentinfo] and temporary files
jiten007 Jul 9, 2007 12:01 AM (in response to garryj33)Re-Hot deployment isn't working ....
I cann't delete files under /tmp/ directories beacause there are other application running.
Can anybody help me?
Thanks