Hi,

This is the Error I am getting when I am running inside the Instance

root@instance-00000001:/opt/cassandra/bin# cassandra -f
xss =  -ea -javaagent:/opt/cassandra/lib/jamm-0.2.5.jar
-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1240M -Xmx1240M
-Xmn310M -XX:+HeapDumpOnOutOfMemoryError
Error opening zip file or JAR manifest missing :
/opt/cassandra/lib/jamm-0.2.5.jar
Error occurred during initialization of VM
agent library failed to init: instrument


JAVA_HOME and PATH is also set

root@instance-00000001:/opt/cassandra/bin# echo $JAVA_HOME
/opt/jdk1.7.0_60

root@instance-00000001:/opt/cassandra/bin# echo $PATH
/opt/cassandra/bin:/opt/jdk1.7.0_60/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

root@instance-00000001:/opt/cassandra/bin# java -version
java version "1.7.0_60-ea"
Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)


Still trying to figure out why this error is occurring.

Herewith I have attached the docker file that I built.


On Thu, Oct 2, 2014 at 2:47 PM, Sumod Pawgi <spa...@gmail.com> wrote:

> Check line 151 in your cassandra file. It probably mentions where to look
> for java as Johan mentions below.
>
> Sent from my iPhone
>
> > On 02-Oct-2014, at 12:50 pm, Johan Edstrom <seij...@gmail.com> wrote:
> >
> > Looks like the Java binary can't be found, check your $PATH Johan
> Edstrom - via HopOn October 2, 2014 at 6:56 GMT, Sunil Singh <
> developersunilj...@gmail.com> wrote:Can you past full stack trace and
> Cassandra Log in Log Directory , It isun-clear what went wrong at you
> end.On 2 October 2014 12:13, Vishanth Balasubramaniam 
> <vishan...@wso2.com>wrote:>
> Hi,>> I am trying to run cassandra in my virtual machine and 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
>



-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Reply via email to