Hi Manula, I did try increasing it to JVM_OPTS to Xss280 and Xss380, still I'm getting that issue.
On Fri, Oct 3, 2014 at 2:32 PM, Sajith Kariyawasam <[email protected]> wrote: > > > On Fri, Oct 3, 2014 at 2:26 PM, Manula Chathurika Thantriwatte < > [email protected]> wrote: > >> Hi Vishanth, >> >> Can you increase the JVM_OPTS values and try again. >> >> Thanks ! >> >> On Fri, Oct 3, 2014 at 1:29 PM, Vishanth Balasubramaniam < >> [email protected]> wrote: >> >>> Hi, >>> >>> I'm currently working on creating a cassandra cartridge for apache >>> stratos using docker. I was able to successfully build the cassandra >>> cartridge in the virtual machine and the member is getting activated >>> successfully. >>> >>> When i try to run the cassandra inside the instance, I am getting the >>> following error. >>> >>> root@instance-00000001:/opt/cassandra/bin# ./cassandra >>> xss = -ea -javaagent:./../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities >>> -XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M -Xmn310M >>> -XX:+HeapDumpOnOutOfMemoryError >>> ./cassandra: 151: exec: root@instance-00000001:/opt/cassandra/bin# >>> java: not found >>> >>> >>> > Seems java bin directory is also not properly set to $PATH > what does echo $JAVA_HOME and echo $PATH gives you? > > > >> Below is the cassandra file from the line 146 to 154 >>> if [ "x$foreground" != "x" ]; then >>> cassandra_parms="$cassandra_parms -Dcassandra-foreground=yes" >>> exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp >>> "$CLASSPATH" $props "$class" >>> # Startup CassandraDaemon, background it, and write the pid. >>> else >>> exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp >>> "$CLASSPATH" $props "$class" <&- & >>> [ ! -z "$pidpath" ] && printf "%d" $! > "$pidpath" >>> true >>> fi >>> >>> >>> I would like to know what causes this issue. >>> >>> >>> Thank you, >>> >>> -- >>> *Vishanth Balasubramaniam* >>> Software Engineer >>> WSO2 Inc.; http://wso2.com >>> lean.enterprise.middleware >>> >>> mobile: *+94771737718* >>> about me: *http://about.me/vishanth <http://about.me/vishanth>* >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> Manula Chathurika Thantriwatte >> Software Engineer >> WSO2 Inc. : http://wso2.com >> lean . enterprise . middleware >> >> email : [email protected] / [email protected] >> phone : +94 772492511 >> blog : http://manulachathurika.blogspot.com/ >> >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Sajith Kariyawasam* > > > *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com > <http://wso2.com>AMIE (SL)Mobile: +94772269575* > -- *Vishanth Balasubramaniam* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94771737718* about me: *http://about.me/vishanth <http://about.me/vishanth>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
