on 05-12-2006 4:14 AM
Hi experts,
I am pretty new to EP dev. I was trying some HTMLB examples, and in the process got a portal runtime error as below:
<b>Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
TestExample.
Exception id: 10:52_11/05/06_0011_4374750
See the details for the exception ID in the log file</b>
I could not able to trace the error. Where do I find the log file?
Thanks in advance.
Vicky.
Hi Vicky,
If you want to see the log trace file, then you can see it from your server directory:
<b><Server>:\usr\sap\A06<System_ID>\JC70<Instance_ID>\j2ee\cluster\server0\log</b>
or go to portal and visit the following path:
<b>Sys admin->support->portal runtime->log viewer</b>
I hope this would solve your problem.
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi vicky,
you can see the log file at this place
systemadmin-> support
support desk ->portal runtime-> log viewer
in the search text field put your exception id .
you will get the result . at the end of page your exception message is available.
thanks..
rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raj, and Pravvesh,
I am getting the cannot find the jsp error as below
\
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Cannot find JSP file: button.jsp.
Exception id: 11:48_11/05/06_0013_4374750
See the details for the exception ID in the log file
But, I have the jsp file in my project. Where is it missing, and why am I getting the error?
Thanks in advance.
Vicky.
Hi Vicky,
Have you created the HTMLB JspDynpage?? If yes then you must have the jsp file included in the project automatically.
if you have done as I am telling then kindly send us the portalapp.xml file. I think you must not have made the required changes in the portalapp.xml file.
Regards
Pravesh
Hi pravesh, here is the portalapp.xml file.
<b><?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="TestExample">
<component-config>
<property name="ClassName" value="com.xyz.TestExample"/>
<property name="SecurityZone" value="com.xyz.TestExample/high_safety"/>
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/test.jsp"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application></b>
Vicky
Hi Vicky,
You need to do some changes in the portalapp.xml.
...
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
....
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
<property name="inheritance" value="final"/>
</property>
</component-profile>
And also you have to add one line in the jsp file:
<b><@ taglib uri="tagLib" prefix="hbj"></b>
Also, if you want you can remove/comment these two lines from the portalapp.xml file:
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/test.jsp"/>
I hope this solves your problem!!
Regards
PS: Please consider rewarding points if helpful and solved.
Message was edited by: Pravesh Verma
hi pravesh, it is not working either.
Please give me a simple working example which consists of component (TestComponent.java), a bean (TestBean.java) and a jsp file (TestJsp.jsp) - together with portalapp.xml file. Please check in your system and give me a working one.
Thanks in advance.
Vicky
hi vicky ,
check this link ..
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/e0a341354ca309e10000000a155106/frameset.htm
i think this link is having exactly what you are loooking.
thanks..
rajesh
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.