cancel
Showing results for 
Search instead for 
Did you mean: 

Error Launching JSPM

dharmdhwaj_singh
Explorer
0 Kudos

We were facing issue while launching the JSPM and getting the following error.

" An error has occurred during the execution of the JSPM_MAIN phase.

 

Cannot initialize application data. Error occurred while trying to get the SAPLOCALHOST parameter value from the instance number: 2 on host: GDC-UAT via SAPCONTROL the web service API. See SAP Note 1401712 for further information. java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://GDC-UAT:50213" com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://GDC-UAT:50213"

"

We reset the parameter at DEFAULT.PFL at the JAVA instance as per note 1316652

. However , our AS JAVA process at MMC stopped working and also the same error is till coming up at the JSPM.

please advice.

Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

patelyogesh
Active Contributor
0 Kudos

Hello ,

I had same issue

Check your DEFAULT.PFL profile...

There is one profile parameter as below...

service/protectedwebmethods = SDEFAULT

Change it to...

service/protectedwebmethods = DEFAULT

REF:

Note 1600846 - JSPM/SUM calls sapcontrol without user credentials

Thanks

Yogesh

Former Member
0 Kudos

Thanks , This fixed my issue also.

0 Kudos

Use the latest SUM tool version instead of JSPM

SUM is intended to replace JSPM for applying enhancement packages and Support Package Stacks.
The Software Update Manager Guide available at http://service.sap.com/sltoolset describes how to use SUM.
As of version 1.0 SP03, SUM deals with this situation correctly.

Former Member
0 Kudos

Can you try upgrading the kernel version and see if it works.

Also as per the note Note 1316652 - Analysis of startup errors for the AS Java 7.10

Failures in the 'synchronizing binaries' phase

A part of the start-up synchronization process failed.

Please create a message for the BC-JAS-COR component and attach a compressed archive containing the following files from the /usr/sap/<SID>/<instance>/work directory:

    dev_jstart*
    dev_bootstrap*
    std_bootstrap.*
    jvm_bootstrap.*
    log_bootstrap.*

Former Member
0 Kudos
premsukh_bishnoi
Contributor
0 Kudos

Hi,

As such  issue is not with JSPM but with

sapcontrol tool . In order to resolve the (401) Unauthorized error

can you please follow step 1 of note 1565645.Also please

Verify permissions of sapuxuserchk as per SAP Note 927637.

Regards, Premsukh

dharmdhwaj_singh
Explorer
0 Kudos

Hi Premsukh ,

                     I have gone through both notes however , they does not seem to be of help. Also , I want to add that before the change of parameter at DEFAULT.PFL the instances were running fine. Moreover , I am running netweaver 7.3 with abap and java on same server.

Here are the trace file of jstart.exe.

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

trc file: "dev_jstart.3520", trc level: 1, release: "720"

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

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

trc file: "dev_jstart.new", trc level: 1, release: "720"

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

sysno      02

sid        AEP

systemid   562 (PC with Windows NT)

relno      7200

patchlevel 0

patchno    63

intno      20020600

make       multithreaded, Unicode, 64 bit, optimized

profile    \\GDC-UAT\sapmnt\AEP\SYS\profile\AEP_J02_GDC-UAT

pid        3520

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      All, egi

*

Thu Sep 20 02:15:14 2012

*

*  trace logging activated, max size = 52428800 bytes, 2 versions

*

arguments :

  arg[ 0] : D:\usr\sap\AEP\J02\exe\jstart.EXE

  arg[ 1] : pf=\\GDC-UAT\sapmnt\AEP\SYS\profile\AEP_J02_GDC-UAT

F Thu Sep 20 02:15:14 2012

F  ********************************************************************************

F  Java environment properties (D:\usr\sap\AEP\J02\work\jstart.jvm)

F    root directory    : D:\usr\sap\AEP\J02\exe\sapjvm_6

F    vendor            : SAP AG

F    version           : 1.6.0_29

F    cpu               : amd64

F    java vm type      : server

F    java vm version   : 6.1.037 1.6-b11

F    jvm library name  : jvm.dll

F    library path      : D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin\server;D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin

F    executable path   : D:\usr\sap\AEP\J02\exe\sapjvm_6\bin

F  ********************************************************************************

F    SAP extensions    : available

F  ********************************************************************************

I  [Thr 3568] MtxInit: 30002 0 2

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

trc file: "dev_jstart", trc level: 1, release: "720"

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

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      All, egi

*

F  [Thr 3568] *** LOG => connected to Enqueue Server.

F  [Thr 3568] *** LOG => connected to Message Server.

