Re: Unable to determine Catalina base to load file

2019-01-08 Thread PJ Pillai
As said previously, the same jaas configuration and application works on tomcat 6 and 7 but fails on 8.5 and 9.0. The tomcat is started as windows service. I even set the CATALINA_BASE and CATALINA_HOME in windows environment variables. On Tue, Jan 8, 2019 at 11:55 AM Rémy Maucherat wrote: > On

Re: Unable to determine Catalina base to load file

2019-01-08 Thread Rémy Maucherat
On Tue, Jan 8, 2019 at 8:03 PM Mark Thomas wrote: > This looks like an environmental issue. Debugging is probably your best > option to get to the bottom of this. > Maybe I broke it with my refactorings, but I'm not very sure at the moment since you couldn't reproduce it. I can also see that Con

Re: Unable to determine Catalina base to load file

2019-01-08 Thread Mark Thomas
> 2016 server. 2. Tomcat is started as windows service. >>>>> >>>>>> I tried Tomcat 8.5 as well and still get the same warning >>>>>> message and user is not authenticated. >>>>> >>>>> Did you copy all your system properties from

Re: Unable to determine Catalina base to load file

2019-01-08 Thread Mark Thomas
service >>>> to your Tomcat 9 service? Look in thew "JVM Parameters" (or >>>> whatever) section of the Tomcat service manager (tomcat9w.exe). >>>> >>>> Tomcat needs to know where the JAAS config file is, and that's >>>> done throug

Re: Unable to determine Catalina base to load file

2019-01-08 Thread PJ Pillai
> > > >> On Wed, Jan 2, 2019 at 5:00 PM PJ Pillai > <mailto:pjpil...@gmail.com>> > >> wrote: > > > >>> Hi, > >>> > >>> > >>> I'm using JAASMemoryLoginModule to authenticate users stored > >>>

Re: Unable to determine Catalina base to load file

2019-01-05 Thread Christopher Schultz
copied from > the old service, it probably won't work. > > -chris > >> On Wed, Jan 2, 2019 at 5:00 PM PJ Pillai <mailto:pjpil...@gmail.com>> >> wrote: > >>> Hi, >>> >>> >>> I'm using JAASMemoryLoginModule to authenticate user

Re: Unable to determine Catalina base to load file

2019-01-03 Thread PJ Pillai
t; > >> Hi, > >> > >> > >> I'm using JAASMemoryLoginModule to authenticate users stored in > >> tomcat-users.xml. The authentication fails on Tomcat 9 with > >> following warning message in catalina.xx.log. >

Re: Unable to determine Catalina base to load file

2019-01-03 Thread Christopher Schultz
sers stored in >> tomcat-users.xml. The authentication fails on Tomcat 9 with >> following warning message in catalina.xx.log. >> >> org.apache.catalina.realm.JAASMemoryLoginModule.load Unable to >> determine Catalina base to load file [conf/tomcat-users.xml] >> >&

Re: Unable to determine Catalina base to load file

2019-01-02 Thread PJ Pillai
t; I'm using JAASMemoryLoginModule to authenticate users stored in > tomcat-users.xml. The authentication fails on Tomcat 9 with following > warning message in catalina.xx.log. > > org.apache.catalina.realm.JAASMemoryLoginModule.load Unable to determine > Catalina base to load file [conf/t

Unable to determine Catalina base to load file

2019-01-02 Thread PJ Pillai
Hi, I'm using JAASMemoryLoginModule to authenticate users stored in tomcat-users.xml. The authentication fails on Tomcat 9 with following warning message in catalina.xx.log. org.apache.catalina.realm.JAASMemoryLoginModule.load Unable to determine Catalina base to load file [conf/t