Hi all,

I'm using wl 7.0, struts 1.1b w/ tiles. Here is my problem:

1. Make request of an action that forwards to a jsp and it is successful
2. Change the action source code, recompile it, and "hot-deploy" it to
WEB-INF/classes
3. Make the same request and exceptions are thrown (see below)

If I comment out the tiles plugin in struts config, the hot-deploy works
fine. I need to be able to make small changes to the action classes, compile
them, hot-deploy them (development env only) AND use tiles. Is this
possible? Please note that reloading the webapp does not help. Any help
would be greatly appreciated. Thanks! Here are the exceptions:



Could not deserialize context attribute
java.io.NotSerializableException:
org.apache.struts.tiles.TilesRequestProcessor
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:9
1)
        at
weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:6
6)
        at
weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletCon
text.java:410)
        at
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.jav
a:829)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1393)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
com.agentnet.filters.ApplicationFilter.doFilter(ApplicationFilter.java:164)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
com.agentnet.filters.LoggingFilter.doFilter(LoggingFilter.java:74)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at com.agentnet.filters.LoginFilter.doFilter(LoginFilter.java:275)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at com.agentnet.filters.SiteFilter.doFilter(SiteFilter.java:264)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5418)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>

Root cause of ServletException java.lang.NullPointerException
        at
org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.getDef
inition(ComponentDefinitionsFactoryWrapper.java:119)
        at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe
questProcessor.java:180)
        at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:302)
        at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProces
sor.java:401)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1393)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)        
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
com.agentnet.filters.ApplicationFilter.doFilter(ApplicationFilter.java:164)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
com.agentnet.filters.LoggingFilter.doFilter(LoggingFilter.java:74)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at com.agentnet.filters.LoginFilter.doFilter(LoginFilter.java:275)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at com.agentnet.filters.SiteFilter.doFilter(SiteFilter.java:264)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5418)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3086)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2544)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to