facebook

WebLogic 8.1 Hot Deploy

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #271253 Reply

    lbonill915
    Member

    My 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 Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0.1 GA
    Build id: 20060810-5.0.1-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse 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

    #271278 Reply

    Loyal Water
    Member

    You 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.

    #271284 Reply

    lbonill915
    Member

    Thank 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.

    #271290 Reply

    Loyal Water
    Member

    It 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.html

    Let me know if you still face the same issue.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: WebLogic 8.1 Hot Deploy

You must be logged in to post in the forum log in