on 03-11-2015 10:23 AM
hello!
Scenario:
JCo 3rd party server -> PI/PO (single stack) RFC
0. server.properties file
jco.server.gwhost=<SAP-PO-HOST>
jco.server.gwserv=<SAP-PO-GW>
jco.server.progid=FOO
jco.server.unicode=0
Properties props = new Properties();
props.load(getClass().getClassLoader().getResourceAsStream("server.properties"));
1. Creating Server
srv = new JCO.Server(props,repository);
2. Start server
srv.start();
I get the following error:
+++
com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Wed Mar 11 11:14:51 CET 2015.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
CPIC-CALL: 'SAP_CMACCPTP : rc=6
LOCATION SAP-Gateway on host <SAP-PO-HOST> / 3301
ERROR registration of tp FOO from host ??? not allowed
TIME Wed Mar 11 10:14:51 2015
RELEASE 742
COMPONENT SAP-Gateway
VERSION 2
RC 720
MODULE /bas/742_REL/src/krn/si/gw/gwxxrd.c
LINE 3614
COUNTER 418
+++
I already tried the notes:
1729203 - Support for communication with external RFC server
1850230 - GW Registration of tp program ID not allowed
So, do you have any other ideas why i cannot register my FOO on the PO?
What are the steps to configure JCo Server to contact the SAP PO single stack?
cheers
simon
Well with all due respect Praveen, please read my question a bit more carefully. Than you will notice, that i was asking about JCo 3rd party server, NOT client. You will also notice, that the author of the link that you have posted is also me, and there is about the communication the other way around.
I have received an SCN accouncement today about some spammers in here... well i wonder who might that be, cheerios
As for the question itself. It looks like
1850230 - GW Registration of tp program ID not allowed
is sufficient. You need to configure gw/reg_info properly. We did NOT. There server name (HOST) was misspelled.
There is also no need to set:
jco.allow_non_abap_partner = 1
as stated in
1729203 - Support for communication with external RFC server
at least not for this scenario.
After setting TP and HOST in gw/reg_info properly, JCo.Server with its jco.server.progid=FOO could have been registered in SAP PO properly.
Of course, you need a receiver channel with the same Program ID, PO server and PO gateway.
I hope this will not be categorized as spam and will help someone.
cheers
simon
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.