• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Attn Kyle,Problem with classpath(Urgent)

 
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
 
author
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
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
 
Nothing? Or something? Like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic