cancel
Showing results for 
Search instead for 
Did you mean: 

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

Former Member
0 Kudos

Dear All,

After Backup Restore I am starting SAP then Abap stack is successfully started but JAVA stack is not started.

when Applying License for JAVA through Visual Admin in 77% getting disconnected cannot open connection on host and port 8131

Checking log DEV_DISP getting messages like this.

Fri Jun 15 21:35:28 2012

*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

Fri Jun 15 21:35:46 2012

DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN

Fri Jun 15 21:34:05 2012

*** WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0037.qqq.nxst) took 25 seconds

Fri Jun 15 21:34:25 2012

*** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 20 seconds

***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5530]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is not active

Checking log stderr1 getting

                              RSCP - Error                            |

| Error from:             TemSe management (RSTS)                      |

| code:    8  RSCPEIO      Some I/O error.                             |

| i/o, but file not open                                               |

| module: rstsf    no:    6 line:   305                    T100: TS004 |

| TSL01: F61                                                           |

|----------------------------------------------------------------------|

| Some OS information, which may or may not belong to this error:      |

| errno    13  Permission denied                                       |


Checking log sapstartsrv.log getting

Thu Jun 14 16:33:32 2012

No halib defined => HA support disabled

Initializing SAPControl Webservice

Starting AutoRestart thread

SapSSLInit failed => https support disabled

Starting WebService thread

Webservice thread started, listening on port 53113

Trusted http connect via Unix domain socket '/tmp/.sapstream53113' enabled

Pls guide me ASAP.

with rergards

Anant

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How we can read the values  like highlighted one

/sapmnt/BIP/global/security/data

#Fri May 28 16:02:55 GMT+05:30 2010

$internal/version=Ni4zMC4wMDAuMDAx

admin/user/BIP=hZwB4X1dA3sgaIEFuX/jshC7qelNQ5dIJflbCAd/0eJZCh8qmd9P1UuZtes0KEI4

$internal/check=dpyzOGbDKzALsyM4Y65kjpJYxQtkkfkt

admin/host/BIP=hZwB4X1dA3sgaIEFuX/jss3nsU4WVziMxeF8c8/GswybRtChbTmxsw\=\=

$internal/mode=encrypted

admin/password/BIP=hZwB4X1dA3sgaIEFuX/jsiABQbIZe9aLbLsUEHDDCcqoudxeuvfAJ0JaeSheP96c

jdbc/pool/BIP=hZwB4X1dA3sgaIEFuX/jsjFonAn+C4ATqqIi4iYwYHoZZJTbSNb/GwalWG3W5qs6\r\nN/JQkUsqd/pVIZ85iS8CszgwoFvEe6R7KlZEsKqSgTyfBnkLCelTqr5gDhDNK9Hc\r\nn23cGztzLg/InrskZS1U8/R5wtbzec4hjmvkYl9/qjJUCH1CC4eUePTWJqND/gYH\r\nxHA+72GcoRVfdVXLFjA4BX0/ezyVCRfy

admin/port/BIP=hZwB4X1dA3sgaIEFuX/jsi4MulnNX0BZZ/HvbDTJ7ehJg7LuEBPvwQ\=\=

Former Member
0 Kudos

Hi Anant, It can be modified by configtool, please see my answer above.

Kind regards

Former Member
0 Kudos

Dear Istvan

dispatcher log /usr/sap/BIP/DVEBMGS30/j2ee/cluster/dispatcher/log

#1.5^H#00265521E120000C0000000600000840000487A5073BF517#1275042767566#com.sap.engine.services.keystore##com.sap.engine.services.keystore#######SAPEngine_System_Thread[impl:6]_28##0#0#Error#1#/System/Security#Java###Source: com.sap.engine.services.keystore.exceptions.BaseRemoteException: Remote call errored; Description: StorageManager - getKeystore(service_ssl) failed.; Consequences: keystore view [service_ssl] not accessible; Countermeasures:check log for details##

#1.5^H#00265521E120000C0000000700000840000487A5073C169B#1275042767566#com.sap.engine.services.keystore##com.sap.engine.services.keystore#######SAPEngine_System_Thread[impl:6]_28##0#0#Error##Java###StorageManager - getKeystore(service_ssl) failed.

[EXCEPTION]

