Hi Windchillers,
We have a newly built Cluster for Windchill 9.1. Navigating through some of
Product#Folders were get the following error,
Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
The Class file exists on all servers. We even tried to replace with an OOTB
class file. Ran Makejar.
It seems there is an issue with Tomcat not being able to execute this class.
I will appreciate some suggestions here. Below is the Catalina stack trace.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
... 81 more
---------- JCA Exception ----------
javax.servlet.jsp.JspException: Unable to process tag: GetModelTag [<div<br/>style="margin-left: 40px;">var="folderContentsModel"
com.ptc.core.components.command.TreeCommand"
]"
]
at com.ptc.core.components.jsp.JspUtils.newJspException(JspUtils.java:74)
at com.ptc.core.components.jsp.JspUtils.throwJspException(JspUtils.java:65)
at
com.ptc.core.components.tags.core.BatchCommandTagSupport.doTag(BatchCommandTagSupport.java:93)
at
org.apache.jsp.netmarkets.jsp.folder.folderPageRightPane_jsp._jspx_meth_jca_005fgetModel_005f0(folderPageRightPane_jsp.java:1868)
at
org.apache.jsp.netmarkets.jsp.folder.folderPageRightPane_jsp._jspService(folderPageRightPane_jsp.java:676)
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:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
com.ptc.core.components.tags.components.RenderTwoPanesTag.doTag(RenderTwoPanesTag.java:280)
at
org.apache.jsp.netmarkets.jsp.folder.list_jsp._jspService(list_jsp.java:538)
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:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at
org.apache.jsp.netmarkets.jsp.folder.view_jsp._jspService(view_jsp.java:407)
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:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
com.ptc.core.components.infoPage.InfoPageNavigatorDelegate.processRequest(InfoPageNavigatorDelegate.java:77)
at
com.ptc.core.components.servlets.TypeBasedIncludeServlet.processRequest(TypeBasedIncludeServlet.java:129)
at
com.ptc.core.components.servlets.TypeBasedIncludeServlet.doPost(TypeBasedIncludeServlet.java:222)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.httpgw.filter.TrustedAuthFilter.doFilter(TrustedAuthFilter.java:123)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:232)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:324)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1417)
at
wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:54)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: wt.util.WTException: wt.util.WTRemoteException: Unable to invoke
remote method; nested exception is:
java.rmi.ServerError: Server exception; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
Nested exception is: wt.util.WTRemoteException: Unable to invoke remote
method; nested exception is:
java.rmi.ServerError: Server exception; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
at
com.ptc.core.components.util.InPlaceCommand$Remote.execute(InPlaceCommand.java:198)
at
com.ptc.core.components.util.InPlaceCommand.execute(InPlaceCommand.java:109)
at
com.ptc.core.components.beans.ComponentModelBean.getModel(ComponentModelBean.java:225)
at
com.ptc.core.components.tags.components.GetModelTag.postExecute(GetModelTag.java:203)
at
com.ptc.core.components.tags.core.BatchCommandTagSupport.doTag(BatchCommandTagSupport.java:89)
... 75 more
Caused by: wt.util.WTRemoteException: Unable to invoke remote method; nested
exception is:
java.rmi.ServerError: Server exception; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:843)
at
com.ptc.core.components.util.InPlaceCommand$Remote.execute(InPlaceCommand.java:188)
... 79 more
Caused by: java.rmi.ServerError: Server exception; nested exception is:
java.lang.NoClassDefFoundError: Could not initialize class
wt.epm.identity.EPMIconSelector$DocumentTypeIconSelector$DocumentTypeMapping
Regards,
Rohan
Rohan Kalbhor
Email:-