where to look for $CATALINA_BASE/conf/ in Tomcat Server ?
Hi, I am trying to do JASPIC follows by JACC using Java Servlet and JSP and maybe REST with PostgresQL https://www.byteslounge.com/tutorials/jaas-authentication-in-tomcat-example However, I have difficulty in locating the $Catablina_base in the external tomcat server I am using in Eclipse. Also, I went to check out the hosting company side, I can't find Catalina_base at all also. I hope someone can tell me exactly where to put the jaas.config file for the JAAS to work. Another thing is about JASPIC. I can't find alot of tutorial regarding JAPIC. There is this guy Arjan Tijms which poses quite a fair bit of infor but I guess my Java skills is still not good enough to understand the mechanism of how things work. I am currently testing things out using Tomcat 9.0.4. And how does JASPIC + JACC fit into the scheme of salt based password verification. Hope someone can give me some hints how to go about securely password the simplest possible way based on JASPIC and JACC. Thanks. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Web app not starting after removing/installing service.bat
De : Christopher Schultz Envoyé : mardi 4 juin 2019 16:25 À : users@tomcat.apache.org Objet : Re: Web app not starting after removing/installing service.bat -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 6/4/19 09:21, Victor WILLART wrote: > Hi, me again. > > By trying to fix a problem I made it worse. I removed the > service.bat in ...\Apache Software Foundation\Tomcat 8.0\bin and > installed it again following the commands. My service seems to work > well after a reboot (can stop and start it at least) but my web app > is not launching anymore. Did you remove bin\service.bat or did you run it to remove the service? What commands did you follow to "install it again"? -- I used in the command window: cd C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin service.bat remove Here I changed my JAVA_HOME environnement from a JRE path to a JDK path in the environnement variables from the System service.bat install -- > I didn't change any other file between the moment my app was > working and the moment it wasn't anymore. > > > Did I miss something in the process ? All the links/IP to the > server must have remained the same right ? Umm... probably? Where is your web application on the disk? - -chris -- C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps --
Re: Web app not starting after removing/installing service.bat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 6/4/19 09:21, Victor WILLART wrote: > Hi, me again. > > By trying to fix a problem I made it worse. I removed the > service.bat in ...\Apache Software Foundation\Tomcat 8.0\bin and > installed it again following the commands. My service seems to work > well after a reboot (can stop and start it at least) but my web app > is not launching anymore. Did you remove bin\service.bat or did you run it to remove the service? What commands did you follow to "install it again"? > I didn't change any other file between the moment my app was > working and the moment it wasn't anymore. > > > Did I miss something in the process ? All the links/IP to the > server must have remained the same right ? Umm... probably? Where is your web application on the disk? - -chris -BEGIN PGP SIGNATURE- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlz2f3QACgkQHPApP6U8 pFgCeRAApY0ZtZ8nTA5j3Vov8HU9fAlCorKbDLfKx6UMiAK2HArM32KVO3trEc17 VCO/LZVZVrIKGE/qdT7Mc+7EYwBNfkeUDnwH4YRBf9+sisa34bE+P25MYxMCioqH JZY/GKVYHW85igMAIU7sRmYdLdZgLM69hmh+aNQ8QK8F8wAZoYMMgDiFWTNJ3/oP lHakoJp+N/7gChU1teyuuCdrgbP+seEw2zFr2ZTTV9TKM1EsQZy1ibDJ3VYIGHfR 5EtWOokRrGSESacNzKuN4vIR+uol0TC4cbt/bLQmlzBsTxl+AuU2KJLqBtUdTMht 4b3g8ftmaPIP+KXBaiYoC6EhywF3ZJywT98yz5W4pxRp0nQI6yOGAMJj8flH4Zn1 urXikwu9i2DWAYO+uXjgzCB2hHHGl4uYcbkLBUJAWy4MPVBh+BNc+L6J/uIBn+fH MPY5JHG6bfsRzFvJ2wl+T0pCpz8iHb8v1ncIThsdBEKQEbiUAyHQmSk3gjDluEWa AMg52LjfemwRLYFpiy5rR1Gae66CE2ztqA+U8/zurcx1yQNdQtUrQ6Gp0aXe4Y9J UmoXh5FAoIP7H5abpUJjODefht6KD4Ydzcc50q8VDBajxnBR55KWZ41I54zy0vUB wNyWDzdrgCoZ3WVohuAxoRYxZqVtb8mlPAeL2449ur+b8P//V0o= =7hGG -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Web app not starting after removing/installing service.bat
Hi, me again. By trying to fix a problem I made it worse. I removed the service.bat in ...\Apache Software Foundation\Tomcat 8.0\bin and installed it again following the commands. My service seems to work well after a reboot (can stop and start it at least) but my web app is not launching anymore. I didn't change any other file between the moment my app was working and the moment it wasn't anymore. Did I miss something in the process ? All the links/IP to the server must have remained the same right ? Regards VW - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org