cancel
Showing results for 
Search instead for 
Did you mean: 

Error in starting AS-JAVA instance

Former Member
0 Kudos

Hi,

I have done a new install of AS-JAVA in windows X64 with DB2 9.7

The Server was running fine after installation.

I started the support package update, and during the upgrade, the jcontrol failed to start

I see the following error in the last lines of the server0.log. Pls assist

#1.5 #005056AE03CE0084000000520000098C0004BD800D73AB67#1334257585947#/System/Server##com.sap.engine.core.service630.container.MemoryContainer#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.service630.container.MemoryContainer#Plain###Service trex.service stopped. (0 ms)#

#1.5 #005056AE03CE0087000000010000098C0004BD800D73B106#1334257585947#/System/Server##com.sap.caf.eu.cc.content.svc.CCServiceFrame#######SAPEngine_System_Thread[impl:5]_4##0#0#Error#1#com.sap.caf.eu.cc.content.svc.CCServiceFrame#Plain###Cannot instantiate class: com.sap.engine.services.jndi.InitialContextFactoryImpl

javax.naming.NoInitialContextException: Cannot instantiate class: com.sap.engine.services.jndi.InitialContextFactoryImpl [Root exception is java.lang.ClassNotFoundException: com/sap/engine/services/jndi/InitialContextFactoryImpl]

          at com.sap.engine.system.naming.provider.ResolverManager.findInitialContextFactory(ResolverManager.java:489)

          at com.sap.engine.system.naming.provider.DefaultInitialContext._getDefaultInitCtxt(DefaultInitialContext.java:60)

          at com.sap.engine.system.naming.provider.DefaultInitialContext.getURLOrDefaultInitCtx(DefaultInitialContext.java:131)

          at javax.naming.InitialContext.unbind(InitialContext.java:371)

          at javax.naming.InitialContext.unbind(InitialContext.java:371)

          at com.sap.caf.eu.cc.content.svc.CCServiceFrame.unregisterServiceInterface(CCServiceFrame.java:221)

          at com.sap.caf.eu.cc.content.svc.CCServiceFrame.stop(CCServiceFrame.java:125)

          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.impl5.SingleThread.execute(SingleThread.java:83)

          at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)

Caused by: java.lang.ClassNotFoundException: com/sap/engine/services/jndi/InitialContextFactoryImpl

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:219)

          at com.sap.engine.system.naming.provider.ResolverManager.findInitialContextFactory(ResolverManager.java:472)

          ... 10 more

#

#1.5 #005056AE03CE0084000000530000098C0004BD800D73B319#1334257585947#/System/Server##com.sap.engine.core.service630.container.MemoryContainer#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.service630.container.MemoryContainer#Plain###Service caf~eu~cc~api stopped. (0 ms)#

#1.5 #005056AE03CE0084000000540000098C0004BD800D73B791#1334257585947#/System/Server##com.sap.engine.core.service630.container.MemoryContainer#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.service630.container.MemoryContainer#Plain###Service log_configurator stopped. (0 ms)#

#1.5 #005056AE03CE0084000000550000098C0004BD800D73BCA2#1334257585947#/System/Server##com.sap.engine.core.service630.container.MemoryContainer#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.service630.container.MemoryContainer#Plain###Service jmx_notification stopped. (0 ms)#

#1.5 #005056AE03CE0084000000560000098C0004BD800D73BF7A#1334257585947#/System/Server##com.sap.engine.core.service630.container.MemoryContainer#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.service630.container.MemoryContainer#Plain###Service runtimeinfo stopped. (0 ms)#

#1.5 #005056AE03CE0084000000570000098C0004BD800D73D279#1334257585947#/System/Server##com.sap.engine.core.configuration#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Java###{0} stopped successfully#1#ConfigurationManager#

#1.5 #005056AE03CE0084000000580000098C0004BD800D73D4FA#1334257585947#/System/Server##com.sap.engine.core.locking.AbstractLockingManagerImpl.removeAllLokcsForClusterIdLogException(clusterId)#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.locking.AbstractLockingManagerImpl#Java###All locks for cluster-element {0} removed successfully#1#506042950#

#1.5 #005056AE03CE0084000000590000098C0004BD800D73D55A#1334257585947#/System/Server##com.sap.engine.core.locking.AbstractLockingManagerImpl.shutDown(properties)#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.locking.AbstractLockingManagerImpl#Java###{0} stopped successfully#1#LockingManager#

#1.5 #005056AE03CE0088000000000000098C0004BD800D73D7A6#1334257585947#/System/Server##com.sap.engine.core.cluster.impl6.ms.MSListenerQueue.run()#######SAP J2EE Engine|MS Queue Listener##0#0#Info#1#com.sap.engine.core.cluster.impl6.ms.MSListenerQueue#Plain###MSLib: Received error command to stop listener queue.#

