Error: Die URL enthält keine vollständige Domainangabe

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解析.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值