Re: Use existing CGI response for HTTP errors

2018-10-04 Thread Daniel Becroft
On Fri, Oct 5, 2018 at 3:12 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Daniel, > > On 10/3/18 19:16, Daniel Becroft wrote: > > Hi, > > > > We are setting up Tomcat 8 to use a CGI p

Re: tomcat logs

2018-12-29 Thread Daniel Baktiar
ssing it (this behavior can of course be altered), and you won't be able to delete a log file that is opened by Windows process. Daniel On Wed, Dec 19, 2018 at 4:52 PM Adlet Azhibek wrote: > 8.0.33 tomcat > java Spring framework 4.3.13 > logging by "*org.slf4j.Logger*&quo

Tomcat socket listening timeouts

2019-04-22 Thread daniel zak
ccept timed out) Thank you Daniel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Daniel Skiles
I'm seeing the same thing in tomcat 10.1.35 with openjdk version "17.0.13" 2024-10-15 On Tue, Feb 11, 2025 at 8:00 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Jack, > > On 2/11/25 5:56 AM, Jack Green wrote: > > When you try to start `11.0.3` via: > > ``` > > new Tomcat(); > >

Re: Tomcat `11.0.3` embedded fails to start with `InaccessibleObjectException`

2025-02-11 Thread Daniel Skiles
I was able to work around it on 17.0.13 by adding --add-opens=java.base/ java.io=ALL-UNNAMED to my startup script. On Tue, Feb 11, 2025 at 11:23 AM Daniel Skiles wrote: > I'm seeing the same thing in tomcat 10.1.35 with openjdk version "17.0.13" > 2024-10-15 > > On T

RE: Classloading has a long delay after idle period

2025-07-08 Thread Daniel Sheridan
On 7/2/25 10:22 AM, Daniel Sheridan wrote: > Hi folks, > > We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat 9 > versions, running on Windows Server 2019 and Server 2022 machines. We're > hosting a web app with a REST API, and encounter del

RE: Classloading has a long delay after idle period

2025-07-11 Thread Daniel Sheridan
>On 7/8/25 16:32, Christopher Schultz wrote: >Daniel, > >On 7/8/25 11:15 AM, Daniel Sheridan wrote: >> On 7/2/25 10:22 AM, Daniel Sheridan wrote: >>> Hi folks, >>> >>> We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat

Classloading has a long delay after idle period

2025-07-02 Thread Daniel Sheridan
Hi folks, We're using Tomcat 10.1.40, but also seeing this issue with multiple Tomcat 9 versions, running on Windows Server 2019 and Server 2022 machines. We're hosting a web app with a REST API, and encounter delays on requests when they hit our REST API of 9-12 seconds. Easiest way to reprodu

RE: Classloading has a long delay after idle period

2025-07-18 Thread Daniel Sheridan
>On 7/11/25 17:42, Christopher Schultz wrote: >Daniel, > >On 7/11/25 11:57 AM, Daniel Sheridan wrote: > > > > [snip] > > >> Correct, almost the entire delay is during the JAR scanning when the >> files are being accessed. >> >> We are using

RE: Classloading has a long delay after idle period

2025-07-18 Thread Daniel Sheridan
>On 7/14/25 15:26, Gregg, John E wrote: >Daniel, > >I cannot access your flame graph on imgur, but what is happening in your code >that leads to the jar scanning? All of my apps have run on Linux since >forever, so I don’t know what might be different with Windows, but I’ve fou

RE: Classloading has a long delay after idle period

2025-07-21 Thread Daniel Sheridan
>On 18/07/2025 16:04, Daniel Sheridan wrote: > >> I definitely think there is something happening on the Tomcat side here >> around caching, I've played with some resource caching settings but it >> didn't make any difference unfortunately. > >The flame g

RE: Classloading has a long delay after idle period

