- This topic has 3 replies, 2 voices, and was last updated 17 years, 7 months ago by Loyal Water.
-
AuthorPosts
-
lbonill915MemberMy goal is to set up a project in WebLogic 8.1 , hot deployed from MyEclipse. I have gotten servlets to hot deploy (as in when I save changes to the servlet, weblogic sees these changes) using an exploded deployment. However, when I save changes to an ejb impl file, weblogic is not seeing the change, forcing me to manually redeploy. Is there a way to make this work seamlessly so that I don’t have to manually redeploy changes to ejbs jars/utility jars inside of the ear?
Also, with an exploded deployment, manual redeploys are failing because weblogic seems to be locking a file. The error is “it could not be completely removed in the undeployment phase”. I am then forced to restart weblogic. Is there a way around this?
Please note that when I use an exploded deployment, weblogic does not see the deployed application until I deploy the ear file through the weblogic admin console.
Here is my MyEclipse setup.
*** Date: Thu Jun 07 17:02:26 EDT 2007*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_07*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0.1 GA
Build id: 20060810-5.0.1-GAEclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\program files\Eclipse 3.2\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
c88_78
-product
com.genuitec.myeclipse.product.ide
-vm
C:\WINDOWS\system32\javaw.exe
Loyal WaterMemberYou likely need to deploy first a packaged version of your project, then login into your WebLogic admin console and “deploy” or “install” the application into your app server, this will generate all the stubs for your EJBs. After that you can shut down your app server, remove the packaged deployment and recreate an exploded one, that will “overlay” your existing files and give you hot syncing.
lbonill915MemberThank you for your quick response. What you have suggested did not work. It looks like when I make a small change to an ejb, the ejb jar is not being copied to the weblogic folder. Also, when I try to redeploy manually from MyEclipse, I still get the weblogic file locking error.
Loyal WaterMemberIt looks like when I make a small change to an ejb, the ejb jar is not being copied to the weblogic folder.
Did you try the Packaged Archive (production mode) deployment ?
Here is a thread that answers the weblogic Hot deployment issue similar to the one you are facing. Can you go through this thread to see if it helps.
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10155.htmlLet me know if you still face the same issue.
-
AuthorPosts