Hi,
First of all, let me say I didn’t post this thread at the MWS page because it gives me an error if I try to create a new thread (the only things that happens is that I see a small img with a blue lock).
The error: sometimes I redeploy a portlet application by just copying the war file to the /deploy dir on MWS. When I try to add the portlet to a page, I get the following error:
java.lang.ClassCastException: com.webmethods.portal.system.impl.URI
at com.webmethods.portal.bizPolicy.command.page.ModifyPage2.create(ModifyPage2.java:183)
at com.webmethods.portal.bizPolicy.command.page.ModifyPage2.modifyPage(ModifyPage2.java:138)
at com.webmethods.portal.bizPolicy.command.page.ModifyPage2.handle(ModifyPage2.java:108)
at com.webmethods.portal.framework.dispatch.handlers.system.CommandHandler.handle(CommandHandler.java:105)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:434)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:367)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webmethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
I also get an occasional error when redeploying the portlet (BEFORE trying to add the portlet to a page), related to some database constraints (some TBL_RELTHING error or so - this table exists withing MWS database).
Does anyone have any idea about the cause of this? Thanks in advance!