Hi all,

Came across the $subject. [1] is the exception I get when starting the
server.

Also did a diff check with IS 5.1.0 wso2server.bat file compared with MB
3.0.0 wso2server.bat file. Please find the mismatches

*MB 3.0.0 *

set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1024m
-Xmx2048m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof"
-Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS%
-Djava.endorsed.dirs=%JAVA_ENDORSED% -DandesConfig=broker.xml
-Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%"
-Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java"
-Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp"
-Dcatalina.base="%CARBON_HOME%\lib\tomcat"
-Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml
-Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml"
-Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml"
-Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml"
-Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties"
-Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf"
-Dcarbon.logs.path="%CARBON_HOME%\repository\logs"
-Dcomponents.repo="%CARBON_HOME%\repository\components"
-Dconf.location="%CARBON_HOME%\repository\conf"
-Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties"
-Dcom.atomikos.icatch.hide_init_file_path="true"
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
-Dcom.sun.jndi.ldap.connect.pool.authentication=simple
-Dcom.sun.jndi.ldap.connect.pool.timeout=3000
-Dorg.terracotta.quartz.skipUpdateCheck=true
-Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8

*IS 5.1.0*

set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m
-Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof"
-Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS%
-Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/
-Dcarbon.home="%CARBON_HOME%" -Dwso2.server.standalone=true
-Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%"
-Djava.io.tmpdir="%CARBON_HOME%\tmp"
-Dcatalina.base="%CARBON_HOME%\lib\tomcat"
-Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml
-Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml"
-Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml"
-Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml"
-Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties"
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf"
-Dcomponents.repo="%CARBON_HOME%\repository\components"
-Dconf.location="%CARBON_HOME%\repository\conf"
-Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties"
-Dcom.atomikos.icatch.hide_init_file_path="true"
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
-Dcom.sun.jndi.ldap.connect.pool.authentication=simple
-Dcom.sun.jndi.ldap.connect.pool.timeout=3000
-Dorg.terracotta.quartz.skipUpdateCheck=true
-Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8

[1]

The system cannot find the file specified. JAVA_HOME environment variable
is set to C:\Program Files (x86)\Java\jdk1.7.0_79 CARBON_HOME environment
variable is set to D:\Support\WSO2MB~1.0\bin\.. Error occurred during
initialization of VM Could not reserve enough space for object heap Error:
Could not create the Java Virtual Machine. Error: A fatal exception has
occurred. Program will exit.


Thanks,
Nadeesha
-- 
*Nadeesha Meegoda*
Software Engineer - QA
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
email : nadees...@wso2.com
mobile: +94783639540
<%2B94%2077%202273555>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to