File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes EJB Deployment with JARS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "EJB Deployment with JARS" Watch "EJB Deployment with JARS" New topic
Author

EJB Deployment with JARS

Tom Marrs
Author
Ranch Hand

Joined: Sep 20, 2000
Posts: 67
Although I'm experienced with J2EE application servers, I'm new to Oracle 9iAS
and I'm having problems deploying EJBs that depend on JAR files. I'm running version 9.0.4 on Linux. I'm getting the dreaded NoClassDefFound error, so I know it's a CLASSPATH/ClassLoader problem. Here's what I've tried so far:

1) EAR File
Added all JAR files to common JAR file.
Added <java> module to application.xml for the common JAR
Added <library ...> element in orion-application.xml to refere the common JAR.
Added a Manifest.mf file (in the EJB JAR file) that has a Class-Path reference to the common JAR.

2) EJB JAR
Abandoned the common JAR concept completely.
Added all JAR files to EJB JAR file.

I've read all the documentation and thought I was following it. Obviously, I've missed something. Does anyone have any ideas?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Deployment with JARS