cancel
Showing results for 
Search instead for 
Did you mean: 

Get InitialContext for P4-connection via Http tunneling

Former Member
0 Kudos

Hi,

I have to use an Http tunnel to access my integration J2EE engine.

Now, I want to create a P4-connection. It doesn't work. No InitialContext will be returned.

I can open the VisualAdmin on the http tunneling port. But in the connection GUI I can select 'Http tunneling' as connection type. Is there any setting, i.e. property, for the InitialContext to signal that Http tunneling should be used ?

Regards,

Astrid

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Astrid,

yes, you need ot use TransportLayerQueue property of the InitialContext to specify that you need Http Tunneling as the transport layer. See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/5bc0417951cf17e10000000a155106/frameset.htm">this</a> page for description.

Did you use that already?

Regards,

Ivo

Former Member
0 Kudos

Thanks for the answer.

I have added the required property.

p.put("TransportLayerQueue","httptunneling");//httptunneling

But there is still a NamingException 'No server is running.' Eventhough, I have no problems to use the tunnel for the VisualAdmin. That's strange.

Former Member
0 Kudos

Hi Astrid,

strange, indeed..

The only thing that comes to my mind is whether you're using the correct port when you're getting the InitialContext. For P4 over http tunneling the port should be 5<Instance_id>05?

If this is not the problem, I can only suggest that you report an OSS message on that issue.

Regards,

Ivo

Former Member
0 Kudos

No ideas out there ???