#1.5^H#00265521E120000C0000000900000840000487A5073C1C4C#1275042767576#com.sap.engine.services.ssl##com.sap.engine.services.ssl#######SAPEngine_System_Thread[impl:6]_28##0#0#Error#1#/System/Security/SSL#Java###Source: com.sap.engine.services.keystore.exceptions.BaseRemoteException: Remote call errored; Description: SSL server identity keystore view not found; Consequences: SSL transport protocol not available; Countermeasures:create keystore view "service_ssl" with at least one private key entry, restart the SSL service##

#1.5^H#00265521E120000C0000000A00000840000487A5073C1F7A#1275042767576#com.sap.engine.services.ssl##com.sap.engine.services.ssl#######SAPEngine_System_Thread[impl:6]_28##0#0#Error##Java###SSL server identity keystore view not found

[EXCEPTION]

Caused by: java.security.KeyStoreException: Cannot get root keystore view configuration: A configuration with the path "keystore" does not exist.

        at com.sap.engine.services.keystore.impl.StorageManager.getReadConfiguration(StorageManager.java:619)

        at com.sap.engine.services.keystore.impl.StorageManager.existKeystoreView(StorageManager.java:351)

        ... 11 more

#1.5^H#00265521E120001D0000001B000078B6000487F476030E86#1275383928524#com.sap.sql.jdbc.direct.DirectConnection##com.sap.sql.jdbc.direct.DirectConnection#######Thread[Thread-30,5,main]##0#0#Error#1#/System/Database/sql/jdbc/direct#Java#com.sap.sql_0003##SQL error occurred on connection BI-PRO.carnation.in:BIP:SAPSR4DB: code=17,410, state="null", message="No more data to read from socket";

SQL statement is "ROLLBACK".

[EXCEPTION]

{5}#6#17410#<null>#No more data to read from socket#BI-PRO.carnation.in:BIP:SAPSR4DB#ROLLBACK#java.sql.SQLException: No more data to read from socket

#

#1.5^H#00265521E120001D0000001D000078B6000487F47603922E#1275383928557#com.sap.sql.jdbc.direct.DirectConnection##com.sap.sql.jdbc.direct.DirectConnection#######Thread[Thread-30,5,main]##0#0#Error#1#/System/Database/sql/jdbc/direct#Java#com.sap.sql_0003##SQL error occurred on connection BI-PRO.carnation.in:BIP:SAPSR4DB: code=17,002, state="null", message="Io exception: Broken pipe";

SQL statement is "ROLLBACK".

[EXCEPTION]

{5}#6#17002#<null>#Io exception: Broken pipe#BI-PRO.carnation.in:BIP:SAPSR4DB#ROLLBACK#java.sql.SQLException: Io exception: Broken pipe

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)

        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)

        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)

        at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:577)

        at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1145)

        at com.sap.sql.jdbc.basic.BasicConnection.rollback(BasicConnection.java:69)

        at com.sap.sql.jdbc.direct.DirectConnection.rollback(DirectConnection.java:525)

        at com.sap.sql.jdbc.direct.DirectConnection.close(DirectConnection.java:574)

        at com.sap.sql.jdbc.direct.DirectPooledConnection.close(DirectPooledConnection.java:190)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection.close(DBConnection.java:84)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.close(DBConnectionPool.java:374)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.close(PersistenceHandler.java:192)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.shutDown(ConfigurationCache.java:552)

        at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.shutDown(ConfigurationHandlerFactoryImpl.java:50)

        at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.shutDownInternal(ConfigurationManagerImpl.java:212)

        at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.shutDown(AbstractConfigurationManagerImpl.java:306)

        at com.sap.engine.core.Framework.shutAllDown(Framework.java:393)

        at com.sap.engine.core.Framework.shutDown(Framework.java:455)

        at com.sap.engine.core.Framework.shutDown(Framework.java:441)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.boot.FrameThread.shutdown(FrameThread.java:102)

        at com.sap.engine.boot.StartFrame.shutdown(StartFrame.java:163)

        at com.sap.engine.boot.Start$1.run(Start.java:42)

#1.5^H#00265521E120001E0000000100002255000487F4A2C6F48D#1275384679560#com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService##com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService#######Thread[Thread-15,10,SAPEngine_System_Thread[impl:6]_Group]##0#0#Error#1#/System/Server#Plain###Error occurred while reading message from R/3 dispatcher. The J2EE engine will be shut down. Please check if the R/3 dispatcher is running and then restart the J2EE engine.#

