cancel
Showing results for 
Search instead for 
Did you mean: 

Java Portal Service - javax.naming.NameNotFoundException: Child not found

Former Member
0 Kudos

Hallo Experts,

I am currently developing a Portal Application Object (Service). I created a SAP BSP iView in portal which should use this service as customer exit to map some id´s of different SAP systems.

After creating a Portal Application Standalone DC and adding a Portal Application object (the service) everything compiles fine.

Deployment of the component to my dev portal works as well. Now i try to call the BSP iView which should call the service as its customer exit.

I am getting the following error in the portal log:

Error getting document mode from iView

[EXCEPTION]

javax.naming.NameNotFoundException: Child not found: null at  [Root exception is javax.naming.NameNotFoundException: Child not found: null at ]

After reading tons of posts in SDN, which I only partially understood, it seems as if it had something to do with my portalapp.xml. It looks as follows:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<application alias="RedirectBwToCrm">

  <registry>

    <entry path="/com.sap.portal.appintegrator/customer_exits/parameter_provider/RedirectBwToCrm" name="TranslateBwToCrm" type="service"/>

  </registry>

  <application-config/>

<components/>

  <services>

    <service name="TranslateBwToCrm">

      <service-config>

        <property name="twophaseinit" value="auto"/>

        <property name="className" value="<packages>.TranslateBwToCrm"/>

        <property name="startup" value="true"/>

      </service-config>

      <service-profile/>

    </service>

  </services>

</application>

Can you imagine what is causing that problem and point me in the right direction?

Best regards,

André

Accepted Solutions (1)

Accepted Solutions (1)

former_member193379
Active Contributor
0 Kudos

Hi Andre,

Please have a look of SAP Note 2123361.

Thanks,

Hamendra

Former Member
0 Kudos

Hello Hamendra,

thank you very much for the quick reply.

I had a look at that note and we will patch our portal system according to the suggestions.

After the patch is done i will give an update if the solution worked, but this looks right.

Best regards,

André

Former Member
0 Kudos

Hey,

Have you managed to fix this issue?

Thanks,

Guillaume

Former Member
0 Kudos

Hello,

it seems as if the error was fixed through the note that was given by Hamendra.

Best regards,

André

Answers (0)