Skip to main content
1-Visitor
December 23, 2010
Question

Windchill services start up?

  • December 23, 2010
  • 6 replies
  • 1112 views

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

1-Visitor
December 23, 2010
have a service listen on the
*/wt.service.StandardManagerServiceEvent/ALL_SERVICES_STARTED event ...

1-Visitor
December 23, 2010
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
12-Amethyst
December 23, 2010
You want to avoid pinging/polling wherever possible. In this case one
can listen for an event or run as a load object.

1-Visitor
December 23, 2010
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
Selva1-VisitorAuthor
1-Visitor
December 25, 2010

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

Selva1-VisitorAuthor
1-Visitor
December 25, 2010

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.