2025-07-23 Thread Daniel Sheridan
>Am 22.07.25 um 17:59 schrieb Daniel Sheridan: >>> On 7/21/25 20:18 PM, Christopher Schultz wrote: >>> Daniel and Mark, >>> >>> On 7/21/25 12:48 PM, Daniel Sheridan wrote: >>>>> On 18/07/2025 16:04, Daniel Sheridan wrote: >>>>>

RE: Classloading has a long delay after idle period

2025-07-22 Thread Daniel Sheridan
>On 7/21/25 20:18 PM, Christopher Schultz wrote: >Daniel and Mark, > >On 7/21/25 12:48 PM, Daniel Sheridan wrote: >>> On 18/07/2025 16:04, Daniel Sheridan wrote: >>> >>>> I definitely think there is something happening on the Tomcat side here >>&

RE: Classloading has a long delay after idle period

2025-07-22 Thread Daniel Sheridan
>On 22/07/2025 07:53, Mark Thomas wrote: >>On 21/07/2025 17:48, Daniel Sheridan wrote: >>> On 18/07/2025 16:04, Daniel Sheridan wrote: >>> >>>> I definitely think there is something happening on the Tomcat side here >>>> around caching, I&#

RE: Classloading has a long delay after idle period

2025-07-24 Thread Daniel Sheridan
>On 23/07/2025 15:36, Daniel Sheridan wrote: > > > >> Hi Rainer, >> >>> it might be a search for non-existing classes or resources >> The JARs are being scanned for specific classes during the delay, but they >> are classes that should alr

RE: How to access a REST service

2025-07-31 Thread Daniel Schwartz
Hello Mark, Thanks for taking the time to reply. Please see my notes below, marked "DGS". -Original Message- From: Mark Thomas Sent: Thursday, July 31, 2025 4:32 AM To: users@tomcat.apache.org Subject: Re: How to access a REST service On 31/07/2025 05:10, Daniel Schwartz

How to access a REST service

2025-07-30 Thread Daniel Schwartz
I have a REST webservice written in Java that runs on the Glassfish server, but I started having problems with the JDBC pooling system. It kept crashing, saying that it was unable to allocate any more connection objects. This made no sense to me, as I had set the maximum pool size to 1000, and

RE: How to access a REST service

2025-08-01 Thread Daniel Schwartz
Hello Thorsten, Please see my replies below, marked DGS. -Original Message- From: Thorsten Heit Sent: Friday, August 1, 2025 5:32 AM To: users@tomcat.apache.org Subject: Re: How to access a REST service Hi, > Daniel, > You might take a look at java’s “ try with” construc

RE: How to access a REST service

2025-08-01 Thread Daniel Schwartz
s are identified, using cookies or some such technique. I will look into this. Dan -Original Message- From: Thorsten Heit Sent: Friday, August 1, 2025 5:32 AM To: users@tomcat.apache.org Subject: Re: How to access a REST service Hi, > Daniel, > You might take a look at java’s

RE: How to access a REST service

2025-08-01 Thread Daniel Schwartz
Users List Cc: Tomcat Users List Subject: Re: How to access a REST service Daniel, You might take a look at java’s “ try with” construct The try-with-resources Statement (The Java™ Tutorials > Essential Java Classes > Exceptions) docs.orac

memory problems

2006-09-13 Thread Daniel L. Gross
I have some servlets that run without problem on tomcat 4, but when I upgraded to Tomcat 5.5.15, everytime a servlet is accessed, it uses a little more memory, and finally after many users, runs out of heap space. Any clues? Thanks Dan Gross -

Memory Leaks

2006-11-13 Thread Daniel L. Gross
I am running tomcat 5.5.17 with the newest J-Connector talking to MySql. I have many servlets which access the database, and with Tomcat 5.5.17, it seems that each time I access a servlet, it uses more memory, and doesn't release it when the servlet is done. Previously I was running tomcat 4

Re: Memory Leaks

2006-11-13 Thread Daniel L. Gross
leave memory hanging in tomcat 5. Any ideas? Thanks again, Dan Daniel L. Gross wrote: I am running tomcat 5.5.17 with the newest J-Connector talking to MySql. I have many servlets which access the database, and with Tomcat 5.5.17, it seems that each time I access a servlet, it uses more

