2 Replies Latest reply on Sep 8, 2002 3:19 AM by ivanhoe

    Running Jboss examples on Windows

    anjanp

      Hope some one can help me on this.
      This is my configuration :
      I am using Windows XP (Prof Ed) JBoss 2.4.4, ant 1.4. J2SDK1.4
      I have tested the "try ant" example in the doc and it works. But when I try to build the Interest EJB example from my build directory, I mean from examples/build direcotry as

      ant ant intro-interest-jar

      I get this error
      C:\WINDOWS\System32\ntvdm.exe
      Error while setting up environment for the application. Choose 'close' to terminate the application

      The message comes on Windows Popup and in the dos prompt I get :
      ---------------------------------------

      D:\J2EE\EJB\examples\build>ant intro-interest-jar
      Buildfile: build.xml

      BUILD FAILED

      D:\J2EE\EJB\examples\build\build.xml:16: java.lang.NullPointerException
      --------------------------
      Any poniters to solve this problem will be appreciated.

      Thanks,
      Anjan

        • 1. Re: Running Jboss examples on Windows
          cnagyxyz

          Hi Anjan,

          Get the latest beta version of ant 1.5 because a bug was fixed for WinXP.
          I had the same problem when building the examples and patched ant 1.4.1 (locally) to work with WinXP (I also verified that the fix appears in ant 1.5). Basically the problem occurs when the task is executed. Ant 1.4.1 won't understand what OS you are running on (it only tests for Windows 2000 and NT) and it will fail.

          Hope that helps,

          Chris Nagy

          • 2. Re: Running Jboss examples on Windows
            ivanhoe

            Thanks it was a great help from me.