Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Re: Client connection not establish to server running as NT service

843793Nov 2 2001
Here are instructions for our product that will work for you
SrvAny is a tool found in the Windows NT Resource Kit that is used for running Windows NT applications as services. The following steps show how to set SrvAny to run the WebSphere Translation server as a Windows NT or Windows 2000 service.

Install Srvany.exe as a service by using another tool in the Windows NT Resource Kit, Instsrv.exe. For example:
INSTSRV WTSservice c:\reskit\srvany.exe
Configure the parameters to SRVANY
Start Registry Editor.
Select the following registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WTSservice
With the above key selected, choose Add Key from the Edit menu.
Enter
"Parameters"
(without the quotes) for the key name.
Click the OK button to create this key.
Select the Parameters key created above.
Choose Add Value from the Edit menu.
Enter
"Application"
(without the quotes) for the value name and leave the data type at the default, REG_SZ.
Click the OK button to create this value.
In the String Editor window, enter the string value of
"c:\winnt\system32\cmd.exe"
(without the quotes), for example. You should adjust the path of cmd.exe to your actual Windows NT path.
Click the OK button to add this string to the Application value.
Select the Parameters key created above.
Choose Add Value from the Edit menu.
Enter
"AppParameters"
(without the quotes) for the value name and leave the data type at the default, REG_SZ.
Click the OK button to create this value.
In the String Editor window, enter the string value of
"/c D:& cd D:\IBMWTS& java.exe com.ibm.lt.LTserver wts.properties"
(without the quotes). You should change D: to the drive where you installed IBM WebSphere Translation Server and D:\IBMWTS to the directory where you installed IBM WebSphere Translation Server. Be sure to add quotes (") around paths that have blanks in them. Do not use the WTS "-f" option, as the service cannot be stopped if this option is used. Also, use java.exe, and not javaw.exe.
Click the OK button to add this string to the AppParameters value.
Start or switch to the Control Panel, Services, applet.
Select WTSservice from the list of services.
Click the Start button to start the service.
From this point on, every time you restart Windows NT, the SrvAny service starts WTS.
For more information on the SrvAny tool, see the Tool Overview Help file in the Windows NT Resource Kit and the Srvany.wri Write file.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2001
Added on Nov 2 2001
0 comments
140 views