Memory Usage

2006-11-21 Thread Daniel L. Gross
I really could use some help here. Has anyone used tomcat 5.5 with the J-Connector? I made a simple servlet that just opens a connection to my MYSQL database and then closes it and does nothing else. When I look at the windows task manager, the memory usage of Tomcat jumps each time I run th

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage I have run the lamda probe on the software, but it didn't show anything useful. It's not a profiler, and was never intended to be. Where do I turn on the -verbose:gc? In the tomcat start-up scri

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
, Tomcat leaves an inactive thread hanging. I think if I could clear up the inactive threads, the garbage collection routine would get the memory back. Is there any way to release inactive threads in Tomcat 5.5? Thanks again so much, -- Dan. Caldarale, Charles R wrote: From: Daniel L. Gross

Re: Memory Usage

2006-11-21 Thread Daniel L. Gross
Is there a way to force Tomcat 5.5 to run a garbage collection? Thanks, Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage I have run the lamda probe on the software, but it didn't show anything useful. It's not

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
t; + DATABASE_USERNAME + "&password=" + DATABASE_PASSWORD); System.out.println("Connection made"); //debug } Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memor

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
a connection to the database. If this helps any. Thanks again. I really need to solve this problem because it's a show stopper for my application. -- Dan Daniel L. Gross wrote: I looked at the profiler and it appears that there are many timer threads left hanging. I have not set

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
$ControlRunnable.run() I think we have found the problem. Every time I make a connection, it leaves one of these threads hanging. Now whats the solution? That's the $50. question. Thanks, Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: M

Re: Realm authentication - unconventional usage

2006-11-22 Thread Daniel L. Gross
I think that will be my next attempt. There are two reasons I haven't done that. 1. The original code for this application was written with a direct-connect to the database because it was set up to run on either Oracle or MySql, and it has been working fine up until we went to Tomcat 5.5.

Re: Memory Usage

2006-11-22 Thread Daniel L. Gross
In MySql the timeout is 10 seconds. I have tried various times in the tomcat configuration file, but nothing seems to matter. -- Dan Caldarale, Charles R wrote: From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Re: Memory Usage The tomcat start/stop manager has a dump threads

Tomcat can't see a new function

2008-08-20 Thread Daniel L. Gross
I have a strange problem. I am using Borland to compile my source files and create jar files. For some reason things are not working correctly. In one jar library, I can create new functions, rebuild the library, and when I put them up in Tomcat 5.5 WEB-INF, it recognizes them. However, I h

problem with executing a batch file in tomcat JAVA servlet

2008-10-15 Thread Daniel L. Gross
I'm trying to execute a batch file in my servlet in tomcat5. I'm using the Process class exec() and issuing a command of cmd.exe /C file.bat Then I do a p.waitFor(); after this. However, it appears that a few of the files copy, then the process hangs. If I stop the calling program, the batch

DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Daniel M Garland
Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far as possible to keep the config the same, so only the OS has changed (and I also got the Apache Portable Runtime going). Howev

Virtual Host and dynamic webapp reloading

2007-09-25 Thread Daniel M Garland
Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my server.xml, I have autoDeploy="true"> And yet if I copy in a new war file (I'm using ant's deploy task) I don't see any changes to my webapp. If I look at the individual server's webapp via the manager a

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
alina.cluster.tcp.ReplicationValve" filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.css;.*\.txt;"/> className="org.apache.catalina.cluster.session.ClusterSessionListener"/> Any ideas? Pid wrote: Daniel M Garland wrote: Hello, I have a virtual

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-26 Thread Daniel M Garland
Christopher Schultz wrote: Is Eclipse re-setting the serialVersionUID for each compile, or do you have one explicitly set in your code? (Meaning, does the serialVersionUID ever change?) Well in Eclipse I said 'add generated ID', but this declares a final static long that hasn't changed becaus

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
n, why wouldn't this work? in conf/server.xml: in conf/Catalina/mydomain.com/mywebapp.xml: Any ideas on how I can achieve the equivalent of my working server.xml with nested Contexts in some other file? Regards Dan Garland Pid wrote: Daniel M Garland wrote: My full element then: y

