1 Reply Latest reply on Jun 6, 2008 8:06 PM by johnloo1

    Having Some Problems with 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 Apache 2.2 installed, and is serving a website at port 80. Tomcat 6 with Axis 1.4 is also installed, and is using port 8080. IIS 6.0 and ASP .NET 1.1 are also installed on this box, but are not being used (IIS default website is stopped to allow Apache to use port 80).

      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:\jboss-4.2.2

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

      C:\Progra~1\Java\jdk1.5.0_15

      I also added this to the PATH:

      C:\Progra~1\Java\jdk1.5.0_15\jre\bin

      I opened a Command Prompt window, changed directories to:

      C:\jboss-4.2.2\bin

      and executed run.bat.

      The following message/errors appeared:

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

      JBoss Bootstrap Environment

      JBOSS_HOME: C:\jboss-4.2.2

      JAVA: C:\Progra~1\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:\Progra~1\Java\jdk1.5.0_15\lib\tools.jar;C:\jboss-4.2.2\bin\run.j
      ar

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

      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)
      Press any key to continue . . .

      It looks like I am missing a jar file somewhere? Or maybe there's an issue with Tomcat on 8080? I stopped the Tomcat service and go the same error.

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

      This was also posted in the Beginners forum, but I posted a reply on that thread to redirect responses here.

      Thanks!