Re: reloading context with manager-script

2024-03-14 Thread Christopher Schultz
Mark, On 3/14/24 07:57, Mark Thomas wrote: On 12/03/2024 13:47, Christopher Schultz wrote: Greg and Mark, On 3/12/24 05:00, Greg Huber wrote: On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using htt

Re: reloading context with manager-script

2024-03-14 Thread Mark Thomas
On 12/03/2024 13:47, Christopher Schultz wrote: Greg and Mark, On 3/12/24 05:00, Greg Huber wrote: On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ Wh

Re: reloading context with manager-script

2024-03-12 Thread Christopher Schultz
Greg and Mark, On 3/12/24 05:00, Greg Huber wrote: On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (in java), I get a rep

Re: reloading context with manager-script

2024-03-12 Thread Greg Huber
Running it on the browser I get Content-Type : text/plain;charset=utf-8 On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (

Re: reloading context with manager-script

2024-03-11 Thread Christopher Schultz
Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (in java), I get a reply OK - Reloaded application at context path [/] but when the application is not present I get this

Re: reloading context with manager-script

2024-03-10 Thread Greg Huber
OK, thanks. Something I can deal with in my app. On Sun, 10 Mar 2024 at 12:49, Mark Thomas wrote: > On 10/03/2024 10:50, Greg Huber wrote: > > Hello, > > > > Using http://tomcat/manager-app/text/reload?path=/ > > > > When I reload an application (in java), I get a reply > > > > OK - Reloaded ap

Re: reloading context with manager-script

2024-03-10 Thread Mark Thomas
On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (in java), I get a reply OK - Reloaded application at context path [/] but when the application is not present I get this reply: FAIL - No context exists named [/] I

Re: reloading tls configuration programmatically

2021-08-04 Thread Christopher Schultz
Ivano, On 8/4/21 18:22, Ivano Luberti wrote: Hello, in order to improve management of our servers I would like to implement the ability to timely reload Tomcat TLS configuration so to make tomcat aware of renewed certificates Do you want to do this from script or something else? I have seen

Re: Reloading JNDI

2020-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phil, On 8/3/20 21:43, Phil Steitz wrote: > > > On 7/24/20 10:46 AM, Christopher Schultz wrote: All, > > I have a JNDI which is a JDBC DataSource. It is set to > singleton="true" via defaults (not explicitly set). > > The JDBC Connections in this D

Re: Reloading JNDI

2020-08-03 Thread Phil Steitz
On 7/24/20 10:46 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I have a JNDI which is a JDBC DataSource. It is set to singleton="true" via defaults (not explicitly set). The JDBC Connections in this DataSource pool (using dbcp2 as provided by Tomcat) ha

Re: Reloading JNDI

2020-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/2/20 11:55, Mark Thomas wrote: > On July 24, 2020 5:46:45 PM UTC, Christopher Schultz wrote: > All, > > I have a JNDI which is a JDBC DataSource. It is set to > singleton="true" via defaults (not explicitly set). > > The JDBC Connection

Re: Reloading JNDI

2020-08-02 Thread Mark Thomas
On July 24, 2020 5:46:45 PM UTC, Christopher Schultz wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >All, > >I have a JNDI which is a JDBC DataSource. It is set to >singleton="true" via defaults (not explicitly set). > >The JDBC Connections in this DataSource pool (using dbcp2 as pro

Re: Reloading

2013-08-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alireza, Please don't hijack threads by replying to an existing post with a new question. Instead, create a completely new message to users@tomcat.apache.org with your question. - -chris On 8/19/13 8:19 AM, Alireza Fattahi wrote: > Hi, I am using

Re: Reloading

2013-08-19 Thread Daniel Mikusa
On Aug 19, 2013, at 8:19 AM, Alireza Fattahi wrote: > Hi, > I am using Tomcat 6.0. Which one? Try to be more specific. > The context is set to autoreload. > When I change the JSP the pages are publish and the context are not restart. This is different from context reloading. See the JSP con

Re: Reloading context.xml

2012-10-05 Thread Konstantin Kolinko
2012/10/5 Anjib Mulepati : > > Quick question. If I made change to (\META_INF\context.xml) file do i have > to restart tomcat server to load changes? > You need to undeploy & deploy your web application. Recent versions of Tomcat 7 should do that automatically if autoDeploy is enabled on the Host

Re: Reloading Tomcat Server

2008-10-07 Thread Barry Fawthrop
Peter Crowther wrote: >> From: Barry Fawthrop [mailto:[EMAIL PROTECTED] > [...] >> wget -O .../local_news >> http://www.topix.com/rss/county/citrus-fl > [...] >> java.io.FileNotFoundException: >> http://www.topix.com/rss/county/citrus-fl >> at >> sun.net.www.protocol.http.HttpURLConnectio

RE: Reloading Tomcat Server

2008-10-07 Thread Peter Crowther
> From: Barry Fawthrop [mailto:[EMAIL PROTECTED] [...] > wget -O .../local_news > http://www.topix.com/rss/county/citrus-fl [...] > java.io.FileNotFoundException: > http://www.topix.com/rss/county/citrus-fl > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Htt > pURLConnec

Re: Reloading Tomcat Server

2008-10-07 Thread Barry Fawthrop
Pid wrote: > No! Bad! > > Your tomcat version & operating system variant (some version of linux?) > would be useful. > > Try to locate the main tomcat logfile, 'catalina.out' in the tomcat/logs > directory. This logfile should contain a detailed error & stacktrace > for the 500 error page, pleas

RE: Reloading Tomcat Server

2008-10-06 Thread Martin Gainty
one of 3 things that could possibly be causing this the response is too big the response is taking too long (timeout) you need to authenticate to the url I would use wget or curl to determine what the error is if you point us to the URL i can test it out here and then we can suggest an appropriat

Re: Reloading Tomcat Server

2008-10-06 Thread Pid
Barry Fawthrop wrote: > To All > > I have a simple website that reads third party RSS feeds and displays them. > (1) I have tried with DocBuilder > (2) tried with rssutils > (3) Even tried with the rss xml file downloaded locally (using wget) and > then a reading the local file. > > All three

RE: Reloading an application when threads are running

2008-03-10 Thread Eric Daniel
On Fri, Mar 07, 2008 at 10:51:07PM -0600, Caldarale, Charles R wrote: > > This may be the same issued discussed earlier today in this mailing > list. Look here for Mark T's comments: > http://marc.info/?l=tomcat-user&m=120492204906663&w=2 > especially the suggestion at the bottom of the bugzilla

RE: Reloading an application when threads are running

2008-03-07 Thread Caldarale, Charles R
> From: Eric Daniel [mailto:[EMAIL PROTECTED] > Subject: Reloading an application when threads are running > > This seems to mostly work, except that upon reload, all static class > members of old class instances are set to Null! This may be the same issued discussed earlier today in this mailin

Re: Reloading an application when threads are running

2008-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric Daniel wrote: | In short: should I expect running threads to finish processing their | requests, when I reload an application? Yes. Check the servlet specification which, well, specifies this behavior. | Long story: we use tomcat as an a

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Bill: Indeed. Mark's comments put me on the track again, searching for something simpler and more direct than calling openssl or subclassing a provider, and I found this article, which demonstrates how to create a client certificate and sign it using a self-signed root certificate, like the on

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Bill Barker
"Ronald Spiers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Pulkit, assuming that I can create the trustManager, I am not sure > about how to register it with Tomcat, and if I need to implement more > interfaces, etc. > > In short, I suspect other people already solved this p

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Pulkit, assuming that I can create the trustManager, I am not sure about how to register it with Tomcat, and if I need to implement more interfaces, etc. In short, I suspect other people already solved this problem, and since it will be my first time, I am trying to obtain their feedback and s

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Martin Gainty
nghal" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 11, 2007 12:45 PM Subject: Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat? Hello, I am not sure what you are asking for here. You say that you fond some instruct

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Pulkit Singhal
Hello, I am not sure what you are asking for here. You say that you fond some instructions on "Creating Your Own X509TrustManager" ... thats good. 1) Given that you have these instructions, whats the issue at hand? Conceptually (and without even looking at any content other than the title) I woul

RE: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Mark Claassen
command-line as well, and not have to answer these through standardin/standardout. Good luck. -Original Message- From: Ronald Spiers [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 11:15 AM To: Tomcat Users List Subject: Re: Reloading keystore - how to register a new TrusStore Manager

Re: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Ronald Spiers
Hi Mark, thans a lot for your comments. The problem is that I found a way to generate via API a PKCS12 keystore for my client, but it won't be based on my server's certificate. I could not find a way to auto-enroll users using openssl and Java, I mean control openssl commands from Java to create

RE: Reloading keystore - how to register a new TrusStore Manager for Tomcat?

2007-06-11 Thread Mark Claassen
Humm. I don't think this is how the certificate system is supposed to be used. The intention is that the truststore handles certificates authorities you trust. For an example, let's switch to the browser. Browsers generally trust Verisgn and Thwart out of the box. You can see these certifica

RE: Reloading shared classes

2007-03-01 Thread Peter Crowther
> From: Yair Zohar [mailto:[EMAIL PROTECTED] > I've just wanted to avoid multiple copies of the same > classes. They are not really shared. One of the web application philosophies (now copied by frameworks like .NET) is that an app should contain everything it needs for successful deployment. C

Re: Reloading shared classes

2007-03-01 Thread Yair Zohar
You are right, I've just wanted to avoid multiple copies of the same classes. They are not really shared. If the classes are shared, all the web applications should be restarted, because the change affect all of them. Yair. Peter Crowther wrote: From: Yair Zohar [mailto:[EMAIL PROTECTED] My w

RE: Reloading shared classes

2007-03-01 Thread Peter Crowther
> From: Yair Zohar [mailto:[EMAIL PROTECTED] > My web applications are using some shared class. I put them under > $CATALINA_HOME/shared/classes. > The problem: When I make changes in the shared classes, > restarting a web > application by tomcat's manager is not enough for the changes to be >