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

2023-10-09 Thread Ivano Luberti
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. This what I

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

2023-10-09 Thread Christopher Schultz
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 fixing

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 fails

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 >

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 same

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

2023-06-20 Thread Christopher Schultz
in these 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

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

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

2023-06-14 Thread a.grubner
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 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
that 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
on 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
expects 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

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 a fo

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 (technically

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 class with the

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
? On 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?

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

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

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

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:

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 cod

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 >

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

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

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 <

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

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
alhost: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
mcat.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

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 transmit

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] >

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. Tomcat 8.0 has reach

RE: WAR file not deploying correctly

2019-07-22 Thread Victor WILLART
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 not deploying correct

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

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

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

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
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: > M

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?

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

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
y 30, 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 can ac

Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
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 of the app

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

2017-08-08 Thread Martynas Jusevičius
usevičius < > marty...@atomgraph.com > > wrote: > > > Hi, > > > > I'm deploying WAR from Jenkins Docker container to Tomcat Docker > container. > > > > In server.xml I have enableLookups to enable DNS lookups > > > > >

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 <marty...@atomgraph.com > wrote: > Hi, > > I'm deploying WAR from Jenkins Docker container to Tomcat Docker container. > > In server

[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 it because

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,

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

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

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

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

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

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

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

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

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

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 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

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 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 <ma...@apache.org> wrote: > On 11/09/2015 08:38, Martijn Bos wrote: > > What happens if you do not use a symbolic link? > &

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread David kerber
11, 2015 at 1:11 AM, Mark Thomas <ma...@apache.org> 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

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 prashant gothi
ue 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 deploying with the manager web-app? > > > > No,

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

cluster isn't deploying apps to all members

2015-09-10 Thread Martijn Bos
s deployed to the other member. (Apperantly by memory or so. Since I do not see the war file appearing on in the tmpDir, deployDir or watchDir on the other cluster member) Can somone confirm that deploying through the manager-webapp will not deploy to all the cluster members? Otherwise there is still

Re: cluster isn't deploying apps to all members

2015-09-10 Thread Christopher Schultz
cluster member) > > Can somone confirm that deploying through the manager-webapp will > not deploy to all the cluster members? Otherwise there is still > something wrong with my setup. Yes, the manager web application has no knowledge of the existence of the cluster. You need to use FarmWebD

Re: cluster isn't deploying apps to all members

2015-09-10 Thread Martijn Bos
pDir, deployDir or watchDir on the other cluster member) > >> Can somone confirm that deploying through the manager-webapp will >> not deploy to all the cluster members? Otherwise there is still >> something wrong with my setup. > > Yes, the manager web application has

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

Delay when: Deploying web application

2015-01-14 Thread Mike Smotritsky
Hi guys, please help me solve this riddle: Startup times for my app are hugely growing with advancement of Tomcat technology!: 7.0.23 - 23 sec 7.0.40 - 32 sec 7.0.47 - 75 sec 7.0.57 - 88 sec The delay is when the application is deploying to DIR from WAR. Running on VM/newest RedHat, patches

Re: Delay when: Deploying web application

2015-01-14 Thread Konstantin Kolinko
is deploying to DIR from WAR. Running on VM/newest RedHat, patches are up to date https://wiki.apache.org/tomcat/HowTo/FasterStartUp Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Delay when: Deploying web application

2015-01-14 Thread Mike Smotritsky
with advancement of Tomcat technology!: 7.0.23 - 23 sec 7.0.40 - 32 sec 7.0.47 - 75 sec 7.0.57 - 88 sec The delay is when the application is deploying to DIR from WAR. Running on VM/newest RedHat, patches are up to date https://wiki.apache.org/tomcat/HowTo/FasterStartUp Best regards, Konstantin Kolinko

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-27 Thread Kernel freak
On Wed, Nov 26, 2014 at 7:21 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/26/14 12:00 PM, Kernel freak wrote: On Wed, Nov 26, 2014 at 5:33 PM, Christopher Schultz ch...@christopherschultz.net

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-26 Thread Kernel freak
Hello, After arguing with the admins for all this time, I finally have the few files ready. I have the following files : keystore.p12, server.crt, ssl-cert-snakeoil.key, domainname.com.ca-bundle, domainname.com.crt domainname.com.csr domainname.com.key, vsftpd.pem. I did the following as

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/26/14 9:03 AM, Kernel freak wrote: After arguing with the admins for all this time, I finally have the few files ready. I have the following files : keystore.p12 That should contain your key. Can you confirm that

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-26 Thread Kernel freak
On Wed, Nov 26, 2014 at 5:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/26/14 9:03 AM, Kernel freak wrote: After arguing with the admins for all this time, I finally have the few files ready.

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/26/14 12:00 PM, Kernel freak wrote: On Wed, Nov 26, 2014 at 5:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: To whom it may concern, On 11/26/14 9:03 AM, Kernel freak wrote: After arguing

  1   2   3   4   5   6   7   8   >