#286 FreeBSD 10: Could not find or load main class Main

v3.5.23
open
nobody
None
5
2015-02-10
2013-12-10
KYTV I2P
No

Wrapper 3.5.23 fails to load in FreeBSD 10.

    wrapper  | JVM exited while loading the application.
    jvm 1    | Error: Could not find or load main class Main

This was reproduced with the deltapack for the community edition. Steps to reproduce:

$ tar xzf wrapper-delta-pack-3.5.23.tar.gz 
$ cd wrapper-delta-pack-3.5.23
$ bin/testwrapper console
Running Test Wrapper Sample Application...
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Community Edition 64-bit 3.5.23
wrapper  |   Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.com
wrapper  | 
wrapper  | The value of wrapper.java.command does not appear to be a java binary.
wrapper  | The use of scripts is not supported. Trying to continue, but some features may not work correctly..
wrapper  | Launching a JVM...
jvm 1    | javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated
jvm 1    | Error: Could not find or load main class Main
wrapper  | JVM exited while loading the application.
wrapper  | The value of wrapper.java.command does not appear to be a java binary.
wrapper  | The use of scripts is not supported. Trying to continue, but some features may not work correctly..
wrapper  | Launching a JVM...
jvm 2    | javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated
wrapper  | JVM exited while loading the application.
jvm 2    | Error: Could not find or load main class Main

Related

Bugs: #286

Discussion

  • KYTV I2P

    KYTV I2P - 2014-02-11

    FYI: This is still a problem with 3.5.24 and FreeBSD 10.

    The version from FreeBSD ports (http://svnweb.freebsd.org/ports/head/sysutils/javaservicewrapper/Makefile?view=markup) works fine. Making the same changes to the makefile in 3.5.24 does not lead toa working wrapper.

     
    • Roberto Espinoza

      Thank you for the report.

      Could you paste in here the output from the wrapper?

      Thank you.
      On Feb 11, 2014 9:18 AM, "KYTV I2P" kytv@users.sf.net wrote:

      FYI: This is still a problem with 3.5.24 and FreeBSD 10.

      The version from FreeBSD ports (
      http://svnweb.freebsd.org/ports/head/sysutils/javaservicewrapper/Makefile?view=markup)
      works fine. Making the same changes to the makefile in 3.5.24 does not lead
      toa working wrapper.


      Status: open
      Created: Tue Dec 10, 2013 11:56 PM UTC by KYTV I2P
      Last Updated: Tue Dec 10, 2013 11:56 PM UTC
      Owner: nobody

      Wrapper 3.5.23 fails to load in FreeBSD 10.

      wrapper  | JVM exited while loading the application.
      jvm 1    | Error: Could not find or load main class Main
      

      This was reproduced with the deltapack for the community edition. Steps to
      reproduce:

      $ tar xzf wrapper-delta-pack-3.5.23.tar.gz $ cd wrapper-delta-pack-3.5.23$ bin/testwrapper consoleRunning Test Wrapper Sample Application...wrapper | --> Wrapper Started as Consolewrapper | Java Service Wrapper Community Edition 64-bit 3.5.23wrapper | Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.wrapper | http://wrapper.tanukisoftware.comwrapper | wrapper | The value of wrapper.java.command does not appear to be a java binary.wrapper | The use of scripts is not supported. Trying to continue, but some features may not work correctly..wrapper | Launching a JVM...jvm 1 | javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecatedjvm 1 | Error: Could not find or load main class Mainwrapper | JVM exited while loading the application.wrapper | The value of wrapper.java.command does not appear to be a java binary.wrapper | The use of scripts is not supported. Trying to continue, but some features may not work correctly..wrapper | Launching a JVM...jvm 2 | javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecatedwrapper | JVM exited while loading the application.jvm 2 | Error: Could not find or load main class Main


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/wrapper/bugs/286/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #286

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks