• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Deployment with JARS  RSS feed

Tom Marrs
Ranch Hand
Posts: 67
  • 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.

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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!