Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] how to stop a server by terminating the class started the server


Hi Saminda,

The startServer.bat/sh in WebSphere Application Server creates a second process to start the actual server. To correctly control the server process you have to connect to that process via JMX or use the other admin capabilities of the server. How the server works is outside the scope of this mailing list though, so please contact the WebSphere runtime team directly if you need more information. Alternately, IBM provides several Eclipse and WTP-based tools that already contain server adapters ready for use with WebSphere.

Thanks,
Tim deBoer
deboer@xxxxxxxxxx



From: Saminda Wijeratne <samindaw@xxxxxxxx>
To: "General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
Date: 11/24/2008 12:20 PM
Subject: Re: [wtp-dev] how to stop a server by terminating the class started        the        server





Is there anyway to stop the started jvm in the console when we stop the
server??


Saminda Wijeratne wrote:
> Hi,
>
> I'm trying to use the WSAS server as a runtime server inside eclipse
> as a plugin. In the serverdefinition file I specified the Main class
> which should be run, along with the working directory, vm parameters
> etc. When the plugin is deployed, when I start the server it starts
> correctly as it should. But I have several problems. The WSAS server
> expects that the server ends when the Main class is terminated. There
> is no other class that can be called to stop the server like in the
> Tomcat. In the console if I terminate the currect running class (which
> is the WSAS Main class), the server stops. But I dont know how to do
> this when "stop" is clicked in the server view. The serverdefinition
> file in the stop tag only allows to specify a class to run to stop a
> running server or an external application to run the server. We cannot
> say to terminate the class which is still running when we had clicked
> start/debug.
>
> Any help would be appreciated.
>
> Thank you.
> Saminda
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/wtp-dev
>

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top