Hi,

We were able to successfully start MB without any issue with Java 1.8 and
with Java 1.7 in windows environment. I tested with your exact java version
as well (1.7.0_79). I believe you haven't set your environment variables
properly. As per your error it says "The system cannot find the file
specified.".  I think this is self explanatory.

Please compare with the following logs and check whats missing.

TID: [] [] [2015-12-21 10:23:49,834]  WARN
{org.apache.axiom.util.stax.dialect.StAXDialectDetector} -  Unable to
determine dialect of the StAX implementation at
bundleresource://13.fwk2427473/
{org.apache.axiom.util.stax.dialect.StAXDialectDetector}
TID: [] [] [2015-12-21 10:23:49,834]  WARN
{org.apache.axiom.util.stax.dialect.StAXDialectDetector} -  Unable to
determine dialect of the StAX implementation at
bundleresource://13.fwk2427473/
{org.apache.axiom.util.stax.dialect.StAXDialectDetector}
TID: [] [] [2015-12-21 10:23:49,756]  INFO
{org.wso2.andes.wso2.internal.QpidBundleActivator} -  Setting BundleContext
in PluginManager {org.wso2.andes.wso2.internal.QpidBundleActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
Carbon... {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
Windows Server 2012 R2 6.3, amd64
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home        :
C:\Program Files\Java\jdk1.7.0_79\jre
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version     :
1.7.0_79 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM          :
Java HotSpot(TM) 64-Bit Server VM 24.79-b02,Oracle Corporation
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home      :
C:\Users\ADMINI~1\DOWNLO~1\WSO2MB~1.0\WSO2MB~1.0\bin\..
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir    :
C:\Users\ADMINI~1\DOWNLO~1\WSO2MB~1.0\WSO2MB~1.0\bin\..\tmp
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,303]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  User             :
Administrator, en-US, UTC
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2015-12-21 10:23:51,694]  WARN
{org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -  The
running OS : Windows Server 2012 R2 is not a tested Operating System for
running WSO2 Carbon
{org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
TID: [-1234] [] [2015-12-21 10:23:51,709]  WARN
{org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -
 Carbon is configured to use the default keystore (wso2carbon.jks). To
maximize security when deploying to a production environment, configure a
new keystore with a unique password in the production server profile.
{org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
TID: [] [] [2015-12-21 10:23:51,725]  INFO
{org.wso2.carbon.databridge.agent.thrift.AgentHolder} -  Agent created !
{org.wso2.carbon.databridge.agent.thrift.AgentHolder}
TID: [] [] [2015-12-21 10:23:51,756]  INFO
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
deployed Agent Client
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS}
TID: [-1234] [] [2015-12-21 10:23:54,615]  INFO
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
Registry in 99ms
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}
TID: [-1234] [] [2015-12-21 10:23:54,725]  INFO
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
 Registry Mode    : READ-WRITE
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent}
TID: [-1234] [] [2015-12-21 10:23:54,881]  INFO
{org.wso2.carbon.metrics.impl.MetricServiceImpl} -  Creating JDBC reporter
for Metrics with source 'oracle12c', data source 'jdbc/WSO2MetricsDB' and
60 seconds polling period {org.wso2.carbon.metrics.impl.MetricServiceImpl}
TID: [-1234] [] [2015-12-21 10:23:54,881]  INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} -  Started JMX
reporter for Metrics
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter}
TID: [-1234] [] [2015-12-21 10:23:54,897]  INFO
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter} -  Started JDBC
reporter for Metrics
{org.wso2.carbon.metrics.impl.reporter.AbstractReporter}
TID: [-1234] [] [2015-12-21 10:23:55,647]  INFO
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
UserStoreMgtDSComponent activated successfully.
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent}
TID: [-1234] [] [2015-12-21 10:24:04,756]  INFO
{org.apache.axis2.deployment.ClusterBuilder} -  Clustering has been
disabled {org.apache.axis2.deployment.ClusterBuilder}
TID: [-1234] [] [2015-12-21 10:24:04,756]  INFO
{org.apache.axis2.deployment.ClusterBuilder} -  Clustering has been
disabled {org.apache.axis2.deployment.ClusterBuilder}
TID: [-1234] [] [2015-12-21 10:24:05,022]  INFO
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
-  User Store Configuration Deployer initiated.
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,022]  INFO
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
-  User Store Configuration Deployer initiated.
{org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,209]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module:
addressing-1.6.1-wso2v15 -
file:/C:/Users/ADMINI~1/DOWNLO~1/WSO2MB~1.0/WSO2MB~1.0/bin/../repository/deployment/client/modules/addressing-1.6.1-wso2v15.mar
{org.apache.axis2.deployment.ModuleDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,209]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module:
addressing-1.6.1-wso2v15 -
file:/C:/Users/ADMINI~1/DOWNLO~1/WSO2MB~1.0/WSO2MB~1.0/bin/../repository/deployment/client/modules/addressing-1.6.1-wso2v15.mar
{org.apache.axis2.deployment.ModuleDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,225]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module:
rampart-1.6.1-wso2v10 -
file:/C:/Users/ADMINI~1/DOWNLO~1/WSO2MB~1.0/WSO2MB~1.0/bin/../repository/deployment/client/modules/rampart-1.6.1-wso2v10.mar
{org.apache.axis2.deployment.ModuleDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,225]  INFO
{org.apache.axis2.deployment.ModuleDeployer} -  Deploying module:
rampart-1.6.1-wso2v10 -
file:/C:/Users/ADMINI~1/DOWNLO~1/WSO2MB~1.0/WSO2MB~1.0/bin/../repository/deployment/client/modules/rampart-1.6.1-wso2v10.mar
{org.apache.axis2.deployment.ModuleDeployer}
TID: [-1234] [] [2015-12-21 10:24:05,631]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.andes.admin-3.0.1 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:05,631]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.andes.admin-3.0.1 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:05,694]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.andes.event.admin-3.0.1 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:05,694]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.andes.event.admin-3.0.1 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:06,444]  WARN
{org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} -  We don't
support method overloading. Ignoring [validateAudienceRestriction]
{org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator}
TID: [-1234] [] [2015-12-21 10:24:06,444]  WARN
{org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator} -  We don't
support method overloading. Ignoring [validateAudienceRestriction]
{org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator}
TID: [-1234] [] [2015-12-21 10:24:07,662]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.tryit-4.4.8 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:07,662]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
org.wso2.carbon.tryit-4.4.8 -
 {org.apache.axis2.deployment.DeploymentEngine}
TID: [-1234] [] [2015-12-21 10:24:08,053]  INFO
{org.wso2.carbon.core.init.CarbonServerManager} -  Repository       :
C:\Users\ADMINI~1\DOWNLO~1\WSO2MB~1.0\WSO2MB~1.0\bin\../repository/deployment/server/
{org.wso2.carbon.core.init.CarbonServerManager}
TID: [-1234] [] [2015-12-21 10:24:08,084]  INFO
{org.wso2.carbon.andes.core.internal.ds.QueueManagerServiceDS} -
 Successfully created the queue manager service
{org.wso2.carbon.andes.core.internal.ds.QueueManagerServiceDS}
TID: [-1234] [] [2015-12-2

Regards

On Mon, Dec 21, 2015 at 2:53 PM, Nadeesha Meegoda <nadees...@wso2.com>
wrote:

>
> 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>
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blogs : http://yasassriratnayake.blogspot.com
<http://yasassriratnayake.blogspot.com/>*
*            http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to