Thanks for the quick answer! Checked the weblogic docs and changing SHUTDOWN to FORCESHUTDOWN should work.
How do i apply your patch to my cactus distrubution? regards, Kristoffer > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: den 28 april 2004 12:32 > To: 'Cactus Users List' > Subject: RE: weblogic forceshutdown > > > Hi Kristoffer, > > Thanks for the praise (always appreciated!). > > For wl7.x shutdown, here's what we use: > > public final void shutDown() > { > Java java = createJavaForShutDown(); > > File serverDir = new File(this.dir, "server"); > > Path classpath = java.createClasspath(); > classpath.createPathElement().setLocation( > new File(serverDir, "lib/weblogic_sp.jar")); > classpath.createPathElement().setLocation( > new File(serverDir, "lib/weblogic.jar")); > > java.setClassname("weblogic.Admin"); > java.createArg().setValue("-url"); > java.createArg().setValue("t3://localhost:" + getPort()); > java.createArg().setValue("-username"); > java.createArg().setValue("weblogic"); > java.createArg().setValue("-password"); > java.createArg().setValue("weblogic"); > java.createArg().setValue("SHUTDOWN"); > java.execute(); > } > > If you can provide a patch to force the shutdown, I'll be > happy to apply > it. I don't think we need 2 ways to stop WL7.x. Always using the force > shutdown should be ok. > > Thanks > -Vincent > > > -----Original Message----- > > From: Kristoffer Sj�gren (HF/EAB) > [mailto:[EMAIL PROTECTED] > > Sent: 28 April 2004 09:54 > > To: '[EMAIL PROTECTED]' > > Subject: weblogic forceshutdown > > > > Hi, > > > > First i would like to thank all of those contributing to this great > > testing framework, it really helped me alot in many ways. > Keep up the > good > > work! > > > > To my problem, the <cactus> task, more specific <weblogic7x>. My > problem > > is that when all tests are finished, cactus tries to do a graceful > > shutdown of weblogic. Problem with this is that it takes an > awful lot > of > > time for it to clean up sessions and wait for other stuff to > > finish/invalidate. So i would like to have it to do a > forceshutdown of > > weblogic since im not really intrested if some sessions > etc. get lost > when > > all tests are finished. Is it possible to do this from cactus? > > > > regards, > > Kristoffer > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
