Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Servlets NOT working, .....very strange.

Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a jsp that calls a servlet. It works.
Ok, then I modify the servlet code a bit, nothing major. I take the class file, put it into my .war file (overwriting the original servlet.class file) and put that into my ear. Not my ear really, my .ear file.
The error I get from the Weblogic server confuses me, it states:
javax.servlet.ServletException: Servlet class: 'com.mycompany.document.DocServlet' could not be lo
aded - the requested class wasn't found in the classpath: 'C:\bea\wlserver6.0\config\mydomain\appli
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
If I copy the old servlet back in to the .war it works fine. What is all this tmp folder stuff? Can't I just modify a java file, compile it and put the class file in the .war file??? If not, what is the best practice if you have to modify a servlet and then get the newer version of servlet to work in Weblogic?
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic