cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM errors while deploying external drivers in SAP PI 7.3.1 application server

phanikumar_akella
Participant
0 Kudos

Hi Experts

  

I am getting JSPM errors while deploying external drivers in SAP PI 7.3.1 application server. I have searched in sdn for similar kind of issues. I couldn't find relevant fix for this issue.

PI: SAP PI 7.3.1 Single Stack

OS: Windows 2008 R2 Enterprise (x64)

DB: Oracle 11.2.0.3.0

Java: java version "1.6.0_45", Java(TM) SE Runtime Environment (build 1.6.0_45-b06), Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

I referred SAP Note 1138877 - How to Deploy External Drivers JDBC/JMS. As per the note I have created SAPXI3RDPARTY00_0.sca\DEPLOYARCHIVES\com.sap.aii.adapter.lib.sda file.

JSPM Errors - S:\usr\sap\PRD\J00\j2ee\JSPM\log\log_2013_08_02_15_27_04


<!--LOGHEADER[END]/-->

Aug 2, 2013 3:28:39 PM Error: com.sap.ASJ.dpl_api.001226 Could not establish connection to AS Java on [sappi:50004]. Authentication did not succeed. Wrong or missing security credentials (password) for principal [test], or the specified principal has no permissions to perform JNDI related operations.

Aug 2, 2013 3:32:04 PM Info: com.sap.ASJ.dpl_api.001243 component version handling rule is [UpdateAllVersions].

Aug 2, 2013 3:32:04 PM Info: com.sap.ASJ.dpl_api.001244 deployment workflow strategy is [normal deploy strategy].

Aug 2, 2013 3:32:06 PM Info: com.sap.ASJ.dpl_api.001249 +++ Validation finished with status [Success] +++ [

===== Summary - Validate(1/1) Result - Start =====

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

Type | Status  : Count

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

> SCA(s)

> SDA(s)

   - [Admitted] : [1]

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

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

Type | Status  : Id

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

> SCA(s)

> SDA(s)

   - [Admitted] : name: 'com.sap.aii.adapter.lib', vendor: 'sap.com',

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

===== Summary - Validate(1/1) Result - End =====

]

Aug 2, 2013 3:34:09 PM Info: com.sap.ASJ.dpl_api.001046 +++ Server is being restarted for offline deploy +++. The currently set engine start timeout is [7200] seconds.

Aug 2, 2013 3:34:09 PM Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [0] seconds. Will timeout in [7200] seconds.

Aug 2, 2013 3:34:09 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. Error. Server process is down or disconnected from ICM. Check server process traces and ICM logs for details. Error message: the requested server is not available. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:11 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:13 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:15 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:17 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. No alive connection. Check state of the server. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:27 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. Cannot establish connection with any of the available profiles:

url=sappi:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 192.168.2.2 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.

Aug 2, 2013 3:34:29 PM Info: com.sap.ASJ.dpl_api.001074 +++ Wait for server response +++. Deploying offline [19] seconds. Will timeout in [7180] seconds.

Aug 2, 2013 3:34:30 PM Error: com.sap.ASJ.dpl_api.001224 Could not establish connection to AS Java on [sappi:50004]. Cannot establish connection with any of the available profiles:

url=sappi:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 192.168.2.2 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.

Thanks

Phani Akella

Accepted Solutions (0)

Answers (3)

Answers (3)

AntalP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Phani,

the initial error can be ignored,  the JSPM tries to logon with "test" user:

Java on [sappi:50004]. Authentication did not succeed. Wrong or missing security credentials (password) for principal [test], or the specified principal has no permissions to perform JNDI related operations.

The real issue appears later:

Java on [sappi:50004]. Cannot establish connection with any of the available profiles:

url=sappi:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 192.168.2.2 and port: 50004

Usually folloing reasons cause it:

- server is down

--> check the dev_server0 and std_server0 files, the server must be in "running" state.

- P4 port is not assigned to IP 192.168.2.2

--> check dev_icm file if the P4 port is listening on this IP

- P4 service is down

--> check the std_server0.out file, ensure  that P4 service is started

Also you need to apply Note 1158626 - P4 connection to ICM
on machine with multiple IPs fails

Instead of JSPM use SUM tool as JSPM is not supported for NW730 any more.

Best Regards,

Antal Perger

phanikumar_akella
Participant
0 Kudos

Dear All

Thanks a lot for all your suggestions. I have checked my configuration and found that no entries were available in configtool related to P4. Does this mean that I have missed out executing any configuration template/step required for proper functioning of PI server?

PFA log files from my server.

Regards

Phani Akella

Message was edited by: PhaniKumar Akella

phanikumar_akella
Participant
0 Kudos

Hi All

Also please find below screenshots.

http://wiki.sdn.sap.com/wiki/display/TechTSG/Introduction+to+the+Configtool,+JVM+parameters+and+the+...

This is the secure store screenshot from my Config tool (my server). But as per the above links there are some good number of parameters in secure store screenshot. Do I need to create them manually? Did I missed anything in Post Installation?

These are the stuff I have configured in my single stack SAP PI box. Am I missing anything, because of which few parameters are missing in my secure store? Please advise.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi,

Please check 1678363 - JSPM fails during the validation phase in NW 7.3

and 1882305 - Could not establish connection to AS Java for principal [test]

I am sorry, i missed these notes in my last post.

Regards,

Divyanshu

AntalP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Phani,

the P4 and IIOP ports are open:

dev_icm:

[Thr 4624] Fri Aug 02 18:29:12 2013

--> ICM startup time

[Thr 4716] Started service PORT=50004,PROT=P4,TIMEOUT=60,PROCTIMEOUT=60

[Thr 4716] Started service PORT=50007,PROT=IIOP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 4624] *** ICM shutdown completed (pid: 4620) ***

[Thr 4624] Sat Aug 03 00:00:06 2013

--> ICM shutdown time

From the reported time Aug 2, 2013 3:32:06 PM there is no log, so it can be that J2EE server was down and it caused the error.

You can deploy one SCA using the J2EE telnet service:

- logon to server

- >telnet localhost 50008

       (from another host it will not work)

  >add deploy

  >deploy <path to SCA> on_deploy_error=stop

Best Regards,

Antal

Former Member
0 Kudos

Hi,

Please check whether JAVA is up and running..

From the initial screen, i can see that authorization has failed.

As well as kindly let us know whether you are using JSPM or SUM to upgrade JAVA ??

Thanks and Regards,

Vimal

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Phani,

Please check P4 port and your java system status.

Correct and Update you P4 port in secure storage using config tool.

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Also check these two notes for more info.

1868308

1711920

Regards,

Divyanshu