#1.5^H#00265521E12000090000000100002255000487F4A332C3EF#1275384686625#com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService##com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService#######SAPEngine_System_Thread[impl:6]_27##0#0#Error##Plain###Couldn't send INACTIVE to R/3 dispatcher. Exception is : java.net.SocketException: Socket closed

        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:120)

        at java.net.SocketOutputStream.write(SocketOutputStream.java:157)

        at com.sap.engine.services.r3startup.dispatcher.SocketThread.sendMessage(SocketThread.java:93)

        at com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService.sendInactive(R3StartupService.java:515)

        at com.sap.engine.services.r3startup.impl1.dispatcher.R3StartupService.stop(R3StartupService.java:223)

        at com.sap.engine.services.r3startup.dispatcher.R3StartupService.stop(R3StartupService.java:39)

        at com.sap.engine.core.service630.container.ServiceStopper.run(ServiceStopper.java:31)

        at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

        at com.sap.engine.core.thread.impl6.SingleThread.execute(SingleThread.java:80)

        at com.sap.engine.core.thread.impl6.SingleThread.run(SingleThread.java:150)

Thread[SAPEngine_System_Thread[impl:6]_7]

Task: com.sap.engine.core.thread.impl6.ActionObject - Processing Task [classname: com.sap.engine.services.log_configurator.archive.ArchivingThread | toString: com.sap.engine.services.log_configurator.archive.ArchivingThread@50505050] with classloader [com.sap.engine.core.service630.container.ComponentClassLoader@12981298@service:log_configurator]#

#1.5^H#00265521E120001B0000000100002E99000487F4B43CD696#1275384972496#com.sap.engine.services.jmx.MBeanServerInvoker##com.sap.engine.services.jmx.MBeanServerInvoker#######SAPEngine_System_Thread[impl:6]_36##0#0#Warning#1#/System/Server#Java###JMX connector exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 316 |  src: cluster target-node: 309875700 req: invoke params-number: 4 params-bytes: 0 | :name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=309875700,SAP_J2EECluster="" null null null ]

[EXCEPTION]

{0}#1#com.sap.engine.services.jmx.exception.JmxConnectorException: Unable to de-serialize request parameters, message [ JMX request (java) v1.0 len: 316 |  src: cluster target-node: 309875700 req: invoke params-number: 4 params-bytes: 0 | :name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=309875700,SAP_J2EECluster="" null null null ]

        at com.sap.engine.services.jmx.RequestMessage.readParams(RequestMessage.java:537)

        at com.sap.engine.services.jmx.RequestMessage.getParams(RequestMessage.java:586)

        at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:90)

        at com.sap.engine.services.jmx.JmxServiceConnectorServer.receiveWait(JmxServiceConnectorServer.java:172)

        at com.sap.engine.core.service630.context.cluster.message.MessageListenerWrapper.process(MessageListenerWrapper.java:81)

        at com.sap.engine.core.cluster.impl6.ms.MSListenerThread.run(MSListenerThread.java:47)

        at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

        at com.sap.engine.core.thread.impl6.SingleThread.execute(SingleThread.java:80)

        at com.sap.engine.core.thread.impl6.SingleThread.run(SingleThread.java:150)

Caused by: javax.management.InstanceNotFoundException: MBean with name com.sap.default:name=com.sap.portal.prt.bridge.service.mbeans.PRTMBeanRuntime,j2eeType=PRTBridge_JMX_SECTION,SAP_J2EEClusterNode=309875700,SAP_J2EECluster=BIP not found in repository

        at com.sap.pj.jmx.server.MBeanServerImpl.getClassLoaderFor(MBeanServerImpl.java:1408)

        at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getClassLoaderFor(MBeanServerWrapperInterceptor.java:455)

        at com.sap.engine.services.jmx.CompletionInterceptor.getClassLoaderFor(CompletionInterceptor.java:576)

        at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.getClassLoaderFor(BasicMBeanServerInterceptor.java:438)

        at com.sap.jmx.provider.ProviderInterceptor.getClassLoaderFor(ProviderInterceptor.java:330)

        at com.sap.engine.services.jmx.RedirectInterceptor.getClassLoaderFor(RedirectInterceptor.java:501)

        at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getClassLoaderFor(MBeanServerInterceptorChain.java:443)

        at com.sap.engine.services.jmx.RequestMessage.readParams(RequestMessage.java:531)

        ... 8 more

#

