0 Replies Latest reply on Sep 19, 2008 10:05 PM by Peter Johnson

    JBoss native disconnect on Windows

    Peter Johnson Master

      There is a disconnect between the directory structure of JBoss Native 2.0.4/2.0.5 and the run.bat that comes with JBossAS 5.0.0.CR2.

      The directory structure in JBoss Native is:


      where 'system' is the os (such as windows) and cpu is the architecture, such as x86.

      However, run.bat looks for:

      if exist "%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%"

      when it should look for:

      if exist "%JBOSS_HOME%\bin\META-INF\lib\windows\%JAVA_PLATFORM%"

      And of course it never finds the directory.

      Fortunately, this is correct in run.sh:

      if [ -d "$JBOSS_NATIVE_DIR" ]; then

      I guess the moral of the story is to always use Linux... ;-)