on 2013 Nov 06 8:52 AM
Hi,
I am trying to run the hello world application through hana cloud local runtime. But am receiving the following errors while trying to start the local runtime server.
In the details in console I could get a similar error while trying to run the neo.bat file from cmd.
Can any one help?
Any suggestions will also be great.
Thanks,
Meera
Please ensure that "C:\Windows\System32" is in your path.
If it is not - just add it, restart eclipse (and console) and everything shall work.
Regards,
Dobri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meera,
Would you go to C:\Windows\system32\ and verify that there is findstr.exe there?
Then open a new command propt and type "echo %PATH%". Verify that you have C:\Windows\system32\ in the output.
Please provide the results from these checks if your issue is not resolved yet.
Kind Regards,
Alex
Hi Meera,
Please add ";C:\Windows\system32\
" at the end of your PATH.
Here is how to do this: http://www.computerhope.com/issues/ch000549.htm
Then in a new console try "neo.bat -h" - the issue should be gone.
Kind Regards,
Alex
Hi Meera,
Please do the following: open a cmd prompt at the location where you installed Eclipse in (the directory where eclipse.exe is located). Just out of paranoia enter path and make sure
";C:\Windows\system32\
" is contained somewhere in the output. Then enter eclipse to start eclipse.
Regards,
Bernd
Hi Bernd,
I tried that and am recieving the following error
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
D:\OPEN SAP\Servers\SAP HANA Cloud local runtime-config>"C:\Program Files\Java\jdk1.7.0_25\bin\java" -server -javaagent:"D:\OPENSA~1\Servers\SAPHAN~1\lib\openejb-javaagent_4.5.2.jar" -XX:ErrorFile="D:\OPENSA~1\Servers\SAPHAN~1\log\error.log" -XX:HeapDumpPath="D:\OPENSA~1\Servers\SAPHAN~1\log\heap_dump.hprof" "-XX:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms512m" "-Xmx1024m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M" "-Dcom.sun.management.jmxremote.port=1717" "-Dcom.sun.management.jmxremote.authenticate=false" "-Dcom.sun.management.jmxremote.ssl=false" "-Dosgi.requiredJavaVersion=1.6" "-DuseNaming=osgi" "-Dosgi.install.area=." "-Djava.io.tmpdir=./work/tmp" "-Djava.endorsed.dirs=lib/endorsed" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-Dosgi.noShutdown=true" "-Dosgi.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosgi.usesLimit=30" "-Djava.awt.headless=true" "-Djava.rmi.server.hostname=127.0.0.1" -classpath "D:\OPENSA~1\Servers\SAPHAN~1\lib\openejb-javaagent_4.5.2.jar;D:\OPENSA~1\Servers\SAPHAN~1\lib\org.eclipse.virgo.nano.authentication_3.6.2.RELEASE.jar;D:\OPENSA~1\Servers\SAPHAN~1\lib\org.eclipse.virgo.nano.shutdown_3.6.2.RELEASE.jar;D:\OPENSA~1\Servers\SAPHAN~1\lib\org.eclipse.virgo.util.env_3.6.2.RELEASE.jar;D:\OPENSA~1\Servers\SAPHAN~1\plugins\org.eclipse.equinox.launcher_1.3.0.v20120308-1358.jar" org.eclipse.equinox.launcher.Main -console -dev "file:D:/OPEN SAP/Servers/SAP HANA Cloud local runtime-config/configuration/dev.properties"
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Thanks,
Meera
Hi Meera,
the memory settings of your Eclipse installation are too high. Also it seems you are using an older version of Eclipse. I'd suggest you install a new Kepler version of Eclipse. Please make sure you follow all steps on https://help.hana.ondemand.com/help/frameset.htm?761374e5711e1014839a8273b0e91070.html. Please make sure you select the "Eclipse IDE for Java EE Developers".
Afterwards, please continue with the following steps as described in the Online Help
Best Regards,
Bernd
The error seem clear to me:
"Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error occurred during initialization of VM
Could not reserve enough space for object heap"
You have 2 options:
1. To free up some memory by closing unused applications in Windows.
2. To make heap size of your local server smaller - but keep in mind that you do not want to make it smaller than 500 MB. to do so ensure that server is stopped and follow the steps:
2.1. Open server editor by double click on your local server in Servers view.
2.2. Click on "Open launch configuration" link
2.3. Go to "Arguments" tab
2.4. Replace " -Xmx1024m" with "-Xmx512m" inside VM arguments field.
2.5. Click OK
Then try to start the server.
Regards,
Dobri
Works great, thanks for solving the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.