#1.5^H#00265521E120001C0000001D00002E99000487F610BEED41#1275390819495#com.sap.engine.core.thread.impl6.ThreadManagerImpl##com.sap.engine.core.thread.impl6.ThreadManagerImpl#######Thread[Thread-27,5,main]##0#0#Error##Plain###Unexpected thread activity after interrupt() is executed in shutdown of SAPEngine_System_Thread[impl:6]_ThreadManager:

Thread[SAPEngine_System_Thread[impl:6]_37]

Task: com.sap.engine.core.thread.impl6.ActionObject - Processing Task [classname: com.sap.engine.services.log_configurator.archive.ArchivingThread | toString: com.sap.engine.services.log_configurator.archive.ArchivingThread@51415141] with classloader [com.sap.engine.core.service630.container.ComponentClassLoader@34483448@service:log_configurator]#

Former Member
0 Kudos

Check whether your Java schema is still locked.

If yes,

alter user <user_name> account unlock;

Also go through following link.

http://help.sap.com/saphelp_nw70/helpdata/en/5e/998d7f32e845a6b930d8ec0c3dfff1/frameset.htm

Thanks,

vishal

Former Member
0 Kudos

Hi,

Please check the log files:

dev_dispatcher.log

std_serverX.out

dev_serverX.out

in the ..\usr\sap\SID\DVEB..\work folder

Regards,

Srikishan

Former Member
0 Kudos

Dear Srikishan

We have dual stack with Addin BI-JAVA mention below log of

/usr/sap/BIP/DVEBMGS30/j2ee/cluster/bootstrap

#1.5^H#00265521E12000000000000A00001F520004BC221C26D01D#1332754594057#/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#28000#99999#ORA-28000: the account is locked

/usr/sap/BIP/DVEBMGS30/j2ee/configtool

#1.5^H#00265521E12000000000000A480A480A0004B9239F42558F#1329462553760#/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#1017#72000#ORA-01017: invalid username/password; logon denied

#1.5^H#00265521E12000000000000A5D815D810004B923C52E5CD4#1329463189985#/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#1017#72000#ORA-01017: invalid username/password; logon denied

#jdbc:oracle:thin:@BI-PRO:1527:BIP#<null>#

#1.5^H#00265521E1200000000000003BE63BE60004BACED40353BB#1331297388989#/System/Configuration/Logging##com.sap.tc.logging.APILogger.LogController[addLog()]#######Thread[main,5,main]##0#0#Info##Java#TC_LOGGING_CONFIGURATION_NEW_ITEMS[C0000A305666000000000002018FB1F70003D67C779ECE88]##The {0} ({1}) has been added to the {2}!#3#Log#./system.log#/System#

Below Trans.log file

oci_execute_stmt(con_hdl=0, stmth_p=0x2b39a68, iters=1, rowoff=0, dml_batch_errors=0)

oci_execute_stmt(con_hdl=0, stmth_p=0x2c82538, iters=304, rowoff=0, dml_batch_errors=0)

4 ETW000  [ dev trc,00000]  -->oci_execute_stmt(con_hdl=0, stmth_p=0x2c895d0, iters=1, rowoff=0, dml_batch_errors=0)
4 ETW000                                                                                              33  0.067373
4 ETW000  [ dev trc,00000]  <--oci_execute_stmt(rc=0, rows processed 1, iters-errors = 1-0) [time 0,000s]
4 ETW000                                                                                             321  0.067694
4 ETW000  [ dev trc,00000]  } db_rtab( fcode = 'RT_DELETE', retcode = 0 )                         14  0.067708

4 ETW690 COMMIT "0" "0"

4 ETW000  [ dev trc,00000]  db_con_commit (con_da={R/3,0,0},th_commit=1,tx=1,hold_cursor=0)       36  0.067744
4 ETW000  [ dev trc,00000]  -->oci_commit (con_hdl=0)                                             18  0.067762

4 ETW000  trace to file pointer closed

4 ETW000  trace at level 1 opened for a given file pointer

4 ETW000

4 ETW000 ================== STEP 1 =====================

4 ETW000 date&time    : 17.06.2012 - 09:22:31
4 ETW000 function     : CONNECT
4 ETW000 buffersync   : YES
4 ETW000 clients      : default
4 ETW000 l.s.m.       : VECTOR
4 ETW000 commit       : 100000
4 ETW000 table cache  : dynamic

4 ETW000

