Skip to main content

Software  >  WebSphere  >  

Software Development Kit ClassLoader Issue

 Flash (Alert)
 
Abstract
ClassNotFoundExceptions from IBM Software Development Kit (SDK) version 6.0 doing LDAP searches.
 
Content
Running certain applications involving the LDAP searches in WebSphere
Application Server V7.0, there may be some ClassNotFoundExceptions thrown
which can affect the performance of the application. These exceptions are
thrown mainly due to missing Sun JDK classes not shipped in IBM Java SDK
V6.0.
To resolve this issue, remove com.sun.jndi.ldap.obj.AttrsToCorba and com.sun.ldap.obj.MarshalledToObject from jndiproviders.properties to avoid
class loading and ClassNotFoundExceptions. This can be done the following
way:

- Go to AppServer\java\jre\lib\ directory and unzip resources.jar
- Then in the file \com\sun\jndi\ldap\jndiprovider.properties delete this line:
java.naming.factory.object=com.sun.jndi.ldap.obj.AttrsToCorba\:com.sun.jndi.
ldap.obj.MarshalledToObject
- Add the modified file back to the resources.jar


The typical exceptions thrown are shown below:

java.lang.ClassNotFoundException: class com.sun.jndi.ldap.obj.Marshalled
ToObject not found
java.lang.ClassNotFoundException: class com.sun.jndi.ldap.obj.AttrsToCorba
not found


As these property files are designed to be customized, these changes are
permissible to avoid the exceptions.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application ServersWebSphere Application Server for z/OSz/OS7.0
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Application Servers
 Distributed Application & Web Servers
 WebSphere Application Server
 Operating system(s):
  AIX, HP-UX, IBM i, Linux, Solaris, Windows
 Software version:
  7.0
 Software edition:
  Network Deployment
 Reference #:
  1327329
 IBM Group:
 Software Group
 Modified date:
 2009-04-09

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.