Re: deploying on 9.0.96 is painful

2024-10-25 Thread Christopher Schultz
Ronald, On 10/24/24 10:31, Ronald Klop wrote: Van: "Rémy Maucherat" Datum: woensdag, 23 oktober 2024 17:48 Aan: users@tomcat.apache.org Onderwerp: Re: deploying on 9.0.96 is painful On Wed, Oct 23, 2024 at 5:37PM Ronald Klop wrote: > > Hi, > > We pre-compile our JSPs

Re: deploying on 9.0.96 is painful

2024-10-24 Thread Rémy Maucherat
On Thu, Oct 24, 2024 at 4:32 PM Ronald Klop wrote: > > Van: "Rémy Maucherat" > Datum: woensdag, 23 oktober 2024 17:48 > Aan: users@tomcat.apache.org > Onderwerp: Re: deploying on 9.0.96 is painful > > > > On Wed, Oct 23, 2024 at 5:37PM Ronald Klop > >

Re: deploying on 9.0.96 is painful

2024-10-24 Thread Ronald Klop
Van: "Rémy Maucherat" Datum: woensdag, 23 oktober 2024 17:48 Aan: users@tomcat.apache.org Onderwerp: Re: deploying on 9.0.96 is painful On Wed, Oct 23, 2024 at 5:37PM Ronald Klop wrote: > > Hi, > > We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And team

Re: deploying on 9.0.96 is painful

2024-10-23 Thread Rémy Maucherat
On Wed, Oct 23, 2024 at 5:37 PM Ronald Klop wrote: > > Hi, > > We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And team Sys > keeps the Tomcat servers running and up-to-date. > Running Tomcat since 5.x or maybe even before. Currently running 9.0.x. > > For years it worked fine if we

deploying on 9.0.96 is painful

2024-10-23 Thread Ronald Klop
Hi, We pre-compile our JSPs. Team Dev uses Tomcat jars for this. And team Sys keeps the Tomcat servers running and up-to-date. Running Tomcat since 5.x or maybe even before. Currently running 9.0.x. For years it worked fine if we kept the jars versions of team Dev close to the Tomcat server ve

Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-11 Thread Chuck Caldarale
> On Aug 11, 2024, at 11:03, Channa Puchakayala > wrote: > > I tested on VM, storage is in Local. > > I will try to test in Ubuntu and provide update. > > Problem observed on Rethat and Rocky Linux 8.6, but not on Redhat 8.8, 8.9 > and 8.10 This would certainly seem to indicate a problem w

RE: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-11 Thread Channa Puchakayala
@tomcat.apache.org Subject: Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6 On 08/08/2024 08:48, Channa Puchakayala wrote: > Hi All, > > Any suggestions or help on this ? What file system is being used? Is this a physical box or a VM? Is the storage local, NAS etc? > sh

Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-08 Thread Mark Thomas
anaveen.cheven...@broadcom.com>>; 'Balamurali Krishna Ippili' mailto:balamurali.ipp...@broadcom.com>> *Subject:* RE: Tomcat deploying war file for every restart on Red Hat Linux 8.6 Hi Tomcat Team, Thanks to all for helping on this. - We set the "*autoDeploy="false*" *in se

Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-02 Thread Christopher Schultz
Channa, On 8/2/24 05:30, Channa Puchakayala wrote: Hi Tomcat Team, Issue : Apache Tomcat deploying war file for every restart on Red Hat Linux 8.6 even though there are no changes in war file. Observations: -war-tracker file timestamp is setting with tomcat restart time which is not

Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-02 Thread Sebastian Trost
James, On 02.08.2024 17:25, James H. H. Lampert wrote: If you need to suppress redeployment of WAR files, you need to change it to     That is true. However, Channa is reporting, that the war-tracker file doesn't get the same modified date as the war file. This shouldn't happen, since t

Re: Tomcat deploying war file for every restart on Red Hat Linux 8.6

