WSAdmin -c does not work properly in V5.0 releases
 Technote (troubleshooting)
 
Problem(Abstract)
The $AdminApp, $AdminConfig and $AdminControl comands fail to work with the -c option on AIX® or Sun platforms. You will not see a message about an error or problem in the command prompt and the wsadmin.traceout log will show if they execute "$AdminApp list":

[6/15/04 11:15:14:010 EDT] 51caf578 AbstractShell A WASX7090I: Executing command: " list"
 
Cause
The "$" is a special character on AIX and Sun systems, and is not properly interpreted with the -c command in wsadmin.
 
Resolving the problem
You must add the backslash escape character ( \ ) before the $ to get the command to work properly.

Example:

./wsadmin.sh -c "\$AdminApp list".

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s): Solaris
Software version: 5.0.2.6
Software edition:
Reference #: 1172966
IBM Group: Software Group
Modified date: Aug 16, 2004