Skip to Content
avatar image
Former Member

SDM going down during upgrade

Hi,

i am in the middle of a upgrade of NW04 from SP16 to SP18. I got the following error ststing- ' You need to be administrator to perform this operation'.

I dont remeber anywhere in SAPInst where it asks for Admin password.

After this, few of my components are on SP18. Now SDM is not at all turning up. Below is the Trace:

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

JStartupIReadSection: read node properties [sdm]

-> node name : SDM

-> node type : sdm

-> node execute : yes

-> java path : C:\j2sdk1.4.2_15

-> java parameters :

-> java vm version : 1.4.2_15-b02

-> java vm vendor : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : x86

-> heap size : 128M

-> root path : C:\usr\sap\J2E\JC00\SDM\program

-> class path : C:\usr\sap\J2E\JC00\SDM\program\bin\SDM.jar

-> OS libs path : C:\usr\sap\J2E\JC00\j2ee\os_libs

-> main class : SDMInternal

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

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

-> framework path : C:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar

-> shutdown class : com.sap.sdm.jstartup.shutdown.InternalShutDown

-> parameters : server sdmhome=C:\usr\sap/J2E/JC00/SDM/program

-> debuggable : yes

-> debug mode : no

-> debug port : 50002

-> shutdown timeout: 120000

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

[Thr 5552] JLaunchISetDebugMode: set debug mode [no]

[Thr 5364] JLaunchIStartFunc: Thread 5364 started as Java VM thread.

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

JHVM_LoadJavaVM: VM Arguments of node [SDM]

-> stack : 262144 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: -Dsys.global.dir=C:\usr\sap\J2E\SYS\global

-> arg[ 3]: -Dapplication.home=C:\usr\sap\J2E\JC00\j2ee\os_libs

-> arg[ 4]: -Djava.class.path=C:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar;C:\usr\sap\J2E\JC00\SDM\program\bin\SDM.jar

-> arg[ 5]: -Djava.library.path=C:\j2sdk1.4.2_15\jre\bin\server;C:\j2sdk1.4.2_15\jre\bin;C:\j2sdk1.4.2_15\bin;C:\usr\sap\J2E\JC00\j2ee\os_libs;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA1\CA\SHARED1\SCANEN1;C:\PROGRA1\CA\ETRUST1;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\ThinkPad\ConnectUtilities;C:\SYSMGT\TNGSD\BIN;C:\PROGRA1\CA\SHARED~1\CAM\bin;C:\CA_APPSW;C:\j2sdk1.4.2_15\bin;C:\usr\sap\J2E\SCS01\exe;C:\usr\sap\J2E\JC00\exe;C:\usr\sap\J2E\SYS\exe\run

-> arg[ 6]: -Dmemory.manager=128M

-> arg[ 7]: -Xmx128M

-> arg[ 8]: -DLoadBalanceRestricted=no

-> arg[ 9]: -Djstartup.mode=JCONTROL

-> arg[ 10]: -Djstartup.ownProcessId=5200

-> arg[ 11]: -Djstartup.ownHardwareId=N1044878913

-> arg[ 12]: -Djstartup.whoami=sdm

-> arg[ 13]: -Djstartup.debuggable=yes

-> arg[ 14]: -DSAPINFO=J2E_00_sdm

-> arg[ 15]: -DSAPSTARTUP=1

-> arg[ 16]: -DSAPSYSTEM=00

-> arg[ 17]: -DSAPSYSTEMNAME=J2E

-> arg[ 18]: -DSAPMYNAME=MyHostName_J2E_00

-> arg[ 19]: -DSAPDBHOST=

-> arg[ 20]: -Dj2ee.dbhost=MyHostName

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

[Thr 5364] Wed Aug 22 11:58:39 2007

[Thr 5364] JHVM_LoadJavaVM: Java VM created OK.

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

JHVM_BuildArgumentList: main method arguments of node [SDM]

-> arg[ 0]: server

-> arg[ 1]: sdmhome=C:\usr\sap/J2E/JC00/SDM/program

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

[Thr 4436] Wed Aug 22 11:58:45 2007

[Thr 4436] JLaunchRequestFunc: receive command:17, argument:0 from pid:3712

[Thr 4436] JLaunchIShutdownInvoke: set shutdown interval (stop:1187747925/end:1187748045/TO:120)

[Thr 4436] JLaunchProcessCommand: Invoke VM Shutdown

[Thr 4436] JHVM_FrameworkShutdownDirect: invoke direct shutdown

[Thr 4436] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 4436] JLaunchISetState: change state from [Initial (0)] to [Stopping (5)]

[Thr 5988] JLaunchIExitJava: exit hook is called (rc=0)

[Thr 5988] JLaunchCloseProgram: good bye (exitcode=0)

Below is the log which I found in callSdmViaSapinst.log

