2 Replies Latest reply on Jan 22, 2009 10:23 AM by jnccneto

    jbossas install from rpm

    jnccneto

      Hi

      I just installed jboss on my fedora using some rpm from JPackage Project
      They use a conf file on /etc/sysconfig/jbossas
      for setting up jboss java enviroment

      this is what I have there:

      JAVA_HOME="/usr/java/jdk1.6.0_11"
      JAVAPTH="/usr/java/jdk1.6.0_11/jre/bin/java"
      JBOSSCP="/usr/java/jdk1.6.0_11/lib/"

      when I start jboss I can see that the java path seems ok

      jboss 12785 1 0 17:07 ? 00:00:00 /bin/sh /var/lib/jbossas/bin/run.sh -c default
      jboss 12806 12785 4 17:07 ? 00:00:32 \_ /usr/java/jdk1.6.0_11/bin/java -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInt

      But on the:
      http://127.0.0.1:8080/jmx-console/

      I get
      org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available

      any other setup I need to do?

      thanks in advance
      --
      Jose

      http://www.liber4e.com

        • 1. Re: jbossas install from rpm
          peterj

          Personally, I would download the zip file from the JBoss AS download site, and unzip it. I would not use a JBoss AS that was repackaged by someone else.

          You need a specific download of JBoss AS to work with JDK 6 (to avoid web services issues), how do you know that the one you got from the RPM is the correct one?

          There must be something wrong with the configuration of the JBoss AS installed via the RPM. But finding that change is going to be difficult - you will have to do file comparisons between what you got from the RPM and what you can download from the JBoss AS download site.

          • 2. Re: jbossas install from rpm
            jnccneto

            Hum
            Think you're right
            gonna try the jboss original package and see what happens