4 ETW000  [ dev trc,00000]  Disconnecting from ALL connections:                                  124  0.000124
4 ETW000  [ dev trc,00000]  Disconnecting from connection 0 ...                                   40  0.000164
4 ETW000  [ dev trc,00000]  Closing user session (con_hdl=0,svchp=0x2b2c6e8,usrhp=0x2b1c4b8)     138  0.000302
4 ETW000  [ dev trc,00000]  Detaching from DB Server (con_hdl=0,svchp=0x2b2c6e8,srvhp=0x2b2fe68)
4 ETW000                                                                                             458  0.000760
4 ETW000  [ dev trc,00000]  Disconnected (con=0) from ORACLE.                                    181  0.000941
4 ETW000  [ dev trc,00000]  Disconnected from connection 0                                        16  0.000957
4 ETW000  [ dev trc,00000]  statistics db_con_commit (com_total=1, com_tx=1)                      15  0.000972
4 ETW000  [ dev trc,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)                  13  0.000985
                                                                                                                                                  741,1     99%
Former Member
0 Kudos

But my Abap Stack server is up and running sucessfully.

dbs_ora_schema=SAPSR3

select username , account_status from dba_users;

USERNAME                       ACCOUNT_STATUS

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

OPS$BIPADM                     OPEN

OPS$SAPSERVICEBIP              OPEN

ZABBIX                         OPEN

OPS$ORABIP                     OPEN

OPS$SR4ADM                     OPEN

L1ADMIN                        OPEN

ICCL1DB                        OPEN

ICCL2DB                        OPEN

SYS                            OPEN

SYSTEM                         OPEN

SAPSR3                         OPEN

USERNAME                       ACCOUNT_STATUS

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

SAPSR4DB                       LOCKED(TIMED)

OUTLN                          LOCKED

DIP                            EXPIRED & LOCKED

ORACLE_OCM                     EXPIRED & LOCKED

TSMSYS                         EXPIRED & LOCKED

DBSNMP                         EXPIRED & LOCKED

Former Member
0 Kudos

Hi,

The Java side would use the user SAPSR4DB user to login to the database. From the command output above looks the user is locked. Try unlocking it and check the password mentioned for the user in Config Tool -> Secure Store. Then the java stack should come up too.

Regards,

Srikishan

Former Member
0 Kudos

Dear Srikishan

As earlier i have told you that it is a backup restore activity. hence i don't know the password of SAPSR4DB in that i need to change the password and where should i maintain this to read

schema SAPSR4DB password. ( so that we can avoid Account locked situation )

with regards

Anant

Former Member
0 Kudos

Hi,

Please check out the blog below:

http://www.adilfahim.com/myblog/tag/change-password-of-sapsr3/

Substitute SAPSR3 with the user you want SAPSR4DB in this case. For Java, goto Config Tool -> Secure Store and update the password for the user as well.

Regards,

Srikishan

former_member189725
Active Contributor
0 Kudos

Reset the password of user SAPSR4DB in the oracle database using

SQL> alter user SAPSR4DB identified by <new_password>;

Open the configtool , go to /usr/sap/<SID>/DVEBMGS*/j2ee/configtool

Run  ./configtool.sh

Select secure store on the left , on the field jdbc/pool/<SID>/Password , enter the password of SAPSR4DB.

Save the change.

Then restart the configtool.

Regards

Ratnajit

Former Member
0 Kudos

Dear Ratnajit

Performed same steps and even restart our server also.msg coming like that

Error Occured while working with configuration scanning MSG:null

here below log of

Log of Dev_Disp

DpJ2eeLogin: j2ee state = CONNECTED

DpMsgAdmin: Set release to 7000, patchlevel 0

*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

MBUF state PREPARED

MBUF component UP

DpMBufHwIdSet: set Hardware-ID

***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]

DpMsgAdmin: Set patchno for this platform to 310

Release check o.K.

Tue Jun 19 17:31:42 2012

MBUF state ACTIVE

Tue Jun 19 17:31:43 2012

DpModState: change server state from STARTING to ACTIVE

Tue Jun 19 17:32:20 2012

DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN

Tue Jun 19 17:32:40 2012

