File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Reading class files from a war Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading class files from a war" Watch "Reading class files from a war" New topic

Reading class files from a war

Radha Damera
Ranch Hand

Joined: Oct 31, 2000
Posts: 35

I have a question about reading class files from war file. My situation is - I am starting a java process in a shell script (in UNIX).
This process starts a thread that reads messages from MQ, so to process the MQ messages, I need a number of class files that i already have
in a war file. But for some reason, my process is not reading from war file. Instead if i physically paste all the class files in a directory, it is working.

So how to read class files from a war file.I have the path of the war file in the classpath, but still it is unable to read.

Hope Iam clear.

I agree. Here's the link:
subject: Reading class files from a war
It's not a secret anymore!