aspose file tools*
The moose likes Websphere and the fly likes Attn Kyle,Problem with classpath(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Attn Kyle,Problem with classpath(Urgent)" Watch "Attn Kyle,Problem with classpath(Urgent)" New topic
Author

Attn Kyle,Problem with classpath(Urgent)

Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello Friends,
I had deployed my application on IBM Websphere Application Server 4.0.1 Advanced Edition for multiplatforms.My application is using a clases of a jar file by name Jimi for generation of graphs which is in the classpath.But am getting the following error
RemoteException occurred in server thread; nested exception is: com.ibm.ejs.container.UncheckedException: ; nested exception is: java.lang.NoClassDefFoundError: com/sun/jimi/core/Jimi
Please help me out.
Thanks in advance.
Ravi
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Which classpath is it in? To use utility Jar files the classes must be included INSIDE the EAR file. Are you using these classes in the WebApplication (in your servlets)? If so, then the jar files should be placed inside the "lib" directory of your WAR file.
Also, according to the Sun web site at http://java.sun.com/products/jimi/ Jimi is explicitly to be used only with JDK 1.1. WebSphere 4.0 runs on Java 2 (JDK 1.3).
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello Kyle,
Thanks for your response.My session beans are using the jar file classes so i kept in the classpath of ejb module.Iam not getting the above mentioned exception always but sometimes only.What might be the reason?
Ravi
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Ravi,
I still don't understand where you put the JAR file. Can you tell me explicitly where the Jimi Jar files are kept (perhaps showing me an expansion of your EJB-JAR file directories?)
Kyle
Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello Kyle,
Jimi jar is added through the Files tab which is at the bottom of the Navigation Pane(left pane of the AAT) which keeps at the same location of ejb jar file and i gave the jimi jar at the classpath of ejb module at Application Assembler Tool of Wesbphere.Hope u understand the directory structure.
Ravi
Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello Kyle,
Please respond quickly as this problem is hindering my project.
Thanks in advance.
Ravi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Attn Kyle,Problem with classpath(Urgent)