#1.5 #005056AE03CE00840000005A0000098C0004BD800D80497A#1334257586775#/System/Server##com.sap.engine.core.thread.impl3.ThreadManagerImpl#Guest#0#####Thread[Thread-117,5,main]##0#0#Info#1#com.sap.engine.core.thread.impl3.ThreadManagerImpl#Plain###ThreadManager stopped.#

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As per note 784568 , changed the fullyMaterializeLobData value to false in Configtool--> Cluster. Issue resolved

Answers (2)

Answers (2)

0 Kudos

Hi Balaji,

what is the size of maxheap size.

regards

sridhar

Former Member
0 Kudos

-Xms2048M

-Xss2M

-XX:MaxNewSize=341M

-XX:NewSize=341M

-XX:MaxPermSize=512M

-XX:PermSize=512M

0 Kudos

hi,

pls go through note 1603093

and change parameter

Xmx2048m

regards

sridhar

Former Member
0 Kudos

Hi,

I have already looked into this note. But i wanted to understand the reason for this parameter change.

The system was running fine after the installation. The issue occured only after i started to install the Support packages.

Former Member
0 Kudos

Hello Balaji,

Since it's a startup issue, I would suggest you to review bootstrap* and std_disp* and std_server* logs under work directory.

Thanks,

Siva Kumar

Former Member
0 Kudos

Hi Balaji,

Please post jcontrol and dispatcher log

Regards,

Sudip

Former Member
0 Kudos

Jcontrol Log


---------------------------------------------------
trc file: "D:\usr\sap\SBX\JC00\work\dev_jcontrol", trc level: 1, release: "701"
---------------------------------------------------
node name   : jcontrol
pid         : 3764
system name : SBX
system nr.  : 00
started at  : Fri Apr 13 10:45:04 2012
arguments   :
   arg[00] : D:\usr\sap\SBX\JC00\exe\jcontrol.EXE
   arg[01] : pf=D:\usr\sap\SBX\SYS\profile\SBX_JC00_SERVER_NAME


[Thr 3100] Fri Apr 13 10:45:04 2012
[Thr 3100] *** WARNING => INFO: Unknown property [instance.box.number=SBXJC00SERVER_NAME] [jstartxx.c   841]
[Thr 3100] *** WARNING => INFO: Unknown property [instance.en.host=SERVER_NAME] [jstartxx.c   841]
[Thr 3100] *** WARNING => INFO: Unknown property [instance.en.port=3202] [jstartxx.c   841]
[Thr 3100] *** WARNING => INFO: Unknown property [instance.system.id=00] [jstartxx.c   841]

**********************************************************************
JStartupReadInstanceProperties: read instance properties [D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties;D:\usr\sap\SBX\JC00\SDM\program\config\sdm_jstartup.properties]
-> ms host    : SERVER_NAME
-> ms port    : 3902
-> OS libs    : D:\usr\sap\SBX\JC00\j2ee\os_libs
-> Admin URL  :
-> run mode   : normal
-> run action : NONE
-> enabled    : yes
**********************************************************************


**********************************************************************
Used property files
-> files [00] : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> files [01] : D:\usr\sap\SBX\JC00\SDM\program\config\sdm_jstartup.properties
**********************************************************************

**********************************************************************
Instance properties
-> ms host    : SERVER_NAME
-> ms port    : 3902
-> os libs    : D:\usr\sap\SBX\JC00\j2ee\os_libs
-> admin URL  :
-> run mode   : normal
-> run action : NONE
-> enabled    : yes
**********************************************************************

**********************************************************************
Bootstrap nodes
-> [00] bootstrap            : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> [01] bootstrap_ID00604290 : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> [02] bootstrap_ID00604295 : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
**********************************************************************

**********************************************************************
Worker nodes
-> [00] ID006042900          : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> [01] ID006042900          : D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> [02] sdm                  : D:\usr\sap\SBX\JC00\SDM\program\config\sdm_jstartup.properties
**********************************************************************

[Thr 3100] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
[Thr 3100] [Node: bootstrap] java home is set by profile parameter
Java Home: C:\j2sdk1.4.2_36-x64
[Thr 3100] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\SBX\JC00\exe\jvmx.jar