F  [Thr 3568] *** LOG => Starting run level 1.

F Thu Sep 20 02:15:15 2012

F  ********************************************************************************

F  Java process [deployment] properties:

F    section name     : deployment

F    config file      : D:\usr\sap\AEP\J02\exe\startup.properties

F    node name        : Deploy_offline

F    home directory   : D:\usr\sap\AEP\J02\j2ee\cluster

F    shutdown timeout : 136000 ms

F    exit timeout     : 7000 ms

F    debuggable       : false

F    debugger active  : false

F  ********************************************************************************

F  [Thr 3568] *** LOG => Instance state is "Deploying offline components" (STARTING @ 0, INACTIVE).

F  [Thr 3568] *** LOG => Starting nodes: runlevel 1.

F  ********************************************************************************

F  Starting process: D:\usr\sap\AEP\J02\exe\jstart.EXE

F    arg[ 1] = -nodeId=0

F    arg[ 2] = pf=\\GDC-UAT\sapmnt\AEP\SYS\profile\AEP_J02_GDC-UAT

F    arg[ 3] = -hostvm

F    arg[ 4] = -nodeName=deployment

F    arg[ 5] = -file=D:\usr\sap\AEP\J02\exe\startup.properties

F    arg[ 6] = -jvmFile=D:\usr\sap\AEP\J02\work\jstart.jvm

F    arg[ 7] = -traceFile=D:\usr\sap\AEP\J02\work\dev_deployment

F    arg[ 8] = -javaOutFile=D:\usr\sap\AEP\J02\work\jvm_deployment.out

F    env   : NODNSSAPTRANSHOST=1

F  exePath : PATH=D:\usr\sap\AEP\J02\exe\sapjvm_6\bin;D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  libPath : PATH=D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin\server;D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin;D:\usr\sap\AEP\J02\j2ee\os_libs;D:\usr\sap\AEP\J02\exe\sapjvm_6\bin;D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  stdout  : D:\usr\sap\AEP\J02\work\std_deployment.out

F  stderr  : D:\usr\sap\AEP\J02\work\std_deployment.out

F  console : no

F  debugger: no

F  nice    : no

F  ********************************************************************************

F  Process Deploy_offline started with pid 3828

F  ********************************************************************************

F  [Thr 3568] *** LOG => Process deployment started (pid 3828).

F [Thr 3568] Thu Sep 20 02:15:38 2012

F  [Thr 3568] *** LOG => Process deployment stopping (pid 3828).

F [Thr 3836] Thu Sep 20 02:15:39 2012

F  [Thr 3836] *** LOG => Signal 13 SIGCHLD.

F [Thr 3568] Thu Sep 20 02:15:39 2012

F  [Thr 3568] *** LOG => Process deployment stopped (pid 3828).

F  [Thr 3568] *** LOG => Instance state is "Deploying offline components" (STOPPING @ 0, INACTIVE).

F  [Thr 3568] *** LOG => Run level 1 completed.

F  [Thr 3568] *** LOG => Starting run level 2.

F  ********************************************************************************

F  Java process [bootstrap] properties:

F    section name     : bootstrap

F    config file      : D:\usr\sap\AEP\J02\exe\startup.properties

F    node name        : Instance_bootstrap

F    home directory   : D:\usr\sap\AEP\J02\j2ee\cluster

F    shutdown timeout : 136000 ms

F    exit timeout     : 7000 ms

F    debuggable       : false

F    debugger active  : false

F  ********************************************************************************

F  [Thr 3568] *** LOG => Instance state is "Synchronizing binaries" (STARTING @ 0, INACTIVE).

F  [Thr 3568] *** LOG => Starting nodes: runlevel 2.

F  ********************************************************************************

F  Starting process: D:\usr\sap\AEP\J02\exe\jstart.EXE

F    arg[ 1] = -nodeId=0

F    arg[ 2] = pf=\\GDC-UAT\sapmnt\AEP\SYS\profile\AEP_J02_GDC-UAT

F    arg[ 3] = -hostvm

F    arg[ 4] = -nodeName=bootstrap

F    arg[ 5] = -file=D:\usr\sap\AEP\J02\exe\startup.properties

F    arg[ 6] = -jvmFile=D:\usr\sap\AEP\J02\work\jstart.jvm

F    arg[ 7] = -traceFile=D:\usr\sap\AEP\J02\work\dev_bootstrap

F    arg[ 8] = -javaOutFile=D:\usr\sap\AEP\J02\work\jvm_bootstrap.out

F    env   : NODNSSAPTRANSHOST=1