Re: Virtual Host and dynamic webapp reloading

2007-09-26 Thread Daniel M Garland
SAGE- Hash: SHA1 Dan, Daniel M Garland wrote: That docBase="." is going to give you nothing but trouble. Why can't you just do this: 1. Start with a clean install of Tomcat. 2. Modify CATALINA_HOME/conf/server.xml to include your clustering configuration. 3. Drop ROO

Re: Java 1.6

2007-09-26 Thread Daniel M Garland
Is there any performance increase that you've noticed? Pid wrote: David Smith wrote: I think that was pure speculation. I use JDK 1.6 w/ Tomcat 5.5 in production and have had no issue. Likewise, and they go very nicely indeed. p --David Marco wrote: Hello, I read in previous post t

Re: Virtual Host and dynamic webapp reloading [SOLVED]

2007-09-27 Thread Daniel M Garland
default folder and try to use elements, but break them into seperate folders, and use ROOT.war if you want to host off the default context ("/"). thanks everyone! Daniel M Garland wrote: Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my serve

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-27 Thread Daniel M Garland
doesn't seem to work properly. Does that shed any light on things? And no the old macs have been re-deployed somewhere else... Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Daniel M Garland wrote: Another strange thing is since this started happening I don&#

Apache Portable Runtime > 1.1.4 on Debian Etch?

2007-09-27 Thread Daniel M Garland
Hi again, In my catalina.out I see the following INFO on a server startup: INFO: An older version 1.1.3 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.4 I installed libapr1 and libapr1-dev using apt on Debain etch 64-bit version, and am up-

Tomcat jsessionid cookie across subdomain valve

2007-09-27 Thread Daniel M Garland
. Therefore I am trying to write a custom Valve that re-writes the domain on a Cookie to be ".mydomain.com", rather than "www.mydomain.com". From searching the web to looking at what Daniel Rall wrote for Tomcat 4 I have tried the invoke() method below in my valve. Unfortunately

Re: Analog of mod_rewrite in Tomcat?

2007-09-28 Thread Daniel M Garland
Hey, If you're after something really simple you could even write a servlet filter that implements your functionality. Dan Ken Bowen wrote: Hi all, Is there an analog of mod_rewrite which operates in Tomcat? It would be used if one was running Tomcat alone as a server without Apache in fro

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-01 Thread Daniel M Garland
cts are being confused in this way? Daniel M Garland wrote: Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far as possible to keep the config the same, so only

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-01 Thread Daniel M Garland
Any thoughts? If this is OT anyone know an appropriate list to post to? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these

Re: Tomcat clustering

2007-10-01 Thread Daniel M Garland
Hey The mcastDropTime attribute controls how long a node waits without a response from a peer before considering it dead. Careful though, I tried setting this to be much lower than the default and had all sorts of problems with nodes adding / disappearing all the time; I wonder what sorts of

Re: why/how to use ajp connector...

2007-10-02 Thread Daniel M Garland
You use this connector to relay requests to a certain URL pattern to Tomcat, so you can have part of your website as static HTML served by apache and part of it hosted by Tomcat, which could be running your server-side Java. Perhaps you have a jsp contact form on your static site that needs to

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-02 Thread Daniel M Garland
How would I raise this as an enhancement request in Tomcat? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these subdomains, and

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-02 Thread Daniel M Garland
at is unique to take care of the problem, however, easier to run one cluster instance at the engine level, the cluster knows what vhost a piece of replicated data belongs to Filip Daniel M Garland wrote: OK I've figured out what's happening, but not how to fix it! I'm running a si

redirecting old context uris when moving context

2007-10-15 Thread Daniel M Garland
Hi I was formerly hosting a web application at http://somehost/somecontext which I am now hosting at http://somehost so that the context is now ROOT, instead of somecontext. Is there a way of mapping / redirecting 'old' URI from somecontext to the ROOT, so that http://somehost/somecontext

