The WebSphere Control Program tool gets a MalFormedURL error when accessing a property file
 Technote (FAQ)
 
Problem
When enabling security with the WebSphere Control Program tool, you can either use the default sas.client.props file or you can create a client property file just for the tool (for example: sas.wscp.props). If you create a WebSphere Control Program client property file, you need to modify your .wscprc file to point to it.
 
Cause
If the URL pointing to the WebSphere Control Program client property file is not in the correct format, the following errors are displayed:

> /usr/WebSphere/AppServer/bin/wscp.sh -p .wscprc
[2/19/02 16:13:03:733 CST] 7e6d073a ORBRas W
com.ibm.CORBA.iiop.ClientStyleProperties loadPropertiesFile
P=383495:O=0:CT JORB0010: Attempted to
construct ClientStyleProperties from MalFormedURL.
URL=/usr/WebSphere/AppServer/properties/sas.wscp.props Processing continues using
the default property values.
com.ibm.ejs.sm.client.RepositoryOpException: RemoteException occurred in
server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
com.ibm.websphere.csi.CSIException: SECJ0053E: Authorization
failed
for
/UNAUTHENTICATED while invoking (Home)ejsadmin/homes/ClientAccessHome
create:0 securityName: /UNAUTHENTICATED;accessID: UNAUTHENTICATED is not
granted any
of the required roles: AdminRole at
com.ibm.ejs.sm.ejscp.ClientRepository.<init>(ClientRepository.java:152)
at com.ibm.ejs.sm.ejscp.EjscpExtension.init(EjscpExtension.java:126)
====================================================================
 
Solution
The URL must be of the format:

com.ibm.CORBA.ConfigURL=file:///<path to property file>

On UNIX platforms, add the following line to your .wscprc file:

com.ibm.CORBA.ConfigURL=file:///usr/WebSphere/AppServer/properties/sas.wscp.props

On Windows platforms, add the following line to your .wscprc file:

com.ibm.CORBA.ConfigURL=file:///C:/WebSphere/AppServer/properties/sas.wscp.props

Alternatively, if you are not using a WebSphere Control Program profile (.wscprc file), you can specifiy the new properties file directly on the Java command line in your wscp.bat (or .sh) file.

For example:

Dcom.ibm.CORBA.ConfigURL=file:///C:/WebSphere/AppServer/properties/sas.wscp.props

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Console (all non-scripting)
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1049628
IBM Group: Software Group
Modified date: Jan 8, 2004