cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Windchill services start up?

Selva
1-Newbie

Windchill services start up?

hello ,

I have a utility class and i need to start automaticallythis utility after method server is getting ready.

how is this possible? how can i get the status of the method serverwhether it is started or not?

anyone have come across this kinf of problem?

--

Selvam

6 REPLIES 6

have a service listen on the
*/wt.service.StandardManagerServiceEvent/ALL_SERVICES_STARTED event ...

ddemay
1-Newbie
(To:Selva)

Use code completion in Eclipse or Netbeans and search codebase. You'll figure it out. There are API's used to ping if servers are running.

Sent from my Verizon Wireless BlackBerry
jessh
5-Regular Member
(To:Selva)

You want to avoid pinging/polling wherever possible. In this case one
can listen for an event or run as a load object.

ddemay
1-Newbie
(To:Selva)

Yeah I didn't mean ping per se. I was referring or hinting at the API's used for it as a place to find helper methods so you can listen for the desired events.


Sent from my Verizon Wireless BlackBerry
Selva
1-Newbie
(To:Selva)

hi

This event i tried many times but in vain. This event will be called when the method server completes all the service loading. That is when all the services get started, this event gets triggered.

But still the method is getting started...

-

simple method to start a main() class after method server is getting ready.???

-

selvam

Selva
1-Newbie
(To:Selva)

Hi dave

I tried to figure out all the helper classes but not able to do it. I am not able to get the helper class.

Listener class definitely would not help in this case, i think.

Announcements

Top Tags