0 Replies Latest reply on Jan 22, 2008 7:10 AM by apwalker

    Remote-bisocket JMS test fail on Mac OSX


      I get a NullPointerException from the following in the ServerContainer when running the remote tests

      ServiceContainer.java
      ......
      
       private void readConfigurationFile() throws Exception
       {
       InputStream cs = getClass().getClassLoader().getResourceAsStream(CONFIGURATION_FILE_NAME);
      
      .....
      


      It appears to be a bug in the Apple JVM

      I put a local hack which uses a FileInputStream if the above call returns null and it uses a relative path but this mean you need to always run the tests from the tests directory.

      LocalTestServer.java needs a simialr hack and with both of these all the tests pass.

      I would like to commit these work arounds to the stable branch as I really don't think we'll get this one fixed for sometime and with the refactoring of the tests to use the microcontainer I think this may go away.

      Here is the JIRA Issue for this http://jira.jboss.org/jira/browse/JBMESSAGING-1222


      Aaron