My weMethods server not getting started

Hello All,

i installed my webMethods server on my windows vista 32 bit. it worked good for couple of months.

After a month gap when i start my my webMethods server, but its not getting started. Its not writing any log file too.

when i run.bat file in cmd …it is giving below message

[B]C:\webMethods711\MWS\server\default\bin>run.bat

JAVA_HOME: C:\webMethods711\jvm\win150
MWS_HOME: C:\webMethods711\MWS
Error occured during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.[/b]

I re-installed my webMethods server, its still giving me the below error.

Please help, Thanks in Advance.

What are the JVM parameters you are using in run.bat,
make sure that amount you are allocating is availabel on your system.

Hi,

thanks for your response, there is enough memory available on machine.
below are the settings…

serverproperties.bat:

rem JVM configuration
rem You can customize this if you need
set JVM_OPTS=-Xms32m -Xmx1024m -XX:MaxPermSize=128m

rem Custom java parameters, use -Doption=value format
set CMD_OPTIONS=

run.bat:

@echo off

SETLOCAL

set SERVER_NAME=%~p0
set SERVER_NAME=%SERVER_NAME:\bin=%
call :justFileName “%SERVER_NAME%”

pushd
cd …\bin
call mws -s %SERVER_NAME% %* run
popd
goto end

:justFileName
set SERVER_NAME=%~n1
goto :EOF

:end
if ERRORLEVEL 1 exit /B %ERRORLEVEL%

ENDLOCAL

i reduced the jvm settings .
jvm min to 256M
Jvm max to 512M

this time its writing logs, but throwing below error and before shutdown.

2011-02-15 06:52:52 CST (Framework : FATAL) - [POP.005.0021] Attempting to use non empty My webMethods Server database for fresh deployment. Please make sure to create new empty My webMethods Server database
com.webmethods.portal.PortalException: [POP.005.0021] Attempting to use non empty My webMethods Server database for fresh deployment. Please make sure to create new empty My webMethods Server database

Thanks…

Did you reinstall MWS? If yes, did you wipe out the DB components and reinstall them?

Hi,

Yes, i m re-installing MWS.

Is there any tool to remove all the DB entries?

Thanks.

Easiest way would be to ask your DBA to wipe it out. Else, you will have to drop all the tables, views and stored procedures. I believe WM also provides scripts to drop them, you can try using DB Configurator for this and see if there is option to drop.

-Jay

Ravinder, Using the db configurator tool you can drop, recreate or create all the database objects regarding MWS.

Regards,