i am new to targeting concept so i just added rule datum in home page component and i got Runtime Exception for the rule datum.
I have added below Rule datum in Content XML :
<Datum ID="homepage" Type="Rule" Name="homepage">
<ContentTypes>
<ContentType>$ALL</ContentType>
</ContentTypes>
</Datum>
And i got below runtime 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:272)
at com.interwoven.livesite.runtime.model.page.RuntimeComponent.transform(RuntimeComponent.java:370)
at com.interwoven.livesite.runtime.model.page.RuntimeComponent.transform(RuntimeComponent.java:341)
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:422)
at com.interwoven.livesite.model.page.PreviewPage.getBaseTransform(PreviewPage.java:216)
at com.interwoven.livesite.model.page.PreviewPage.transform(PreviewPage.java:204)
at com.interwoven.livesite.iw.servlet.preview.rendering.IntermediateRenderingManager.doOutputPage(IntermediateRenderingManager.java:277)
at com.interwoven.livesite.runtime.rendering.RenderingManager.renderPageGoal(RenderingManager.java:386)
at com.interwoven.livesite.runtime.rendering.RenderingManager.render(RenderingManager.java:256)
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:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
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:662)
Caused by: java.lang.RuntimeException: Failed to parse XML: <html><head><title>JBossWeb/2.0.1.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 503 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested service () is not currently available.</u></p><HR size="1" noshade="noshade"><h3>JBossWeb/2.0.1.GA</h3></body></html>
at com.interwoven.wcm.lscs.RulesEngineClientResponse.getResponseDocument(RulesEngineClientResponse.java:78)
at com.interwoven.livesite.rules.engine.RulesEngineBaseExecutor.internalExecuteRule(RulesEngineBaseExecutor.java:113)
at com.interwoven.livesite.rules.engine.RulesEnginePreviewExecutor.executeRule(RulesEnginePreviewExecutor.java:58)
at com.interwoven.livesite.model.page.PreviewRequestContext.executeRules(PreviewRequestContext.java:310)
at com.interwoven.livesite.runtime.impl.BaseRequestContext.executeRules(BaseRequestContext.java:1549)
at com.interwoven.livesite.runtime.model.component.Component.executeRules(Component.java:513)
at com.interwoven.livesite.runtime.model.component.Component.executeExternal(Component.java:414)
... 35 more
PLease help to resolve above issue.
Thanks in advance.