cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE server Failing With "DpIJ2eeShutdown, DpProcKill: kill failed"

Former Member
0 Kudos

Hi,

1. We have successfully completed the SAP Netweaver 7.0 Test-Drive X86 edition on Fedora 12.

2. We are able to access the 'SAP Management console' on port 50013 as well (on http://<sid_host>:50013) .

When the 'sapstart n4sadm' is executed, we see the following errors.

Tue Nov 16 17:14:27 2010
J2EE server info
  start = TRUE
  state = STARTED
  pid = 17286
  argv[0] = /usr/sap/N4S/DVEBMGS42/exe/jcontrol
  argv[1] = jcontrol
  argv[2] = pf=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS42_n4shost
  argv[3] = -DSAPSTART=1
  argv[4] = -DCONNECT_PORT=56898
  argv[5] = -DSAPSYSTEM=42
  argv[6] = -DSAPSYSTEMNAME=N4S
  argv[7] = -DSAPMYNAME=pwc01_N4S_42
  argv[8] = -DSAPPROFILE=/usr/sap/N4S/SYS/profile/N4S_DVEBMGS42_n4shost
  argv[9] = -DFRFC_FALLBACK=ON
  argv[10] = -DFRFC_FALLBACK_HOST=localhost
  start_lazy = 0
  start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED
DpJ2eeLogin: j2ee state = CONNECTED
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=17286)
*** ERROR => DpProcKill: kill failed (3: No such process) [dpuxdisp.c   404]
DpIJ2eeShutdown: j2ee state = SHUTDOWN

Tue Nov 16 17:14:47 2010
DpEnvCheckJ2ee: switch off j2ee start flag

Note : We have the following configuration in /usr/sap/N4S/SYS/profile/N4S_DVEBMGS42_n4shost File.

ipc/shm_psize_10 = 76000000
ipc/shm_psize_40 = 62000000
em/address_space_MB = 512
em/initial_size_MB = 2048

We will really appreciate the forum's help on this.

Thanks,

Sriram

Accepted Solutions (0)

Answers (4)

Answers (4)

desiree_matas
Contributor
0 Kudos

Hi,

In fact this looks like an issue with the connection user of the DB. Unfortunately I'm not an expert in DB2, so I'd suggest to open a new thread in the Database & OS Platforms forum.

From java point of view, you can check and test the JDBC database connection as explained in SAP note 784264. Note 850486 may be also useful.

Regards,

Désiré

Former Member
0 Kudos

Thanks, finally we could get the J2ee instance up by resetting the password for sapn4sdb user, as below.

usermod --password `openssl passwd password` sapn4sdb

Question

We are able to access http://n4shost:54200/index.html and can execute 'J2ee examples'. But we are not able to access the portal page,

http://n4shost:54200/irj/

The error we get on the browser is " The requested resource does not exist."

Help please.

Thanks,

Sriram

Former Member
0 Kudos

make sure the IRJ service in Visual Admin is active under deploy service.

Former Member
0 Kudos

What is Visual Admin ? Can you please point us to a process/url/folder ? Will really appreciate.

Former Member
0 Kudos

if you search for 'Visual Admin' on help.sap.com you will know.

desiree_matas
Contributor
0 Kudos

Hi again,

You are facing some problem during the bootstrap process, so check the bootstrap logs at the 'work' directory. There you will find the error (usually some connection issue with the database).

Regards,

Désiré

Former Member
0 Kudos

Hi,

Thanks again. We have moved one more step and could locate this error. What are the root causes for jdbc errors like 'jdbc:db2://n4shost:5912/N4S' ?

#1.5#0024E8C7E9D300000000000C000E920F0004953A89BF86E1#1289978558514#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[main,5,main]##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection {3}: code={0,number,integer}, state="{1}", message="{2}".#5#-99999#<null>#[ibm][db2][jcc][t4][2010][11246] Connection authorization failure occurred.  Reason: Local security service non-retryable error.#jdbc:db2://n4shost:5912/N4S:deferPrepares=0;#<null>#

Thanks,

Sriram

desiree_matas
Contributor
0 Kudos

Hi,

Check the log files at: /usr/sap//work/*

If you are new to SAP Java, then SAP course ADM800 may be quite useful for you

Best regards,

Désiré

Former Member
0 Kudos

Thanks for the suggestion and quick response.

Now we see the following in the 'dev_jcontrol' log file in work directory.

132 [Thr 3077957312] JStartupICreateProcess: fork process (pid 1350)
133 
134 [Thr 3077957312] Tue Nov 16 20:42:47 2010
135 [Thr 3077957312] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx_mt. 1642]
136 [Thr 3077957312] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
137 [Thr 3077957312] JControlCloseProgram: started (exitcode = 66)
138 [Thr 3077957312] JControlCloseProgram: good bye... (exitcode = 66)

Thanks,

Sriram

desiree_matas
Contributor
0 Kudos

Hi,

Is there any other error in the rest of the logs from the 'work' directory?

I understand this is a java add-in installation. Is the ABAP up and running?

Regards,

Désiré

Former Member
0 Kudos

We are new to the SAP world in itself.

1) Can you point to the work directory location ?

2) When we run sapstart n4shost, this is what we see.

Starting SAP Instance SCS00
------------------------------
 Startup-Log is written to /home/n4sadm/startsap_SCS00.log
 Instance Service on host pwc01 started
 Instance on host pwc01 started

Starting SAP Instance DVEBMGS42
------------------------------
 Startup-Log is written to /home/n4sadm/startsap_DVEBMGS42.log
 Instance Service on host pwc01 started
 Instance on host pwc01 started

Thanks,

Sriram