2024-08-02 Thread James H. H. Lampert
On 8/2/24 2:30 AM, Channa Puchakayala wrote: Issue : Apache Tomcat deploying war file for every restart on Red Hat Linux 8.6 even though there are no changes in war file. Look in your conf/server.xml file. Scroll down to the " If you need to suppress redeployment of WAR files, you ne

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application fails to start I had saved the previous war file and tried to redeploy it that was correctly running (update was a bug fixing), but I'm getting the same error. T

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Christopher Schultz
9 Oct 2023, 8:00 pm Ivano Luberti, wrote: Hi, I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application fails to start I had saved the previous war file and tried to redeploy it that was correctly running (update was a bug f

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
/2023 20:34, Deepak Lalchandani ha scritto: I'm facing a similar problem with basic tomcat installing too On Mon, 9 Oct 2023, 8:00 pm Ivano Luberti, wrote: Hi, I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Deepak Lalchandani
I'm facing a similar problem with basic tomcat installing too On Mon, 9 Oct 2023, 8:00 pm Ivano Luberti, wrote: > Hi, I was trying to update a web application deploying a war file. > > The manager says that is able to deploy the war but the application > fails to start &g

deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
Hi, I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application fails to start I had saved the previous war file and tried to redeploy it that was correctly running (update was a bug fixing), but I'm getting the

Re: AW: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

2023-06-20 Thread Christopher Schultz
types of environments. Thanks, -chris -Ursprüngliche Nachricht- Von: Shakila Rajaiah Gesendet: Mittwoch, 14. Juni 2023 18:34 An: users@tomcat.apache.org Cc: annou...@tomcat.apache.org; d...@tomcat.apache.org; annou...@apache.org Betreff: Deploying Multiple versions of Apache Tomcat on

Re: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

2023-06-20 Thread Christopher Schultz
Shakila, On 6/14/23 12:33, Shakila Rajaiah wrote: I have several java applications running on different production servers. I have the first production server set up to run Java 1.8 and  apache-tomcat-9.0.46. I have the second production server set up to run Java 11 and  apache-tomcat-10.0.27 du

AW: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

2023-06-14 Thread a.grubner
: users@tomcat.apache.org Cc: annou...@tomcat.apache.org; d...@tomcat.apache.org; annou...@apache.org Betreff: Deploying Multiple versions of Apache Tomcat on the same physical server/Machine Dear Team, I have several java applications running on different production servers. I have the first

Deploying Multiple versions of Apache Tomcat on the same physical server/Machine

2023-06-14 Thread Shakila Rajaiah
were not available in Java 8. Is there any way that I can deploy the two versions of the apache-tomcat-servers on the same physical machine? How will I be able to set up up JAVA_HOME and CATALINA_HOME environmental variables?  Just wanted to make sure that I was deploying my applications wisely

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread Shakila Rajaiah
the web is confusing. I followed this instruction  and dropped both test1.war and test2.war files in the webapps folder. Test1.war seems to have deployed correctly. Howeevr I received multiple error messages with deploying test2.war. The errors are highlighted in yellow.Simply drop both war

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread Konstantin Kolinko
ects e-mails to be in plain text. As such, any link that you might have had above, and any yellow highlighting of the text are lost. > and dropped both test1.war and test2.war files in the webapps folder. Test1.war seems to have deployed correctly. Howeevr I received multiple error messages wi

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread David Rush
We successfully deploy multiple webapps by simply dropping .war files into the webapps directory all the time. No problems here. Just sharing my perspective. David On Thu, Aug 4, 2022 at 4:10 PM James H. H. Lampert wrote: > Multiple WAR files work fine for us. But we don't simply "drop [the W

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-04 Thread James H. H. Lampert
Multiple WAR files work fine for us. But we don't simply "drop [the WAR files] in the webapps folder (and for the most part, that *doesn't* work for us, even with *only one* webapp). We always deploy through the Manager webapp (which we always customize to increase the allowable WAR file size

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-04 Thread Noelette Stout
r I received multiple error messages with deploying test2.war. The > errors are highlighted in yellow.Simply drop both war files into Tomcat's > webapps folder. That is all you need to do. By default, Tomcat expands > ("explodes" some say) each war (technically a zip file) into

Help with deploying multiple .WAR files in Tomcat

2022-08-04 Thread Shakila Rajaiah
deployed correctly. Howeevr I received multiple error messages with deploying test2.war. The errors are highlighted in yellow.Simply drop both war files into Tomcat's webapps folder. That is all you need to do. By default, Tomcat expands ("explodes" some say) each war (technic

RE: Problems deploying new .war application on Linux

2022-03-23 Thread Scott,Tim
From: Scott,Tim Sent: Tuesday, March 15, 2022 2:45 PM To: 'Tomcat Users List' Subject: RE: Problems deploying new .war application on Linux Hi Thomas, > Another approach is to do remote debugging and step into the clas

RE: Problems deploying new .war application on Linux

2022-03-15 Thread Scott,Tim
Hi Thomas, > Another approach is to do remote debugging and step into the class with the > error > (javax.enterprise.inject.se.SeContainerInitializer.findSeContainerInitializer) I set an Exception breakpoint on IllegalStateException and this opened the class for me to set a breakpoint prior to

RE: [External] Re: Problems deploying new .war application on Linux

2022-03-14 Thread Scott,Tim
> From: Greg Huber gregh3...@gmail.com > Sent: Monday, March 14, 2022 3:01 PM > >I’ve tried renaming the war file as ‘sru.war’ and placing it in webapps, > >removing other references to ‘sru’ in the configuration. > I use ROOT.war and have no stuff, just copy it into

Re: [External] Re: Problems deploying new .war application on Linux

2022-03-14 Thread Greg Huber
14/03/2022 14:44, Scott,Tim wrote: From: Greg Huber Sent: Monday, March 14, 2022 2:23 PM To: Tomcat Users List users@tomcat.apache.org<mailto:users@tomcat.apache.org> Subject: [External] Re: Problems deploying new .war application on Linux On the sever where did tomcat come from? a rpm? Mayb

RE: [External] Re: Problems deploying new .war application on Linux

2022-03-14 Thread Scott,Tim
> From: Greg Huber > Sent: Monday, March 14, 2022 2:23 PM > To: Tomcat Users List users@tomcat.apache.org<mailto:users@tomcat.apache.org> > Subject: [External] Re: Problems deploying new .war application on Linux > On the sever where did tomcat come from? a rpm? > M

Re: Problems deploying new .war application on Linux

2022-03-14 Thread Greg Huber
On the sever where did tomcat come from? a rpm? Maybe as a test, download tomcat from tomcat.apache.org and see if it makes a difference. On 14/03/2022 10:16, Scott,Tim wrote: Hi all, I’m struggling with this and am obviously not running into the right terms to Google. I’ve put together a

RE: Problems deploying new .war application on Linux

2022-03-14 Thread Scott,Tim
ject: [External] AW: Problems deploying new .war application on Linux > -Ursprüngliche Nachricht- > Von: Scott,Tim mailto:tim.sc...@oclc.org>> > Gesendet: Montag, 14. März 2022 11:16 > An: Tomcat Users List > mailto:users@tomcat.apache.org>> > Betreff: Pro

AW: Problems deploying new .war application on Linux

2022-03-14 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Scott,Tim > Gesendet: Montag, 14. März 2022 11:16 > An: Tomcat Users List > Betreff: Problems deploying new .war application on Linux > > Hi all, > > I’m struggling with this and am obviously not running into the right t

Problems deploying new .war application on Linux

2022-03-14 Thread Scott,Tim
Hi all, I’m struggling with this and am obviously not running into the right terms to Google. I’ve put together a new application and got it working nicely through IntelliJ with Tomcat 9.0.59 on my PC but as we’re not going to ship my machine (and IntelliJ license!), I need it to run elsewhere

Re: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Christopher Schultz
success and next deploy is throwing like "Exception in thread "_Worker-3" java.lang.OutOfMemoryError: Metaspace" Do you get this error when you deploy the application the first time, re-deploying an existing (already-deployed) application? Based on our investigation,

Re: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Mark Thomas
https://home.apache.org/~markt/presentations/2010-08-05-Memory-Leaks-JavaOne-60mins.pdf Written for Java 7 but applies equally later versions of Tomcat. Mark On 01/03/2022 13:49, Rengaswamy, Nagarajan wrote: Hi Team, Currently we are running 6 applications in Tomcat version 8.5.70 Our Linux

RE: java.lang.OutOfMemoryError: Metaspace while deploying application

2022-03-01 Thread Rengaswamy, Nagarajan
Hi Team, Currently we are running 6 applications in Tomcat version 8.5.70 Our Linux Infra - memory size allocated like Entire memory 3GB, In that 1.5 GB as Heap size and 512 is for XX:MaxMetaspaceSize. Java version as 11. No performance related issue while application runs in peak load. But whe

Re: Deploying war, Negative Date exception

2020-10-12 Thread Mark Thomas
On 12/10/2020 18:48, Christopher Schultz wrote: > There is already a check for -1 for the last-modified time for the file > in the ZIP archive. Also for 0 for some reason (sorry, Brian Kernighan, > you can't store your first file in a ZIP file!). I've tracked that change back to this: https://

Re: Deploying war, Negative Date exception

2020-10-12 Thread Christopher Schultz
t;>>> Tomcat: 9.0.39 >>>> Java: openjdk 11.0.8 2020-07-14 >>>> OS: Ubuntu 18.04.5 LTS >>>> >>>> Source code [0] >>>> >>>> When deploying this war [1], by copying it into the webapps directory, >>>> I get this

Re: Deploying war, Negative Date exception

2020-10-12 Thread Peter Henderson
nment. > >>> Tomcat: 9.0.39 > >>> Java: openjdk 11.0.8 2020-07-14 > >>> OS: Ubuntu 18.04.5 LTS > >>> > >>> Source code [0] > >>> > >>> When deploying this war [1], by copying it into the webapps directory, > >&g

Re: Deploying war, Negative Date exception

2020-10-12 Thread Mark Thomas
7-14 >>> OS: Ubuntu 18.04.5 LTS >>> >>> Source code [0] >>> >>> When deploying this war [1], by copying it into the webapps directory, >>> I get this exception. [2] >>> java.lang.IllegalArgumentException: Negative time >>> >>

Re: Deploying war, Negative Date exception

2020-10-12 Thread Mark Thomas
On 12/10/2020 12:49, Mark Thomas wrote: > On 12/10/2020 12:19, Peter Henderson wrote: >> Hello fellow tomcat users. >> >> My environment. >> Tomcat: 9.0.39 >> Java: openjdk 11.0.8 2020-07-14 >> OS: Ubuntu 18.04.5 LTS >> >> Source code [0] >&g

Re: Deploying war, Negative Date exception

2020-10-12 Thread Martin Grigorov
Hi Peter, On Mon, Oct 12, 2020 at 2:20 PM Peter Henderson wrote: > Hello fellow tomcat users. > > My environment. > Tomcat: 9.0.39 > Java: openjdk 11.0.8 2020-07-14 > OS: Ubuntu 18.04.5 LTS > > Source code [0] > > When deploying this war [1], by copying it into

Re: Deploying war, Negative Date exception

2020-10-12 Thread Mark Thomas
On 12/10/2020 12:19, Peter Henderson wrote: > Hello fellow tomcat users. > > My environment. > Tomcat: 9.0.39 > Java: openjdk 11.0.8 2020-07-14 > OS: Ubuntu 18.04.5 LTS > > Source code [0] > > When deploying this war [1], by copying it into the webapps directo

Deploying war, Negative Date exception

2020-10-12 Thread Peter Henderson
Hello fellow tomcat users. My environment. Tomcat: 9.0.39 Java: openjdk 11.0.8 2020-07-14 OS: Ubuntu 18.04.5 LTS Source code [0] When deploying this war [1], by copying it into the webapps directory, I get this exception. [2] java.lang.IllegalArgumentException: Negative time I only started

Re: Strange behavior when deploying new war

2020-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 4/23/20 15:19, John Larsen wrote: > Ah doing ROOT.war is my pet peeve. I find this bad practice. Its > nice to have ROOT especially when the developer insists theres > something wrong with tomcat when really its their webapp. Having > ROOT

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
Turns out the developer was deleting the app dir along with war and restarting. John On Thu, Apr 23, 2020 at 1:19 PM John Larsen wrote: > Ah doing ROOT.war is my pet peeve. I find this bad practice. Its nice to > have ROOT especially when the developer insists theres something wrong with > tomc

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
Ah doing ROOT.war is my pet peeve. I find this bad practice. Its nice to have ROOT especially when the developer insists theres something wrong with tomcat when really its their webapp. Having ROOT intact, can show that by removing their webapp and tomcat works. As for "/" vs "" - not sure that wo

Re: Strange behavior when deploying new war

2020-04-23 Thread Mark Thomas
On 23/04/2020 20:10, John Larsen wrote: > Ok so my next question is how to handle this better? The goal here is so > that one does not have to enter /webappName/ on the end of the domain. > We use the context to tell Tomcat which webapp to load instead of ROOT. Name the file "ROOT.war" And if you

Re: Strange behavior when deploying new war

2020-04-23 Thread John Larsen
Ok so my next question is how to handle this better? The goal here is so that one does not have to enter /webappName/ on the end of the domain. We use the context to tell Tomcat which webapp to load instead of ROOT. John Larsen On Thu, Apr 23, 2020 at 12:47 PM Christopher Schultz < ch...@christo

Re: Strange behavior when deploying new war

2020-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 4/23/20 14:38, John Larsen wrote: > New tomcats 9.0.34 seems to fail when uploading new war when theres > a context in server.xml pointing to the particular exploded war. > Says 'The main resource set specified is not valid.' It's like hot

Strange behavior when deploying new war

2020-04-23 Thread John Larsen
New tomcats 9.0.34 seems to fail when uploading new war when theres a context in server.xml pointing to the particular exploded war. Says 'The main resource set specified is not valid.' It's like hot deploy is deleting the old webapp and restarting tomcat? To work around this one has to comme

Re: Error: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying with

2020-02-13 Thread calder
ost:2990/cargocpc/index.html] failed to finish > deploying within the timeout period [60]. The Deployable state is thus > unknown. -> [Help 1 > (Crosspost removed). This is not a Tomcat issue, ie, this particular error could be seen on any other app server. The issue is with AMPS sta

RE: Error: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying with

2020-02-13 Thread Prasanna.Mahapure
Hi Mark, Thanks for your reply. Jira is properly installed and does not have any issue. Error is only coming when running it with tomcat. This issue is specific when deploying application using Tomcat. Kindly let me know how this issue can be resolved. Regards, Prasanna -Original Message

Re: Error: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying with

2020-02-13 Thread Mark Thomas
er.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: > Deployable [http://localhost:2990/cargocpc/index.html] failed to finish > deploying within the timeout period [60]. The Deployable state is thus > unknown. -> [Help 1] > > Thank in advance for your help. > > Best Re

Error: Cannot start container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying within t

2020-02-13 Thread Prasanna.Mahapure
@6abca7a6]: Deployable [http://localhost:2990/cargocpc/index.html] failed to finish deploying within the timeout period [60]. The Deployable state is thus unknown. -> [Help 1] Thank in advance for your help. Best Regards, Prasanna Mahapure This e-mail and any files transmitted with it

Re: WAR file not deploying correctly

2019-07-22 Thread Konstantin Kolinko
пн, 22 июл. 2019 г. в 11:28, Victor WILLART : > > 22-Jul-2019 09:36:31.598 SEVERE > [ContainerBackgroundProcessor[StandardEngine[Catalina]]] > org.apache.catalina.startup.ExpandWar.deleteDir [C:\Program Files\Apache > Software Foundation\Tomcat 8.0\webapps\ProductionMetricsApp-0.3.0\config] > c

RE: [EXTERNAL] Re: WAR file not deploying correctly

2019-07-22 Thread Victor Willart (NOVOTEK Benelux)
> -Original Message- > From: André Warnier (tomcat) > Sent: Monday, July 22, 2019 12:26 > To: users@tomcat.apache.org > Subject: [EXTERNAL] Re: WAR file not deploying correctly > > On 22.07.2019 10:27, Victor WILLART wrote: > > Hi, > > > > &g

Re: WAR file not deploying correctly

2019-07-22 Thread tomcat
___ De : Konstantin Kolinko Envoyé : samedi 20 juillet 2019 21:10:12 À : Tomcat Users List Objet : Re: WAR file not deploying correctly пт, 19 июл. 2019 г. в 12:47, Victor WILLART : Hi everybody, I am using Tomcat 8.0, and I am struggling to replace and deploy a WAR file. Tom

RE: WAR file not deploying correctly

2019-07-22 Thread Victor WILLART
stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. Victor De : Konstantin Kolinko Envoyé : samedi 20 juillet 2019 21:10:12 À : Tomcat Users List Objet : Re: WAR file n

Re: WAR file not deploying correctly

2019-07-20 Thread Konstantin Kolinko
пт, 19 июл. 2019 г. в 12:47, Victor WILLART : > > Hi everybody, > > > I am using Tomcat 8.0, and I am struggling to replace and deploy a WAR file. > Tomcat 8.0 has reached End of Life and should not be used anymore. The replacements are Tomcat 8.5 and 9.0. > > I made a new WAR file, named it like

Re: WAR file not deploying correctly

2019-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 7/19/19 05:47, Victor WILLART wrote: > Hi everybody, > > > I am using Tomcat 8.0, and I am struggling to replace and deploy a > WAR file. > > > I made a new WAR file, named it like the old one, and replaced it > in my webapps folder.

Re: WAR file not deploying correctly

2019-07-19 Thread tomcat
On 19.07.2019 11:47, Victor WILLART wrote: Hi everybody, I am using Tomcat 8.0, and I am struggling to replace and deploy a WAR file.. I made a new WAR file, named it like the old one, and replaced it in my webapps folder. But the new generated folder for my application is just containing a

WAR file not deploying correctly

2019-07-19 Thread Victor WILLART
Hi everybody, I am using Tomcat 8.0, and I am struggling to replace and deploy a WAR file. I made a new WAR file, named it like the old one, and replaced it in my webapps folder. But the new generated folder for my application is just containing a single folder "config" which is empty. All th

Re: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dve, On 11/13/18 14:19, David Cleary wrote: > Turns out it is a JDK bug. > > http://www-01.ibm.com/support/docview.wss?uid=swg1IV99686 > https://bugs.openjdk.java.net/browse/JDK-8177809 > > While it has been fixed, we currently are required to su

RE: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-13 Thread David Cleary
on of AIX. Dave -Original Message- From: Mark Thomas Sent: Monday, November 12, 2018 4:30 AM To: users@tomcat.apache.org Subject: Re: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file. On 12/11/2018 05:36, Nagaraju Varaparla wrote: &

RE: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-13 Thread Nagaraju Varaparla
Mark, I did not find any luck with this. Can I try anything more ? Thanks, Nagaraju.V From: Mark Thomas Sent: Monday, November 12, 2018 3:00 PM To: users@tomcat.apache.org Subject: Re: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file. On 12

Re: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-12 Thread Mark Thomas
On 12/11/2018 05:36, Nagaraju Varaparla wrote: > Mark, >Thanks. > I have checked the last modified time of the META-INF/war-tracker file and > the war file. > I see both are same. And still tomcat re-deploying the war file. > > May be the time comparison failing? May

RE: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-11 Thread Nagaraju Varaparla
Mark, Thanks. I have checked the last modified time of the META-INF/war-tracker file and the war file. I see both are same. And still tomcat re-deploying the war file. May be the time comparison failing? Thanks, Nagaraju.V From: Mark Thomas Sent: Sunday, November 11, 2018 2:06 AM To

Re: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-10 Thread Mark Thomas
On 10/11/2018 16:35, Nagaraju Varaparla wrote: > Hi, > greetings!! > > Issue Description: > Apache Tomcat Deploying war file every time on AIX even though there are no > changes in war file. > This causing all my applications are getting un-registered. > > Environmen

Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file.

2018-11-10 Thread Nagaraju Varaparla
Hi, greetings!! Issue Description: Apache Tomcat Deploying war file every time on AIX even though there are no changes in war file. This causing all my applications are getting un-registered. Environment. Tomcat Version: apache-tomcat-8.5.34 JAVA Version : IBM JAVA 8.5.0.25 OS : IBM AIX 6.1

Re: Deploying app twice when change ROOT

2018-05-30 Thread Mark Thomas
t; Your suggestion is better. Mine prevents other apps from that host from >> deploying altogether. >> >> >> On Wed, May 30, 2018 at 11:34 AM, Blake McBride >> wrote: >> >>> I think I may have found something that works. I changes it to: >>&

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
0, 2018 at 12:30 PM, Blake McBride wrote: > Your suggestion is better. Mine prevents other apps from that host from > deploying altogether. > > > On Wed, May 30, 2018 at 11:34 AM, Blake McBride > wrote: > >> I think I may have found something that works. I changes i

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
Your suggestion is better. Mine prevents other apps from that host from deploying altogether. On Wed, May 30, 2018 at 11:34 AM, Blake McBride wrote: > I think I may have found something that works. I changes it to: > >autoDeploy="false" dep

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
I think I may have found something that works. I changes it to: (I added the deployOnStartup="false") Now tomcat is still deploying http://mydomain.com but it stopped deploying http://mydomain.com/myapp. This is just what I wanted. Thanks. Blake On W

Re: Deploying app twice when change ROOT

2018-05-30 Thread Mark Thomas
>autoDeploy="false"> > > > > Under tomcat I have my app in the directory: myappbase/myapp > > I am able to access myapp via http://mydomain.com > > This is as I desire. The problem is that tomcat is deploying myapp twice! > Now I c

Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
I am able to access myapp via http://mydomain.com This is as I desire. The problem is that tomcat is deploying myapp twice! Now I can access my app via: http://mydomain.com _and_ http://mydomain.com/myapp and, it's not just two ways of getting at the same app. There is two copies

Re: [8.0.44] NPE when deploying to /manager/text/list with RemoteHostValve

2017-08-08 Thread Martynas Jusevičius
hostname in your env? Try to disable the valve and test "<%= > request.getRemoteHost() %>" in a simple jsp until you can get the right > value before re-enable the valve again. > > --Zemian > > On Mon, Aug 7, 2017 at 11:46 AM, Martynas Jusevičius < > marty

Re: [8.0.44] NPE when deploying to /manager/text/list with RemoteHostValve

2017-08-07 Thread Zemian Deng
the right value before re-enable the valve again. --Zemian On Mon, Aug 7, 2017 at 11:46 AM, Martynas Jusevičius wrote: > Hi, > > I'm deploying WAR from Jenkins Docker container to Tomcat Docker container. > > In server.xml I have enableLookups to enable DNS lookups &g

[8.0.44] NPE when deploying to /manager/text/list with RemoteHostValve

2017-08-07 Thread Martynas Jusevičius
Hi, I'm deploying WAR from Jenkins Docker container to Tomcat Docker container. In server.xml I have enableLookups to enable DNS lookups and in conf/Catalina/localhost/manager.xml I have There is also manager-script role and user in tomcat-users.xml but I won't post

Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Nasry Al-Haddad
One additional way to do it is to create a symbolic link in tomcat's $CATALINA_HOME/conf/engine/host/ that points to a fixed location where you deploy my-application.xml. But worth mentioning here is that you still have to have the passwords in plain text configuration files. In this method, whenev

Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Christoph Nenning
> >> Hello. I am seeking some advice for the best ways to deploy Java web > >> applications to different Tomcat environments. > >> > >> In particular, my application requires that a JNDI resource be defined > >> for a database, where the database server address and credentials will > >> vary dep

Re: Suggestions for deploying context.xml for different environments?

2016-07-06 Thread Philip Hachey
Thank you for the reply, Christoph. On 16-07-05 03:32 AM, Christoph Nenning wrote: Hello. I am seeking some advice for the best ways to deploy Java web applications to different Tomcat environments. In particular, my application requires that a JNDI resource be defined for a database, where th

Re: Suggestions for deploying context.xml for different environments?

2016-07-05 Thread Paul Roubekas
Will the context.xml file meet your requirement? http://javabeat.net/tomcat-jndi/ On 7/4/2016 10:42 AM, Philip Hachey wrote: > Hello. I am seeking some advice for the best ways to deploy Java web > applications to different Tomcat environments. > > In particular, my application requires that a

Re: Suggestions for deploying context.xml for different environments?

2016-07-05 Thread Christoph Nenning
> Hello. I am seeking some advice for the best ways to deploy Java web > applications to different Tomcat environments. > > In particular, my application requires that a JNDI resource be defined > for a database, where the database server address and credentials will > vary depending on the en

Suggestions for deploying context.xml for different environments?

2016-07-04 Thread Philip Hachey
Hello. I am seeking some advice for the best ways to deploy Java web applications to different Tomcat environments. In particular, my application requires that a JNDI resource be defined for a database, where the database server address and credentials will vary depending on the environment t

Re: Error deploying WAR

2016-01-13 Thread George Sexton
Chris, On 1/12/2016 10:26 AM, Christopher Schultz wrote: Mark, On 1/12/16 12:03 PM, Mark Thomas wrote: On 12/01/2016 16:40, George Sexton wrote: I'm hitting an error, and I'm not sure how to fix it. The environment is: Check the JARs in WEB-INF/lib for any javax.servlet classes. There should

Re: Error deploying WAR

2016-01-12 Thread Christopher Schultz
Mark, On 1/12/16 12:03 PM, Mark Thomas wrote: > On 12/01/2016 16:40, George Sexton wrote: >> I'm hitting an error, and I'm not sure how to fix it. The environment is: > > Check the JARs in WEB-INF/lib for any javax.servlet classes. There > should not be any. You might as well check WEB-INF/classe

Re: Error deploying WAR

2016-01-12 Thread Mark Thomas
On 12/01/2016 16:40, George Sexton wrote: > I'm hitting an error, and I'm not sure how to fix it. The environment is: > Check the JARs in WEB-INF/lib for any javax.servlet classes. There should not be any. You might as well check WEB-INF/classes while you are at it. If any JARs have been added t

Error deploying WAR

2016-01-12 Thread George Sexton
I'm hitting an error, and I'm not sure how to fix it. The environment is: OS: Ubuntu Linux Tomcat: 6.0.44 JVM: Sun 1.6.0.22 CATALINA_HOME/CATALINA_BASE configuration The client reports that this system has worked in the past. Their original production system was running 6.0.18 using a distribu

Deploying to root context with versioning

2015-11-17 Thread Andrew Hunt
Hey there, I'm trying to deploy a war of my application to the root context. I name it ROOT.war and it autodeployed fine. When I try to add versioning like ROOT##1.war and ROOT##2.war, it seems to see the context as ##1 and fail to deploy. For example, I get exceptions saying it couldn't find

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread prashant gothi
ld be hard to say. For upgrade > > purpose we want to use symbolic link. > > > > Is there a known issue with symbolic link, or symbolic link is > discouraged? > > > >> Are you deploying with the manager web-app? > > > > No, we are not using web-app man

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread Mark Thomas
issue with symbolic link, or symbolic link is discouraged? > >> Are you deploying with the manager web-app? > > No, we are not using web-app manager. At the time of symbolic link creation > tomcat is stopped. Tomcat is started once link is created. Is the symbolic link to a

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread David kerber
, Sep 11, 2015 at 1:11 AM, Mark Thomas wrote: On 11/09/2015 08:38, Martijn Bos wrote: What happens if you do not use a symbolic link? Are you deploying with the manager web-app? Good questions. Slow uploads directly to the appBase can cause this sort of issue. Mark Best regards, Martijn

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread prashant gothi
Hi Mark, what is slow uploads? I google it couldn't find anything relevant. Regards, Prashant On Fri, Sep 11, 2015 at 1:11 AM, Mark Thomas wrote: > On 11/09/2015 08:38, Martijn Bos wrote: > > What happens if you do not use a symbolic link? > > Are you deploying with

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread prashant gothi
Thanks Martijn and Markt for reply. > What happens if you do not use a symbolic link? Not tried, as issue is intermittent its would be hard to say. For upgrade purpose we want to use symbolic link. Is there a known issue with symbolic link, or symbolic link is discouraged? > Are you dep

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread Mark Thomas
On 11/09/2015 08:38, Martijn Bos wrote: > What happens if you do not use a symbolic link? > Are you deploying with the manager web-app? Good questions. Slow uploads directly to the appBase can cause this sort of issue. Mark > > Best regards, > Martijn > > > >

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread Martijn Bos
What happens if you do not use a symbolic link? Are you deploying with the manager web-app? Best regards, Martijn On 11-09-15 03:31, prashant gothi wrote: > Tomcat version: 8.0.24 > OS RHEL 6.6 > > > Just one war file (ascws.war) is deployed under it. We are seeing > in

Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-10 Thread prashant gothi
Tomcat version: 8.0.24 OS RHEL 6.6 Just one war file (ascws.war) is deployed under it. We are seeing intermittent failure while deploying war file, tomcat logs indicates (zip file is empty) exception is mentioned below. We have verified file is correct (non zero), and only way to recover from

  1   2   3   4   5   6   7   8   >