Re: redirecting old context uris when moving context [SOLVED]

2007-10-16 Thread Daniel M Garland
Thanks for the comments, I ended up writing a little servlet filter. I forgot to mention that I had a filter mapping /* on the root context, so that /someuri was being caught by the root context first, so I needed a filter to bypass this. We're also not proxying through apache. Cheers D

Too Many Open Files error

2007-10-18 Thread Daniel M Garland
Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket accept failed org.apache.tomcat.jni.Error: Too many open files at org.apache.tomcat.jni.Socket.accept(Native Method) at org.apache.tomcat.uti

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan Jim Cox wrote: On 10/19/07, Daniel M Garland <[EMAIL PROTECTED]>

Re: Too Many Open Files error

2007-10-19 Thread Daniel M Garland
Should I then place ulimit -n in the catalina startup scripts? Jim Cox wrote: On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote: Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket ac

OpenSSL + APR + Tomcat 5.5.2 Help

2007-11-28 Thread Daniel M Garland
Hi folks, Again I call on your expert assistance: I have a tomcat 5.5.2 server running on a Debian Etch linux box. Its configured to use APR 1.1.3 and I want to get SSL going. I've successfully managed this using JSSE but not OpenSSL. I installed openssl using apt, as well as the APR librarie

Re: OpenSSL + APR + Tomcat 5.5.2 Help

2007-11-28 Thread Daniel M Garland
? SSLEngine="on" SSLCertificateFile="/home/tomcat5/ssl/myverisign.crt" SSLCertificateKeyFile="/home/tomcat5/ssl/ca/ca.key" Did I send the wrong thing to verisign? Dan Daniel M Garland wrote: Hi folks, Again I call on your expert assistance: I have a tomcat 5.5.2 s

Mapped File Access Problems in Servlets

2007-08-23 Thread Daniel L. Gross
I have a servlet that does a direct read from a mapped drive in Windows. It works fine in tomcat as long as I use a drive on the local machine. However, I need to access a mapped drive on a different machine. When I run the program, I get a FileNotFound error in JAVA and (access denied) next

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
when I put those 5 lines in the servlet, I got the access denied. How do I change the configuration in the tomcat service to allow it to see other computers? Thanks, Dan Gross, ATLC Mark Thomas wrote: Daniel L. Gross wrote: I have a servlet that does a direct read from a mapped drive in

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
I just tried changing the login configuration to log onto the administrator account, and I still get access denied. Any thoughts??? Thanks, Dan Gross, ATLC Mark Thomas wrote: Daniel L. Gross wrote: I have a servlet that does a direct read from a mapped drive in Windows. It works fine

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
change the user to Administrator under the windows services window and I can start and stop tomcat there as well. Again, thanks for your quick responses, got me out of a tight Jam. Dan Gross, ATLC Mark Thomas wrote: Daniel L. Gross wrote: I have a servlet that does a direct read from a mapped

Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
ite access to these files (without having to constantly change the permissions in the command prompt, and without running my java application with 'root' access). 2.Create the files/dirs from tomcat with 'write access' 3.Other Thanking you in advance. Daniel -- View th

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
. However, I still have the same problem. I'm running a java progam (not as 'root'), and need write access to these files. And I'm not allowed to run my java app as 'root'. I'm pretty new to linux, so your help (i.e. command examples) is much appreciated. Danie

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
SORTED! Thanks Alan. In the end I created a new user, and I'm running tomcat and my java app with this new user. Thanks again, you've been a great help. Daniel Alan Chaney wrote: > > Hi Daniel > > Really the issues are to do with the JVM and linux rather more than

Tomcat 5.5.28: Admin Tool login page problem?

2009-09-23 Thread Daniel B. Thurman
Just wondering if this problem has been reported: URL: http://localhost/admin 1) The Login.jpg image is not appearing, and the Login/Password inputboxes are a bit off center and to the right. 2) After logging in successfully, one is taken to: URL: http://localhost:8080/admin/image

Re: Tomcat 5.5.28: Admin Tool login page problem?

2009-09-23 Thread Daniel B. Thurman
On 09/23/2009 10:13 AM, Mark Thomas wrote: > Daniel B. Thurman wrote: > >> Just wondering if this problem has been reported: >> >> URL: http://localhost/admin >> >> 1) The Login.jpg image is not appearing, and the >> Login/Password inputboxes are

Re: Tomcat 5.5.28: Admin Tool login page problem?

2009-09-23 Thread Daniel B. Thurman
On 09/23/2009 11:42 AM, David Smith wrote: > Daniel B. Thurman wrote: > >> On 09/23/2009 10:13 AM, Mark Thomas wrote: >> >>> Daniel B. Thurman wrote: >>> >>>> Just wondering if this problem has been reported: >>>> >>

Re: Tomcat 5.5.28: Admin Tool login page problem?

2009-09-23 Thread Daniel B. Thurman
On 09/23/2009 01:28 PM, Caldarale, Charles R wrote: >> From: Daniel B. Thurman [mailto:d...@cdkkt.com] >> Subject: Re: Tomcat 5.5.28: Admin Tool login page problem? >> >> >>>>>> Just wondering if this problem has been reported: >>>>>&g

Fw: TOMCAT 7 , Native CORS FILTER and Spring Security

2015-07-23 Thread Maatari Daniel Okouya
--  Maatari Daniel Okouya Sent with Airmail On July 23, 2015 at 10:49:19 AM, Maatari Daniel Okouya (okouy...@yahoo.fr) wrote: Hi,  I am using TOMCAT 7, and I have enable the CORS FILTER as per the explanation on the official website:  https://tomcat.apache.org/tomcat-7.0-doc/config

TOMCAT 7 , Native CORS FILTER and Spring Security

2015-07-23 Thread Maatari Daniel Okouya
/*          I wonder if there is an issue between the Spring Security Filter and the Native Cors Filter coming with tomcat ? What are the work around ? If not how can I know what is exactly stop the CORS FILTER FROM WORKING RIGHT ? --  Maatari Daniel Okouya Sent with Airmail

Performance tuning embedded Tomcat 10.1.7: High requests/second, HTTPs and a lot of keep alive connections

2023-11-27 Thread Daniel Andres Pelaez Lopez
ppreciated. Regards. -- Daniel Andrés Pelaez López - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Performance tuning embedded Tomcat 10.1.7: High requests/second, HTTPs and a lot of keep alive connections

2023-11-28 Thread Daniel Andres Pelaez Lopez
w on production code and no issues at all. -- Daniel Andrés Pelaez López - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tracking keep alive connections

2023-11-28 Thread Daniel Andres Pelaez Lopez
losed or similar? maybe by knowing the closed ones vs open ones, we can figure out the keep-alive ones. Any insight will be appreciated. -- Daniel Andrés Pelaez López - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
tion time is 1 hour for 50 connections, with a keep alive timeout of 5 minutes, it means the connection was receiving requests the whole hour. -- Daniel Andrés Pelaez López - To unsubscribe, e-mail: users-unsubscr...@t

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
Christopher, So... when a connection is established, save the current timestamp on > the connection. When it closes, take the delta of the > start-of-connection and end-of-connection, and add it to a bounded queue > (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you > request the

Tomcat 10.1.x: Using CoyoteInputStream to read a Chunked Transfer Encoding (CTE) stream, manually, skiping ChunkedInputFilter

2023-06-26 Thread Daniel Andres Pelaez Lopez
might have. I would like to know if there are other ways to override the CTE behavior, any help would be appreciated. BTW: We are using Spring Boot with Tomcat embedded. -- Daniel Andrés Pelaez López

Re: Tomcat 10.1.x: Using CoyoteInputStream to read a Chunked Transfer Encoding (CTE) stream, manually, skiping ChunkedInputFilter

2023-06-26 Thread Daniel Andres Pelaez Lopez
El lun, 26 jun 2023 a las 14:53, Mark Thomas () escribió: > On 26/06/2023 20:34, Christopher Schultz wrote: > > Daniel, > > > > On 6/26/23 12:47, Daniel Andres Pelaez Lopez wrote: > >> Hi Tomcat community, > >> > >> I have a requirement whe

Re: Tomcat 10.1.x: Using CoyoteInputStream to read a Chunked Transfer Encoding (CTE) stream, manually, skiping ChunkedInputFilter

2023-06-27 Thread Daniel Andres Pelaez Lopez
Christopher, El mar, 27 jun 2023 a las 9:33, Christopher Schultz (< ch...@christopherschultz.net>) escribió: > Daniel, > > On 6/26/23 16:15, Daniel Andres Pelaez Lopez wrote: > > El lun, 26 jun 2023 a las 14:53, Mark Thomas () > escribió: > > > >> On 26/0

Re: Tomcat 10.1.x: Using CoyoteInputStream to read a Chunked Transfer Encoding (CTE) stream, manually, skiping ChunkedInputFilter

2023-06-27 Thread Daniel Andres Pelaez Lopez
El mar, 27 jun 2023 a las 13:48, Christopher Schultz (< ch...@christopherschultz.net>) escribió: > Daniel, > > On 6/27/23 12:56, Daniel Andres Pelaez Lopez wrote: > > Christopher, > > > > El mar, 27 jun 2023 a las 9:33, Christopher Schultz (< > &g

Re: Tomcat 10.1.x: Using CoyoteInputStream to read a Chunked Transfer Encoding (CTE) stream, manually, skiping ChunkedInputFilter

2023-06-28 Thread Daniel Andres Pelaez Lopez
El mié, 28 jun 2023 a las 7:15, Christopher Schultz (< ch...@christopherschultz.net>) escribió: > Daniel, > > On 6/27/23 15:40, Daniel Andres Pelaez Lopez wrote: > > You are right, the CMAF format of the segment might bring the fragment > size > > information, but

Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-06 Thread Daniel Andres Pelaez Lopez
I am not sure why HTTP2 was not part of that effort? -- Daniel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Pinned threads for HTTP2 using Virtual Threads on Tomcat 10.1.7

2023-07-07 Thread Daniel Andres Pelaez Lopez
Mark, Thanks for letting me know. I will wait for the August release to test. Regards. El jue, 6 jul 2023 a las 15:13, Mark Thomas () escribió: > > > 6 Jul 2023 20:09:01 Daniel Andres Pelaez Lopez : > > > I am aware Tomcat community did a great effort to move Tomat to &

Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
Hi, everybody. First of all: I'm sorry for my poor English. Is it possible to change url rewriting schema to use a different path separator (instead of ';') or even to use a request parameter (instead of a path append) ? The problem: - I'm using OpenOffice API to c

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
On Mon, 2009-06-29 at 16:15 -0400, Christopher Schultz wrote: Hi, Chris ! > > Are you trying to change the URLs that are emitted in the HTML your > application generates? Yes and no. Declarative security will only work if tomcat recognizes jsession id (either coming encoded in requeste

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
er to modify/specialize tomcat behavior than my previous alternatives. On Mon, 2009-06-29 at 19:24 -0300, Daniel Henrique Alves Lima wrote: > Yes ! > > Now imagine my frustration with ooffice escaping a ';' :-( > > Browser, wget and other applications seems to work ok

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
Yes ! Now imagine my frustration with ooffice escaping a ';' :-( Browser, wget and other applications seems to work ok with URL encoded jsessionid. On Tue, 2009-06-30 at 00:00 +0200, André Warnier wrote: > Daniel Henrique Alves Lima wrote: > ... > Hi. > If I understand

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 00:52 +0200, André Warnier wrote: Hi, Andre ! > 11) the filter captures the html output, and writes it to a local > temporary file. Then it calls OOo /on this file/, and asks for a PDF > version. Then it picks up the PDF version, and returns this as a > response, inste

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 01:02 +0200, André Warnier wrote: > Daniel Henrique Alves Lima wrote: > > > > 1. Use a Java Web Proxy to convert requests and responses between > > ooffice and Tomcat; > Or use a httpd front-end.. > Yes. But i don't need this reques

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 00:52 +0200, André Warnier wrote: Hi, Andre ! > 11) the filter captures the html output, and writes it to a local > temporary file. Then it calls OOo /on this file/, and asks for a PDF > version. Then it picks up the PDF version, and returns this as a > response, instea

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Daniel Henrique Alves Lima
First of all: Thanks (Christopher, Andre, Bill and everybody) ! The complete solution is compound of 3 parts: 1. The Valve to process &jsessionid (just a piece of the source code) if (!request.isRequestedSessionIdFromCookie()) { String jsessionid = request.getPara

Re: How do I support a login form embedded in templates

2009-06-30 Thread Daniel Henrique Alves Lima
Hi, Steve and Chris. Steve, can you use AJAX to request a protected resource and to provide username/password to your real login page (configured at web.xml) or directly to j_security_check ? I don't know if this will work (and if this is what you have in mind), but:

Re: How do I support a login form embedded in templates

2009-06-30 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 16:32 +0200, André Warnier wrote: > Daniel Henrique Alves Lima wrote: > > 2. When user fills the form in your small login box, > > - Send a JS XmlHttpRequest (AJAX) to a protected resource (for > > instance protected_resource.jsp); >

Re: jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread Daniel Henrique Alves Lima
On Tue, 2009-06-30 at 11:59 -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Karan, > > On 6/30/2009 3:12 AM, k...@dossier.no wrote: > > Loading of jar files under WEB-INF/lib/a_foolder/*.jar wont work. On JBoss > > 5.0.1GA this works fine but > > The tomc

Re: jar loading in folder web-inf/lib/folder/*.jar

2009-06-30 Thread Daniel Henrique Alves Lima
put it under WEB/lib/mydir/b.jar. Be sure that Classpath entry (of a.jar's manifest) includes mydir/b.jar; Start your app. On Tue, 2009-06-30 at 14:13 -0300, Daniel Henrique Alves Lima wrote: > On Tue, 2009-06-30 at 11:59 -0400, Christopher Schultz wrote: > > -BE

Re: Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Daniel Henrique Alves Lima
Hi, Dhaval. Unless you have added log4j support, i think tomcat 6 installation use java4 log as default log engine. Could this be the problem ? Have you tried to change conf/logging.properties ? Another components (using commons logging for instance) can be using the log4j

Re: Tomcat 6.0.18 Virtual Hosting and Log4J

2009-06-30 Thread Daniel Henrique Alves Lima
In older tomcat versions, log4j was the default log engine. On Tue, 2009-06-30 at 17:38 -0300, Daniel Henrique Alves Lima wrote: > Hi, Dhaval. > > Unless you have added log4j support, i think tomcat 6 installation use > java4 log as default log engine. Could

Re: POST request hangs hup

2009-07-02 Thread Daniel Henrique Alves Lima
On Thu, 2009-07-02 at 23:40 +0200, Ivan Longhi wrote: > Hi, Hi, Ivan. > I'm running tomcat 6.0.18 with java 1.6.0_13 on a linux box. > The only webapp deployed is Sun OpenSSO (http://www.opensso.org) built from > source (20090930). > Sometimes a tomcat thread hangs hup while serving a PO

Re: POST request hangs hup

2009-07-02 Thread Daniel Henrique Alves Lima
is "probably" more guilt :-) On Thu, 2009-07-02 at 19:20 -0300, Daniel Henrique Alves Lima wrote: > On Thu, 2009-07-02 at 23:40 +0200, Ivan Longhi wrote: > > Hi, > > Hi, Ivan. > > > I'm running tomcat 6.0.18 with java 1.6.0_13 on a linux box. >

<    6   7   8   9   10   11   12   >