Error when processing your request
What has happened?
The URL http://cpw:8000/sap/bc/webdynpro/sap/demo_roadmap was not called due to an error.
Note
- The following error text was processed in the system DEV : Die URL enthält keine vollständige Domainangabe (cpw statt cpw.<domain>.<ext>).
- The error occurred on the application server cpw_DEV_00 and in the work process 0 .
- The termination type was: RABAX_STATE
- 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_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP知道错误产生在什么地方,先看下源码是怎么回事。
SE38打开 CX_FQDN=======================CP, 这是个异常类的程序文件,查看CHECK方法,
IF lv_host NA '.' OR lv_host CO '0123456789.:' .
IF NOT lv_host CS 'localhost' .这时候就会产生异常, 那么知道原因了, 把访问地址的server名改成localhost, 访问可以成功。
这里是因为需要给服务器配置一个FQDN,
参考Note 677118 - SP31-> Fully Qualified Domain Names Check
配置FQDN:
Tcode: RZ10
parameter: icm/host_name_full
注意配置的时候不要配置为cpw.com这新的名称, 这样虽然能访问但会有JS错误, 配置为cpw.tt.com可以正常访问.
另外还要在 C:\WINDOWS\system32\drivers\etc\hosts下配置IP到host名称的映射, 不然你得注册DNS解析.