on 12-06-2004 12:50 PM
Hi all,
I am trying to create a small JSPDyn applicatoin but after deploying in the portal, when i try to run it I get this error:
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Error in parsing taglib 'htmlb' tag in web.xml or .tld file of the taglib library..
Exception id: 12:58_06/12/04_0033_9052650
See the details for the exception ID in the log file.
Anyone can give me an idea on what should I change and where to have my application working?
Thank you very much.
You can try to insert the following tags:
<application-config>
<property name="SharingReference" value="htmlb"/>
</application-config>
.....
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
<property name="inheritance" value="final"/>
</property>
</component-profile>
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much! This is working!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanda,
for general reasons: If such an error occurs and you ask for help, please follow the instructions: "See the details for the exception ID in the log file." and post them in here.
Without this, in this case I assume that you just forgot to set the "SharingReference" property of the application-config within portalapp.xml to "htmlb"!?
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Detlev and thanks a lot for your answer. Here is what I have in the log fine.
#1.5#000F1F51B60E00560000023A00000BA00003EA91340C4AAC#1102334294359#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#snegrea#111#####SAPEngine_Application_Thread[impl:3]_15##0#0#Info##Plain###loading desktop: portal_content/every_user/general/defaultDesktop#
#1.5#000F1F51B60E00560000023B00000BA00003EA91340C61FE#1102334294359#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#snegrea#111#####SAPEngine_Application_Thread[impl:3]_15##0#0#Info##Plain###loading desktop: portal_content/every_user/general/defaultDesktop#
#1.5#000F1F51B60E00560000023C00000BA00003EA91340C7D41#1102334294375#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#snegrea#111#####SAPEngine_Application_Thread[impl:3]_15##0#0#Error#1#/System/Server#Java###Exception ID:12:58_06/12/04_0033_9052650
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : Patman.Search
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:256)
at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:434)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:337)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:315)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:815)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:238)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:151)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: PortalComponentException
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:124)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:250)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:100)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:729)
at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
... 26 more
Caused by: com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: Error in parsing taglib 'htmlb' tag in web.xml or .tld file of the taglib library.
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java:189)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse0(JspDirective.java:162)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse(JspDirective.java:117)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ElementCollection.parse(ElementCollection.java:86)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ParserImpl.parse(ParserImpl.java:594)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2128)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:119)
... 31 more
See also my portalapp.xml
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="Search">
<component-config>
<property name="ClassName" value="com.glinxs.search.Search"/>
<property name="SecurityZone" value="com.glinxs.search/high_safety"/>
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/SearcMask.jsp"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application>
Is PrivateSharingReference the property you are refering to? Is this correctly set or should I modify something here? I actually did not changed anyting manually in portalapp.xml.
Thank you!!!!
Sanda
Hi Sanda,
OK, now I think I'm on the track:
Within your portalapp.xml you do not have defined a taglib. I'm not sure how you try to access the taglib within your JSP, but the standard way would be:
1.) In portalapp.xml, within the component which runs the JSP:
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
2.) Within the JSP:
<%@ taglib uri="tagLib" prefix="hbj" %>
3.) Replace "PrivateSharingReference" by "SharingReference". The private sharing reference gives you access to the referred components within the private part of your application, ie the things under PORTAL-INF/private respectively src.core.
Hope it helps
Detlev
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.