I need create a simple script dfc that allows me to test if it's running JMS
Something help me, please...
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Use the TestConnection class as follows
It is present in the server-impl.jar file. On UNIX, the command line syntax is:java TestConnection host port servlet
On Windows, the command line syntax is:java TestConnection host port
where host is the Java Method Server (JVM) host machine;
port is the port the JVM is using;
and servlet is the value in dm_server_config.app_server_name that represents the JVM.
On UNIX, the return value is recorded in the variable $?. On Windows, the return value is recorded in %ERRORLEVEL%.
Reference: Page 590 of CS admin guide 6.5
http://<JMS Server>:9080/DmMethods/servlet/DoMethod will return
"Documentum Java Method Server" if it us running.
Thanks, but i need that it is a scipt...
the idea is configure Task Scheduler that execute each one hour...
Write a java method that calls the url and create a job to execute the server method on the hour.
Thanks all,
prabhu TestConnection class is the that I wanted