• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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?
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic