• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Deployment with JARS

 
Tom Marrs
Author
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic