Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

SNC Configuration in JAVA to ABAP

$
0
0

Hi,

 

Please prepare with more patience as my message is too big

 

Am configuring SNC in JAVA system to connect the ABAP system.

I performing the attached document steps. (SNC J2EE_To_ABAP. PDF) but I got stuck in the Jco destination creation which is failing with below error.

----------------------

  1. com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: connection closed without message (CM_NO_DATA_RECEIVED)

----------------------

 

During my searching process I come to know that UME has to be configured to connect the ABAP system. Hence I followed the UME configuration steps accordingly as per the UME to J2EE attached document  Only followed the LDAP to ABAP connectivity steps.

But after I updated the UME parameters J2EE server is not coming up. It is failing with below error.

 

std_server0.out

------------------------------------

        at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:109)

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=<Java Rfc client> ASHOST=lhvzhraq SYSNR=00 SNC_MODE=1 SNC_QOP=8 SNC_MYNAME="p:CN=UME, OU=TECH, O=AXA, C=DE" SNC_PARTNERNAME="p:CN=HRE

, OU=TECH, O=AXA, C=DE" PCS=1

 

LOCATION    CPIC (TCP/IP) on local host lhvzhjad with Unicode

ERROR SncPDLInit()==SNCERR_INIT

            Unable to load GSS-API Shared Library

            named "SECUDE.dll"

TIME        Sun Jun 28 21:35:43 2015

RELEASE    721

COMPONENT  SNC (Secure Network Communication)

VERSION    6

RC          -1

MODULE sncxxdl_mt.c

LINE        462

DETAIL dlopen("SECUDE.dll") FAILED

"SECUDE.dll: cannot open shared object file: No such file or

directory"

SYSTEM CALL dlopen

COUNTER    3

-------------------------------------------

 

dev_server0

----------------------------

Sun Jun 28 21:35:31 2015

  1. 2.293: [GC 2.294: [ParNew: 409600K->2733K(512000K), 0.0077140 secs] 409600K->2733K(1994752K), 0.0078040 secs] [Times: user=0.02 sys=0.00, real=0.00 secs]

[Thr 47754499877184] JHVM_RegisterNatives: com.sap.bc.proj.jstartup.JStartupFramework

[Thr 47754499877184] JLaunchISetClusterId: set cluster id 13919350

[Thr 47754499877184] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 47754499877184] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

 

Sun Jun 28 21:35:36 2015

  1. 7.968: [GC 7.969: [ParNew: 412333K->18910K(512000K), 0.0258060 secs] 412333K->18910K(1994752K), 0.0259350 secs] [Times: user=0.08 sys=0.01, real=0.03 secs]

 

[Thr 47754824952128] Sun Jun 28 21:35:42 2015

[Thr 47754824952128] JHVM_RegisterNatives: com.sap.mw.rfc.driver.CpicDriver

 

[Thr 47754824952128] Sun Jun 28 21:35:43 2015

[Thr 47754824952128] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)

[Thr 47754824952128] *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("SECUDE.dll") FAILED

  "SECUDE.dll: cannot open shared object file: No such file or directory"  [dlux_mt.c 445]

Heap

par new generation  reserved 614400K, committed 614400K, used 268866K [0x000000001c420000, 0x0000000041c20000, 0x0000000041c20000)

  eden space 409600K,  61% used [0x000000001c420000, 0x000000002b839090, 0x0000000035420000)

  from space 102400K,  18% used [0x0000000035420000, 0x00000000366978b8, 0x000000003b820000)

  to  space 102400K,  0% used [0x000000003b820000, 0x000000003b820000, 0x0000000041c20000)

concurrent mark-sweep generation reserved 2531328K, committed 1482752K, used 0K [0x0000000041c20000, 0x000000009c420000, 0x00000000dc420000)

concurrent-mark-sweep perm gen reserved 524288K, committed 524288K, used 43697K [0x00000000dc420000, 0x00000000fc420000, 0x00000000fc420000)

[Thr 47754364959040] JLaunchIExitJava: exit hook is called (rc = -11113)

[Thr 47754364959040] **********************************************************************

[Thr 47754364959040] *** ERROR => The Java VM terminated with a non-zero exit code.

[Thr 47754364959040] *** Please see SAP Note 943602 , section 'J2EE Engine exit codes'

[Thr 47754364959040] *** for additional information and trouble shooting.

[Thr 47754364959040] **********************************************************************

[Thr 47754364959040] SigISetIgnoreAction : SIG_IGN for signal SIGCHLD

[Thr 47754364959040] JLaunchCloseProgram: good bye (exitcode = -11113)

-----------------------------------------

 

Everytime it was showing different issues, as perthat I did many changes, Now it is failed with above error. I do not think this is only problem with SECUDE.dll.

 

Key points which needs to tell.

 

  1. Below line is added in .sapenv_lhvzhjad.csh

setenv SECUDIR /usr/sap/HJE/JC01/sec

 

And below line is added in .sapenv_lhvzhjad.sh

SECUDIR=/usr/sap/HJE/JC01/sec/; export SECUDIR

 

  1. Do we need to create any RFC from ABAP system side to communicate with JAVA via SNC. ?
  2. UME is needed for SNC configuration ?
  3. How the Jco destination will communicate with ABAP as I didnt create any RFC in ABAP side.

 

Kindly check the issue and help me to move further.

 

Thank you so much guys,

Madhan


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>