• 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
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Class-Path reference is not working on EAR file.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Does any one has the idea of Why Class-Path is not working on EAR file.
Here is what I am doing:
I am using WebLogic 6.1. I am creating an EAR file which contains EJBs,WebApp and Dependent jars.
As per the j2ee1.3, if you deploy the EAR contains ejbs and webapps it will
create child thread(Webapps) from parent thread(EJB) so that we don't need
to load the same dependent jas in both the places.
So,i'm trying to access the dependent jars from by specifying the following line
in the MANIFEST.MF file
Class-Path=xalan.jar xereces.jar
But its not working when deploying in weblogic6.1.
Thanks and Regards,
Prem
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by prem parchuri:

So,i'm trying to access the dependent jars from by specifying the following line
in the MANIFEST.MF file
Class-Path=xalan.jar xereces.jar


Are your dependent jars defined in the application.xml? What manifest are you setting? It needs to be the manifests for each ejb jar that uses the dependent jars, not the manifest for the ear. Also double-check the case in your manifest files because it is case-sensitive.
Let me know if this helps.
[ November 22, 2002: Message edited by: Chris Mathews ]
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The manifest format is very picky. Use

That's a colon ( not an equals (=).
Also, I think the space after the colon is important.
Make sure, if this is the only thing in your MANIFEST.MF, that it also ends in a newline.
And this goes in the manifest of the EJB jar, not anywhere else.
[ November 22, 2002: Message edited by: Dave Landers ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic