struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: FW: error in new bea
Date Wed, 28 Jul 2004 17:10:50 GMT
My team is experiencing a redeploy problem with JBoss/Tomcat 3.2.5/5.0 
on Windows 2000. I'm not seeing the problem on Red Hat.

On the Windows boxes we are having to restart the server for every 
redeploy. A huge pain. At this point I'm not ready to say we don't have 
something naively set up in the development environment. However, it 
seems that the hot deploy process is failing. Sorry, I don't have a 
stack trace, but the error is thrown by Struts components during 
initialization, and it is a parsing error. A server restart fixes it.

I have also seen an error related to persisting existing sessions during 
hot deploy -- they somehow cannot be reloaded (on Windows only again). 
Both of these issues could be related to file system permissions. Not 
being a Windows person, I don't know. But I'm pretty sure they are not 
the fault of bad developer code.

I would appreciate any tips.

Thanks,
Erik



Velmurugan M wrote:

>In the new weblogic server 81. SP3., I am getting the following error after
>each build. (Wlappc).
>So everytime after doing a build, I need to restart of the server to avoid
>this problem.
>It looks related to Classcast exception of  RequestProcessor. Has anyone
>faced the below problem and is there any good sol.?
>rgds,
>velmuruganm
>
>
>
>
>
>
>  
>
>>Error 500--Internal Server Error	
>>
>>java.lang.ClassCastException: org.apache.struts.action.RequestProcessor
>>at
>>org.apache.struts.action.ActionServlet.getRequestProcessor(Lorg.apache.str
>>uts.config.ModuleConfig;)Lorg.apache.struts.action.RequestProcessor;(Actio
>>nServlet.java:874)  at
>>org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpSer
>>vletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:
>>1480)  at
>>org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServl
>>etRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:50
>>6)  at
>>javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequ
>>est;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)  at
>>javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljava
>>x.servlet.ServletResponse;)V(HttpServlet.java:853)  at
>>weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Lja
>>va.lang.Object;(ServletStubImpl.java:996)  at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.Ser
>>vletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.Filt
>>erChainImpl;)V(ServletStubImpl.java:419)  at
>>weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletReques
>>t;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.
>>java:28)  at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)  at
>>com.tavant.resolve.common.web.security.ResolveFilterImpl.doFilter(Ljavax.s
>>ervlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.Filter
>>Chain;)V(ResolveFilterImpl.java:101)  at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)  at
>>weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
>>()Ljava.lang.Object;(WebAppServletContext.java:6458)  at
>>weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.securit
>>y.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Obje
>>ct;(AuthenticatedSubject.java:321)  at
>>weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.int
>>ernal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSu
>>bject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.
>>java:118)  at
>>weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.ser
>>vlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletRespons
>>eImpl;)V(WebAppServletContext.java:3661)  at
>>weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.Exec
>>uteThread;)V(ServletRequestImpl.java:2630)  at
>>weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(E
>>xecuteThread.java:219)  at
>>weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)  at
>>java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
>>
>>	
>>	
>>
>>
>>
>><Jul 27, 2004 8:07:55 PM GMT+05:30> <Error> <HTTP> <BEA-101309>
>><[ServletContext(id=37595024,name=webapp,context-path=/w
>>ebapp)] could not deserialize the context attribute
>>"com.cc.framework.painter"
>>java.io.NotSerializableException:
>>com.cc.framework.ui.painter.html.HtmlPainterFactory
>>        at
>>java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown
>>Source)
>>        at
>>java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown
>>Source)
>>        at
>>java.util.ArrayList.writeObject(Ljava.io.ObjectOutputStream;)V(ArrayList.j
>>ava:529)
>>        at
>>java.lang.LangAccessImpl.writeObject(Ljava.lang.Class;Ljava.lang.Object;Lj
>>ava.io.ObjectOutputStream;)V(Unknow
>>n Source)
>>        at
>>java.io.ObjectStreamClass.invokeWriteObject(Ljava.lang.Object;Ljava.io.Obj
>>ectOutputStream;)V(Unknown Source)
>>        at
>>java.io.ObjectOutputStream.writeSerialData(Ljava.lang.Object;Ljava.io.Obje
>>ctStreamClass;)V(Unknown Source)
>>        at
>>java.io.ObjectOutputStream.writeOrdinaryObject(Ljava.lang.Object;Ljava.io.
>>ObjectStreamClass;Z)V(Unknown Sourc
>>e)
>>        at
>>java.io.ObjectOutputStream.writeObject0(Ljava.lang.Object;Z)V(Unknown
>>Source)
>>        at
>>java.io.ObjectOutputStream.writeObject(Ljava.lang.Object;)V(Unknown
>>Source)
>>        at
>>weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(Ljava.lang
>>.Object;)[B(AttributeWrapper.java:1
>>36)
>>        at
>>weblogic.servlet.internal.AttributeWrapper.getObject(Z)Ljava.lang.Object;(
>>AttributeWrapper.java:112)
>>        at
>>weblogic.servlet.internal.AttributeWrapper.getObject()Ljava.lang.Object;(A
>>ttributeWrapper.java:69)
>>        at
>>weblogic.servlet.internal.WebAppServletContext.getAttribute(Ljava.lang.Str
>>ing;)Ljava.lang.Object;(WebAppServl
>>etContext.java:615)
>>        at
>>com.cc.framework.ui.painter.PainterFactory.registerApplicationPainter(Ljav
>>ax.servlet.ServletContext;Lcom.cc.f
>>ramework.ui.painter.PainterFactory;)V(Unknown Source)
>>        at
>>com.tavant.resolve.common.web.ResolveCCPlugin.init(Lorg.apache.struts.acti
>>on.ActionServlet;Lorg.apache.struts
>>.config.ModuleConfig;)V(ResolveCCPlugin.java:56)
>>        at
>>org.apache.struts.action.ActionServlet.initModulePlugIns(Lorg.apache.strut
>>s.config.ModuleConfig;)V(ActionServ
>>let.java:1156)
>>        at
>>org.apache.struts.action.ActionServlet.init()V(ActionServlet.java:472)
>>        at
>>javax.servlet.GenericServlet.init(Ljavax.servlet.ServletConfig;)V(GenericS
>>ervlet.java:258)
>>        at
>>weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava.lan
>>g.Object;(ServletStubImpl.java:1018
>>)
>>        at
>>weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.securit
>>y.subject.AbstractSubject;Ljava.sec
>>urity.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
>>        at
>>weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.int
>>ernal.AuthenticatedSubject;Lweblogi
>>c.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedActi
>>on;)Ljava.lang.Object;(SecurityManager.java:11
>>8)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax.servlet.Se
>>rvlet;(ServletStubImpl.java:894)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubIm
>>pl.java:873)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.prepareServlet(Lweblogic.servlet
>>.internal.RequestCallback;)V(Servle
>>tStubImpl.java:812)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.reloadServlet(Lweblogic.servlet.
>>internal.RequestCallback;)V(Servlet
>>StubImpl.java:730)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.checkForReload(Lweblogic.servlet
>>.internal.RequestCallback;)V(Servle
>>tStubImpl.java:695)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.getServlet(Lweblogic.servlet.int
>>ernal.RequestCallback;)Ljavax.servl
>>et.Servlet;(ServletStubImpl.java:539)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.Ser
>>vletRequest;Ljavax.servlet.ServletR
>>esponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java
>>:373)
>>        at
>>weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletReques
>>t;Ljavax.servlet.ServletResponse;Lj
>>avax.servlet.FilterChain;)V(TailFilter.java:28)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletRespon
>>se;)V(FilterChainImpl.java:27)
>>        at
>>com.tavant.resolve.common.web.security.ResolveFilterImpl.doFilter(Ljavax.s
>>ervlet.ServletRequest;Ljavax.servle
>>t.ServletResponse;Ljavax.servlet.FilterChain;)V(ResolveFilterImpl.java:101
>>)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletRespon
>>se;)V(FilterChainImpl.java:27)
>>    
>>
>><Jul 27, 2004 8:07:55 PM GMT+05:30> <Error> <HTTP> <BEA-101020>
>><[ServletContext(id=37595024,name=webapp,context-path=/w
>>ebapp)] Servlet failed with Exception
>>java.lang.ClassCastException: org.apache.struts.action.RequestProcessor
>>        at
>>org.apache.struts.action.ActionServlet.getRequestProcessor(Lorg.apache.str
>>uts.config.ModuleConfig;)Lorg.apach
>>e.struts.action.RequestProcessor;(ActionServlet.java:874)
>>        at
>>org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpSer
>>vletRequest;Ljavax.servlet.http.Htt
>>pServletResponse;)V(ActionServlet.java:1480)
>>        at
>>org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServl
>>etRequest;Ljavax.servlet.http.HttpS
>>ervletResponse;)V(ActionServlet.java:506)
>>        at
>>javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequ
>>est;Ljavax.servlet.http.HttpServlet
>>Response;)V(HttpServlet.java:740)
>>        at
>>javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljava
>>x.servlet.ServletResponse;)V(HttpSe
>>rvlet.java:853)
>>        at
>>weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Lja
>>va.lang.Object;(ServletStubImpl.jav
>>a:996)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.Ser
>>vletRequest;Ljavax.servlet.ServletR
>>esponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java
>>:419)
>>        at
>>weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletReques
>>t;Ljavax.servlet.ServletResponse;Lj
>>avax.servlet.FilterChain;)V(TailFilter.java:28)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletRespon
>>se;)V(FilterChainImpl.java:27)
>>        at
>>com.tavant.resolve.common.web.security.ResolveFilterImpl.doFilter(Ljavax.s
>>ervlet.ServletRequest;Ljavax.servle
>>t.ServletResponse;Ljavax.servlet.FilterChain;)V(ResolveFilterImpl.java:101
>>)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletR
>>equest;Ljavax.servlet.ServletRespon
>>se;)V(FilterChainImpl.java:27)
>>        at
>>weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
>>()Ljava.lang.Object;(WebAppServletC
>>ontext.java:6458)
>>        at
>>weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.securit
>>y.subject.AbstractSubject;Ljava.sec
>>urity.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
>>        at
>>weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.int
>>ernal.AuthenticatedSubject;Lweblogi
>>c.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedActi
>>on;)Ljava.lang.Object;(SecurityManager.java:11
>>8)
>>        at
>>weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.ser
>>vlet.internal.ServletRequestImpl;Lw
>>eblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:
>>3661)
>>        at
>>weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.Exec
>>uteThread;)V(ServletRequestImpl.jav
>>a:2630)
>>        at
>>weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(E
>>xecuteThread.java:219)
>>        at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
>>        at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown
>>Source)
>>
>>    
>>
>
>---------------------------------------------------------------------
>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


Mime
View raw message