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

Reply via email to