United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4482166 ServerTool wrapper doesn't accept the register command in one shot
JDK-4482166 : ServerTool wrapper doesn't accept the register command in one shot

Details
Type:
Bug
Submit Date:
2001-07-20
Status:
Closed
Updated Date:
2004-01-21
Project Name:
JDK
Resolved Date:
2004-01-21
Component:
other-libs
OS:
solaris_7
Sub-Component:
corba:idl
CPU:
sparc
Priority:
P3
Resolution:
Won't Fix
Affected Versions:
1.4.0
Fixed Versions:

Related Reports

Sub Tasks

Description
ServerTool doesnot accept a server register command in one line, instead it needs to be started first with ServerTool -ORBInitialPort <port> and then register the server in the ServerTool prompt. This is inconvenient if we have to register the server from the Makefile.

A command like
$(SERVERTOOL) -ORBInitialPort $(ORB_INITIAL_PORT) register -server Persi
stentServer -applicationName s1 -class /home/hemanth/PersistentServer 

should work.


******************************************************************************
###@###.### 2002-01-28

This bug is preventing us from using the servertool wrapper for our SAF (tests/product/poa/saf) tests. Since we have a large no. of tests, the workaround of manually starting the servertool and registering the server is very time consuming. 
We are currently running the tests using the Servertool class and it works fine. But for SE builds we are supposed to be using the wrapper. A quick fix would help us start using the wrapper for testing the SE builds. 

******************************************************************************

                                    

Comments
EVALUATION

Will fix it for Tiger.


###@###.### 2001-09-27

This seems to be a popular bug to fix, as 1.4.2 bug fix window is closed. Here's
a workaround that people can use to get around the ServerTool Wrapper not
accepting a long command. Use the class directly instead of the wrapper.
Please note that this is the workaround for the release of 1.4.*, the name of the class may change in future 1.5.* and up releases.

The template to use the Servertool class is
---
${JAVA_HOME}/bin/java com.sun.corba.se.internal.Activation.ServerTool
-ORBInitialPort ${ORB_INITIAL_PORT} -cmd register -server
sample.MyServer -classpath jar1:jar2:jar3 -applicationName sample
---



###@###.### 2002-12-05
                                     
2002-12-05
PUBLIC COMMENTS

This seems to be a popular bug to fix, as 1.4.2 bug fix window is closed. Here's
a workaround that people can use to get around the ServerTool Wrapper not
accepting a long command. Use the class directly instead of the wrapper.
Please note that this is the workaround for the release of 1.4.*, the name of the class may change in future 1.5.* and up releases.

The template to use the Servertool class is
---
${JAVA_HOME}/bin/java com.sun.corba.se.internal.Activation.ServerTool
-ORBInitialPort ${ORB_INITIAL_PORT} -cmd register -server
sample.MyServer -classpath jar1:jar2:jar3 -applicationName sample
---
                                     
2004-06-10
WORK AROUND

This seems to be a popular bug to fix, as 1.4.2 bug fix window is closed. Here's
a workaround that people can use to get around the ServerTool Wrapper not
accepting a long command. Use the class directly instead of the wrapper.
Please note that this is the workaround for the release of 1.4.*, the name of the class may change in future 1.5.* and up releases.

The template to use the Servertool class is
---
${JAVA_HOME}/bin/java com.sun.corba.se.internal.Activation.ServerTool
-ORBInitialPort ${ORB_INITIAL_PORT} -cmd register -server
sample.MyServer -classpath jar1:jar2:jar3 -applicationName sample
---
                                     
2004-06-11



Hardware and Software, Engineered to Work Together