cancel
Showing results for 
Search instead for 
Did you mean: 

CX_FQDN error uncaught_exepction

Former Member
0 Kudos

Hi ,

I am executing my webdynpro application from se80 , getting cx_fqdn uncaught_exception error .

I have changed the profile from RZ10 ( INSTANACE PROFILE ) set saplocalhost = sapserver, saplocalhostfull = sapserver,

icm/host_name_full = sapserver .

I have restarted the application server 3/4 times . I can see the profile details thru RZ11 for the same.

When I debug the application by external debugger , gets error at method check , line no. 10.

It shows lv_host = sapserver , lv_port = 8001 . , at line split lv_host at ':' into lv_host lv_port ,

it raise exception type cx_fqdn . How to avoid this exception . My lv_host = sapserver and port = 8001 . Is this wrong port or hot name ?

Please guide me to resolve this .

Details screen shot :

The URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_sflight was not called due to an error.

Note

u2022 The following error text was processed in the system DM0 : Die URL enthält keine vollständige Domainangabe (sapserver statt sapserver.).

u2022 The error occurred on the application server sapserver_DM0_01 and in the work process 0 .

u2022 The termination type was: RABAX_STATE

u2022 The ABAP call stack was:

Method: CHECK of program CX_FQDN=======================CP

Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP

Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP

Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

What can I do?

u2022 If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DM0 in transaction ST22.

u2022 If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapserver_DM0_01 in transaction SM21.

u2022 If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapserver_DM0_01 . In some situations, you may also need to analyze the trace files of other work processes.

u2022 If you do not yet have a user ID, contact your system administrator.

Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: DM0 -i: sapserver_DM0_01 -w: 0 -d: 20090818 -t: 160133 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION

HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

Best Regards

Milind Nikumbh.

Accepted Solutions (0)

Answers (3)

Answers (3)

enrique_estevez
Explorer
0 Kudos

Because you don't have domain, change the name of  your host when you call the webdynpro with http:\\localhost:port

This is the method of the class CX_FQDN that it breaks when i use http:\\myhostname:port.

METHOD check.

  DATA: lv_host    TYPE string,

        lv_port    TYPE string.  "#EC NEEDED

  lv_host = request->get_header_field( name = 'host' ).

  IF lv_host NA '.' OR lv_host CO '0123456789.:'.

    IF NOT lv_host CS 'localhost'.

      SPLIT lv_host AT ':' INTO lv_host lv_port.

      RAISE EXCEPTION TYPE cx_fqdn

        EXPORTING host   = lv_host

                  domain = '.<domain>.<ext>'. "#EC NOTEXT recommend security group

    ENDIF.

  ENDIF.

Former Member
0 Kudos

Hii Milind,

Could you please help me to resolve the same problem. I am also facing the same issue.

Thanks in advance.

Sachin

Former Member
0 Kudos

Hi,

The URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_sflight was not called due to an error. 
Looks like your server is not fully qualified. But as you mentioned, you tried setting the Profile parameters. Was your URL correctly generated after restarting the server ? I think that the parameters are not correctly set. Kindly ask your Basis team to check once again. Refer this online help for FQDN|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm] Regards, Radhika.

Former Member
0 Kudos

Hi Radhika ,

Thanks for your instant reply .

I am not getting the "was your url generated correctly after restarting the server"

What is the correct url ? Is there any standard format ?

Please explain .

thanks

Milind.

Former Member
0 Kudos

check this link [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm] Regards, Radhika.

Former Member
0 Kudos
"shortened URL  
http://pwdf0487:1080/sap/bc/webdynpro/sap/wdr_test_events

" full URL ( correct )
http://pwdf0487.wdf.sap-ag.de:1080/sap/bc/webdynpro/sap/wdr_test_events
Former Member
0 Kudos

My url is :

URL http://sapserver:8001/sap/bc/webdynpro/sap/zz_00_sflight

Is it shrtended ? how to change it ? I have set imc/host_name_full = sapserver , will changed to sapserver.wdf.sap-ag and let see.

Thanks

Milind.

Former Member
0 Kudos

You will need to seek your Basis team's help. Just ask them to setup the FQDN.

Former Member
0 Kudos

Hi Radhika ,

My problem get resolved . Thanks a very much for your timely help .

I have added DNS suffix for domain, as my ECC 6.0 is on my laptop ( standalone m/c ) .

There is no domain . its a workgroup. rest of the parameters was as per sap help which you have sent to me.

I am a new for web dynpro .

Thanks

Milind

Former Member
0 Kudos

Hi Milind,

I know it's that far it's more than a years

But I have a same probleme that you and a same case

with same IDES ECC6 in local machine

What you do for DNS suffix cause I m not that expert in that field

the local host is sapserver and for domain and extention ?!!!

Thanks Milind if ou can remember it's good things for me

Thanks

Adil