facebook

Do you always need to restart weblogic? [Closed]

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

    isho
    Member

    Is there anyway to set things up so you don’t have to restart weblogic every time you make a change to a java class? It’s kind of a pain.

    I’m using weblogic 8.1 and struts 1.1

    Thanks,
    ishmael

    #217608 Reply

    Riyad Kalla
    Member

    <post erased to avoid confusion>

    #217612 Reply

    Scott Anderson
    Participant

    Riyad,

    You gave the answer for *WebSphere* not *WebLogic*.

    Ishmael, for Weblogic, simply deploy your application in “exploded” format. Once you’ve done this, all your changes will by sync’ed to your running application. This include JSP changes as well as Java changes that fall within the limits of the JPDA spec (see examples here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-439-highlight-debugger+shape+class.html). For changes to struts config files and the like, you’ll still need to force WebLogic to reload your application. This can be done by restarting it, which is very time consuming, or simply adding a file called REDEPLOY under your WEB-INF directory and “touching” it inside MyEclipse. WebLogic should detect the change and completely reload your application.

    Also, don’t forget to enable JSP debuggging as shown here:
    http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-18.html#97

    #217721 Reply

    isho
    Member

    Thanks,

    That REDEPLOY file trick is what I needed… that and I can’t wait for a better JPDA spec. =)

    Ishmael

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Do you always need to restart weblogic? [Closed]

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