J2EE server info

  start = TRUE

  state = STARTED

  pid = 3609

  argv[0] = /usr/sap/BIP/DVEBMGS30/exe/jcontrol

  argv[1] = jcontrol

  argv[2] = pf=/usr/sap/BIP/SYS/profile/BIP_DVEBMGS30_BI-PRO

  argv[3] = -DSAPSTART=1

  argv[4] = -DCONNECT_PORT=64999

  argv[5] = -DSAPSYSTEM=30

  argv[6] = -DSAPSYSTEMNAME=BIP

  argv[7] = -DSAPMYNAME=BI-PRO_BIP_30

  argv[8] = -DSAPPROFILE=/usr/sap/BIP/SYS/profile/BIP_DVEBMGS30_BI-PRO

  argv[9] = -DFRFC_FALLBACK=ON

  argv[10] = -DFRFC_FALLBACK_HOST=localhost

  start_lazy = 0

  start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED

Tue Jun 19 17:32:41 2012

DpJ2eeLogin: j2ee state = CONNECTED

Tue Jun 19 17:32:43 2012

** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]

pJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

ue Jun 19 17:33:00 2012

DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN

Logs of DEV_Bootstrap

**********************************************************************

[Thr 1098643776] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [bootstrap]

-> arg[  0]: com.sap.engine.bootstrap.Bootstrap

-> arg[  1]: ./bootstrap

-> arg[  2]: ID3098757

**********************************************************************

[Thr 1098643776] Tue Jun 19 17:34:42 2012

[Thr 1098643776] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

[Thr 1098643776] JLaunchIExitJava: exit hook is called (rc = 66)

[Thr 1098643776] **********************************************************************

*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]

*** Please see SAP Note 943602 , section 'J2EE Engine exit codes'

*** for additional information and trouble shooting.

**********************************************************************

[Thr 1098643776] SigISetIgnoreAction : SIG_IGN for signal 17

[Thr 1098643776] JLaunchCloseProgram: good bye (exitcode = 66)

Logs of DEV_ICM

systemid   390 (AMD/Intel x86_64 with Linux)

relno      7000

patchlevel 0

*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c   1212]

intno      20050900

make:      multithreaded, Unicode, 64 bit, optimized

[Thr 47296402063440] started security log to file dev_icm_sec

[Thr 47296402063440] SigISetDefaultAction : default handling for signal 17

[Thr 47296402063440] ICM running on: BI-PRO.carnation.in

[Thr 47296402063440] Profile configuration error detected, use temporary corrected setup

[Thr 47296402063440] Shared Pool 10: ipc/shm_psize_10 = 136000000 (too small)

[Thr 47296402063440] Shared Pool 10: (smaller than min requirement 138139648)

[Thr 47296402063440] Shared Pool 10: (estimated size assumed 142000000)

[Thr 47296402063440] MtxInit: 30001 0 2

[Thr 47296402063440] IcmInit: listening to admin port: 64998

[Thr 47296402063440] DpSysAdmExtCreate: ABAP is active

[Thr 47296402063440] DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

[Thr 47296402063440] Tue Jun 19 17:31:40 2012

[Thr 47296402063440] DpShMCreate: sizeof(wp_adm)##29784#(1752)

[Thr 47296402063440] DpShMCreate: sizeof(tm_adm)##59821952#(29896)

[Thr 47296402063440] DpShMCreate: sizeof(wp_ca_adm)##96000#(96)

[Thr 47296402063440] DpShMCreate: sizeof(appc_ca_adm)#192000#(96)

[Thr 47296402063440] DpCommTableSize: max/headSize/ftSize/tableSize=2000/8/2192056/2192064

[Thr 47296402063440] DpShMCreate: sizeof(comm_adm)##2192064#(1088)

[Thr 47296402063440] DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

[Thr 47296402063440] DpShMCreate: sizeof(slock_adm)##0#(104)

[Thr 47296402063440] DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

[Thr 47296402063440] DpShMCreate: sizeof(file_adm)##0#(72)

[Thr 47296402063440] DpShMCreate: sizeof(vmc_adm)##0#(2008)

[Thr 47296402063440] DpShMCreate: sizeof(wall_adm)##(400056/346328/80/192)

[Thr 47296402063440] DpShMCreate: sizeof(gw_adm)#48

[Thr 47296402063440] DpShMCreate: SHM_DP_ADM_KEY##(addr: 0x2b0416bcd000, size: 63087720)

[Thr 47296402063440] DpShMCreate: allocated sys_adm at 0x2b0416bcd000

[Thr 47296402063440] DpShMCreate: allocated wp_adm at 0x2b0416bcf350

[Thr 47296402063440] DpShMCreate: allocated tm_adm_list at 0x2b0416bd67a8

