• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

EJB Deployment with JARS

 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic