cancel
Showing results for 
Search instead for 
Did you mean: 

testing BSP applications --URL

sukhdev_kaloor
Participant
0 Kudos

Hi All,

i have maintained the icm/hostname .I tried with host name as well as IP.

When i try to test some BSP application it gives the error for ....FQDN...

( http://192.168.1.2:8020/sap/bsp..)

( http://sapserver:8020/sap/bsp..)

The same url if i replace the host name with 'localhost' it works fine?( http://localhost:8020/sap/bsp..) and try from the server it works fine.

Is there any other settings which needs to be maintained?

Thanks,

Dev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Whenever you test a BSP application, the host name in the URL should be a Fully Qualified Domain Name. For this we need to set some parameters.

Follow this steps:

1) Transaction SMICM

2) Goto Parameters --> Display

There should be a parameter icm/host_name_full with value as <saphost.sap.com> not just <saphost>

That is ,the url should be specified as Protocol>://<Hostname>.<Domain>.<Extension> :<Port>/

If it is not there and host name is just <server name> then do following:

Transaction RZ10

a) View profiles ,if no profile then press Import .

This will generate the profiles available (5 profiles), namely :

1)Default profile

2) Instance profiles

3)Start profiles

In instance profile of sap system (SID>_<INSTNAME>_<hostname>)

in Extended maintenance option,

b)Copy Profile to new Version

c) Create a new Parameter in the profile.

Select the icm/host_name_full in the parameter name and put the value <servername.domain.extension>

d) Save parameter and the profile and then Activate .This will create a new version of the profile.

e ) Then restart the SAP application Server.

  • Profile creation requires Admin rights for user for profile to be generated correctly.

You can also search, in the forum relating to this, you will get a lot of similar threads.

Hope this solves this problem,

Best Regards,

Ravikiran.

Answers (1)

Answers (1)

achim_hauck2
Active Contributor
0 Kudos

Sukhdev,

I'm not sure if I understood your problem:

When you are using "localhost" and "sapserver" in a browser <b>on your SAP server</b> it works fine, but if you use "sapserver" on your client (e.g. using test BSP application in SE80) it fails?

first of all, check if your servername "sapserver" is resolved by any name service (try "ping sapserver" on a shell / commandline).

what URL is generated, when you try to access the bsp app from the client?

what is the exact error message?

kr, achim

sukhdev_kaloor
Participant
0 Kudos

hi Achim,

I have a URL for the BSP say

http://sapserv:8020/sap/bsp/..ect where sapserv is my hostname where WAS is running.

now if i test this url from the same host where WAS is runing ie host sapserv it gives a FQDN error.

if i test this url on the same host where WAS is running with 'localhost' instead of 'sapserv' it works.

ie if i use the url http://localhost:8020/sap/bc/bsp.

(ofcourse this url shouldnt work on a different host).

is there any other parameter other than icm/host_name_full which would interfere.

Thanks

dev

Former Member
0 Kudos

The parameter icm/host_name_full is the only parameter that is required to be changed, to configure your FQDN settings. Other method is explained in the blog:

/people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp

Regards,

Ravikiran.

athavanraja
Active Contributor
0 Kudos

after setting the profile parameter icm/host_name_full you have to restart the ICM or the WAS for it to take effect.

Regards

Raja

Former Member
0 Kudos

We need to restart the WAS, for it to take the effect.

Regards,

Ravikiran.

athavanraja
Active Contributor
0 Kudos

As Thomas Jung pointed out in one of the threads, for most of the icm* profile paramters a simple restart of the ICM would be fine. but if it dosent work then you have to restart the WAS server itself.

Regards

Raja

Former Member
0 Kudos

Hi Raja,

You are right as always, but when we set our icm parameters, a simple restart of icm didnt change the settings, then we restarted WAS which made the difference. So only I wrote that. Anyways, thanks for correcting!!

Regards,

Ravikiran.

sukhdev_kaloor
Participant
0 Kudos

Thanks for all the messages,

the bsp is working after following Raja's suggestion.

ie..in mycomputer properties-->DNS suffix..

also if i need to access the url from some other PC i need to add this ip in the host file of the machine since there is no other way the name is getting resolved in my network.

Thanks,

SDev

athavanraja
Active Contributor
0 Kudos

All this is done in the server. nothing to do with the client.

didnt really get your point.

Regards

Raja

Former Member
0 Kudos

If you use

http://sapserv.subdomain.domain.xx:8020/sap/bsp/.

instead of

http://sapserv:8020/sap/bsp/.

the hosts on client side do not have to be defined.

Regards Sebastian

sukhdev_kaloor
Participant
0 Kudos

May be because the WAS installation was done as a Local Installation i am not able to access the URL from other PC's in the network w/o altering their hosts file.

Regards,

SDev

Former Member
0 Kudos

Well of course if it is not a Server OS but a Client OS, it will not behave as normal