1 Reply Latest reply on Jul 10, 2004 12:20 PM by Scott Stark

    Authentication when running JBoss as a service

    sbotten Newbie


      I have the following symptoms:
      Placing "users.properties" in %JBOSS_HOME%\bin\ or %JBOSS_HOME%\default\conf\ works fine when starting JBoss in a DOS window. But when JBoss is started as a windows (2000) service, authentication only works when "users.properties" is embedded in the deployed .jar file - which is a nuisance when new users must be added (or the password changed).

      What am I missing here - any ideas?


        • 1. Re: Authentication when running JBoss as a service
          Scott Stark Master

          The bin directory will not be in the service path unless you have configured the service to run in that directory so this will not be usable for resources. The server/conf directory should, as its resolved relative to the conf/jboss-service.xml location, so perhaps this is not working as expected when run as a service. Set the working directory of the service to the bin directory to be able to use it.