**********************************************************************
JStartupIReadSection: read node properties [bootstrap]
-> node name          : bootstrap
-> node type          : bootstrap
-> node execute       : yes
-> java path          : C:\j2sdk1.4.2_36-x64
-> java parameters    : -Djco.jarm=1
-> java vm version    : 1.4.2_36-b03
-> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
-> java vm type       : server
-> java vm cpu        : amd64
-> heap size          : 256M
-> root path          : D:\usr\sap\SBX\JC00\j2ee\cluster
-> class path         : .\bootstrap\launcher.jar
-> OS libs path       : D:\usr\sap\SBX\JC00\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     : D:\usr\sap\SBX\JC00\exe\jstartup.jar;D:\usr\sap\SBX\JC00\exe\jvmx.jar
-> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0060429
-> debuggable         : yes
-> debug mode         : no
-> debug port         : 60000
-> shutdown timeout   : 120000
**********************************************************************


**********************************************************************
JControlStartJLaunch: program = D:\usr\sap\SBX\JC00\exe\jlaunch.exe
-> arg[00] = D:\usr\sap\SBX\JC00\exe\jlaunch.exe
-> arg[01] = pf=D:\usr\sap\SBX\SYS\profile\SBX_JC00_SERVER_NAME
-> arg[02] = -DSAPINFO=SBX_00_bootstrap
-> arg[03] = -nodeId=-1
-> arg[04] = -file=D:\usr\sap\SBX\JC00\j2ee\cluster\instance.properties
-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_3764
-> arg[06] = -nodeName=bootstrap
-> arg[07] = -jvmOutFile=D:\usr\sap\SBX\JC00\work\jvm_bootstrap.out
-> arg[08] = -stdOutFile=D:\usr\sap\SBX\JC00\work\std_bootstrap.out
-> arg[09] = -locOutFile=D:\usr\sap\SBX\JC00\work\dev_bootstrap
-> arg[10] = -mode=BOOTSTRAP
-> arg[11] = pf=D:\usr\sap\SBX\SYS\profile\SBX_JC00_SERVER_NAME
-> lib path = PATH=C:\j2sdk1.4.2_36-x64\jre\bin\server;C:\j2sdk1.4.2_36-x64\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;c:\program files\system center operations manager 2007\;c:\program files\ibm\gsk8\lib64;D:\db2\db2SBX\DB2_SO~1\BIN;D:\db2\db2SBX\DB2_SO~1\FUNCTION;D:\db2\db2SBX\DB2_SO~1\SAMPLES\REPL;C:\j2sdk1.4.2_36-x64\bin;D:\usr\sap\SBX\SYS\exe\uc\NTAMD64
-> exe path = PATH=C:\j2sdk1.4.2_36-x64\bin;D:\usr\sap\SBX\JC00\j2ee\os_libs;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;c:\program files\system center operations manager 2007\;c:\program files\ibm\gsk8\lib64;D:\db2\db2SBX\DB2_SO~1\BIN;D:\db2\db2SBX\DB2_SO~1\FUNCTION;D:\db2\db2SBX\DB2_SO~1\SAMPLES\REPL;C:\j2sdk1.4.2_36-x64\bin;D:\usr\sap\SBX\SYS\exe\uc\NTAMD64
**********************************************************************


[Thr 3100] Fri Apr 13 10:45:11 2012
[Thr 3100] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx.c   1642]
[Thr 3100] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
[Thr 3100] JControlCloseProgram: started (exitcode = 66)
[Thr 3100] JControlCloseProgram: good bye... (exitcode = 66)

Former Member
0 Kudos

Hi

There some pre-requisite patches missing. Please check them.

regards,

saperrors.com

Former Member
0 Kudos

But even then, how do i update it.

The Server is not coming up.

Even SDM is not running

Former Member
0 Kudos

Hi Balaji,

If you are updating the patches through JSPM then close it and open SDM.

let us know that what is the error you are getting when you open SDM.

regards,

saperrors.com

Former Member
0 Kudos

I could not open SDM. It is not running

Former Member
0 Kudos

The SDM does not start.

The following is the logs

alues for the parameter "execmode" are true and false.

      usage:

         unregisterjstartup "sdmhome=<...>" ["logfile=<...>"] ["syntaxcheck=<...

>"] ["logtoconsole=<...>"] ["execmode=<...>"]

   unregistersecurestore:

      Unregistration of the Secure Store in the File System.

      usage:

         unregistersecurestore "sdmhome=<...>" ["logfile=<...>"] ["syntaxcheck=<

...>"] ["logtoconsole=<...>"] ["execmode=<...>"]

   update:

      Update SDM on the given location

      usage:

         update "sdmhome=<...>" "popdir=<...>" ["logfile=<...>"] ["syntaxcheck=<

...>"] ["logtoconsole=<...>"]

   version:

      Print out the version of SDM

      usage:

         version ["logfile=<...>"] ["sdmhome=<...>"] ["syntaxcheck=<...>"] ["log

toconsole=<...>"]

Syntax error. Return code: 12