Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Attn Kyle,Problem with classpath(Urgent)

 
Ravi Kumar Ravuru
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ravi Kumar Ravuru
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Kyle,
Please respond quickly as this problem is hindering my project.
Thanks in advance.
Ravi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic