on 12-09-2004 11:13 AM
Hi friends;
I am learning BSP (kindly excuse my ignorance);
while trying to execute a BSP page from SAP R3 , I get the below error message in IE browser window.
====================================================
<b>500 SAP Internal Server Error</b>
Error message: An exception that could not be caught occurred.
( type of termination: RABAX_STATE )
====================================================
Your Help is really appreciated,
Aby Jacob
-
This is a short dump. Check Transaction ST22.
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subramanian
Thanks for the fast response,
I will try to copy an extract from ST22
Possibly you can figure out the error cause.
========================================
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_BSP_HOST_NOT_QUALIFIED
Occurred on 09.12.2004 at 16:27:41
An exception that could not be caught occurred.
What happened?
The exception 'CX_BSP_HOST_NOT_QUALIFIED' was raised but was not caught at any
stage in the
call hierarchy.
Since exceptions represent error situations, and since the system could
not react adequately to this error, the current program,
'CL_BSP_RUNTIME================CP ', had to
be terminated.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assinged to the class 'CX_BSP_HOST_NOT_QUALIFIED',
was not caught,
which led to a runtime error.
The reason for this exception is:
BSP Exception: Die URL enthält keine vollständige Domainangabe
User, transaction...
Client................ 100
User.................. "TEST"
Language key....... ..."E"
Transaction............" "
Program............... "CL_BSP_RUNTIME================CP "
Screen.............. .."SAPMHTTP 0010"
Row in Screen..........2
Information on the caller of the "HTTP" connection:
Plug-in type..........."HTTP"
Caller IP.............."172.20.36.79"
Caller Port............8081
Universal Resource ID.."/sap/bc/bsp/sap/ztest11/ztest11_page.htm"
Source code extract
000040 * uses ****************************************************************
000050
000060 * data ****************************************************************
000070
000080 data: l_host type string,
000090 l_port type string, "#EC NEEDED
000100 l_domain type string,
000110 l_domain2 type plg_host,
000120 l_help type string,
000130 l_nspc type icfname,
000140 l_appl type icfname,
000150 l_leng type i.
000160
000170
000180 * code ****************************************************************
000190
000200
000210 * check that the url contains a fully qualified host name (domain)
000220 l_host = c_request->get_header_field( name = 'host' ).
000230 if l_host na '.' or l_host co '0123456789.:'. " > see CSN note 67711
000240 * special case for client call:
000250 if not l_host cs 'localhost'.
000260 call function 'TH_GET_PLUGIN_INFO'
000270 EXPORTING
000280 protocol = 1
000290 local = 1
000300 IMPORTING
000310 host = l_domain2.
000320 shift l_domain2 left up to '.'. l_domain = l_domain2.
000330 split l_host at ':' into l_host l_port.
========================================================
> raise exception type cx_bsp_host_not_qualified
000530 else.
This looks like an easy one
are you calling your URL with a full hostname and domain?
[hostname].[domain]:[port]
If not then you will need to fix that. Transaction SMICM you can then in the menu use GOTO to look at the parameters and see your hostname.
Parameter is called icm/host_name_full
It should be a full qualified host name there to automatically call the apps with the right hostname otherwise you can add the hostname manually to the URL and then see what happens.
Take a look at this weblog: /people/brian.mckellar/blog/2003/09/25/bsp-in-depth-fully-qualified-domain-names
What is the FQDN(Fully Qualified Domain Name) that you have given ?
It should be something like abc.xyz.com
What is the URL that you are using to access your page ?
Are you able to run sample BSP applications ?(I don't think, it might ). Nevertheless, check tutorial* in SE80 in BSP Application.
Regards,
Subramanian V.
Message was edited by: Subramanian Venkateswaran
Hi Craig / Subramanian,
I am tied up with something urgent
for the next few hours;
I shall try out your suggestions tomorrow
and get back to you by 15.00 India time
on 10 december ).
=====================================
What is the FQDN(Fully Qualified Domain Name) that you have given ?
It should be something like abc.xyz.com
--- I am yet to create
FQDN(Fully Qualified Domain Name) : really Sorry !
===============================================
Are you able to run sample BSP applications ?(I don't think, it might ). Nevertheless, check tutorial* in SE80 in BSP Application.
--- I have already tried/tested
almost all of tutorial* in SE80 in BSP Application.
===============================================
Warm Regards,
Aby Jacob
Dear Craig/Subramanian V,
Good morning to you both.
I am having a small problem now:
When I try accessing a BSP page in R3 IDES server
it works .
The FQDN I am using for R3 IDES server is
http://mtv01ir301.mindtree.com:8000
================================
But the same logic does not work in the R3 Development
server.
The FQDN I am using for development server is
http://mtv01sdr301.dev.com:8001
This development system is in Workgroup ,
but we have edited the host file with the
mtv01sdr301.dev.com -- ( IP address 172.20.41.3 )
I get the following error........
====================================================
500 SAP Internal Server Error
Error message: An exception that could not be caught occurred.
( type of termination: RABAX_STATE )
====================================================
Kindly help with your valuable advice.
Aby Jacob ...
Hi Craig,
I am adding an extract of Short dump below.
Thanks in advance,
Aby Jacob
=========
Runtime Errors STRING_OFFSET_TOO_LARGE
Exception CX_SY_RANGE_OUT_OF_BOUNDS
Occurred on 13.12.2004 at 10:50:22
Invalid access to a string (offset too large).
What happened?
Error in ABAP application program.
The current ABAP program "CL_HTTP_SERVER================CP " had to be
terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
System environment
SAP Release.............. "620"
Application server....... "mtv01sdr301"
Network address.......... "172.20.41.3"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "short"
Database server.......... "MTV01SDR301"
Database type............ "MSSQL"
Database name............ "DR3"
Database owner........... "dr3"
Character set............ "English_United State"
SAP kernel............... "620"
Created on............... "Nov 7 2004 22:15:08"
Created in............... "NT 5.0 2195 Service Pack 2 x86 MS VC++ 12.00"
Database version......... "SQL_Server_7.00 "
Patch level.............. "1730"
Patch text............... " " Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "620"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
User, transaction...
Client................ 100
User.................. "TEST"
Language key....... ..."E"
Transaction............" "
Program............... "CL_HTTP_SERVER================CP "
Screen.............. .."SAPMHTTP 0010"
Row in Screen..........2
Information on the caller of the "HTTP" connection:
Plug-in type..........."HTTP"
Caller IP.............."172.20.41.3"
Caller Port............8001
Universal Resource ID.."/sap/bc/bsp/ping"
Information on where termination occurred
The termination occurred in the ABAP program "CL_HTTP_SERVER================CP
" in "EXECUTE_REQUEST".
The main program was "SAPMHTTP ".
The termination occurred in line 197 of the source code of the (Include)
program "CL_HTTP_SERVER================CM00D "
of the source code of program "CL_HTTP_SERVER================CM00D " (when
calling the editor 1970).
Processing was terminated because the exception "CX_SY_RANGE_OUT_OF_BOUNDS"
occurred in the
procedure "EXECUTE_REQUEST" "(METHOD)" but was not handled locally, not
declared in the
RAISING clause of the procedure.
The procedure is in the program "CL_HTTP_SERVER================CP ". Its source
code starts in line 1
of the (Include) program "CL_HTTP_SERVER================CM00D ".
Source code extract
001670 read table servtbl index readindex
001680 into exp_wa
001690 transporting service-orig_name
001700 service-icfnodguid
001710 service-icfparguid.
001720
001730 * do not concatenate virtual host entry into expanded string exp_rest
001740 if exp_wa-service-icfparguid <> 'FFFFFFFFFFFFFFFFFFFFFFFFF'.
001750 concatenate exp_rest '/' exp_wa-service-orig_name
001760 into exp_rest.
001770 endif.
001780 endwhile.
001790 sy-tabix = index.
001800 else.
001810 * in case of original services create stop the processing of
001820 * expanded parts
001830 exp_flag = 0.
001840 clear exp_rest.
001850 concatenate exp_script_name '/' serv_wa-pathcomp
001860 into exp_script_name.
001870 endif.
001880 else.
001890 * is original service name as part of request_url empty
001900 * than proceed with construction of expanded parts
001910 * do not process external aliases (e. g. '/host')
001920 if exp_flag = 1 and
001930 serv_wa-service-icfaliflag <> 'V'.
001940 concatenate exp_script_name '/' serv_wa-service-orig_name
001950 into exp_script_name.
001960 len = strlen( serv_wa-service-orig_name ) + 1.
<b>----
> exp_rest = exp_rest+len(*).
-
</b>
001980 endif.
001990 endif.
002000 endif.
002010
002020 * construct path_infos not for virtual host entries
002030 len = strlen( orig_script_name ).
002040 orig_path_info = orig_url+len(*).
002050 if exp_flag = 1 and
002060 not orig_path_info is initial and
002070 orig_path_info(1) <> '/'.
002080 * add '/' to orig_path_info, if seprator '/' is not included
002090 concatenate exp_rest '/' orig_path_info into exp_path_info.
002100 else.
002110 concatenate exp_rest orig_path_info into exp_path_info.
002120 endif.
002130
This isn't Aby Jacob Emmanuel's code that is throwing this error. It is the CL_HTTP_SERVER. I found this same code in my system. It still looks like something is wrong with your URL setup still. Are you using an exernal alias in SICF? It looks like the code is trying to expand an alias and offseting beyond the end of the string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Sorry about my late reply;
I was tied up with some urgent work.
Today I made some changes.
A totally new error page is being displayed now.
I tried testing the BSP application TUTORIAL_CACHE
Business Server Page (BSP) Error
What happened?
Call of BSP page terminated due to error.
Note
Following error text processed in system:
BSP+Exception%3a+the+Application+Name+bc+in+URL+%2fsap%2fbc%2fbsp%2fsap%2ftutorial_cache%2fauthors%2ehtm%3fsap-client%3d100%26sap-sessioncmd%3dopen+is+invalid%2e
Error Type:
Your SAP Business Server Pages Team
========================================
ST22 extract
User, transaction...
Client................ 100
User.................. "TEST"
Language key....... ..."E"
Transaction............" "
Program............... "CL_BSP_RUNTIME================CP "
Screen.............. .."SAPMHTTP 0010"
Row in Screen..........2
Information on the caller of the "HTTP" connection:
Plug-in type..........."HTTP"
Caller IP.............."172.20.36.79"
Caller Port............8001
Universal Resource ID.."/sap/bc/bsp/sap/tutorial_cache/authors.htm"
Information on where termination occurred
The termination occurred in the ABAP program "CL_BSP_RUNTIME================CP
" in "ON_CHECK_BSP".
The main program was "SAPMHTTP ".
The termination occurred in line 34 of the source code of the (Include)
program "CL_BSP_RUNTIME================CM00E "
000210 * check that the url contains a fully qualified host name (domain)
000220 l_host = c_request->get_header_field( name = 'host' ).
000230 if l_host na '.' or l_host co '0123456789.:'. " > see CSN note 67711
000240 * special case for client call:
000250 if not l_host cs 'localhost'.
000260 call function 'TH_GET_PLUGIN_INFO'
000270 EXPORTING
000280 protocol = 1
000290 local = 1
000300 IMPORTING
000310 host = l_domain2.
000320 shift l_domain2 left up to '.'. l_domain = l_domain2.
000330 split l_host at ':' into l_host l_port.
> raise exception type cx_bsp_host_not_qualified
000350 exporting host = l_host domain = l_domain.
000360 endif.
000370 endif.
000380
000390
000400 * init some URLs
000410 *RBR additional info (e.g.: /sap/bc/rbr alias-> /sap/bc/bsp/sap
000420 * ~path_info application + page as given in URL (/myapp/page
000430 * ~path_info_expanded application + page as defined (/sap/myapp/
000440 * ~script_name url of runtime as given in URL (/sap/bc/rbr
000450 * ~script_name_expanded url of runtime as defined (/sap/bc/bsp
000460 * if no alias is used, ~script_name = ~script_name_expanded, so I think
000470 * use ~script_name_expanded
000480 if c_request->get_header_field( '~path_info_expanded' ) =
000490 c_request->get_header_field( '~path_info' ). "#EC NOTEXT
000500 if_bsp_runtime~runtime_url =
Your Valuable help is appreciated,
Aby Jacob
SAP Web AS accepts hostname if:
1. it is localhost
2. it is an IP address (only digits)
3. it is a Full Qualified Name (eg. www.yourhost.it)
Sergio
Hi Sergio
SAP Web AS accepts hostname if:
1. it is localhost
2. it is an IP address (only digits)
3. it is a Full Qualified Name (eg. www.yourhost.it)
===========
http://mtv01sdr301.mindtree.com:8001/sap/bc//bsp/
====================================================
All of these options produced the same identical error
that I have posted above.
BR/ Aby Jacob
Hi Sergio ,Craig,
Currently No short dump is being produced !!
ST22 problem is resolved,
Thanks to all of you at SDN for some improvement.
====================================================
I am using a Full Qualified Name http://mtv01sdr301.mindtree.com:8001/sap/bc//bsp/
====================================================
All of these options produced the same BSP error
that I have posted above.
BR/ Aby Jacob
Hi Aby Jacob,
So no short dump but no page ?
dumb question but are you type exactly this URL?
http://mtv01sdr301.mindtree.com:8001/sap/bc//bsp/
This is an incomplete URL with an extra // in it for some reason.
for example if you try this link what do you get?
http://mtv01sdr301.mindtree.com:8001/sap/bc/bsp/sap/it00/mime_sap_icons.htm
Hi Craig,
When I try this link which you provided.......
http://mtv01sdr301.mindtree.com:8001/sap/bc/bsp/sap/it00/mime_sap_icons.htm
Error is given below...
I also tried with
http://172.20.41.3:8001/sap/bc/bsp/sap/tutorial_cache/authors.htm
===================
Business Server Page (BSP) Error
What happened?
Call of BSP page terminated due to error.
Note
Following error text processed in system:
BSPException%3atheApplicationNamebcinURL%2fsap%2fbc%2fbsp%2fsap%2fit00%2fmime_sap_icons%2ehtmisinvalid%2e
Error Type:
Your SAP Business Server Pages Team
====================================
I have 1 question ??
Could it be a problem with my ITS installation ?
================================================
Many Thanks for your precious help,
Aby Jacob
Hi Craig,
Thank God, It is finally working.
I think the earlier short dump was due to
SICF being inactive.
Also my icm/full_host_name parameters were incorrect.
some error in URL string also.
Now all the demo/test programs are working fine.
Special thanks to you Craig and also to Subramaniam
for your precious help.
Warm regards/Happy New Year
Aby Jacob
..
Welcome to the forum!! No need to say sorry, we were all there once before.
First things first you'll need to be a bit more specific about the error.
You get an error therefore your SICF settings are most likely OK otherwise you would get "Service not Active" so we'll move onto "Friendly HTTP Errors" which you seem to have taken care of already otherwise you would not get the "RABAX_STATE" message you would only get the IE error page.
So now let's move on
ST22, this transaction in your system will show you any short dumps that might have or have been created when you execute the page - perhaps that will help you solve the problem.
Now what exactly are you trying to execute? A code sample would be nice to give us a code sample simply add the put code inside of [] in the beginning and then /code in [] after all of your code that will let us see a nicely formatted code sample and help for reading purposes.
You can also check out these weblogs:
<a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a>
<a href="/people/sap.user72/blog/2004/09/07/bsp-howto-exploring-bsp-development-and-the-miniwas-620 Tutorial</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.