4 Replies Latest reply on May 18, 2006 3:43 AM by Dimitris Andreadis

    Netboot feature in JBoss 4.0.4 GA

    Chad Boyd Newbie

      I'm trying to get JBoss 4.0.4 GA to start using netboot. I've read the adminguide.pdf, and it references ant Ant build script src/main/org/jboss/netboot/build-netboot.xml that doesn't seem to exist. The admin guide doesn't go into detail on how to get netboot to work. It does say the the netboot.war should contain the JBOSS_DIST/lib and JBOSS_DIST/server/default files. I found this war in the JBOSS_DIST/docs/examples/netboot directory, and inlcuded these files from the default configuration and copied this war to a new configuration called netboot. When trying to execute the command:

      ./run.sh --netboot=http://localhost:8080/netboot/

      I get the following error:

      Failed to boot JBoss:
      java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl
       at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
       at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:285)
       at org.jboss.system.server.ServerLoader.load(ServerLoader.java:267)
       at org.jboss.Main.boot(Main.java:194)
       at org.jboss.Main$1.run(Main.java:464)
       at java.lang.Thread.run(Thread.java:534)

      Could someone please tell me if the netboot feature is still available. I've found a lot of posts on this subject but no replies. Any help would be greatly appreciated.