Hello Folks,
I have gone through few of the threads here but i did not get solution. If the below issue resolved, please let me know.
“While starting/opening MWS getting some error like ‘java.lang.ClassCastException: com.webMethods.portal.mech.storage.impl.BasicMechanics cannot be cast to com.webMethods.portal.mech.themes.IShellMechanics (500)’ in browser(localhost:8585)”
Below is the error log that is logged.
<log4j:event logger=“org.eclipse.jetty.servlet.ServletHandler” timestamp=“1452250401957” level=“WARN” thread=“qtp970220996-211”>
log4j:message</log4j:message>
log4j:throwable<[size=18]![CDATA[java.lang.ClassCastException: com.webMethods.portal.mech.storage.impl.BasicMechanics cannot be cast to com.webMethods.portal.mech.themes.IShellMechanics
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:266)
at [/size]com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:434)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:705)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:535)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:470)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:110)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:48)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:67)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:26)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.RequestFilter.doFilter(RequestFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.JsfPartialAjaxRequestFilter.doFilter(JsfPartialAjaxRequestFilter.java:77)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at com.webMethods.portal.framework.impl.SpnegoFilterWrapper.doFilter(SpnegoFilterWrapper.java:85)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at com.webMethods.portal.webapp.jetty7.MwsServer.handle(MwsServer.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
]]></log4j:throwable>
</log4j:event>
<log4j:event logger=“Framework” timestamp=“1452250401995” level=“WARN” thread=“qtp970220996-211”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
</log4j:event>
<log4j:event logger=“Framework” timestamp=“1452250401995” level=“WARN” thread=“qtp970220996-211”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
</log4j:event>
<log4j:event logger=“Framework” timestamp=“1452250401995” level=“WARN” thread=“qtp970220996-211”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
</log4j:event>
<log4j:event logger=“Framework” timestamp=“1452250401995” level=“FATAL” thread=“qtp970220996-211”>
log4j:message</log4j:message>
log4j:NDC</log4j:NDC>
log4j:throwable</log4j:throwable>
</log4j:event>