Hi,

My Jsp page contains the following line.
<%@ taglib uri="http://java.sun.com/portlet" prefix="p" %>

This Custom Portlet is working in IDM 3.5 UserApp(JBOSS). Same is not
working in IDM 4.0 USerAPP(JBOSS)

I am getting below error from JBOSS server while launching the JSP page
from the portlet class.

2011-11-07 07:14:05,905 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/IDM].[jsp]]
(http-0.0.0.0-8444-1) Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/portlet cannot be resolved in either web.xml or the
jar files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:51)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:409)
at
org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:116)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.gene rateTLDLocation(TagLibraryInfoImpl.java:313)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:148)
at
org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:429)
at
org.apache.jasper.compiler.Parser.parseDirective(P arser.java:491)
at
org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1438)
at org.apache.jasper.compiler.Parser.parse(Parser.jav a:137)
at
org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:255)
at
org.apache.jasper.compiler.ParserController.parse( ParserController.java:103)
at
org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:171)
at
org.apache.jasper.compiler.Compiler.compile(Compil er.java:333)
at
org.apache.jasper.compiler.Compiler.compile(Compil er.java:313)
at
org.apache.jasper.compiler.Compiler.compile(Compil er.java:300)
at
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:585)
at
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:312)
at
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:322)
at
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:249)
at
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:638)
at
org.apache.catalina.core.ApplicationDispatcher.doI nclude(ApplicationDispatcher.java:543)
at
org.apache.catalina.core.ApplicationDispatcher.inc lude(ApplicationDispatcher.java:480)
at
com.novell.afw.portlet.impl.PortletRequestDispatch erImpl.include(PortletRequestDispatcherImpl.java:1 25)
at
com.aig.idm.userapp.ManualUserInterfacePortlet.doV iew(Unknown Source)
at javax.portlet.GenericPortlet.doDispatch(Unknown Source)
at javax.portlet.GenericPortlet.render(Unknown Source)
at
com.novell.afw.portlet.core.EboPortletContainer.pr ocessOperation(EboPortletContainer.java:459)
at
com.novell.afw.portlet.core.EboPortletContainer.ge tMarkup(EboPortletContainer.java:217)
at
com.novell.afw.portal.aggregation.EboPortletProxyH elper.renderPortlet(EboPortletProxyHelper.java:287 )
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionHelper.renderSynchPortlets(EboPortalAggregatio nHelper.java:1239)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionHelper.callRender(EboPortalAggregationHelper.j ava:1327)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.initiateRendering(EboPortalAggr egationControllerImpl.java:1340)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionControllerImpl.renderPortalResponse(EboPortalA ggregationControllerImpl.java:631)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.handlePortalContainerRequest(EboPortal AggregationServlet.java:732)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.callService(EboPortalAggregationServle t.java:380)
at
com.novell.afw.portal.aggregation.EboPortalAggrega tionServlet.doGet(EboPortalAggregationServlet.java :141)

Thanks
Sivaram.


--
sivaramat
------------------------------------------------------------------------
sivaramat's Profile: http://forums.novell.com/member.php?userid=102408
View this thread: http://forums.novell.com/showthread.php?t=448284