Hi,
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
cations\.wl_temp_do_not_delete\wl_local_comp62980.war;C:\bea\wlserver6.0\.\config\mydomain\applicati
ons\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_MyWebApp'
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:532)
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?
Steve