Coder Social home page Coder Social logo

cassandra-openshift-quickstart-java's Issues

can't read log4j-server.properties: No such file or directory

Hi shekhargulati.
Based in your tutorial . I run success "Part 1 : Installing Cassandra on a DIY application" . But i install "Part 2 : Using Cassandra as an Embedded Cartridge from with in a Java application" I recieve error "can't read log4j-server.properties: No such file or directory" when run file deloy.This is my log.
...
remote: + cd cassandra-data
remote: + mkdir data
remote: + mkdir saved_caches
remote: + mkdir commitlog
remote: + touch system.log
remote: + cd ../cassandra/conf/
remote: + sed -ig 's,/var/lib/cassandra,$HOME/app-root/data/cassandra-data,' cassandra.yaml
remote: + sed -ig s/127.0.0.1//g cassandra.yaml
remote: + sed -ig s/localhost//g cassandra.yaml
remote: + sed -ig s,7000,17000, cassandra.yaml
remote: + sed -ig s,7001,17001, cassandra.yaml
remote: + sed -ig s,9160,19160, cassandra.yaml
remote: + sed -ig s/localhost//g cassandra.yaml
remote: + sed -ig 's,/var/log/cassandra,$HOME/app-root/data/cassandra-data,' log4j-server.properties
remote: sed: can't read log4j-server.properties: No such file or directory
remote: + sed -ig 's,${max_sensible_yg_in_mb}M,256M,' cassandra-env.sh
remote: + sed -ig 's,${desired_yg_in_mb}M,256M,' cassandra-env.sh
remote: + sed -ig '/jmxremote/s/^/#/' cassandra-env.sh
remote: ++ cd /var/lib/openshift/5457307be0b8cd53500001f9/app-root/data//cassandra
remote: ++ bin/cassandra
remote: ++ export CQLSH_HOST=
remote: ++ CQLSH_HOST=
remote: ++ export CQLSH_PORT=19160
remote: ++ CQLSH_PORT=19160
remote: ++ sleep 30
remote: Error occurred during initialization of VM
remote: Could not reserve enough space for object heap
remote: Error: Could not create the Java Virtual Machine.
remote: Error: A fatal exception has occurred. Program will exit.
remote: ++ bin/cassandra-cli -h -p 19160 -f /var/lib/openshift/5457307be0b8cd53500001f9/app-root/runtime/repo//cassandra-tutorial.txt
remote: Missing argument for option:h
...
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 5457307be0b8cd53500001f9 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control start' for /var/lib/openshift/5457307be0b8cd53500001f9/jbossews)
remote: Deployment completed with status: failure
remote: postreceive failed

Can you help me?
Thank.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.