Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
LivesiteSiteMap Class not found | 7.3.1
sahu
I am using following external in my component but when i preview it it throws exception.
Respective livesite-runtime.jar file also present in lib directory and after build toolkit also not able to solve this component excetion.
Env TS 7.3.1
Windows
[HTML]
com.interwoven.livesite.external.impl.LivesiteSite Map
getSiteMap
[/HTML]
Exception :
java.lang.RuntimeException: Failed to execute rules and externals
at com.interwoven.livesite.runtime.model.component.Component.executeExternal(Component.java:455)
at com.interwoven.livesite.runtime.model.page.RuntimeComponent.buildComponentTransformData(RuntimeComponent.java:269)
at com.interwoven.livesite.runtime.model.page.RuntimeComponent.transform(RuntimeComponent.java:367)
at com.interwoven.livesite.runtime.model.page.RuntimeComponent.transform(RuntimeComponent.java:338)
at com.interwoven.livesite.runtime.page.PageTokenVariableComponent.transformComponent(PageTokenVariableComponent.java:315)
at com.interwoven.livesite.runtime.page.PageTokenVariableComponent.renderNoCache(PageTokenVariableComponent.java:221)
at com.interwoven.livesite.runtime.page.PageTokenVariableComponent.preRender(PageTokenVariableComponent.java:106)
at com.interwoven.livesite.runtime.page.PageTokenContainer.preRender(PageTokenContainer.java:260)
at com.interwoven.livesite.runtime.model.page.RuntimePage.transform(RuntimePage.java:388)
at com.interwoven.livesite.model.page.PreviewPage.getBaseTransform(PreviewPage.java:212)
at com.interwoven.livesite.model.page.PreviewPage.transform(PreviewPage.java:200)
at com.interwoven.livesite.iw.servlet.preview.rendering.IntermediateRenderingManager.doOutputPage(IntermediateRenderingManager.java:277)
at com.interwoven.livesite.runtime.rendering.RenderingManager.renderPageGoal(RenderingManager.java:340)
at com.interwoven.livesite.runtime.rendering.RenderingManager.render(RenderingManager.java:248)
at com.interwoven.livesite.iw.servlet.preview.PreviewFilter.processRequest(PreviewFilter.java:172)
at com.interwoven.livesite.iw.servlet.preview.PreviewFilter.doFilter(PreviewFilter.java:113)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Execution exception in com.interwoven.livesite.external.ExternalCall@fccee0[object=
com.interwoven.livesite.external.impl.LivesiteSiteMap
,method=public org.dom4j.Document getSiteMap(com.interwoven.livesite.runtime.RequestContext,),scope=local,parameters={},prefixCalls=[]]
at com.interwoven.livesite.common.pojo.PojoMethodCall.execute(PojoMethodCall.java:460)
at com.interwoven.livesite.external.ExternalCall.execute(ExternalCall.java:142)
at com.interwoven.livesite.runtime.model.component.Component.executeExternal(Component.java:426)
... 35 more
Caused by: java.lang.RuntimeException: Class not found:
com.interwoven.livesite.external.impl.LivesiteSiteMap
at com.interwoven.livesite.common.util.ClassUtils.getClass(ClassUtils.java:131)
at com.interwoven.livesite.common.util.ClassUtils.newInstance(ClassUtils.java:177)
at com.interwoven.livesite.common.pojo.PojoMethodCall.getLocallyScopedObject(PojoMethodCall.java:471)
at com.interwoven.livesite.common.pojo.PojoMethodCall.execute(PojoMethodCall.java:453)
... 37 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
com.interwoven.livesite.external.impl.LivesiteSiteMap
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.interwoven.livesite.common.util.ClassUtils.getClass(ClassUtils.java:127)
... 40 more
Find more posts tagged with
Comments
Adam Stoller
Quick guess - even though the jar file(s) may be in the appropriate directory, they may not be listed in the CLASSPATH (often, this specifies explicit jars rather than just paths from which to include "all" jars).
I'm not sure about the livesite_customer_src area, but the customer_src area utilizes IWHOME/local/config/lib/content_center/references/build.xml (yes - "references/" not "customer_src") - and it could be the same thing. I've needed to modify this file to include jar files when I've done CSSDK development for projects - so you'd probably want to look at it to see if the jar files you use are explicitly mentioned there.
Rick Poulin
I can't make heads or tails of that stack trace.
com.interwoven.livesite.external.impl.LivesiteSiteMap is still there in 7.3.1 and is part of livesite-runtime.jar.
The weird thing is that the class throwing the exception (com.interwoven.livesite.runtime.model.component.Component) is in the same jar... so the only explanation I can think of is that your JAR is somehow corrupt or missing the LivesiteSiteMap.class. So try replacing the whole JAR with an original copy and restart your servlet container? If not, check the startup logs to see if the ClassLoader is complaining about anything at boot time.