Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Jar Files Extracting On Compile

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All of a sudden, my OracleConnectionManager jar file is unzipping and extracting when I compile a class that references the jar file. The jar file has always been in ....tomcat_version/webapps/ROOT/WEB-INF/lib/. I tried moving it jdk_version/jre/lib/ext/, but it is continuing to extract to the classes diretory. My application won't process any servlet or class that uses methods from the OracleConnectionManager jar file when the .class files are in the classes directory. I have tried deleting the unzipped folder, but that doesn't work either. Any ideas? Thanks! Lisa
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds very suspicious to me.
I never heard of such thing before.
How do you compile your classes?
javac
ant
with a IDE? (which?)
 
Lisa Modglin
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I posted this message on four boards and this is the only response I received. Leave it to me to come across something that doesn't happen often. I am compiling with javac. My SysAdmin who doesn't do programming asked if the jar file was associated with a zip utility. It is, so I changed the file association to notepad. This was happening on two different computer. It fixed the problem on one (Windows 2000), but not the other (Windows XP). Is there a better program to associate the jar files with? Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!