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

MANIFEST.MF Class-Path Setting

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a war file with the following in WEB-INF/MANIFEST.MF. There is a blank line after the Class-Path setting as required. The war file is contained in an EAR with the two listed utility jars at the root. The JSP pages in my war FAIL to find classes in these jars. Documentation on this setting can be found every where, but it NEVER works. Ideas?
Manifest-Version: 1.0
Class-Path: /foo.jar /bar.jar
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. WebLogic 6.0 doesn't support the classpath in the manifest file (They might have fixed it in sp2 or later).
2. The manifest file belongs in the META-INF directory not WEB-INF.
3. For webapps, you can put the jars in WEB-INF/lib.
 
reply
    Bookmark Topic Watch Topic
  • New Topic