Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to get hotswap with Eclipse 3.5 and WebLogic 10.1?
How to get hotswap with Eclipse 3.5 and WebLogic 10.1? [message #484929] Wed, 09 September 2009 18:23 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 801
Registered: July 2009
Senior Member
I'm trying to get hotswap working between Eclipse 3.5 and WebLogic 10.1.

There are defined startup parameters for WebLogic to enable hotswap, and when I do that with a non-Eclipse startup of WebLogic, I get the command-line parameters on the JVM that I expect, which are:

-javaagent:C:\bea\WLSERV~1.0\server\lib\diagnostics-agent.ja r

When I connect to this JVM from the debugger, debugging works fine, but when I tried a simple change near my breakpoint and saved it, and then retested, it didn't appear to incorporate my change.

If I then create a server in the Servers view, specifying the same domain, I can start it and connect from the debugger, but I also do not see the hotswap behavior work. I also don't see the previous command-line option on the JVM command line, which isn't surprising, as the way you specify a server in Eclipse doesn't allow any customization of the startup command line.
Re: How to get hotswap with Eclipse 3.5 and WebLogic 10.1? [message #484973 is a reply to message #484929] Thu, 10 September 2009 04:12 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
David M. Karr wrote:
> I'm trying to get hotswap working between Eclipse 3.5 and WebLogic 10.1.
>
> There are defined startup parameters for WebLogic to enable hotswap, and
> when I do that with a non-Eclipse startup of WebLogic, I get the
> command-line parameters on the JVM that I expect, which are:
>
> -javaagent:C:\bea\WLSERV~1.0\server\lib\diagnostics-agent.ja r
>
> When I connect to this JVM from the debugger, debugging works fine, but
> when I tried a simple change near my breakpoint and saved it, and then
> retested, it didn't appear to incorporate my change.
>
> If I then create a server in the Servers view, specifying the same
> domain, I can start it and connect from the debugger, but I also do not
> see the hotswap behavior work. I also don't see the previous
> command-line option on the JVM command line, which isn't surprising, as
> the way you specify a server in Eclipse doesn't allow any customization
> of the startup command line.
Server launch configurations are created in the Run/Debug dialog like
other launches. You can open up the dialog, select your server and set
the arguments on the Arguments tab.
Re: How to get hotswap with Eclipse 3.5 and WebLogic 10.1? [message #485133 is a reply to message #484973] Thu, 10 September 2009 15:25 Go to previous message
David M. Karr is currently offline David M. KarrFriend
Messages: 801
Registered: July 2009
Senior Member
Dpwegener.gmail.com wrote on Thu, 10 September 2009 00:12
David M. Karr wrote:
> I'm trying to get hotswap working between Eclipse 3.5 and WebLogic 10.1.
>
Server launch configurations are created in the Run/Debug dialog like
other launches. You can open up the dialog, select your server and set
the arguments on the Arguments tab.

I managed to get this working, but it wasn't quite this simple. The launch configuration dialog in run configurations doesn't have an "Arguments" tab like most run configurations. The only thing I could do was change the name of the start script. Fortunately, I realized I could just create a new start script that calls the original start script, but sends my additional arguments.
Previous Topic:ant build properties to extend global properties
Next Topic:Problem With JUnit In Galileo
Goto Forum:
  


Current Time: Wed Apr 24 23:51:31 GMT 2024

Powered by FUDForum. Page generated in 0.02753 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top