Thank you, Paul.  I appreciate it.  We will upgrade to the latest
version of Struts.

Thanks,
 
 
 
Matt King
eBusiness Enterprise Production Services
859-816-3892

-----Original Message-----
From: Paul Benedict [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 12, 2006 4:12 AM
To: King, Matt; [email protected]
Subject: Re: Struts Tiles Issue

The keywords to your problem are "Weblogic" and "restart".
Here's documentation for the RedeployableActionServlet:

>> WebLogic (at least v6 and v7) attempts to serialize the
TilesRequestProcessor when re-deploying
the Webapp in development mode. The TilesRequestProcessor is not
serializable, and loses the Tiles
definitions. This results in NullPointerException and/or
NotSerializableException when using the
app after automatic redeploy.... The attached class extends the
Struts Action servlet and fixes
the problem by reloading the Tiles definitions when they have
disappeared. 

http://struts.apache.org/struts-doc-1.2.4/api/org/apache/struts/acti
ons/RedeployableActionServlet.html

This class appeared in Struts 1.2.1. You can:
(1) upgrade to Struts 1.2.4 (first 1.2 GA)
(2) extract the binary and try to use it in 1.1.

Paul

--- "King, Matt" <[EMAIL PROTECTED]> wrote:

> I was wondering if you could help me out.  We have a few different
> weblogic 6.1 environments, running SP4.  Over the past few months,
> each of these environments have been experiencing an issue which
is
> producing server 500 errors for the customers.  The following
error
> is produced in weblogic.  Threads and memory all seem fine when
this
> issue occurs.  It can be resolved with the restart of weblogic
> services.  We are currently using Struts 1.1.  Do you have any
ideas
> on where we can proceed?
> 
>  
> 
> java.lang.NullPointerException
> 
>             at
>
org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrappe
> r.getDefinition(ComponentDefinitionsFactoryWrapper.java:124)
> 
>             at
>
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition
> (TilesRequestProcessor.java:180)
> 
>             at
>
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(T
> ilesRequestProcessor.java:309)
> 
>             at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.j
> ava:279)
> 
>             at
>
org.apache.struts.action.ActionServlet.process(ActionServlet.java:14
> 82)
> 
>             at
>
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 
>             at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 
>             at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
>             at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
> mpl.java:262)
> 
>             at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
> mpl.java:198)
> 
>             at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
> ervletContext.java:2637)
> 
>             at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
> mpl.java:2359)
> 
>             at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> 
>             at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
>  
> 
> Thanks,
> 
>  
> 
>  
> 
>  
> 
> Matt King
> 
> eBusiness Enterprise Production Services
> 
> 859-816-3892
> 
>  
> 
> 
> 
> CONFIDENTIALITY NOTICE: This e-mail message, including any
attachments, 
> is for the sole use of the intended recipient(s) and may contain
confidential
> and privileged information or otherwise protected by law.  Any
unauthorized
> review, use, disclosure or distribution is prohibited.  If you are
not the
> intended recipient, please contact the sender by reply e-mail and
destroy
> all copies of the original message.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain confidential
and privileged information or otherwise protected by law.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.

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

Reply via email to