1 Reply Latest reply on Dec 28, 2005 8:41 PM by Jon Coign

    Exception in UsersRolesLoginModule when jboss installed in '

    Phillip Bayliss Newbie

      Hi,

      Im having a problem with the UsersRolesLoginModule.

      The space character in Progam Files seems to prevent the UsersRolesLoginModule from finding its properties files. The files do exist. This works fine when running from C:\jboss-4.0.0.

      Is there a fix or workaround for this problem ?

      Thanks,

      Phillip Bayliss

      2005-01-07 10:49:32,541 ERROR [org.jboss.security.auth.spi.UsersRolesLoginModule] (http-0.0.0.0-8080-Processor23) Failed to load users/passwords/role files
      java.io.FileNotFoundException: C:\Program%20Files\Allianza\Discovery\Server\jboss\server\default\deploy\discovery.war\WEB-INF\classes\discovery-users.properties
      at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:71)
      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:80)
      at java.net.URL.openStream(URL.java:1007)
      at org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(UsersRolesLoginModule.java:219)
      at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:234)
      at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:100)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke
      . . . . .