Hi,Could some one explain to me how to include .page in JSP?EnvironmentTeamsite : 7.2OS olarisRegards,Ram
Use livesite tag library
see the livesite dev guide.
what do you see in logs/eclipse console??Are there any DCR's associated to the .page?RegardsManuj
also check your page source see if any errors are embedded within it. Is it properly resolving the taglib?There should also be a livesite runtime log. check tomcat/logs directory
Hi,Thanks for your reply.I am getting the below error in SystemOut.log but the error class(com/interwoven/livesite/spring/web/WebApplicationContextUtils) is available in liveisteruntime.jar[6/14/11 3:42:59:981 MDT] 00000038 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /jsp/Test/tagindex.jsp in application wwwappsEAR. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: com/interwoven/livesite/spring/web/WebApplicationContextUtilsat org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)at com.ibm._jsp._tagindex._jspService(_tagindex.java:123)at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:241)at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:275)at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)Caused by: java.lang.NoClassDefFoundError: com/interwoven/livesite/spring/web/WebApplicationContextUtilsat com.interwoven.livesite.runtime.rendering.RenderingConfig.getInstance(RenderingConfig.java:90)at com.interwoven.livesite.runtime.rendering.embedded.EmbeddedRenderer.(EmbeddedRenderer.java:58)at com.interwoven.livesite.runtime.rendering.embedded.taglib.PageTag.doStartTag(PageTag.java:211)at com.ibm._jsp._tagindex._jspx_meth_ls_page_0(_tagindex.java:143)at com.ibm._jsp._tagindex._jspService(_tagindex.java:94)... 22 moreRegards,Ram
Hi,Thanks for your reply.I am getting the below error in SystemOut.log but the error class(com/interwoven/livesite/spring/web/WebApplicationContextUtils) is available in liveisteruntime.jar[6/14/11 3:42:59:981 MDT] 00000038 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /jsp/Test/tagindex.jsp in application wwwappsEAR. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: com/interwoven/livesite/spring/web/WebApplicationContextUtils at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695) at com.ibm._jsp._tagindex._jspService(_tagindex.java:123) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:241) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:275) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)Caused by: java.lang.NoClassDefFoundError: com/interwoven/livesite/spring/web/WebApplicationContextUtils at com.interwoven.livesite.runtime.rendering.RenderingConfig.getInstance(RenderingConfig.java:90) at com.interwoven.livesite.runtime.rendering.embedded.EmbeddedRenderer.(EmbeddedRenderer.java:58) at com.interwoven.livesite.runtime.rendering.embedded.taglib.PageTag.doStartTag(PageTag.java:211) at com.ibm._jsp._tagindex._jspx_meth_ls_page_0(_tagindex.java:143) at com.ibm._jsp._tagindex._jspService(_tagindex.java:94) ... 22 moreRegards,Ram
Hi,Can you check if the livesite-runtime.jar under iwov\iw-home\httpd\webapps\content_center\WEB-INF\lib has the class named as WebApplicationContextUtils.class.Also kindly tell your environment.Thanks.
Hi,If the class is available then try to give full access to the lib folder and even the same result occurs then I would suggest to run a build to check the consequences and check the logs too.HTH.
Hi,Thanks for your reply.After adding spring.jar my problem got resolved but I am getting new error on page view source.Page context path is /sites/dotcom/ and all my pages are available in the same path.[html] I am Brocade content from JSP124[/html]Could you please suggest on this errorRegards,Ram