[Thr 47296402063440] DpShMCreate: allocated tm_adm at 0x2b0416bd6808

[Thr 47296402063440] DpShMCreate: allocated wp_ca_adm at 0x2b041a4e3788

[Thr 47296402063440] DpShMCreate: allocated comm_adm at 0x2b041a529c88

[Thr 47296402063440] DpShMCreate: system runs without slock table

[Thr 47296402063440] DpShMCreate: system runs without file table

[Thr 47296402063440] DpShMCreate: allocated vmc_adm_list at 0x2b041a74

[Thr 47296402063440] DpShMCreate: allocated gw_adm at 0x2b041a740fc8

[Thr 47296402063440] DpShMCreate: system runs without vmc_adm

[Thr 47296402063440] DpShMCreate: allocated ca_info at 0x2b041a740ff8

[Thr 47296402063440] DpRqQInit: Parameter rdisp/queue_lock_level = 2

[Thr 47296402063440] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

[Thr 1098041664] IcmProxyWatchDog: proxy watchdog started

[Thr 1119021376] *** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set => do not tr

X.509 cert data will be removed from header [http_plg_mt. 743]

[Thr 1119021376] ISC: created 400 MB disk cache.

[Thr 1119021376] Tue Jun 19 17:31:41 2012

[Thr 1119021376] ISC: created 50 MB memory cache.

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpCacheHandler(slot=0, flags=12293) for /:0

[Thr 1119021376] HttpExtractArchive: files from archive /usr/sap/BIP/DVEBMGS30/exe/icmadmin.SAR in directory /usr/sap/BIP/DVEBMGS30/data/icmanroot are u

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=1, flags=4101) for /sap/admin:0

[Thr 1119021376] CsiInit(): Initializing the Content Scan Interface

[Thr 1119021376]            AMD/Intel x86_64 with Linux (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)

[Thr 1119021376] CsiInit(): CSA_LIB = "/usr/sap/BIP/DVEBMGS30/exe/libsapcsa.so"

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpAuthHandler(slot=2, flags=12293) for /:0

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpSAPR3Handler(slot=3, flags=4101) for /:0

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpJ2EEHandler(slot=4, flags=1077253) for /:0

[Thr 1119021376] Started service 8030 for protocol HTTP on host "BI-PRO.carnation.in"(on all adapters) (processing timeout=60, keep_alive_timeout=30)

[Thr 1119021376] IcmNetCheck: network check passed without detecting problems

[Thr 1079269696] Tue Jun 19 17:33:16 2012

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] Tue Jun 19 17:33:17 2012

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

[Thr 1119021376] *** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set => do not tr

X.509 cert data will be removed from header [http_plg_mt. 743]

[Thr 1119021376] ISC: created 400 MB disk cache.

[Thr 1119021376] Tue Jun 19 17:31:41 2012

[Thr 1119021376] ISC: created 50 MB memory cache.

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpCacheHandler(slot=0, flags=12293) for /:0

[Thr 1119021376] HttpExtractArchive: files from archive /usr/sap/BIP/DVEBMGS30/exe/icmadmin.SAR in directory /usr/sap/BIP/DVEBMGS30/data/icmanroot are u

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=1, flags=4101) for /sap/admin:0

[Thr 1119021376] CsiInit(): Initializing the Content Scan Interface

[Thr 1119021376]            AMD/Intel x86_64 with Linux (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)

[Thr 1119021376] CsiInit(): CSA_LIB = "/usr/sap/BIP/DVEBMGS30/exe/libsapcsa.so"

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpAuthHandler(slot=2, flags=12293) for /:0

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpSAPR3Handler(slot=3, flags=4101) for /:0

[Thr 1119021376] HttpSubHandlerAdd: Added handler HttpJ2EEHandler(slot=4, flags=1077253) for /:0

[Thr 1119021376] Started service 8030 for protocol HTTP on host "BI-PRO.carnation.in"(on all adapters) (processing timeout=60, keep_alive_timeout=30)

[Thr 1119021376] IcmNetCheck: network check passed without detecting problems

[Thr 1079269696] Tue Jun 19 17:33:16 2012

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] Tue Jun 19 17:33:17 2012

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:53000) [nixxi.cpp    2833]

[Thr 1079269696] *** ERROR => Connection request to host: localhost, service: 53000 failed (NIECONN_REFUSED) [icxxpool_mt. 1968]

[Thr 1079269696] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25 / sock 40

former_member189725
Active Contributor
0 Kudos

