Re: Tomcat error at run-time.

2018-07-31 Thread noel joseph
Hey Chris, I am having a little difficulty in logging. As mentioned before I am new to tomcat and don't exactly know how to enable logging. Could you please instruct me on how to do so. Thanks, Noel On Tue, Jul 31, 2018 at 7:49 PM, noel joseph wrote: > Thank you so much Cris I will try your

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
What I found is when I renamed .xml to ROOT.xml in /conf/Catalina/ then war file exploded in to the ROOT directory in tomcat web apps folder. Is this the expected behavior?? Because when I used as an exploded folder then it referred to it from the same /deploy folder. On Tue, Jul 31, 2018 at

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
If I renamed ROOT.xml to .xml in the /conf/Catalina/ then it picked up the file and deployed in to webapps/. How can I make it so that it deploys to the ROOT folder. On Tue, Jul 31, 2018 at 2:09 PM, Mounika Reddy wrote: > In the same deploy folder where I had my war file. > > On Tue, Jul 31,

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
In the same deploy folder where I had my war file. On Tue, Jul 31, 2018 at 1:20 PM, Mark Thomas wrote: > On 31/07/18 17:13, Mounika Reddy wrote: >> I tried first with the name as the war file name and didn't even pick >> my change but somehow it shows deployment is completed. I don't see >> the

Re: What is the correct place to specifiy SPI service files for Java?

2018-07-31 Thread Mark Thomas
On 31/07/18 17:06, Thorsten Schöning wrote: > Hi all, > > I would like to get some attention on some older SO-question[1] about > where to place SPI-service files of Java. > > Following the docs, those should be placed in META-INF at the top > level of some JAR and webapps designed to be used

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mark Thomas
On 31/07/18 17:13, Mounika Reddy wrote: > I tried first with the name as the war file name and didn't even pick > my change but somehow it shows deployment is completed. I don't see > the > exploded war file. Where did you look? Mark > > 31-Jul-2018 12:10:15.342 INFO [main] >

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
I tried first with the name as the war file name and didn't even pick my change but somehow it shows deployment is completed. I don't see the exploded war file. 31-Jul-2018 12:10:15.342 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor

What is the correct place to specifiy SPI service files for Java?

2018-07-31 Thread Thorsten Schöning
Hi all, I would like to get some attention on some older SO-question[1] about where to place SPI-service files of Java. Following the docs, those should be placed in META-INF at the top level of some JAR and webapps designed to be used with Tomcat provide such a folder. But it seems to be

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mark Thomas
On 31/07/18 16:44, Mounika Reddy wrote: > Hi all, > > I'm trying to deploy a war file in tomcat and publish to root context. > I have created a ROOT.xml file in > /conf/Catalina//ROOT.xml. The issue is tomcat > not picking up war file or neither exploding war file into a > directory. But if I

Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
Hi all, I'm trying to deploy a war file in tomcat and publish to root context. I have created a ROOT.xml file in /conf/Catalina//ROOT.xml. The issue is tomcat not picking up war file or neither exploding war file into a directory. But if I unpack war file into a folder then it's picking up

Re: Tomcat error at run-time.

2018-07-31 Thread noel joseph
Thank you so much Cris I will try your methods and let you know off the results. Thanks for the quick response! Cheers Noel On Tue, Jul 31, 2018, 6:44 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Noel, > > On 7/31/18 2:54

Re: cors filter in WEB-INF/web.xml

2018-07-31 Thread Luis Rodríguez Fernández
Hello Masber, In order to get accurate answers it would be helpful if you could provide details like: - Platform details: OS, jdk/jre, apache-tomcat version... - "I went through documentation" which one? perhaps https://tomcat.apache.org/tomcat-9.0-doc/config/filter.html#CORS_Filter - "my web

Re: Documentation for Catalina Base

2018-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 7/31/18 4:24 AM, Stefan Mayr wrote: > Hi, > > Am 30.07.2018 um 18:25 schrieb Christopher Schultz: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Marek, >> >> On 7/30/18 3:22 AM, Marek Czernek wrote: >>> Hi there, >>> >>>

Re: Documentation for Catalina Base

2018-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marek, On 7/31/18 3:37 AM, Marek Czernek wrote: > Hi Christopher, > > thanks so much for finding the time to reply. Find my reasoning > inline. > > On 07/30/2018 06:25 PM, Christopher Schultz wrote: Marek, > > On 7/30/18 3:22 AM, Marek Czernek

Re: Tomcat error at run-time.

2018-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Noel, On 7/31/18 2:54 AM, noel joseph wrote: > Hi, I am rather new to tomcat, I've been trying to embed tomcat in > a java application. I further want to convert this into a java web > start file so that on deploying it I can have a separate tomcat

Re: Persist authenticated sessions across tomcat restarts

2018-07-31 Thread Tim K
On Tue, Jul 31, 2018, 7:42 AM Burghard Britzke wrote: > that is, what „transient“ means... > -- > Gruß > burghard.britzke > https://britzke.berlin/ > > Am 31.07.2018 um 13:39 schrieb Tim K : > > On Tue, Jul 31, 2018, 7:31 AM Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > > Am

Re: Persist authenticated sessions across tomcat restarts

2018-07-31 Thread Burghard Britzke
that is, what „transient“ means... -- Gruß burghard.britzke https://britzke.berlin/ > Am 31.07.2018 um 13:39 schrieb Tim K : > > On Tue, Jul 31, 2018, 7:31 AM Felix Schumacher < > felix.schumac...@internetallee.de> wrote: > >> Am 30.07.2018 17:57, schrieb Tim K: >>> On Mon, Jul 30, 2018, 4:26

Re: Persist authenticated sessions across tomcat restarts

2018-07-31 Thread Tim K
On Tue, Jul 31, 2018, 7:31 AM Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am 30.07.2018 17:57, schrieb Tim K: > > On Mon, Jul 30, 2018, 4:26 AM Felix Schumacher < > > felix.schumac...@internetallee.de> wrote: > > > >> Am 27.07.2018 13:36, schrieb Tim K: > >> > Hello, > >> > >

Re: Persist authenticated sessions across tomcat restarts

2018-07-31 Thread Felix Schumacher
Am 30.07.2018 17:57, schrieb Tim K: On Mon, Jul 30, 2018, 4:26 AM Felix Schumacher < felix.schumac...@internetallee.de> wrote: Am 27.07.2018 13:36, schrieb Tim K: > Hello, > > I'm creating a new app under Tomcat 9.0.8 (local dev: windows, live > servers: linux). > > I have successfully created

Re: Documentation for Catalina Base

2018-07-31 Thread Stefan Mayr
Hi, Am 30.07.2018 um 18:25 schrieb Christopher Schultz: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Marek, > > On 7/30/18 3:22 AM, Marek Czernek wrote: >> Hi there, >> >> recently, we noticed the lack of documentation for Catalina Base, >> and I wanted to find out more about it.

Re: Documentation for Catalina Base

2018-07-31 Thread Marek Czernek
Hi Christopher, thanks so much for finding the time to reply. Find my reasoning inline. On 07/30/2018 06:25 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marek, On 7/30/18 3:22 AM, Marek Czernek wrote: Hi there, recently, we noticed the lack of

Tomcat error at run-time.

2018-07-31 Thread noel joseph
Hi, I am rather new to tomcat, I've been trying to embed tomcat in a java application. I further want to convert this into a java web start file so that on deploying it I can have a separate tomcat server for my application. The error I am facing is... org.apache.catalina.LifecycleException: A