You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicholas Grabowski <ni...@schwab.com> on 2003/01/27 23:20:49 UTC
TilesPlugin : factory already exists/no hot deploy
I am trying to "hot deploy" struts action classes, forms, etc. on a
running weblogic server 6.1 (compile the classes and use them without
restarting the server). However, quite often (although not always) I
get the following error. It seems that if I've already used the action
in question, and then change the code, recompile it, and test the same
scenario (a request for a page that causes an action to be used) then
the server throws this error. Is what I'm trying to do even possible
with struts/tiles? Or does it require a restart before it can use
changed class files? Could this be a classloader issue? THat would be
first guess since I doubt Tiles or struts decides when and if to rreload
a class? But if this is the case, why is struts throwing the null
pointer exception?
Thanks
Nick
<Jan 27, 2003 2:05:52 PM PST> <Info> <HTTP>
<[WebAppServletContext(7361676,spmwebapp,/spmwebapp)] action: init>
Info - TilesPlugin : factory already exists. No new creation.
<Jan 27, 2003 2:05:59 PM PST> <Info> <HTTP>
<[WebAppServletContext(7361676,spmwebapp,/spmwebapp)] action: Info -
TilesPlugin : factory already exists. No new creation.>
<Jan 27, 2003 2:05:59 PM PST> <Error> <HTTP>
<[WebAppServletContext(7361676,spmwebapp,/spmwebapp)] Servlet failed
with Exception
java.lang.NullPointerException
at
org.apache.struts.action.RequestProcessor.processPath(RequestProcessor.java:728)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:212)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>