- This topic has 3 replies, 2 voices, and was last updated 20 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
DoCampbellMemberHi,
A simple question about WebLogic deployment:
I have a “large” project and when I re-deploy I get an initial problem with the .jar file (yes, deploying as an archive, which is what I need to do for proper testing!) in that WebLogic tries to deploy whilst the file is still being written. OK – so this is an annoyance, as the deploy does work when the .jar files is finally closed by MyEclipse.
I have read a thread about this, suggesting changing the WebLogic “polling” interval – but there isn’t one to change (have done a lot of looking in case I missed it !)
Is it possible to jar the file to a temp directory then copy over to the deploy directory with the current MyEclipse (latest version running against Eclipse 3.0 release (RC, not M)), or do I have to “just live with it”?
BTW – Superb product that has made my life much easier – I was using a different one, but had some issues that I couldn’t resolve. Sorting this “annoyance” out would be the icing on the cake!
Thanks,
Dom.
I guess, from the lack of response, that there is not a “solution” ?
Riyad KallaMemberDom,
Sorry for the lack of attention to this, the support team relies on the forums to show us which threads are unread, but sometimes it flakes out and clears all of them, so we miss posts. I’m trying to fix that now 😉Anyway, yes you are right, its a polling issue in the server settings, we’ve tracked this problem down twice and that was the fix. I’m sure the setting is in the docs somewhere. If you can’t find it, then yes you may need to live with it, which sounds to be a giant PIA and I don’t want you to “just live with it”… so lets hope we can find that setting (and by “we” I mean “you” :D)
DoCampbellMemberRiyad,
Your reply prompted me to look more closely – and FINALLY I found the answer. The config.xml required an entry for the domain as follows:
<ApplicationManager AutoUpdateInterval="millisecondsValueInHere" Name="domainNameInHere"/>
You can also set it from the not-at-all obvious “SMNP/Applications” tab in the WebLogic console 😡 .
BTW: Deploying the same application via an EAR file does not cause the problem to happen (which is what I was doing as a workaround).
Thanks
Dom.
Riyad KallaMemberDom,
Nice detective work! Also about deploying the EAR, we did help another person that was having the same problem when using packaged deployment, basically he was getting ZipExceptions in the console because WebLogic was trying to unzip the deployment file before MyEclipse finished writing it.EIther way, you found the right answer. Thanks for posting the info for other users as well.
-
AuthorPosts