Did you only do a backup/restore for the system copy . Was the JAVA CI exported/imported using SAPINST ?

Regards

Ratnajit

Former Member
0 Kudos

Dear Ratnajit

yes same has been performed.

with regards

Anant

Former Member
0 Kudos

Hello Anant,

exitcode = 66 indicates bootstrap problem mostly caused by DB connection issues. Is AIX op. system used?

Please review note 1137949 - Engine does not start on AIX due to DB connection problems which might be the root cause of your issue.

Please also review jvm_bootstrap file which contains more detailed description of the bootstrap issue.

Kind  regards

Former Member
0 Kudos

  Dear Istvan Elek

Former Member
0 Kudos

Hi Anant,

Could you check jvm_bootstrap and std_bootstrap files please? There must be a more detailed description of the reason of bootstrap issue there. Could you copy here please?

Thanks

Former Member
0 Kudos

jvm_bootstrap and std_bootstrap

Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

        at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)

        at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

        at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

----------==[ Caused by: ]==----------

com.sap.engine.frame.core.configuration.ConfigurationException

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:242)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)

        at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)

        at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

        at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.NullPointerException

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.getAllFilesToAdd(ConfigurationManagerBootstrapImpl.java:136)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:214)

        ... 11 more

[Bootstrap module]> Problem occurred while performing synchronization.

[Jun 19, 2012 7:48:30 PM ] [Bootstrap module]> Problem occurred while performing synchronization.

[Jun 19, 2012 7:49:10 PM ] --------------------------------------------------

[Jun 19, 2012 7:49:10 PM ] Bootstrap MODE:

[Jun 19, 2012 7:49:10 PM ] <INSTANCE GLOBALS>

[Jun 19, 2012 7:49:10 PM ]  determined by parameter [ID3098757].

[Jun 19, 2012 7:49:10 PM ] --------------------------------------------------

[Jun 19, 2012 7:49:10 PM ] Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

        at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)

        at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

        at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

----------==[ Caused by: ]==----------

com.sap.engine.frame.core.configuration.ConfigurationException

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:242)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

        at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)

        at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)

        at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

        at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.NullPointerException

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.getAllFilesToAdd(ConfigurationManagerBootstrapImpl.java:136)

        at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:214)

        ... 11 more

                                                                                        

Log of Stderr1

(10079) New Child Process created.

(10079) Starting local Command:

Command:  dw.sapBIP_DVEBMGS30

           pf=/usr/sap/BIP/SYS/profile/BIP_DVEBMGS30_BI-PRO

Tue Jun 19 19:46:07 2012

Profile configuration error detected, use temporary corrected setup

Shared Pool 10: ipc/shm_psize_10 = 136000000 (too small)

Shared Pool 10: (smaller than min requirement 138139648)

Shared Pool 10: (estimated size assumed 142000000)

Tue Jun 19 19:46:08 2012

ES/TABLE = UNIX_STD

[Thr 47214281537824] MtxInit: 30002 0 2

*** ICM up and operational (pid: 10087) ***

.------------------------------============----------------------------.

|                              RSCP - Error                            |

| Error from:             TemSe management (RSTS)                      |

| code:    8  RSCPEIO      Some I/O error.                             |

| i/o, but file not open                                               |

| module: rstsf    no:    6 line:   305                    T100: TS004 |

| TSL01: F61                                                           |

|----------------------------------------------------------------------|

| Some OS information, which may or may not belong to this error:      |

| errno    13  Permission denied                                       |

`----------------------------------------------------------------------'

.------------------------------============----------------------------.

|                              RSCP - Error                            |

| Error from:             TemSe management (RSTS)                      |

| code:    8  RSCPEIO      Some I/O error.                             |

| i/o, but file not open                                               |

| module: rstsf    no:    6 line:   305                    T100: TS004 |

| TSL01: F61                                                           |

|----------------------------------------------------------------------|

| Some OS information, which may or may not belong to this error:      |

| errno    13  Permission denied                                       |

`----------------------------------------------------------------------'

Former Member
0 Kudos

com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection tries to initiate the connection to the DB.

Could you check the DB connectivitiy please?

Please also verify that the right values have set to JDBC related properties in secure store. Please use configtool.


Following properties must be checked:
jdbc/pool/<InstID>/Password  
jdbc/pool/<InstID>/Url          
jdbc/pool/JDI/User                 

Please also take a look at note: 997510

Kind regards