Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Dual Stack : Java not starting : Caused by: java.sql.SQLException: Io exception: Got minus one from a read call

$
0
0

Dear experts,

 

we are performing activity on our quality server(ABAP+Java) in which we are moving from old operating system to new operating system.

OS - SUSE 10  to SUSE 11

 

In this process, we are keeping everything same hostname/ mount points/ etc

We are restoring our DB and starting it at new server.

 

We have performed this activity successfully on our DEV system without any concern. but we are facing below issues while starting our QA system.

I am aware that this is not the ideal method to perform this task, but as of now we are going ahead with this method.

 

ABAP instance is up fine but java is not able to start,

 

>>  more std_bootstrap.o01

 

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

Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0230973].

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

Exception occurred:

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

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

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

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

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

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

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

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

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

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

com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

        at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

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

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

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

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

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

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

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

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

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

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

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

Caused by: java.sql.SQLException: Io exception: Got minus one from a read call

        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.logon(T4CConnection.java:387)

        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)

        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)

        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)

        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)

        at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)

        at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)

        at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)

        ... 14 more

 

 

[Bootstrap module]> Problem occurred while performing synchronization.

 

As per 1866145 - Java is not starting due to a JDBC exception we have increased our processes and session values from 200 to 300 and 400 to 600 respectively, still isssue remains the same.

 

 

dev_control snippet

 

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

JControlStartJLaunch: program = /usr/sap/HRQ/DVEBMGS01/exe/jlaunch

-> arg[00] = /usr/sap/HRQ/DVEBMGS01/exe/jlaunch

-> arg[01] = pf=/usr/sap/HRQ/SYS/profile/HRQ_DVEBMGS01_hsea-pdc-s031

-> arg[02] = -DSAPINFO=HRQ_01_bootstrap

-> arg[03] = -nodeId=-1

-> arg[04] = -file=/usr/sap/HRQ/DVEBMGS01/j2ee/cluster/instance.properties

-> arg[05] = -syncSem=16482383

-> arg[06] = -nodeName=bootstrap

-> arg[07] = -jvmOutFile=/usr/sap/HRQ/DVEBMGS01/work/jvm_bootstrap.out

-> arg[08] = -stdOutFile=/usr/sap/HRQ/DVEBMGS01/work/std_bootstrap.out

-> arg[09] = -locOutFile=/usr/sap/HRQ/DVEBMGS01/work/dev_bootstrap

-> arg[10] = -mode=BOOTSTRAP

-> arg[11] = pf=/usr/sap/HRQ/SYS/profile/HRQ_DVEBMGS01_hsea-pdc-s031

-> arg[12] = -DSAPSTART=1

-> arg[13] = -DCONNECT_PORT=23275

-> arg[14] = -DSAPSYSTEM=01

-> arg[15] = -DSAPSYSTEMNAME=HRQ

-> arg[16] = -DSAPMYNAME=hsea-pdc-s031_HRQ_01

-> arg[17] = -DSAPPROFILE=/usr/sap/HRQ/SYS/profile/HRQ_DVEBMGS01_hsea-pdc-s031

-> arg[18] = -DFRFC_FALLBACK=ON

-> arg[19] = -DFRFC_FALLBACK_HOST=localhost

-> lib path = LD_LIBRARY_PATH=/sapmnt/HRQ/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4/jre/lib/amd64/server:/sapmnt/HRQ/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4/jre/l

ib/amd64:/sapmnt/HRQ/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4/jre/../lib/amd64:/usr/sap/HRQ/DVEBMGS01/exe:/usr/sap/HRQ/DVEBMGS01/exe:/usr/sap/HRQ/DVEBMGS01/exe:/usr/

sap/HRQ/SYS/exe/run:/oracle/client/11x_64/instantclient:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib:/usr/sap/HRQ/DVEBMGS01/j2ee/os_libs:/usr/sap/HRQ/DV

EBMGS01/exe:/usr/sap/HRQ/DVEBMGS01/exe:/usr/sap/HRQ/DVEBMGS01/exe:/usr/sap/HRQ/SYS/exe/run:/oracle/client/11x_64/instantclient

-> exe path = PATH=/usr/sap/HRQ/SYS/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4/bin:/usr/sap/HRQ/DVEBMGS01/j2ee/os_libs:/oracle/HRQ/112_64/bin:/usr/sap/HRQ/SYS/exe/jvm/

linuxx86_64/sapjvm_4.1.022/sapjvm_4/bin:.:/home/hrqadm:/usr/sap/HRQ/SYS/exe/run:/home/hrqadm/bin:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/us

r/lib/mit/bin:/usr/lib/mit/sbin

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

 

 

[Thr 140031216400160] JStartupICreateProcess: fork process (pid 23056)

 

 

[Thr 140031216400160] Thu Jul 10 01:32:40 2014

[Thr 140031216400160] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx_mt. 1647]

[Thr 140031216400160] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)

[Thr 140031216400160] [Node: dispatcher bootstrap] java home is set by profile parameter

[Thr 140031216400160]   Java Home: /usr/sap/HRQ/SYS/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4

[Thr 140031216400160] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/HRQ/DVEBMGS01/exe/jvmx.jar

 

 

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

JStartupIReadSection: read node properties [bootstrap_ID23097300]

-> node name          : dispatcher bootstrap

-> node type          : bootstrap

-> node execute       : yes

-> jlaunch parameters :

-> java path          : /usr/sap/HRQ/SYS/exe/jvm/linuxx86_64/sapjvm_4.1.022/sapjvm_4

-> java parameters    : -Djco.jarm=1

-> java vm version    : 4.1.022 21.1-b02

-> java vm vendor     : SAP Java Server VM (SAP AG)

-> java vm type       : server

-> java vm cpu        : amd64

-> heap size          : 256M

-> root path          : /usr/sap/HRQ/DVEBMGS01/j2ee/cluster

-> class path         : ./bootstrap/launcher.jar

-> OS libs path       : /usr/sap/HRQ/DVEBMGS01/j2ee/os_libs

-> main class         : com.sap.engine.offline.OfflineToolStart

-> framework class    : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path     : /usr/sap/HRQ/DVEBMGS01/exe/jstartup.jar:/usr/sap/HRQ/DVEBMGS01/exe/jvmx.jar

-> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID023097300

-> debuggable         : yes

-> debug mode         : no

-> debug port         : 60000

-> shutdown timeout   : 120 sec.

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


Viewing all articles
Browse latest Browse all 5139

Trending Articles



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