Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2016-01-26 Thread Ramith Jayasinghe
yes.

On Tue, Jan 26, 2016 at 4:06 PM, Nilmini Perera  wrote:

> Hi Hasitha,
> In short, WSO2 MB should always be run on 64bit JDK.
> Is this statement correct?
>
> Regards,
> Nilmini
>
> On Tue, Dec 22, 2015 at 11:30 AM, Hasitha Hiranya 
> wrote:
>
>> Is this worth mentioning in docs anyway?
>>
>> On Tue, Dec 22, 2015 at 11:21 AM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> Thanks for figuring this out.
>>>
>>> Regards,
>>> Nadeesha
>>>
>>> On Tue, Dec 22, 2015 at 11:19 AM, Isuru Perera  wrote:
>>>
 Yes! The 32-bit JVM cannot allocate enough memory for the MB.

 On Tue, Dec 22, 2015 at 11:14 AM, Jason De Silva 
 wrote:

> Hi Nadeesha,
>
> As Isuru pointed since you have tried it out with 32 bit JDK which
> will not be able to allocate 2 gb memory [1] whereas MB needs 2 gb memory
> [2] which was the cause for the product to not start on 32 bit JDK.
>
> [1]
> http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
> [2] https://docs.wso2.com/display/MB300/Installation+Prerequisites
>
> Regards,
>
>
> On Mon, Dec 21, 2015 at 9:20 PM, Nadeesha Meegoda 
> wrote:
>
>> Hi Isuru,
>>
>> Yes I am running MB on the 32-bit JDK. I have installed both 32 bit
>> and 64 bit JDK in my machine. However other products seems to start 
>> without
>> any error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK 
>> now.
>> MB starts fine with that.
>>
>>
>> Thanks,
>> Nadeesha
>>
>> On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera 
>> wrote:
>>
>>> Looks like you are running MB on the 32-bit JDK. Can you try with
>>> 64-bit JDK?
>>>
>>> On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda <
>>> nadees...@wso2.com> wrote:
>>>
 Hi Yasassri,

 Thanks. I will investigate on this more. The other products in same
 directory are starting without any issue. That's why I raised the 
 concern.

 Regards,
 Nadeesha

 On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake <
 yasas...@wso2.com> wrote:

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

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Yasassri Ratnayake
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

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Isuru Perera
Yes! The 32-bit JVM cannot allocate enough memory for the MB.

On Tue, Dec 22, 2015 at 11:14 AM, Jason De Silva  wrote:

> Hi Nadeesha,
>
> As Isuru pointed since you have tried it out with 32 bit JDK which will
> not be able to allocate 2 gb memory [1] whereas MB needs 2 gb memory [2]
> which was the cause for the product to not start on 32 bit JDK.
>
> [1]
> http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
> [2] https://docs.wso2.com/display/MB300/Installation+Prerequisites
>
> Regards,
>
>
> On Mon, Dec 21, 2015 at 9:20 PM, Nadeesha Meegoda 
> wrote:
>
>> Hi Isuru,
>>
>> Yes I am running MB on the 32-bit JDK. I have installed both 32 bit and
>> 64 bit JDK in my machine. However other products seems to start without any
>> error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK now. MB
>> starts fine with that.
>>
>>
>> Thanks,
>> Nadeesha
>>
>> On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera  wrote:
>>
>>> Looks like you are running MB on the 32-bit JDK. Can you try with 64-bit
>>> JDK?
>>>
>>> On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
>>> wrote:
>>>
 Hi Yasassri,

 Thanks. I will investigate on this more. The other products in same
 directory are starting without any issue. That's why I raised the concern.

 Regards,
 Nadeesha

 On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake 
 wrote:

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

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Hasitha Hiranya
Is this worth mentioning in docs anyway?

On Tue, Dec 22, 2015 at 11:21 AM, Nadeesha Meegoda 
wrote:

> Hi all,
>
> Thanks for figuring this out.
>
> Regards,
> Nadeesha
>
> On Tue, Dec 22, 2015 at 11:19 AM, Isuru Perera  wrote:
>
>> Yes! The 32-bit JVM cannot allocate enough memory for the MB.
>>
>> On Tue, Dec 22, 2015 at 11:14 AM, Jason De Silva  wrote:
>>
>>> Hi Nadeesha,
>>>
>>> As Isuru pointed since you have tried it out with 32 bit JDK which will
>>> not be able to allocate 2 gb memory [1] whereas MB needs 2 gb memory [2]
>>> which was the cause for the product to not start on 32 bit JDK.
>>>
>>> [1]
>>> http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
>>> [2] https://docs.wso2.com/display/MB300/Installation+Prerequisites
>>>
>>> Regards,
>>>
>>>
>>> On Mon, Dec 21, 2015 at 9:20 PM, Nadeesha Meegoda 
>>> wrote:
>>>
 Hi Isuru,

 Yes I am running MB on the 32-bit JDK. I have installed both 32 bit and
 64 bit JDK in my machine. However other products seems to start without any
 error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK now. MB
 starts fine with that.


 Thanks,
 Nadeesha

 On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera  wrote:

