cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Java based iView when trying to use J2EE bean

darcy_curtin
Explorer
0 Kudos
199

I am trying to create a iView based on Java Portal app.

[Java portal app has dynPage based Portal App Object]

I created a PAR and uploaded to Portal. I created iView and worked it fine in (preview).

[iView created using "Content Administration -> Portal Content -> New From Par -> iView"]

I deleted my iView and removed my archive (using "Java Developer -> Portal Archive Deployer/Remover").

I changed java portal project so that I can reference a bean from J2EE app already deployed on server.

[Edited Portalapp.xml to add a

<property name="PrivateSharingReference" value="SAPJ2EE::service:p4, SAPJ2EE::test.myApp/myBean"/>

This time PAR installs fine, but when I try to preview iView, get following error.

-


Portal Runtime Error

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

com/sapportals/portal/htmlb/page/PageProcessorComponent.

Exception id: 02:36_11/08/05_0016_4991450

See the details for the exception ID in the log file

-


I removed "SAPJ2EE::test.myApp/myBean" from portalapp.xml and rebuilt PAR and rebuilt iView but I get same error as above.

1. Where are logs located (for iView errors)?

2. Any pointers on using J2EE bean? (I am trying to use step described in topic "J2EE Applications Access from Portal Applications" from manuals).

3. Do I need to reference any additional libraries to use p4?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

darcy_curtin
Explorer
0 Kudos

The problem seems to be in portalapp.xml

I created second PrivateSharingReference in it

<property name="PrivateSharingReference" value="com.sap.portal.htmlb">

<property name="PrivateSharingReference" value=" SAPJ2EE::service:p4, SAPJ2EE::test.myApp/myBean"/>

---

I changed to be one entry only like

-


<property name="PrivateSharingReference" value="com.sap.portal.htmlb, SAPJ2EE::service:p4, SAPJ2EE::test.myApp/myBean"/>

Now iView works again....But still donot know where log is..