Aug 22, 2007 11:55:24... Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Aug 22, 2007 11:55:25... Error: Could not create JStartupClusterController connected to MessageServer[Host:MyHostName, Port:3601]  : Connection refused: connect Throwable: java.net.ConnectException Throwable message: Connection refused: connect
Aug 22, 2007 11:55:25... Info: No information about the J2EE engine cluster is available. 
The online deployment process is continuing.
Aug 22, 2007 11:55:27... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Aug 22, 2007 11:55:27... Error: Aborted: development component 'SQLTrace'/'sap.com'/'SAP AG'/'6.4018.00.0000.20060706112013.0000'/'1', grouped by :
CPO data could not be get.
com.sap.sdm.apiint.serverext.servertype.deployment.DeploymentActionException: Error: Caught the following error or exception: "com.sap.sdm.apiint.serverext.servertype.deployment.DeploymentActionException"
Additional error message is:
Caught exception from deploy service of SAP J2EE Engine. Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MyHostName] with user name: [admin] 
				Check your login information. 
				Exception is: 
com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
MyHostName:50004 Reason: Cannot open connection on host: 20.250.164.103 and port: 50004]
	at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:455)
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
	at javax.naming.InitialContext.init(InitialContext.java:219)
	at javax.naming.InitialContext.<init>(InitialContext.java:195)
	at com.sap.engine.deploy.manager.DeployManagerImpl.checkCredentials(DeployManagerImpl.java:2983)
	at com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthMethodInvoker.invokeCheckCredentialsInternal(DeployManagerAuthMethodInvoker.java:51)
	at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:45)
	at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:32)
	at com.sap.sdm.serverext.servertype.inqmy.extern.EngineOnlineDeployerImpl.checkLoginCredentials(EngineOnlineDeployerImpl.java:173)
	at com.sap.sdm.serverext.servertype.inqmy.extern.EngineJ2EE620OnlineDeployerImpl.getOldDeploymentConfigInternal(EngineJ2EE620OnlineDeployerImpl.java:924)
	at com.sap.sdm.serverext.servertype.inqmy.extern.EngineJ2EE620OnlineDeployerImpl.getOldDeploymentConfiguration(EngineJ2EE620OnlineDeployerImpl.java:117)
	at com.sap.sdm.serverext.servertype.inqmy.EngineJ2EE620OnlineProcessor.getOldDeploymentConfiguration(EngineJ2EE620OnlineProcessor.java:87)
	at com.sap.sdm.serverext.servertype.inqmy.EngineJ2EE620OnlineProcessor.createCpo(EngineJ2EE620OnlineProcessor.java:75)
	at com.sap.sdm.serverext.servertype.inqmy.EngineJ2EE620OnlineProcessor.getCpo(EngineJ2EE620OnlineProcessor.java:47)
	at com.sap.sdm.serverext.servertype.inqmy.extern.EngineJ2EE620OnlineDeployerImpl.performDeployment(EngineJ2EE620OnlineDeployerImpl.java:179)
	at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
	at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
	at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
	at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
	at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)
	at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
	at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
	at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
	at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
	at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
	at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:120)
	at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:89)
	at com.sap.sdm.control.command.cmds.Deploy.execute(Deploy.java:179)
	at com.sap.sdm.control.command.decorator.AssureStandaloneMode.execute(AssureStandaloneMode.java:53)
	at com.sap.sdm.control.command.decorator.AssureOneRunningSDMOnly.execute(AssureOneRunningSDMOnly.java:61)
	at com.sap.sdm.control.command.decorator.SDMInitializer.execute(SDMInitializer.java:52)
	at com.sap.sdm.control.command.decorator.GlobalParamEvaluator.execute(GlobalParamEvaluator.java:60)
	at com.sap.sdm.control.command.decorator.AbstractLibDirSetter.execute(AbstractLibDirSetter.java:46)
	at com.sap.sdm.control.command.decorator.ExitPostProcessor.execute(ExitPostProcessor.java:48)
	at com.sap.sdm.control.command.decorator.CommandNameLogger.execute(CommandNameLogger.java:49)
	at com.sap.sdm.control.command.decorator.AdditionalLogFileSetter.execute(AdditionalLogFileSetter.java:65)
	at com.sap.sdm.control.command.decorator.AbstractLogDirSetter.execute(AbstractLogDirSetter.java:54)
	at com.sap.sdm.control.command.decorator.SyntaxChecker.execute(SyntaxChecker.java:37)
	at com.sap.sdm.control.command.Command.exec(Command.java:42)
	at SDM.main(SDM.java:21)
Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
MyHostName:50004 Reason: Cannot open connection on host: 20.250.164.103 and port: 50004
	at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:53)
	at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:33)
	at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:340)
	... 40 more

Regards,

Gandolf

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2007 at 05:59 AM

    Hi Gandolf

    Try to register your SDM in the JStartupFramework by running this command :

    Stopserver.bat

    sdm.bat jstartup "mode=standalone"

    sdm.bat j2eeenginestartstop "mode=automatic"

    sdm.bat jstartup "mode=integrated"

    startserver.bat

    Good Luck

    Amit Zait

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks. It got solved. Actually, since the Upgrade came to a halt in the middle, SDM was not starting up. Once I fixed up the error message and completed the upgrade, SDM started running. The issue was with roles assigned to Admin.

  • avatar image
    Former Member
    Aug 22, 2007 at 06:02 AM

    Hi Gandolf

    Try to register your SDM in the JStartupFramework by running this command :

    Stopserver.bat

    sdm.bat jstartup "mode=standalone"

    sdm.bat j2eeenginestartstop "mode=automatic"

    sdm.bat jstartup "mode=integrated"

    startserver.bat

    Good Luck

    Amit Zait

    Add comment
    10|10000 characters needed characters exceeded