You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sagar Sharma <sa...@yahoo.com> on 2012/01/19 06:37:34 UTC

Hot Deployment Problem in Struts and Weblogic

Hi, 

I am using My Eclipse 6.0.1 with Weblogic Server 10.3.5 and Struts -1.1. I
am facing a problem with hot deployment. When i save any change in the
action class with the server on and hit the url(*.do), i am getting the
below mentioned exception. I have to restart the server every time i make
any change in the action class.


<Jan 18, 2012 2:42:29 PM IST> <Error> <HTTP> <BEA-101020>
<[ServletContext@12489066[app:_appsdir_pimsear_dir module:/pims path:/pims
spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
      at
org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1118)
      at
org.apache.struts.action.SecureTilesRequestProcessor.processPreprocess(SecureTilesRequestProcessor.java:111)
      at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:184)
      at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
      at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      Truncated. see log file for complete stacktrace
> 


--
View this message in context: http://struts.1045723.n5.nabble.com/Hot-Deployment-Problem-in-Struts-and-Weblogic-tp5156853p5156853.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Hot Deployment Problem in Struts and Weblogic

Posted by mp <mi...@gmail.com>.
Hi ,

were you able to find a solution to this issue, pls. let me know if yes.

Thanks,
Mihir



--
View this message in context: http://struts.1045723.n5.nabble.com/Hot-Deployment-Problem-in-Struts-and-Weblogic-tp5156853p5711562.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Hot Deployment Problem in Struts and Weblogic

Posted by Sagar Sharma <sa...@yahoo.com>.
Hi,

Yes when i make any change in the DAO classes then everything works fine and
the server picks up the latest changes without requiring a restart. It is
only with the action class that the mentioned exception comes up. 

Regards,
Sagar Sharma

--
View this message in context: http://struts.1045723.n5.nabble.com/Hot-Deployment-Problem-in-Struts-and-Weblogic-tp5156853p5165245.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Hot Deployment Problem in Struts and Weblogic

Posted by mp <mi...@gmail.com>.
Hi Jeff,


Pls. let me know if you have a solution and would like to help me out.

Thanks,
mp



--
View this message in context: http://struts.1045723.n5.nabble.com/Hot-Deployment-Problem-in-Struts-and-Weblogic-tp5156853p5711563.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Hot Deployment Problem in Struts and Weblogic

Posted by Jeffrey Black <je...@gmail.com>.
Did you happen to test a non-Struts app too?

Jeff Black
Follow me on Twitter: @jeffblack360



On Jan 18, 2012, at 11:37 PM, Sagar Sharma <sa...@yahoo.com> wrote:

> Hi, 
> 
> I am using My Eclipse 6.0.1 with Weblogic Server 10.3.5 and Struts -1.1. I
> am facing a problem with hot deployment. When i save any change in the
> action class with the server on and hit the url(*.do), i am getting the
> below mentioned exception. I have to restart the server every time i make
> any change in the action class.
> 
> 
> <Jan 18, 2012 2:42:29 PM IST> <Error> <HTTP> <BEA-101020>
> <[ServletContext@12489066[app:_appsdir_pimsear_dir module:/pims path:/pims
> spec-version:2.5]] Servlet failed with Exception
> java.lang.NullPointerException
>      at
> org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1118)
>      at
> org.apache.struts.action.SecureTilesRequestProcessor.processPreprocess(SecureTilesRequestProcessor.java:111)
>      at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:184)
>      at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>      at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>      Truncated. see log file for complete stacktrace
>> 
> 
> 
> --
> View this message in context: http://struts.1045723.n5.nabble.com/Hot-Deployment-Problem-in-Struts-and-Weblogic-tp5156853p5156853.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org