facebook

Weblogic Hot Code Replacement error…

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252118 Reply

    Sreenath Gurujala
    Participant

    Hi ,
    When i make some changes to my class file, Hot code replacement does not take place.
    I need to restart the server, this is very annoying and takes lots of time.
    Please help, this is the error i get when i change the code and donot restart..

    My Environment
    Eclipse : 3.1.2 Build id: M20060118-1600
    My Eclipse 4.1.1

    java
    java version “1.4.2_04”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

    Weblogic
    weblogic81sp2

    Please help… this is very important for me . Thanks
    Sreenath

    Error 500–Internal Server Error
    java.lang.ClassCastException
    at org.apache.struts.action.ActionServlet.getProcessorForModule(ActionServlet.java:622)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1190)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    #252143 Reply

    Riyad Kalla
    Member

    Not all changes can be hot code swapped. If you are changing the shape of your class (methods, member vars, etc.) these will fail, you have to restar.t If you are changing the contents of methods or something like that, those should hot swap without error.

    What is the exact error you are seeing?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Weblogic Hot Code Replacement error…

You must be logged in to post in the forum log in