Re: Messages "Failed to update jar archive file ..." at Jonas STart
Guillaume Sauthier <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | Objectweb Consortium |
| Message-ID | <[email protected]> |
Windows keeps locks on files, preventing them from being deleted (sometimes). Linux is more lenient about this. Can you try with the latest JOnAS 4.x version to see if there are any improvements? With JOnAS 5, you can also deploy your EJB2 archive (if it doesn't contains CMP entities) using the Easybeans EJB3 container that no more need to update the archive on the fly. You can also run GenIC standalone (using ant tasks or maven plugin or script) to create offline a ready-to-go EjbJar. --G Le 06/01/2011 11:20, Francois.Urbain a écrit : > Hello, > > I would like to submit to you the following problem which occurs with > Jonas 4.9.2 on Windows 2008: > > When Jonas starts, I get once or more the following message, which is > produced by GeniC: > > *Failed to update jar archive file > 'C:\Evidian\J2ee\Jonas\OM_base\work\apps\omjonas\om_monitor_srv_2010.12.14-20.01.43\mo_ejb_action.jar'* > > When I check the directory > C:\Evidian\J2ee\Jonas\OM_base\work\apps\omjonas\om_monitor_srv_2010.12.14-20.01.43, > > I see that both files mo_ejb_action.jar and mo_ejb_action.jar.tmp exist. > > Le fichier mo_ejb_action.jar.tmp contient les stubs et les skeletons. > > It looks as though mo_ejb_action.jar has not been deleted, which > prevents file mo_ejb_action.jar.tmp to be renamed. > > This problem does not occur every time n'est : on 13 GeniC executions > , some succeed, others fail. > If I launch Jonas several times, I can see that the problem does not > always occur with the same jars > > I tried with JDK SUN 1.5.0_09, 1.6.0_16 and JRockit 1.6.0. With both > these JDK, I have the problem. Moreover, it seems that the problem > always appear with JRockit. > > Does someone have an idea about this problem? > > Thanks, > > François Urbain
Guillaume_Sauthier.vcf
(text/x-vcard, 387 B)
begin:vcard fn:Guillaume Sauthier n:Sauthier;Guillaume org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a> adr:;;;;;;France email;internet:[email protected] title:<a href="http://jonas.ow2.org">JOnAS Application Server</a> url:http://jonas.ow2.org version:2.1 end:vcard