Menu

#162 JavaHMO 2.3 Beta 1 or 2 - Broken Install

open
nobody
None
5
2005-01-25
2005-01-25
Pizzagod
No

I have been using JavaHMO 1.x on Fedora Core 3 (Linux),
and just decided to install 2.x. I downloaded the
newest rpm, and installed it.

Following the directions on the site, it says I should
then edit /etc/JavaHMO/JavaHMO.init. Well, this file
does not exist.

So, I figured it may have been forgotten in the Beta 2,
so I downloaded the Beta 1. Upon trying to remove the
Beta 2, I get the following:

[root@server tmp]# rpm -e javaHMO-2-3
/var/tmp/rpm-tmp.67685: line 3: fg: no job control
/var/tmp/rpm-tmp.67685: line 4: syntax error near
unexpected token `newline'
/var/tmp/rpm-tmp.67685: line 4: `* Mon Feb 16 2004 Jon
Stroud <accounts@bsclimbing.com>'
error: %preun(javaHMO-2-3.i386) scriptlet failed, exit
status 2
[root@server tmp]#

Where does one go from here?

Thank you in advance...

Discussion

  • Pizzagod

    Pizzagod - 2005-01-25

    Logged In: YES
    user_id=1168451

    Actually, the path indicated /etc/javaHMO/JavaHMO.init (not
    /etc/JavaHMO/JavaHMO.init), but in any case, there is no
    JavaHMO.init anywhere on my system.

     
  • Nobody/Anonymous

    Logged In: NO

    The init file is actually installed as /etc/init.d/JavaHMO
    by the RPM, so that seems to be a bug in the documentation.

    To uninstall the RPM, use the --noscripts option. That
    should get it off your system. It worked for me.

     
  • Pizzagod

    Pizzagod - 2005-02-01

    Logged In: YES
    user_id=1168451

    Ok, no problem here. I can get it to install/uninstall.
    Configuring it is the problem. I'm able to edit the init
    script. The thing is, I don't really need to, as it's
    written to search for the JAVA_HOME.

    In any case, whether I hard-code the JAVA_HOME or I let it
    find it, I get the same result: JVM dies.

    For example, I run 'jhmo console', and get this:

    Running JavaHMO...
    ERROR | wrapper | Warning no matching files for classpath
    element: /usr/share/javaHMO/lib/*.j
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | Warning no matching files for classpath
    element: /usr/share/javaHMO/lib/*.j
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | Warning no matching files for classpath
    element: /usr/share/javaHMO/lib/*.j
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | Warning no matching files for classpath
    element: /usr/share/javaHMO/lib/*.j
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | Warning no matching files for classpath
    element: /usr/share/javaHMO/lib/*.j
    ERROR | wrapper | JVM exited while loading the application.
    FATAL | wrapper | There were 5 failed launches in a row,
    each lasting less than 300 seconds. Giving up.
    FATAL | wrapper | There may be a configuration problem:
    please check the logs.

    I tried commenting out the line in wrapper.conf:

    wrapper.java.classpath.2=/usr/share/javaHMO/lib/*.j

    and I ran 'jhmo console' again, and now I'm getting:

    Running JavaHMO...
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | JVM exited while loading the application.
    ERROR | wrapper | JVM exited while loading the application.
    FATAL | wrapper | There were 5 failed launches in a row,
    each lasting less than 300 seconds. Giving up.
    FATAL | wrapper | There may be a configuration problem:
    please check the logs.

    In either case, JVM exits. Any ideas what to try?

     

Log in to post a comment.

MongoDB Logo MongoDB