cancel
Showing results for 
Search instead for 
Did you mean: 

RFC destination type G, Error 503 not available

Former Member
0 Kudos

Hi,

Environment: ECC 5.0 only ABAP, Oracle, Windows 2003,

When I try to test an RFC destination of type G, I am getting an error

HTTP/1.0 503 not available

The message body gives the following error,


<td>##<H2><b>503 Service not available</b></H2>
<br><hr><br>The service you requested is not available<br><b
r><hr>##<table border="0">##<tr><td>Error:</td><td>-6</td></tr>##<tr><td
>Version:</td><td>6040</td></tr>##<tr><td>Component:</td><td>J2EE Server
</td></tr>##<tr><td>Date/Time:</td><td>Thu Jul 08 00:07:45 2010#</td></t
r>##<tr><td>Module:</td><td>http_j2ee.c</td></tr>##<tr><td>Line:</td><td
>795</td></tr>##<tr><td>Server:</td><td>dlwsdv11_CC5_00</td></tr>##<tr><
td>Detail:</td><td>Cannot reach external Application  Server on localhos
t:50000</td></tr>##</table>##<p></p>##</td></tr></table>##<table><tr><td

Regards,

Vishi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member227283
Active Contributor
0 Kudos

Hi,

Give some more detail. like RFC details.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

The RFC type is G connection to an external server,

I am just giving the host name and port number in technical details,

under logon/security I have selected No Logon.

(Would you like to know the values).

I am able to telnet the server with the given port number.

Looking at the error, why is the RFC trying to invoke an J2EE engine when there is only

ABAP Stack available.

Please let me know if you want more info.

Regards,

Vishi

former_member227283
Active Contributor
0 Kudos

Hi,

We need to know, what all value provided in RFC.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

Target Host: viwsqa08, service no: 4444,

Path prefix left as blank

Under Logon/Security,

No Logon

Under Special Options,

No Timeout.

HTTP Proxy Options

I have left blank.

Under Global Configuration,

Proxy setting is Active is checked,

HTTP port is 1080,

HTTPS port is 1443

Regards,

Vishi

Former Member
0 Kudos

Hi,

If you try to call the root URL (/) on an ABAP stack and have not defined a default service then there is no service available and the HTTP 503 message is perfectly logical.

Regards,

Olivier

Former Member
0 Kudos

Hi,

Thanks for your response.

Could you please provide me a suggestion as to how I should do it?

Regards,

Vishi

Former Member
0 Kudos

Hi

Any Ideas where I am going wrong.

Unable to figure out, why the RFC is trying to look Java stack?

I need to access to access a webservice running at the given machine name and port no.

This is all the information that I have.

Thanks.

Former Member
0 Kudos

Hi Olivier,


If you try to call the root URL (/) on an ABAP stack and have not defined a 
default service then there is no service available and the HTTP 503 
message is perfectly logical.

When you say the root URL

does it imply that I am not using a path prefix.

The client tells me that to access the service, the information

required will be only the host name and service no.

How do we get a path prefix in this situation?

Please advise.

Thanks,

Vishi

Former Member
0 Kudos

Hi Olivier,

Could you give some information on this problem as well.

How can we establish an RFC of type G without a path prefix?

Thanks,

Vishi

Former Member
0 Kudos

Hi,

You said :

>Target Host: viwsqa08, service no: 4444,

>Path prefix left as blank

Is this the external system or the SAP server ?

It should be the external server.

If you use a browser and call http://viwsqa08:4444 do get any answer ?

As it is the case for so many questions on these forums , you did not give enough information. It is therefore impossible to guess your context and what you are really trying to do. It does not seem clear to you either...

Regards,

Olivier

Former Member
0 Kudos

Hi Olivier,

My apologies,

I am not properly communicating it here.

This is the external server not an SAP server.

I am trying to call a webservice at this location using an RFC of type G.

If the test connection is successful, I plan to use this RFC destination to create a

logical port.

When I use a browser, to call the URL http://viwsqa08:4444,

I get an error message saying "Server rejected your request!".

When I convey this to the client who has given us this URL, the response was that

you cannot directly access it using a browser.

This is an error that I found in dev_rfc.trc file, will this have an impact on the

functioning of an RFC..


T:6552 Error in program 'igsmux': ======> CPIC-CALL: 'SAP_CMNOREGTP'
ERROR       partner 'serverIP:3300' not reached
TIME        Fri Jul 16 04:58:37 2010
RELEASE     710
COMPONENT   NI (network interface)
VERSION     39
RC          -10
MODULE      nixxi.cpp
LINE        2985
DETAIL      NiPConnect2
SYSTEM CALL connect
ERRNO       10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER     1
>TS> Fri Jul 16 04:58:38 2010
T:6552 Error in program 'listenerrfc': ======> Connect to SAP gateway failed
Connect_PM  TPNAME=IGS.CC5, GWHOST=server name, GWSERV=3300
ERROR       partner 'serverIP:3300' not reached
TIME        Fri Jul 16 04:58:38 2010
RELEASE     710
COMPONENT   NI (network interface)
VERSION     39
RC          -10
MODULE      nixxi.cpp
LINE        2985
DETAIL      NiPConnect2
SYSTEM CALL connect
ERRNO       10061
ERRNO TEXT  WSAECONNREFUSED: Connection refused
COUNTER     2

I am able to telnet the port, the port is being used by gwrd.exe, which I believe is the gateway server

There is an entry made in the services file

Regards,

Vishi

Former Member
0 Kudos

Hi,

You need to know the external web service URL, which will not be the root URL, and configure it in SM59.

Regards,

Olivier