NoClassDefFoundError under Sun ONE 7.0

Z

zeron

Hello There!

I am trying to deploy and run an existing application under Java
System App Server 7.0 (SUN-ONE app server 7.0)
No luck till now!
After too much experimenting and reading, I could deploy the
application, but could not make it run.

I'm deploying via single EAR file which contains the ejbs (in jar
files) and a single web app (in a war file).
simple enough.
So my ear file's contents are something like this:

- my-app.ear
- ejb1.jar
- ejb2.jar
- ejb3.jar
- my-web-app.war
- meta-inf/application.xml

The war file does deploy, no problems here.

In addition to this ear file, I have a bunch of utility common
classes, which include jsp custom tag classes too.
Since there will be more than one application deployed, I do not want
to include these classes in each ear file,
so I placed them in the "server1/lib" folder (my-common.jar), under
the S1 installation. So according to the docs, the "Common Class
Loader" of the app server will be responsible for loading all the
classes here.
One of these classes is responsible for lookup and caching of the ejb
homes.

Now, when I try to access the app (web-based), I get the
NoClassDefFoundError exception.
The "missing" class missing is a the "Home" interface class of one of
the ejbs. Let's say "Ejb1Home.class" by refering to the my-app.ear
above.
How come that the app server is not picking up this class??

Any suggestions?? Do I need to change any settings anywhere??
Thank you in advance!!


Environment:
- Windows 2000 server
- JDK 1.4.1
- Sun ONE Application Server 7.0


Zeron Aintablian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,069
Latest member
SimplyleanKetoReviews

Latest Threads

Top