F  exePath : PATH=D:\usr\sap\AEP\J02\exe\sapjvm_6\bin;D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  libPath : PATH=D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin\server;D:\usr\sap\AEP\J02\exe\sapjvm_6\jre\bin;D:\usr\sap\AEP\J02\j2ee\os_libs;D:\usr\sap\AEP\J02\exe\sapjvm_6\bin;D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  stdout  : D:\usr\sap\AEP\J02\work\std_bootstrap.out

F  stderr  : D:\usr\sap\AEP\J02\work\std_bootstrap.out

F  console : no

F  debugger: no

F  nice    : no

F  ********************************************************************************

F  Process Instance_bootstrap started with pid 3900

F  ********************************************************************************

F  [Thr 3568] *** LOG => Process bootstrap started (pid 3900).

F [Thr 3568] Thu Sep 20 02:15:52 2012

F  [Thr 3568] *** LOG => Process bootstrap stopping (pid 3900).

F [Thr 4020] Thu Sep 20 02:15:55 2012

F  [Thr 4020] *** LOG => Signal 13 SIGCHLD.

F [Thr 3568] Thu Sep 20 02:15:55 2012

F  [Thr 3568] *** LOG => Process bootstrap stopped (pid 3900).

F  [Thr 3568] *** WARNING => Node bootstrap failed: result 1, exit code 558. [sfxxnode.hpp 1024]

F  ********************************************************************************

F  Native process [snapshot] properties:

F    section name     : snapshot

F    config file      : D:\usr\sap\AEP\J02\exe\startup.properties

F    node name        : snapshot

F    home directory   : D:\usr\sap\AEP\J02\work

F    shutdown timeout : 122000 ms

F    sf support       : false

F  ********************************************************************************

F  ********************************************************************************

F  Starting process: D:\usr\sap\AEP\J02\exe\sapcontrol.EXE

F    arg[ 1] = -prot

F    arg[ 2] = PIPE

F    arg[ 3] = -nr

F    arg[ 4] = 02

F    arg[ 5] = -function

F    arg[ 6] = CreateSnapshot

F    arg[ 7] = Servercrash

F    arg[ 8] = postmortem?node=bootstrap&exitcode=558

F    arg[ 9] = 1

F    arg[10] = 10000

F    arg[11] = ""

F    arg[12] = ""

F    arg[13] = DEFAULT

F    env   : NODNSSAPTRANSHOST=1

F  exePath : PATH=D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  libPath : PATH=D:\usr\sap\AEP\J02\exe;D:\oracle\AEP\11203\bin;D:\oracle\AGY\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;D:\usr\sap\AEP\SYS\exe\uc\NTAMD64

F  stdout  : D:\usr\sap\AEP\J02\work\std_snapshot.out

F  stderr  : D:\usr\sap\AEP\J02\work\std_snapshot.out

F  console : no

F  debugger: no

F  nice    : no

F  ********************************************************************************

F  Process snapshot started with pid 4668

F  ********************************************************************************

F  [Thr 3568] *** LOG => Process snapshot started (pid 4668).

F  [Thr 3568] *** LOG => Process snapshot running (pid 4668).

F [Thr 3568] Thu Sep 20 02:16:01 2012

F  [Thr 3568] *** LOG => SAP Start Service (pid 1496) connected.

F  [Thr 3568] *** LOG => SAP Start Service (pid 1496) disconnected.

F [Thr 4676] Thu Sep 20 02:16:16 2012

F  [Thr 4676] *** LOG => Signal 13 SIGCHLD.

F [Thr 3568] Thu Sep 20 02:16:16 2012

F  [Thr 3568] *** LOG => Process snapshot stopped (pid 4668).

F  [Thr 3568] *** LOG => Instance state is "Synchronizing binaries" (STOPPING @ 0, INACTIVE).

F  [Thr 3568] *** LOG => Run level 2 completed.

F  [Thr 3568] *** LOG => Instance state is "Some processes failed" (STOPPED @ 0, INACTIVE).

I  [Thr 3568] MPI: dynamic quotas disabled.

I  [Thr 3568] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

F  ********************************************************************************

F  *** ERROR => Node 'bootstrap' failed with exit code 558.

F  ***

F  *** Please see section 'Failures in the 'synchronizing binaries' phase'

F  *** in SAP Note 1316652 for additional information and trouble shooting advice.

F  ********************************************************************************

F  [Thr 3568] *** LOG => exiting (exitcode 22002, retcode 1).

premsukh_bishnoi
Contributor
0 Kudos

Can you please attach jvm_bootstrap log to investigate the issue.

RGDS, Premsukh