3 Replies Latest reply on Jun 6, 2008 6:32 PM by johnloo1

    Installation Under Windows Server

    johnloo1

      I am attempting to install JBoss 4.2.2 GA under Windows Server 2003, with the latest service packs. The box currently has IIS 6.0 installed, and is serving a website at port 80. ASP .NET 1.1 is installed on this box as well.

      I am following the instructions in the JBoss Installation guide. I installed the JDK using jdk-1_5_0_15-windows-i586-p.exe, downloaded from the Sun Java site. After installing Java, I unzipped the JBoss installation file, and copied everything into

      c:\Program Files\jboss-4.2.2

      I added an environment variable JAVA_HOME, and pointed it to:

      C:\Program Files\Java\jdk1.5.0_15

      I also added this to the PATH:

      C:\Program Files\Java\jdk1.5.0_15\jre\bin

      I opened a Command Prompt window, changed directories to:

      C:\Program Files\jboss-4.2.2\bin

      and executed run.bat.

      The following message/errors appeared:
      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\Program Files\jboss-4.2.2

      JAVA: C:\Program Files\Java\jdk1.5.0_15\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
      ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: C:\Program Files\Java\jdk1.5.0_15\lib\tools.jar;C:\Program Files\jb
      oss-4.2.2\bin\run.jar

      ===============================================================================

      Failed to boot JBoss:
      java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:2
      86)
      at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
      at org.jboss.Main.boot(Main.java:194)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)


      I'm assuming I did something silly or overlooked something. Can anyone provide some direction on how to fix this?

      Thanks!

        • 1. Re: Installation Under Windows Server
          peterj

          Try moving jbossas out of Program Files. Spaces in path names tend to give some Java libraries fits. I have mine at c:\apps\jboss-4.2.2.

          If that does not work, also move the JDK out of Porgram Files. You do not have ot re-install it - just move the directory. Mine is at c:\apps\jdk1.5.0_015

          • 2. Re: Installation Under Windows Server
            johnloo1

             

            "PeterJ" wrote:
            Try moving jbossas out of Program Files. Spaces in path names tend to give some Java libraries fits. I have mine at c:\apps\jboss-4.2.2.

            If that does not work, also move the JDK out of Porgram Files. You do not have ot re-install it - just move the directory. Mine is at c:\apps\jdk1.5.0_015


            I tried this, same message. Do I need to have a catalina_home environment variable set?

            Do I need any other package installed, like Tomcat?

            • 3. Re: Installation Under Windows Server
              johnloo1

              Moved over to Installation forum, please do no reply here....

              Thanks!