Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Inclusion of .ear files in classpath

843841Jan 20 2005 — edited Mar 16 2005
Hi,
I developed some ebjs and put them into a jar and then into a ear file, deployed the ear file on weblogic 7.0 server. I added the .ear file into classpath and tried to access my ejbs using a servlet. But the servlet reported ObjectNotFoundException. So changed the classpath to use the jar file (which is a part of the ear file). It worked.

My question is why can't we use .ear files in classpath?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2005
Added on Jan 20 2005
2 comments
362 views