Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client Error

Status
Not open for further replies.

michaelkrauklis

Programmer
Dec 5, 2001
226
US
I'm trying to write a client that interfaces with a WebSphere instance and I'm getting the following error:

Code:
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr

This is coming from the code:
Code:
            ResourceBundle rbConnectionProperties = ResourceBundle
                    .getBundle(CONNECTION_PROPERTIES);
            String sEnv = System.getProperty(ENV_KEY);
            pConnProps.put(Context.INITIAL_CONTEXT_FACTORY,
                    "com.ibm.websphere.naming.WsnInitialContextFactory");

            String sConnStr = ":"
                    + rbConnectionProperties.getString(VERSATA_HOST_KEY + sEnv)
                    + ":"
                    + rbConnectionProperties.getString(VERSATA_PORT_KEY + sEnv);
            
            ms_lLogger.info(sConnStr);

            pConnProps.put(javax.naming.Context.PROVIDER_URL, sConnStr);

            InitialContext ic = new InitialContext(pConnProps);

The only thing I could find in the WebSphere documentation about this error is that it's a security issue, that I don't have permissions on the server. I get the same error, however, even when I change the URL so it's invalid, so I don't think it has to do with the Server. Has anyone experienced anything like this before? Any help would be greatly appreciated.

MYenigmaSELF:-9
myenigmaself@myenigmaself.gaiden.com
"If debugging is the process of removing bugs, then programming must be the process of putting them in." --Dykstra
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top