Re: Issue 3230 in selenium: selenium hub not getting stoped using lifecycle-manager

3 views
Skip to first unread message

sele...@googlecode.com

unread,
Jun 4, 2012, 8:24:23 AM6/4/12
to selenium-develope...@googlegroups.com
Updates:
Labels: -Type-Defect Type-Enhancement

Comment #2 on issue 3230 by barancev: selenium hub not getting stoped using
lifecycle-manager
http://code.google.com/p/selenium/issues/detail?id=3230

(No comment was entered for this change.)

sele...@googlecode.com

unread,
Jun 4, 2012, 12:51:18 PM6/4/12
to selenium-develope...@googlegroups.com

Comment #3 on issue 3230 by rakesh.d...@gmail.com: selenium hub not getting
this feature was working correctly till 1.0.08. so is it wise to say this a
enhancement???

sele...@googlecode.com

unread,
Jun 4, 2012, 1:09:04 PM6/4/12
to selenium-develope...@googlegroups.com
Updates:
Labels: GettingInvolved

Comment #4 on issue 3230 by barancev: selenium hub not getting stoped using
lifecycle-manager
http://code.google.com/p/selenium/issues/detail?id=3230

Technically, yes :)

Grid2 is a new implementation, written from scrath. We want to make it as
backward-compatible as possible. Lifecycle manager is a new feature to be
implemented in Grid2, it has to be written yet. That's the meaning
of "Enhancement" issue type.

If you insist, I can change it back to "Defect" but it will not change the
essence -- this is a new feature for Grid2.

sele...@googlecode.com

unread,
Jun 5, 2012, 1:24:43 AM6/5/12
to selenium-develope...@googlegroups.com

Comment #5 on issue 3230 by rakesh.d...@gmail.com: selenium hub not getting
No i don't have any issue to make this a defect instead of enhancement.
Thats alright. i just wanted to understand why it is moved to enhancement.
Got the answer. currently i have implemented this using ant target. i
searched for java thread and kill that using kill on linux. but as per me
this is not a graceful shutdown.

=================
<target name="stop-hub">
<property environment="env"/>
<exec executable="${env.JAVA_HOME}/bin/jps" output="pid.out.file">
<arg value="-m"/>
</exec>
<loadfile srcfile="pid.out.file" property="pid.out">
<filterchain>
<linecontains>
<contains value="agent.json"/>
</linecontains>
<replaceregex pattern="2.15.0" replace="world"/>
<replaceregex pattern="-role" replace="abc"/>
<replaceregex pattern="hub" replace="abc"/>
<replaceregex pattern="-hubConfig" replace="abc"/>
<replaceregex pattern="hub.json" replace="abc"/>
<tokenfilter>
<deletecharacters chars='selenium-server-standalone-world.jar'/>
<deletecharacters chars='abc'/>
<trim/>
<!--ignoreblank/-->
</tokenfilter>
<striplinebreaks/>
</filterchain>
</loadfile>
<echo>Killing Selenium hub java process with PID - "${pid.out}"</echo>
<exec executable="kill">
<arg value="-9"/>
<arg value="${pid.out}"/>
</exec>
<delete file="pid.out.file"/>
</target>
========================

sele...@googlecode.com

unread,
Jun 19, 2012, 5:34:57 PM6/19/12
to selenium-develope...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 3230 by barancev: selenium hub not getting stoped using
lifecycle-manager
http://code.google.com/p/selenium/issues/detail?id=3230

This issue was closed by revision r17215.

Reply all
Reply to author
Forward
0 new messages