cancel
Showing results for 
Search instead for 
Did you mean: 

How and where do I see the log file

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Pravesh and Raj, thanks for your help. Yeah, I could able to get it. Points have been awarded already

Former Member
0 Kudos

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.

pravesh_verma
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

pravesh_verma
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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