cancel
Showing results for 
Search instead for 
Did you mean: 

SDM will not start when mode is "standalone"

martin_E
Active Contributor
0 Kudos

SolMan 7.1, Windows 2008 R2, SQL Server 2008

I'm attempting to deploy the SCA files that came with the SPS03 on the install kit. The SDM is running OK in integrated mode, and I can stop and start the SDM via the Windows MMC or the command line.

However, after I change the mode to "standalone", I cannot get the SDM to start

Logs follow in subsequent posts to this thread.

NOTE Despite what it says in the log and at the end of the command output, when the Operationmode for JStartupFramework is set to "standalone"...

There is no Return Code line

The StartServer command does not complete, and

the SDM is not available,

The dev_sdm and std.sdm files only contain information from when SDM is running, in integrated mode.

Any information or suggestions will be greatfully received.

Edited by: Martin English on Dec 21, 2011 9:30 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Martin,

In standalone mode you don't need to start SDM.

I don't know why you need SDM in standalone mode anyway, but if you want to deploy throught the command line, just run the commands without trying to start SDM:

for example, run

sdm.bat deploy file=xxxxx updateversions=all

No need to manually start/stop SDM.

Regards,

Ventsi

martin_E
Active Contributor
0 Kudos

Sunny,

The problem is that, despite what the logs report, the StartServer.bat command does not complete, and the SDM does not start, when I have set "mode=standalone".

Ventsi,

You need to have the SDM in standalone mode to do anything outside the JSPM framework. I couldn't remember the exact error message you get when you try to deploy with //mode=integrated//, so I ran one


Starting SDM - Software Deployment Manager...
tc/SL/SDM/SDM/sap.com/SAP AG/7.0204.20100323143211.0000
Initializing Network Manager (51017)
Checking if another SDM is running on port 51018
SDM is integrated in JStartupFramework. No repository changing commands are possible.
Processing error. Return code: 4

However, I've set "mode=standalone" and I have successfully run a command line deployment.

thanks for your help

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

What exactly is the problem because there are no errors in the logs ?

Thanks

Sunny

martin_E
Active Contributor
0 Kudos

Contents of the appropriate sdmlog


Dec 21, 2011 6:10:29 PM  Info: ==============================================
Dec 21, 2011 6:10:29 PM  Info: =   Starting to execute command 'jstartup'   =
Dec 21, 2011 6:10:29 PM  Info: ==============================================
Dec 21, 2011 6:10:29 PM  Info: Starting SDM - Software Deployment Manager...
Dec 21, 2011 6:10:30 PM  Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0204.20100323143211.0000
Dec 21, 2011 6:10:31 PM  Info: SDM operation mode successfully set to: Integrated
Dec 21, 2011 6:10:31 PM  Info: Initializing Network Manager (51017)
Dec 21, 2011 6:10:31 PM  Info: Checking if another SDM is running on port 51018
Dec 21, 2011 6:10:31 PM  Info: 
Dec 21, 2011 6:10:31 PM  Info: SDM operation mode successfully set to: Standalone
Dec 21, 2011 6:10:32 PM  Info: Operationmode for JStartupFramework set to "standalone".
Dec 21, 2011 6:10:32 PM  Info: Successfully executed. Return code: 0
Dec 21, 2011 6:12:00 PM  Info: 
Dec 21, 2011 6:12:00 PM  Info: ============================================
Dec 21, 2011 6:12:00 PM  Info: =   Starting to execute command 'server'   =
Dec 21, 2011 6:12:00 PM  Info: ============================================
Dec 21, 2011 6:12:00 PM  Info: Starting SDM - Software Deployment Manager...
Dec 21, 2011 6:12:01 PM  Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0204.20100323143211.0000
Dec 21, 2011 6:12:02 PM  Info: SDM operation mode successfully set to: Standalone
Dec 21, 2011 6:12:02 PM  Info: JStartupFramework is active
Dec 21, 2011 6:12:02 PM  Info: Operation mode of SDM in JStartupFramework is "Standalone". Simply start the server.
Dec 21, 2011 6:12:02 PM  Info: Initializing Network Manager (51017)
Dec 21, 2011 6:12:02 PM  Info: Starting SDM Server listening on port 51018
Dec 21, 2011 6:12:02 PM  Info: SDM started successfully.

martin_E
Active Contributor
0 Kudos

Output from StartServer.bat


E:\usr\sap\MSM\DVEBMGS10\SDM\program>StartServer.bat
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_java_home=C:/j2sdk1.4.2_34-x64
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_64bit_switch=
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_heap_size=512
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_java_params=
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_memory_switch=-Xmx512M
E:\usr\sap\MSM\DVEBMGS10\SDM\program>set sdm_com="C:/j2sdk1.4.2_34-x64\bin\java" -Xmx512M -Dsun.java2d.noddraw=true -Duser.language=en -jar "E:\usr\sap\MSM\DVEBMGS10\SDM\program\bin\SDM.jar"
E:\usr\sap\MSM\DVEBMGS10\SDM\program>"C:/j2sdk1.4.2_34-x64\bin\java" -Xmx512M -Dsun.java2d.noddraw=true -Duser.language=en -jar "E:\usr\sap\MSM\DVEBMGS10\SDM\program\bin\SDM.jar" server "sdmhome=E:\usr\sap\MSM\DVEBMGS10\SDM\program"
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItemstartServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
Starting SDM - Software Deployment Manager...
tc/SL/SDM/SDM/sap.com/SAP AG/7.0204.20100323143211.0000
JStartupFramework is active
Operation mode of SDM in JStartupFramework is "Standalone". Simply start the server.
Initializing Network Manager (51017)
Starting SDM Server listening on port 51018
SDM started successfully.
Redirecting output to the two files "E:\usr\sap\MSM\DVEBMGS10\SDM\program\log\sdm_server.out" and "E:\usr\sap\MSM\DVEBMGS10\SDM\program\log\sdm_server.err" respectively.