Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-25 Thread Bhathiya Jayasekara
Hi Lasantha, I don't see any issues with the other approach. IMO, that's the proper way to do this. Thanks, Bhathiya On Fri, Sep 26, 2014 at 1:17 AM, Lasantha Fernando wrote: > Hi Bhathiya, Harsha, > > Yes, you are right in saying that the file is already installed with the > feature to proper

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-25 Thread Lasantha Fernando
Hi Bhathiya, Harsha, Yes, you are right in saying that the file is already installed with the feature to proper location of carbon. I think when copying via the bin.xml, we are selectively picking up configuration files and including which leads to omission of any newly introduced errors. I was un

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Harsha Kumara
On Wed, Sep 24, 2014 at 10:59 PM, Bhathiya Jayasekara wrote: > Hi Lasantha/Harsha, > > On Wed, Sep 24, 2014 at 10:31 PM, Harsha Kumara wrote: > >> >> On Wed, Sep 24, 2014 at 10:15 PM, Lasantha Fernando >> wrote: >> >>> >>> >>> On 24 September 2014 22:05, Harsha Kumara wrote: >>> Hi Prassa

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Bhathiya Jayasekara
Hi Lasantha/Harsha, On Wed, Sep 24, 2014 at 10:31 PM, Harsha Kumara wrote: > > On Wed, Sep 24, 2014 at 10:15 PM, Lasantha Fernando > wrote: > >> >> >> On 24 September 2014 22:05, Harsha Kumara wrote: >> >>> Hi Prassanna, >>> >>> Cassandra environments are introduce as a new feature of Storage

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Harsha Kumara
On Wed, Sep 24, 2014 at 10:15 PM, Lasantha Fernando wrote: > > > On 24 September 2014 22:05, Harsha Kumara wrote: > >> Hi Prassanna, >> >> Cassandra environments are introduce as a new feature of Storage Server >> recently which was done by Bhathiya. So cassandra-enviornments.xml xml >> needs to

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Lasantha Fernando
On 24 September 2014 22:05, Harsha Kumara wrote: > Hi Prassanna, > > Cassandra environments are introduce as a new feature of Storage Server > recently which was done by Bhathiya. So cassandra-enviornments.xml xml > needs to be added to the product distribution. > Can't we add this file when ins

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Harsha Kumara
Hi Prassanna, Cassandra environments are introduce as a new feature of Storage Server recently which was done by Bhathiya. So cassandra-enviornments.xml xml needs to be added to the product distribution. If you copy the [2] to repository/conf/etc folder this error should disappear.But this needs

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Shiva Balachandran
Hi Prasanna, Please check if the file "cassandra-enviornments.xml" exists in the given directory path. (Users/prasanna/workspace/wso2/greg/git/prasanna/ product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/ conf/etc). The error is made cause of an missing file which is used

[Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-24 Thread Prasanna Dangalla
Hi, Following error occurs when running the wso2server.sh. ERROR {org.wso2.carbon.cassandra.mgt.environment.EnvironmentManager} - Exception Occurred while initializing Cassandra environments org.wso2.carbon.cassandra.mgt.CassandraServerManagementException: Error occurred while parsing file, while

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-18 Thread Waruna Jayaweera
Hi Prasanna, You need to use new ndatasource configuration files. Please refer [1] for more information. Please Replace humantask.xml and add bps-datasources.xml /repository/conf/datasources directory given files in [1]. These files should be copied when you build the product. Please check your bui

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-17 Thread Prasanna Dangalla
Hi Denuwanthi, Thanks for the reply. First[1] error was fixed from that. but the second one[2] remains. [1] ERROR {org.apache.cassandra.cql3. QueryProcessor} - Unable to initialize MemoryMeter (jamm not specified as javaagent). This means Cassandra will be unable to measure object sizes accurat

Re: [Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-17 Thread Denuwanthi De Silva
Hi, The jira[1] mentions the steps to resolve the above issue. steps: 1. add org.github.jamm,\ in $CARBON_PRODUCT/repository/conf/etc/launch.ini 2. add following javaagent command in server startup script (wso2server.sh) -javaagent:"$CARBON_HOME/repository/components/plugins/jamm_0.2.5.wso2v2.ja

[Dev] [Greg] Error when starting the server in wso2greg-5.0.0-SNAPSHOT

2014-09-17 Thread Prasanna Dangalla
Hi all, I build the wso2greg-5.0.0-SNAPSHOT using source in git. ( https://github.com/wso2-dev/product-greg). Build was successful. But the following error occurs when running the wso2server.sh. I added the this ( -javaagent:"$CARBON_HOME/repository/components/plugins/jamm_0.2.5.wso2v2.jar" \ ) l