Giter Site home page Giter Site logo

contrib's Issues

Important note for upgrading wrapper to 3.4

The behavior on the 'wrapper.java.command' setting did change: It must be a symlink or direct path to the java executable. A symlink is resolved and called directly.
On most distros just 'java' or '/usr/bin/java' gives you a symlink to a distro specific java wrapper, which is again a symlink to the choosen java install, so the tanuki wrapper calls the java wrapper directly…

It will look like this:
STATUS | wrapper | 2010/04/10 23:02:10 | --> Wrapper Started as Daemon
STATUS | wrapper | 2010/04/10 23:02:10 | Java Service Wrapper Community Edition 64-bit 3.4.0
STATUS | wrapper | 2010/04/10 23:02:10 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2010/04/10 23:02:10 | http://wrapper.tanukisoftware.org
STATUS | wrapper | 2010/04/10 23:02:10 |
STATUS | wrapper | 2010/04/10 23:02:10 | Launching a JVM...
ERROR | wrapper | 2010/04/10 23:02:10 | JVM exited while loading the application.
INFO | jvm 1 | 2010/04/10 23:02:10 | * run-java-tool was invoked directly
INFO | jvm 1 | 2010/04/10 23:02:10 | * run-java-tool should only be used via symlinks to it
STATUS | wrapper | 2010/04/10 23:02:14 | Reloading Wrapper configuration...
STATUS | wrapper | 2010/04/10 23:02:15 | Launching a JVM...
snip
ERROR | wrapper | 2010/04/10 23:02:29 | JVM exited while loading the application.
INFO | jvm 5 | 2010/04/10 23:02:29 | * run-java-tool was invoked directly
INFO | jvm 5 | 2010/04/10 23:02:29 | * run-java-tool should only be used via symlinks to it
FATAL | wrapper | 2010/04/10 23:02:29 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2010/04/10 23:02:29 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2010/04/10 23:02:29 | <-- Wrapper Stopped

Using 'wrapper.java.command=%JAVA_HOME%/bin/java' did fix it for me.
On distro installs JAVA_HOME should either point directly to the jre or to a symlink that points to the choosen jre, so i expect the ' %JAVA_HOME%/bin/java' to work on any distro.

commons-compress-1.1-src.tar.gz

maybe this should be
ftp://ftp.mirrorservice.org/sites/ftp.apache.org/commons/compress/source/commons-compress-1.10-src.tar.gz

jamesmikedupont@instance-2:~/fred/contrib/freenet_ext/strip-modules@5ca910c$ ant
Buildfile: /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/build.xml

get-libsrc:
[delete] Deleting directory /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/tmp
[mkdir] Created dir: /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/tmp
[get] Getting: ftp://ftp.mirrorservice.org/sites/ftp.apache.org/commons/compress/source/commons-compress-1.1-src.tar.gz
[get] To: /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/tmp/commons-compress-1.1-src.tar.gz
[get] Error opening connection java.io.FileNotFoundException: sites/ftp.apache.org/commons/compress/source/commons-compress-1.1-src.tar.gz
[get] Error opening connection java.io.IOException: sun.net.ftp.FtpProtocolException: CWD sites:550 Failed to change directory.
[get] Error opening connection java.io.IOException: sun.net.ftp.FtpProtocolException: CWD sites:550 Failed to change directory.
[get] Can't get ftp://ftp.mirrorservice.org/sites/ftp.apache.org/commons/compress/source/commons-compress-1.1-src.tar.gz to /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/tmp/commons-compress-1.1-src.tar.gz

BUILD FAILED
/home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/build.xml:87: The following error occurred while executing this line:
/home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/build.xml:188: The following error occurred while executing this line:
/home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/build.xml:203: Can't get ftp://ftp.mirrorservice.org/sites/ftp.apache.org/commons/compress/source/commons-compress-1.1-src.tar.gz to /home/jamesmikedupont/fred/contrib/freenet_ext/strip-modules@5ca910ce/tmp/commons-compress-1.1-src.tar.gz

Total time: 2 seconds

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.