Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

ClassNotFound exceptions in WL

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My application is structured like so:

myapp
---- css
---- META-INF
---- WEB-INF
--------classes
--------jsp
--------lib - contains jars

My problem is that whenever I deploy the app through the Weblogic administration console and then access my application I get CNF errors for the classes in the JAR files in lib. If I just drop the war into the appropriate location and restart the server, everything is fine. Is there something I'm doing wrong? I'm using WL 8.1 (unknown SP) with Java 1.4.2_05. I am able able to access JSPs in both instances that do not make reference to classes in the JARs, but once I hit a JSP that does, I'm toast - in the admin console deployed app, that is.

-Rich
 
Greenhorn
Posts: 26
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Couple of suggestions

Stop the weblogic server, delete the folder .wlnotdelete for each server.
Remove the application from your config.xml.

Now start weblogic server, and deploy again from the console, see if you still get the error.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic