• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WEB-INF/classes contents be JAR?

 
Thembile Mzantsi
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can the contents of the WAR file WEB-INF/classes directory contain jars? It seems that if I try to override a class in the lib folder by placing a jar in this this folder it does not quite work.
In 4.0.3 ibm added a new version of ActionServlet in the WEB-INF/classes folder however they did not modify the manifest file in WEB-INF/lib/seadmin_code.jar to include this new path. How do I do this? adding a .class class path in the manifest file? I am getting VerifyErrors as a result, I think?
-thembile
 
Steve Granton
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my experience any JAR file even if it is part of your application should go in the lib folder. The classes folder is just for unjarred classes.
Theoretically, you could unjar all the jars in the lib in to the classes folder and the application would work fine. It would be a fairly pointless exercise though.
Cheers,
Steve
 
Thembile Mzantsi
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the responses,
I upgraded to WAS 5.0 pre-release and I no longer had to deal with this problem.
-thembile.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic