atg.servlet.DynamoHttpServletRequest cannot be cast to atg.servlet.DynamoHttpServletRequest

I am always getting the below Exception when i deploy
any modifications in my Project using runAssembler.bat,
this issue occurs only when the  Jboss Server
is running while deploying the changes.

java.lang.ClassCastException: atg.servlet.DynamoHttpServletRequest cannot be cast to atg.servlet.DynamoHttpServletRequest
    at atg.servlet.DynamoServlet.service(DynamoServlet.java:126)
    at atg.taglib.dspjsp.DropletTag.invokeServlet(DropletTag.java:377)
    at atg.taglib.dspjsp.DropletTag.doAfterBody(DropletTag.java:666)
    at org.apache.jsp.en.catalog.share_jsp._jspService(share_jsp.java:291)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java


As per me the fix is stop the Server,Clean and Start again.Its working :),otherwise stop the Server before deploying and start again.But this behaviour can be changed from the Scripts also.
See modifications in Scripts as well.

Comments

Popular posts from this blog

BCC site status inaccessible Agent Production in error state

Weblogic Issues during EAR Deployment Exception in AppMerge flows progression

Add a shopping cart button to the product page