cancel
Showing results for 
Search instead for 
Did you mean: 

Error occured create local server runtime

0 Kudos
38,465

Hello I am doing the scp tutorial 「Create a Sample Application on SCP Neo Using SAP Cloud SDK」. Set Up Local Infrastructure to Develop with SAP Cloud SDK is already done. However, when I run the command [mvn scp: clean scp: push -pl application] in step 5 local deploy, the following Error message is output.When File props.ini will be create? I have two question. 1.Installing com.sap.js.jpaas.sdk somethig wrong? 2.When create File props.ini C:\Users\\firstapp2>mvn scp:clean scp:push -pl application [INFO] Scanning for projects... [INFO] [INFO] -------------< com.mycompany.cloud:firstapp2-application >-------------- [INFO] Building firstapp2 - Application 1.0-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- scp-neo-maven-plugin:1.11.1:clean (default-cli) @ firstapp2-application --- [INFO] [INFO] Trying to stop any running local instances of SCP... [INFO] [INFO] SAP Cloud Platform Console Client [INFO] [INFO] Stopping local server instance [ERROR] [ERROR] [ERROR] (!) ERROR: Error during connect to local server instance console at localhost:8003 [ERROR] If you need help, provide the output of the command and attach the log directory [C:\Users\\firstapp2\application\scp\sdk-2.120.6\tools\log] [INFO] [INFO] Cleaning up SCP SDK directory: C:\Users\\firstapp2\application/scp/sdk-2.120.6 [INFO] [INFO] --- scp-neo-maven-plugin:1.11.1:push (default-cli) @ firstapp2-application --- [INFO] [INFO] SCP SDK directory does not exist, skipping clean up: C:\Users\\firstapp2\application/scp/sdk-2.120.6 [INFO] [INFO] Installing SCP SDK... [INFO] Installing SAP Cloud Platform SDK for Neo environment version 2.120.6 in C:\Users\\firstapp2\application\scp\sdk-2.120.6 [INFO] Installation completed in 49 seconds [INFO] [INFO] Installing local SCP runtime... [INFO] [INFO] SAP Cloud Platform Console Client [INFO] [INFO] Installing server runtime into local folder: [INFO] C:\Users\\firstapp2\application\scp\sdk-2.120.6\server [INFO] Installing com.sap.js.jpaas.sdk 0.0.0. [INFO] Installation failed. [ERROR] One or more certificates rejected. Cannot proceed with installation. [ERROR] Application failed, log file location: C:\Users\\firstapp2\application\scp\sdk-2.120.6\tools\lib\p2utils\configuration\1570151287785.log [INFO] !SESSION 2019-10-04 10:08:07.345 ----------------------------------------------- [INFO] eclipse.buildId=unknown [INFO] java.version=1.8.0_222 [INFO] java.vendor=AdoptOpenJDK [INFO] BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ja_JP [INFO] Framework arguments: -application org.eclipse.equinox.p2.director -destination C:\Users\\firstapp2\application\scp\sdk-2.120.6\server -repository file:/C:/Users//firstapp2/application/scp/sdk-2.120.6/repository/ -installIU com.sap.js.jpaas.sdk -profile JavaServerJPaaSSDK [INFO] Command-line arguments: -application org.eclipse.equinox.p2.director -destination C:\Users\\firstapp2\application\scp\sdk-2.120.6\server -repository file:/C:/Users//firstapp2/application/scp/sdk-2.120.6/repository/ -installIU com.sap.js.jpaas.sdk -profile JavaServerJPaaSSDK -consoleLog [INFO] [INFO] !ENTRY org.eclipse.equinox.p2.engine 8 0 2019-10-04 10:11:16.865 [INFO] !MESSAGE One or more certificates rejected. Cannot proceed with installation. [INFO] [INFO] Server installed to: C:\Users\\firstapp2\application\scp\sdk-2.120.6\server [INFO] jmx-port : 1717 [INFO] http-proxy : <none> [INFO] https-proxy : <none> [INFO] http-non-proxy-hosts : <none> [INFO] [INFO] Successfully created symbolic link to SCP SDK: C:\Users\\firstapp2\application/scp/sdk -> C:\Users\\firstapp2\application/scp/sdk-2.120.6 [INFO] [INFO] Copying files from C:\Users\\firstapp2\application/localServerContent into new server environment... [INFO] Executing tasks main: [copy] Copying 2 files to C:\Users\\firstapp2\application\scp\sdk-2.120.6\server [INFO] Executed tasks [INFO] [INFO] Configuring C:\Users\\firstapp2\application/scp/sdk-2.120.6/server/props.ini [INFO] added parameter to enable JVM remote debugging on port 5005 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:28 min [INFO] Finished at: 2019-10-04T10:11:20+09:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.sap.cloud.s4hana.plugins:scp-neo-maven-plugin:1.11.1:push (default-cli) on project firstapp2-application: File props.ini is not found -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Accepted Solutions (1)

Accepted Solutions (1)

cschubert
Employee
Employee
0 Kudos

Hi Daiki,

the best approach would be to update to a more recent version of the SAP Cloud SDK, as the version 1.11.1 is more than a year old.

The latest version is 3.4.0.

Greetings
Chris

0 Kudos

Thanks a lot!

After updated, I am able to proceed to the next step.

Regards!

Answers (0)