> Looks like you are running MB on the 32-bit JDK. Can you try with
> 64-bit JDK?
>
> On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
> wrote:
>
>> Hi Yasassri,
>>
>> Thanks. I will investigate on this more. The other products in same
>> directory are starting without any issue. That's why I raised the 
>> concern.
>>
>> Regards,
>> Nadeesha
>>
>> On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake <
>> yasas...@wso2.com> wrote:
>>
>>> 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
>>> 

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Jason De Silva
Hi Nadeesha,

As Isuru pointed since you have tried it out with 32 bit JDK which will not
be able to allocate 2 gb memory [1] whereas MB needs 2 gb memory [2] which
was the cause for the product to not start on 32 bit JDK.

[1]
http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
[2] https://docs.wso2.com/display/MB300/Installation+Prerequisites

Regards,


On Mon, Dec 21, 2015 at 9:20 PM, Nadeesha Meegoda 
wrote:

> Hi Isuru,
>
> Yes I am running MB on the 32-bit JDK. I have installed both 32 bit and 64
> bit JDK in my machine. However other products seems to start without any
> error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK now. MB
> starts fine with that.
>
>
> Thanks,
> Nadeesha
>
> On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera  wrote:
>
>> Looks like you are running MB on the 32-bit JDK. Can you try with 64-bit
>> JDK?
>>
>> On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi Yasassri,
>>>
>>> Thanks. I will investigate on this more. The other products in same
>>> directory are starting without any issue. That's why I raised the concern.
>>>
>>> Regards,
>>> Nadeesha
>>>
>>> On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake 
>>> wrote:
>>>
 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 

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Nadeesha Meegoda
Hi all,

Thanks for figuring this out.

Regards,
Nadeesha

On Tue, Dec 22, 2015 at 11:19 AM, Isuru Perera  wrote:

> Yes! The 32-bit JVM cannot allocate enough memory for the MB.
>
> On Tue, Dec 22, 2015 at 11:14 AM, Jason De Silva  wrote:
>
>> Hi Nadeesha,
>>
>> As Isuru pointed since you have tried it out with 32 bit JDK which will
>> not be able to allocate 2 gb memory [1] whereas MB needs 2 gb memory [2]
>> which was the cause for the product to not start on 32 bit JDK.
>>
>> [1]
>> http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit
>> [2] https://docs.wso2.com/display/MB300/Installation+Prerequisites
>>
>> Regards,
>>
>>
>> On Mon, Dec 21, 2015 at 9:20 PM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> Yes I am running MB on the 32-bit JDK. I have installed both 32 bit and
>>> 64 bit JDK in my machine. However other products seems to start without any
>>> error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK now. MB
>>> starts fine with that.
>>>
>>>
>>> Thanks,
>>> Nadeesha
>>>
>>> On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera  wrote:
>>>
 Looks like you are running MB on the 32-bit JDK. Can you try with
 64-bit JDK?

 On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
 wrote:

> Hi Yasassri,
>
> Thanks. I will investigate on this more. The other products in same
> directory are starting without any issue. That's why I raised the concern.
>
> Regards,
> Nadeesha
>
> On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake  > wrote:
>
>> 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 

[Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Nadeesha Meegoda
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


Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Nadeesha Meegoda
Hi Yasassri,

Thanks. I will investigate on this more. The other products in same
directory are starting without any issue. That's why I raised the concern.

Regards,
Nadeesha

On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake 
wrote:

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

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Isuru Perera
Looks like you are running MB on the 32-bit JDK. Can you try with 64-bit
JDK?

On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
wrote:

> Hi Yasassri,
>
> Thanks. I will investigate on this more. The other products in same
> directory are starting without any issue. That's why I raised the concern.
>
> Regards,
> Nadeesha
>
> On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake 
> wrote:
>
>> 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
>> 

Re: [Dev] MB 3.0.0 is not starting on Windows 7/Java 1.7

2015-12-21 Thread Nadeesha Meegoda
Hi Isuru,

Yes I am running MB on the 32-bit JDK. I have installed both 32 bit and 64
bit JDK in my machine. However other products seems to start without any
error in both 32bit and 64bit JDK. I also checked MB in 64bit JDK now. MB
starts fine with that.


Thanks,
Nadeesha

On Mon, Dec 21, 2015 at 6:13 PM, Isuru Perera  wrote:

> Looks like you are running MB on the 32-bit JDK. Can you try with 64-bit
> JDK?
>
> On Mon, Dec 21, 2015 at 5:08 PM, Nadeesha Meegoda 
> wrote:
>
>> Hi Yasassri,
>>
>> Thanks. I will investigate on this more. The other products in same
>> directory are starting without any issue. That's why I raised the concern.
>>
>> Regards,
>> Nadeesha
>>
>> On Mon, Dec 21, 2015 at 4:09 PM, Yasassri Ratnayake 
>> wrote:
>>
>>> 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
>>>