Re: Tomcat doesn't allow me to login

2024-09-20 Thread Simon Matter
mcat-users.xml > > 183 vi /opt/tomcat/apache-tomcat-10.1.30/conf/tomcat-users.xml > > 184 $CATALINA_HOME/bin/shutdown.sh > > 185 $CATALINA_HOME/bin/startup.sh > > 186 tail -f $CATALINA_BASE/logs/catalina.out > > 187 find / -name tomcat-users.xml > >

Re: java code cache size question

2024-07-25 Thread Simon Matter
code cache size shouldn't be less than the initial code cache size; see the option -XX:InitialCodeCacheSize. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Intermittent Missing Content-Type

2024-07-18 Thread Simon Arame
tion call result we are either sending a redirect or calling FilterChain.doFilter Please note that we tried the following without success: - declaring a default-content-type inside a jsp-property-group as prescribed by the JavaServer Pages™ Specification v2.3 #JSP.3.3.9 Thank you, Sim

Re: ldap administration tool and error LDAP: error code 49 - Invalid Credentials

2024-06-24 Thread Simon Matter
Hi, > Hello Experts, > Is there any DLap admin tool available ? I want to manage IBM and openldap > with it . trying to reset users password in IBM ldap but it fails with You could try https://directory.apache.org/studio/ Regards, Simon > > > "[root@camttvpws002

Re: Tomcat 9.0.83 - SSL handshake stops working for Google API calls after a while

2024-04-11 Thread Simon Matter
of SSL handshake errors. Attaching the SSL logs > for your reference. Without knowing exactly how it would look like, are you 100% sure you're not running out of entropy for some reason? At least it doesn't hurt to have available entropy in monitoring some how. Regards, Sim

Re: Memory leak in EncodingDetector?

2024-03-22 Thread Simon Niederberger
Very cool Chris, thanks for the quick reaction! Simon out On Fri, Mar 22, 2024 at 1:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Simon, > > On 3/21/24 12:39, Simon Niederberger wrote: > > Hi Chris > > > > Personally I&#x

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Simon Niederberger
simply that we deploy frequently (several times a day) on a Tomcat 10.1 installation, and have various reasons for not going down the Docker/container/FAT JAR path. So, making sure we don't have memory leaks is relevant. Simon On Thu, Mar 21, 2024 at 1:44 PM Christopher Schultz wrote: &g

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
lso common, and your webapp won't undeploy if it's the first webapp to load a JSP and thus clinit EncodingDetector. Maybe the public has just given up on clean undeploying. Simon Mühlegasse 18, 6340 Baar, Switzerland https://www.want.ch https://www.funnel.travel On Wed, Mar 20, 20

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
ry implementation which is on the common loader's classpath, so the webapp can be undeployed cleanly. Best regards Simon -- java.lang.RuntimeException: Stracktrace for tracking XMLInputFactory creation at ch.want.funnel.FunnelApp$DelegatingXMLInputFacto

Memory leak in EncodingDetector?

2024-03-18 Thread Simon Niederberger
at/lib, but again I'm not finding anything online confirming that) Tomcat 10.1.19 JVM 17.0.10+7-Ubuntu-120.04.1 Ubuntu 20.04.6 LTS Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additi

RE: Core Dump File Generation

2024-02-28 Thread Simon Matter
Hi, > Hi, > > I am talking about java core dump file which is generating on tomcat/bin > path and the OS is RHEL 6. What's the exact version of Java running? Regards, Simon > > Thanks & Regards, > Mohit Chaudhary > > > -Original Message-

Re: Core Dump File Generation

2024-02-28 Thread Simon Matter
ut a UNIX style core file here or some kind of dump from Java? If it's a UNIX style core file then the culprit may be Java and not Tomcat - because Java should never ever dump a core file if it's running without errors. Regards, Simon --

NoClassDefFoundError for SSL operations

2024-02-22 Thread Simon Arame
Invocation$Builder.get(JerseyInvocation.java:318) I asked for an upgrade of tomcat from 9.0.81 to to 9.0.86 and am waiting to see if this will resolve our problems. Any advice or links/reports on that problem would be appreciated. Simon

Re: EOL - Tomcat versions

2024-01-20 Thread Simon Matter
ublished EOL dates in such apps. Isn't it so that for every major version, like 9.0, all but the latest should be considered EOL? Like for now, 9.0.85 is supported and 9.0.84 and older should be considered EOL. Simon > > On Fri, Jan 19, 2024 at 6:58 PM Mark Thomas wrote: >>

Re: EOL - Tomcat versions

2024-01-20 Thread Simon Matter
ally stands out) > > - you can actually talk to the folks the maintain the code > I'd like to thank the Tomcat community for all what they're doing. I know a lot of projects but Tomcat is really at the top of the list for all the things pointed out above! Regards, Simon --

RE: Regarding Tomcat is creating the zombie processes

2024-01-09 Thread Simon Matter
such contracts, but I may have missed it. > > Is anybody already raised case similar to defunct or related to zombie > processes. If yes, can you please share which resolution you have provided > to them to prevent creation of those. Your best bet may be to openly provide more

RE: Posting questions

2024-01-09 Thread Simon Matter
> Refer to attached screenshot. Attached screenshot? This is a public mailing list so your best option is to provide information in posted text format, screenshots and other images most likely won't make it through in a usable way :) Regards, Simon > > -Original Message-

Re: Regarding Tomcat is creating the zombie processes

2024-01-05 Thread Simon Matter
e the steps you used to recreate this issue in a clean > installation of a standalone Tomcat instance. > > Mark > As an easy start you could provide us with the Tomcat related process tree and detailed description of how the lif

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
> Hi Rainer/Simon - I've just had another look at this. With no > application running (IOW, all Java processes killed), I see this > behaviour: Sorry, I was confused because I thought we're talking about files from Tomcat and not from Apache/mod_jk. Regards, Simon >

Re: mod_jk logging issue

2023-12-20 Thread Simon Matter
ny load sharing. > > I'm on Ubuntu 22.04, Apache 2.4.52. The mod_jk version is possibly > 1.2.48-1. Can it be that your application crashes on shutdown? This is usually why cleanup is not working properly. Regards, Simon --

Re: I can't find how to stop TOMCAT during INITIALIZATION phase

2023-12-15 Thread Simon Matter
you see any other possible solutions? > Did you try to terminate the process with SIGUSR1 instead of SIGKILL? I usually terminate Java processes with SIGUSR1 if SIGTERM is not handled in time and it still seems to do some clean

Re: Tomcat9 not listening to ipv4 port 8080, only ipv6

2023-11-28 Thread Simon Matter
e when Tomcat was starting up. On systems running systemd it's easy to get into troubles with the way systemd parallelizes the system startup. Systemd service units often need additional tuning to result in reliable startup order. Regards, Simon > > [1] > https://tomcat.apac

Re: Wondering about tomcat-users.xml could not be found

2023-11-17 Thread Simon Matter
1 root root 2756 Jan 15 2022 tomcat-users.xml Is your Tomcat running as root? I hope not, but if it's running as user tomcat or some other unprivileged user, it won't be able to read your tomcat-users.xml as long as the user is not member of group root. Regards, Simon --

Re: [EXTERNAL] - Need help tomcat

2023-10-02 Thread Simon Matter
> Yes I have deleted them and again I have sent a email with screenshot. > Please check that. > > Regards, > Deepak Hi, please note that attachments are not delivered on this mailing list. Regards, Simon - To

Re: Conclusion - Re: Crypto Randomly Not Getting Initialized

2023-06-21 Thread Simon Matter
hat just went away goes against my grain. But if >> the problem goes away, maybe it won't come back. At this time, when >> using Corretto JVM, I have not encountered the Crypto directory error. >> It's been running o

Re: Conclusion - Re: Crypto Randomly Not Getting Initialized

2023-06-14 Thread Simon Matter
and running a production > environment on fixes that just went away goes against my grain. But if > the problem goes away, maybe it won't come back. At this time, when > using Corretto JVM, I have not encountered the Crypto directory error.  > It's

Re: Crypto Randomly Not Getting Initialized

2023-06-13 Thread Simon Matter
Hi, > Jerry, > > On 6/13/23 11:42, Jerry Malcolm wrote: >> Simon, >> >> On 6/13/2023 2:20 AM, Simon Matter wrote: >>> Hi, >>> >>>> I am running Tomcat 9.0.56 in multiple AWS EC2 instances with Amazon >>>> Linux2 in a producti

Re: Crypto Randomly Not Getting Initialized

2023-06-13 Thread Simon Matter
n boot? Maybe there were RNG related changes in the kernel or rng-tools? Maybe monitor available entropy in /proc/sys/kernel/random/entropy_avail, it should not go below 100 or so. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: AW: Unable to start application

2023-03-18 Thread Simon Matter
; Could you download the jar again from the mysql website and replace it? >> Can you open/unpack the jar without errors? > > More likely a permissions problem. That warning is generated before > Tomcat tries loading the file. It means a call to java.io.File.canRead() > returned fal

Re: Systemd file and umask for tomcat

2023-03-17 Thread Simon Matter
atforms in the same way. Outside of Linux, nobody is using systemd anyway :) Therefore I have this in setenv.sh # Umask for system reserved uid/gid if [ -z "$UMASK" ]; then UMASK="0022" fi Regards, Simon --

Re: AW: AW: Having trouble with Tomcat crashes. Interesting memory numbers in Manager

2023-02-06 Thread Simon Matter
to > connect to the java process and inspect the memory and GC usage. > When the CPU is eating 100% CPU you might also consider generating a > thread dump (kill -3) and check if there are any suspicious threads > running. > > Also setting the java options HeapDumpOnOutOfMemoryError

RE: tomcat is not coming Up

2023-01-12 Thread Simon Matter
ting systems :) But, in you old config you had '-Djava.library.path=/usr/local/apr/lib' and maybe this is where the newer Tomcat native library is installed. The new config seems to miss this path and it's likely that now Tomcat uses the older library in one of the standa

RE: tomcat is not coming Up

2023-01-12 Thread Simon Matter
t you have Apache Tomcat Native library 1.2.17 installed/referenced but you should likely have version 1.2.23? Regards, Simon > 11-Jan-2023 18:21:58.101 INFO [main] > org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR > based Apache Tomcat Native library [1.2.17] using

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Simon Matter
> On 12/01/2023 05:08, Fedor Makarov wrote: >> >> lundase and vvsguiden webapps used on different domains > > My recommendation would be to configure Tomcat for virtual hosting as > well. [1] > > For example, configure the following hosts in the local hosts file: > > lundase-local > vvsguiden-local

Re: tomcat is not coming Up

2023-01-11 Thread Simon Matter
Tomcat Native library [1.2.17] using APR version [1.4.8] You really didn't provide a lot of info but one thing is strange: Tomcat native and APR are now an older version than before. Are you sure this is really on the same host? Or was the

RE: DB2 database locks

2022-10-21 Thread Simon Matter
"Container" > type="javax.sql.DataSource" > driverClassName="com.ibm.db2.jcc.DB2Driver" > url="jdbc:db2://30.177.13.12:3700/TIREHQ" > maxActive="200" > maxIdle="30" > maxWait="1" > username="xx" >

Re: Using Nashorn in Apache Tomcat

2022-10-20 Thread Simon Besenbäck
Am So., 2. Okt. 2022 um 12:34 Uhr schrieb Simon Besenbäck < simon.besenba...@gmail.com>: > Hi! > > I am using Apache 10.0.23 on Windows 10. I want to use Nashorn for > developing JSP's within the Eclipse IDE. Therefore I use OpenJDK 19 and > added the jakarta.Sc

Add the Nashorn Module to Tomcat 10

2022-10-08 Thread Simon Besenbäck
Hi, How can one add the Nashorn module to Apache Tomcat 10? https://openjdk.org/projects/nashorn/ Download of the jar file: https://search.maven.org/artifact/org.openjdk.nashorn/nashorn-core/15.4/jar Best Regards, Simon

Using Nashorn in Apache Tomcat

2022-10-02 Thread Simon Besenbäck
elease) I would be very thankful for any tipps as I really do not know how to get nashorn working. Thanks. Simon

Re: is too quick to respond

2022-02-20 Thread Simon Matter
t; size automatically keeps changing - so at the end, it will succeed in > deploying the whole war file. I may be wrong but I thought .war files are zip files. Wouldn't it be possible to just wait until the file has a consistent content and then extract it? Simon > > I wish

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-30 Thread Simon Matter
cat clients connect locally via unix domain socket and the proxy relays the queries to the db backend. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: AW: AW: Tomcat 9 doesn't shutdown cleanly

2021-12-03 Thread Simon Matter
Hi, > Hello Simon, > > if you use the Registry to bind Objects / Stubs, you must also call > "unbind" on shutdown: > https://docs.oracle.com/javase/7/docs/api/java/rmi/registry/Registry.html > > I think the developer who implemented the RMI stub, should also now

Re: AW: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
ate the RMI connections on the Tomcat instance only and shut down Tomcat, or do we have to close the RMI connections on the internal appserver which initiated the connections? Apart from RMI, is there anything in the thread dump which indicates an issue in out Tomcat app? Kind regards, Simon &g

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
Hi Chris, Thank you for the quick reply. > Simon, > > On 11/30/21 08:21, Simon Matter wrote: >> I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK >> JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. >> >> When I

Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
the same way like sending the OS signal. I've tried, beside a lot of other things, to set skipMemoryLeakChecksOnJvmShutdown="true" in context.xml but it seems to change nothing at all. Any help would be much appreciated. Thanks, Simon

Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Simon Funnell
In your web.xml you want: greeting_color green I think you have defined an initialization parameter for the servlet, not the context. On Mon, 10 Feb 2020 at 17:54, Richard Monson-Haefel wrote: > Hi, > > Tomcat version: 9.0.30 > Operating System: macOS 10.15.2 > > While I can access

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 23:30, Chris Cheshire wrote: > On Thu, Aug 15, 2019 at 2:54 PM Simon Funnell > wrote: > > > > On Thu, 15 Aug 2019 at 01:00, Chris Cheshire > wrote: > > > > > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > > > wrote: >

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 01:00, Chris Cheshire wrote: > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > wrote: > > > > On Tue, 6 Aug 2019 at 14:33, John Larsen > wrote: > > > > > I usually handle the redirect on the webserver side and set the alias &g

Re: Redirecting a naked domain to sub domain

2019-08-14 Thread Simon Funnell
fix it. Any help is great thanks. > > On Tue, Aug 6, 2019 at 7:11 AM Simon Funnell > wrote: > > > Hi, > > > > I was going to do a redirect at my dns provider from the naked domain to > > the www subdomain. Unfortunatly this doesn't really work if it is

Redirecting a naked domain to sub domain

2019-08-06 Thread Simon Funnell
ch is needed to get a letsencrypt certificate). If the rewrite valve is not the correct way to do this do I just deploy a catch all servlet or a filter to do the redirect instead? Thanks, Simon

Memory Usage

2019-04-24 Thread Simon Funnell
Hi, I am looking at running a small ecommerce site with about 40-80 users at a time on a virtual private server with 4 cores and 1GB of memory, I am planning on running apache james, mysql and tomcat on this instance. My question is will 256MB maximum heap memory with say 50 threads be enough to h

Re: nginx + Tomcat 9

2018-07-11 Thread Simon De Uvarow
On Wed, Jul 11, 2018 at 10:41 AM Giacomo Arru - BETA Technologies wrote: > I tried to enable debug logging for org.apache.tomcat.websocket but > without success > > here is my logging.properties > > > > handlers = java.util.logging.ConsoleHandler > > .handlers = 1catalina.org.apache.juli.AsyncFil

Re: A tomcat log output problem

2018-04-04 Thread Simon De Uvarow
On Mon, Apr 2, 2018 at 9:41 AM 张钧荣 <1024238...@qq.com> wrote: > Hello ! > My project reported an error related to tomcat logging module. The > exception information is as follows: > Apr 2 11:31:27 knowledgebase java: Exception in thread "main" > java.lang.reflect.InvocationTargetException > A

Re: asgard tomcat application 404

2018-02-20 Thread Simon De Uvarow
I don't know about Spring, but according to your exception, and my short experience, could be a database connection issue. grails.web.context.GrailsContextLoaderError initializing Grails: Error creating bean with name 'pluginManager' defined in ServletContext resource *[/WEB-INF/applicationCon

Re: Monitoring Tomcat JDBC Connection Pool with JConsole?

2018-01-11 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Thu, Jan 11, 2018 at 6:47 PM, Jerry Malcolm wrote: > I followed the instructions to enable JMX on Tomcat. I added the > following lines to java config: > > -Dcom.sun.man

Re: Tomcat 8.5 justification (UNCLASSIFIED)

2017-11-16 Thread Simon De Uvarow
Hi, do you want to compare tomcat 8.5.last with what version ? "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Thu, Nov 16, 2017 at 8:52 PM, Lueders, Paul T CIV USARMY NGIC (US) < paul.t.lueders@mail.mil> wrote:

Re: Tomcat 8.5.16 cuts end of body after 10485761 bytes

2017-08-29 Thread Simon De Uvarow
Hi, "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Tue, Aug 29, 2017 at 11:42 AM, Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am 29.08.2017 um 04:44 schrieb Simon De Uvarow:

Tomcat 8.5.16 cuts end of body after 10485761 bytes

2017-08-28 Thread Simon De Uvarow
Hi, I have to respond a big json file: return Response.status(Status.OK).entity(new SimpleDataMessageResponse("TASK_FINISH", str)).build(); The tomcat logs correctly the size in the access log file: 127.0.0.1 - - [29/Aug/2017:02:26:07 +] "GET /./interactiveTask/ 1076dde0-b199-4043-9047-e

Re: Detect client disconnect in Tomcat

2017-08-23 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Wed, Aug 23, 2017 at 8:33 AM, André Warnier (tomcat) wrote: > On 23.08.2017 09:48, Grigor Aleksanyan wrote: > >> Hi Simon, >> >> If I

Re: Detect client disconnect in Tomcat

2017-08-22 Thread Simon De Uvarow
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Tue, Aug 22, 2017 at 11:36 AM, André Warnier (tomcat) wrote: > On 22.08.2017 10:50, Grigor Aleksanyan wrote: > >> Hi, >> >> I have a web application (.war file) running u

Re: Source Package file path location in Tomcat

2017-05-30 Thread Simon De Uvarow
http://tomcat.apache.org/download-70.cgi Check the left side menu .. you will find downloads for all versions of Tomcat. In the download page you can download binary distributions and also source code. "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que

Re: Automatic deploy : java.util.zip.ZipException on macosx

2017-05-24 Thread Simon De Uvarow
t correct. My bad. But try searching why your war file doesn't contain the META-INF folder. "No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no traiciones, lo que siempre te ha hecho vivir." On Wed, May 24, 2017 at 8:35 AM, Simon De Uvarow wrote: > Hi

Re: Automatic deploy : java.util.zip.ZipException on macosx

2017-05-24 Thread Simon De Uvarow
Hi Ricardo, it looks like your war files doesn't contain the META-INF folder. Check here: https://en.wikipedia.org/wiki/WAR_(file_format) "A WAR file may be digitally signed in the same way as a JAR

Re: WebSocket - Client doesn't receive server messages

2017-05-23 Thread Simon De Uvarow
No olvides, no traiciones, lo que siempre te ha hecho vivir." On Mon, May 22, 2017 at 9:52 PM, Simon De Uvarow wrote: > Hi, I'm having a strange issue: > > I'm developing a frontend with WebSockets, (my first WebSocket! ). To test > the code I'm also developing s

WebSocket - Client doesn't receive server messages

2017-05-22 Thread Simon De Uvarow
Hi, I'm having a strange issue: I'm developing a frontend with WebSockets, (my first WebSocket! ). To test the code I'm also developing some tests to run in Eclipse. So, I create a Client in the Test, connect to the server, and want to have some communication. I added lot of logs to debug the iss

JMX - Adding NotificationListener for existing MBean

2016-03-31 Thread Simon Kulessa
ttached? (It seems only then the BaseNotificationBroadcaster object is actually created) If so, how do I get access to it from within a webapp? I hope somebody can help me out here. Regards, Simon - To unsubscribe, e-mail:

Tomcat7-maven-plugin: Failed to initialize end point associated with ProtocolHandler

2016-02-03 Thread Simon Schabel
start the port after contextInitialized() is done? Thank you for your help, best Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat hanging when acting as GWT server.

2015-11-25 Thread Simon Callan
t generate DH keypair caused by java.security.InvalidAlgorithmParameterException: unknown curve name: 1.2.840.10045.3.1.7 This suggests that we are using an (elliptical?) curve that tomcat does not recognise. Is this likely to be an issue with the security certificate that we are using? I have

RE: Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
Some additional information. If we configure Tomcat to accept both HTTP and HTTPs connections, the HTTP connection remains working, even after the HTTPS one has broken. Simon Infoshare is registered in England and Wales. Registered Office: Infoshare Ltd

RE: Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
Christopher, Hopefully some useful answers. > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: 20 November 2015 16:22 > On 11/20/15 11:13 AM, Simon Callan wrote: > > We are running GWT 2.5.1, Tomcat 7.0.56 and 7.0.65 on windows server > > 2008, IE 10

Tomcat hanging when acting as GWT server.

2015-11-20 Thread Simon Callan
ifferences. Simon **stdout** 16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] 16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 16:13:57,

SV: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver '"

2015-11-10 Thread Simon Kepp Nielsen
Thanks Felix, Removing the extraneous space seems to have fixed it. A classic copy-paste-error. Best regards, Simon Kepp Nielsen IT Infrastructure Manager - IT Operations M: 30 52 77 07 - E: s...@pfa.dk Sundkrogsgade 4, DK-2100København Ø, T: 39 17 50 00, www.pfa.dk Disclaimer This message is

Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver '"

2015-11-10 Thread Simon Kepp Nielsen
Hi all, I've tried following the instructions in https://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html to add an Oracle DataSource to my Tomcat 7.0.65 installation. The relevant contents of my $CATALINA_HOME\conf\context.xml is: I have added ojdbc6.jar to $CATALINA_HOME

Listeners' requestDestoyed() method not called in exception cases

2015-05-15 Thread Pilkington, Simon
() method always being called for a request? One option we have considered is migrating to exclusively using filters and handling the exceptional use case explicitly there. Is there a recommended approach for this use case? -Simon [1] http://grepcode.com/file/repo1.maven.org/maven2

[Tomcat8] What happened to WebappLoader.addRepository()?

2015-03-17 Thread Pilkington, Simon
Hey tomcat users, The javadoc for WebappLoader still tells me to use addRepository(), but that method no longer exists. My team has implemented an extension of WebappLoader that looked like this: https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/WebappLoader.html https://t

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-25 Thread Simon Kulessa
Hi Christopher, Am 22.07.2014 17:00, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/22/14, 5:47 AM, Simon Kulessa wrote: Hi Christopher, see below Am 17.07.2014 16:18, schrieb Christopher Schultz: Simon, On 7/17/14, 3:52 AM, Simon Kulessa wrote

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-22 Thread Simon Kulessa
Hi Christopher, see below Am 17.07.2014 16:18, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/17/14, 3:52 AM, Simon Kulessa wrote: Hi Christopher, Am 16.07.2014 14:45, schrieb Christopher Schultz: Simon, On 7/16/14, 4:02 AM, Simon Kulessa wrote

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-17 Thread Simon Kulessa
Hi Christopher, Am 16.07.2014 14:45, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/16/14, 4:02 AM, Simon Kulessa wrote: Am 15.07.2014 16:12, schrieb Christopher Schultz: Simon, On 7/9/14, 4:51 AM, Simon Kulessa wrote: I had a look at the

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-16 Thread Simon Kulessa
Hello Christopher, thanks for your answer. Am 15.07.2014 16:12, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Simon, On 7/9/14, 4:51 AM, Simon Kulessa wrote: I had a look at the documentation and the tomcat source to get a better understanding of what the

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-09 Thread Simon Kulessa
r.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I am not sure whether this is somewhat related to the problem scenario, but at least this looks like something that should not happen. Regards, Simon Kulessa Am 08.07.2014 11:35, schrieb Simon Kulessa: Hi Konstantin, thanks

Re: HttpServletRequest - getHeaders() vs getCookies()

2014-07-08 Thread Simon Kulessa
Hi Konstantin, thanks for you answer. Am 08.07.2014 10:22, schrieb Konstantin Kolinko: 2014-07-08 11:48 GMT+04:00 Simon Kulessa : Hi, we are running a server on Apache Tomcat 7.0.29 with usage of the servlet-api 3.0.1. 1. The current version is 7.0.54 We updated to this version now, but

HttpServletRequest - getHeaders() vs getCookies()

2014-07-08 Thread Simon Kulessa
cookie come from? And were did the cookie go that was defined in the header? Regards, Simon Kulessa. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-25 17:25 GMT+01:00 Caldarale, Charles R : >> From: Yann Simon [mailto:yann.simon...@gmail.com] >> Subject: Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with >> ReadListener > >> > Also, have you tried with the 8.0.5 release that is up for vote?

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-25 16:36 GMT+01:00 Daniel Mikusa : > On Mar 25, 2014, at 11:25 AM, Yann Simon wrote: > >> 2014-03-20 15:28 GMT+01:00 Yann Simon : >>> Thanks for all your input, I think I have now an implementation that >>> works on Tomcat and Jetty. >>> >>>

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-25 Thread Yann Simon
2014-03-20 15:28 GMT+01:00 Yann Simon : > Thanks for all your input, I think I have now an implementation that > works on Tomcat and Jetty. > > By testing it, I've found something that can be an interesting > information for you. > > The upload variant with forking a ne

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
heers, Yann 2014-03-20 9:36 GMT+01:00 Yann Simon : > One option I am trying is to ignore onAllDataRead and to use > sevletInputStream.isFinished to know when the body is totally > consumed: > > https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-20 Thread Yann Simon
One option I am trying is to ignore onAllDataRead and to use sevletInputStream.isFinished to know when the body is totally consumed: https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.java#L55 Is it a dumb idea? 2014-03-20 7:42 GMT+01:00 Yann Simon

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
Thanks Rémy and Mark for the quick feedback and explanations! On Mar 19, 2014 6:40 PM, "Mark Thomas" wrote: > On 19/03/2014 17:04, Rémy Maucherat wrote: > > 2014-03-19 17:47 GMT+01:00 Yann Simon : > > > >>> This is because you're forking a thread, it

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:24 GMT+01:00 Rémy Maucherat : > 2014-03-19 17:10 GMT+01:00 Yann Simon : > >> 2014-03-19 17:05 GMT+01:00 Rémy Maucherat : >> > 2014-03-19 16:36 GMT+01:00 Yann Simon : >> > >> >> I have maybe found another problem: >> >> onAllD

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 17:05 GMT+01:00 Rémy Maucherat : > 2014-03-19 16:36 GMT+01:00 Yann Simon : > >> I have maybe found another problem: >> onAllDataRead is called with the same thread that is calling input.read. >> > > I am not aware of any requirement that says this is not a

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
2014-03-19 16:42 GMT+01:00 Mark Thomas : > On 19/03/2014 15:36, Yann Simon wrote: >> Hi, >> >> I have maybe found another problem: >> onAllDataRead is called with the same thread that is calling input.read. >> >> I updated the sample to show the problem: >

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-03-19 Thread Yann Simon
mpl: onDataAvailable [Thread 26] onDataAvailable end [Thread 27] onAllDataRead [Thread 27] read till now: 234 (onAllDataRead is called defore "read till now" with the same thread) Can you check that? Thanks! Yann 2014-02-01 15:13 GMT+01:00 Yann Simon : > > On Jan 31, 2014 7:36 PM,

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-02-01 Thread Yann Simon
On Jan 31, 2014 7:36 PM, "Mark Thomas" wrote: > > On 31/01/2014 11:52, Yann Simon wrote: > > On Jan 31, 2014 10:25 AM, "Mark Thomas" wrote: > >> > >> On 31/01/2014 07:58, Yann Simon wrote: > >>>>>> On Jan 30, 2014, at 11:18 A

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-31 Thread Yann Simon
On Jan 31, 2014 10:25 AM, "Mark Thomas" wrote: > > On 31/01/2014 07:58, Yann Simon wrote: > >>>> On Jan 30, 2014, at 11:18 AM, Yann Simon > > > Jetty seems to allow this. Why not tomcat? Is there something in the > > specification about it. I could n

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
On Jan 30, 2014 11:02 PM, "Daniel Mikusa" wrote: > > On Jan 30, 2014, at 3:38 PM, Yann Simon wrote: > > > 2014-01-30 Daniel Mikusa : > >> On Jan 30, 2014, at 11:18 AM, Yann Simon wrote: > >> > >>> Hi, > >>> > >>>

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
2014-01-30 Daniel Mikusa : > On Jan 30, 2014, at 11:18 AM, Yann Simon wrote: > >> Hi, >> >> I wrote a sample app to demonstrate the problem: >> https://github.com/yanns/servlet31_async >> >> You can generate an exploded war with maven: mvn war:explod

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
2014-01-30 Rémy Maucherat : > 2014-01-30 Yann Simon : > >> Hi, >> >> I wrote a sample app to demonstrate the problem: >> https://github.com/yanns/servlet31_async >> >> You can generate an exploded war with maven: mvn war:exploded >> I deployed t

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-30 Thread Yann Simon
work. https://github.com/yanns/servlet31_async/blob/master/src/main/java/com/yann/ReadListenerImpl.java#L22 The "onDataAvailable" is called only one time. With jetty, it does work (mvn jetty:run) I hope this can help. Yann 2014-01-08 Yann Simon : > 2014/1/8 Daniel Mikusa : >>

Re: Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-08 Thread Yann Simon
2014/1/8 Daniel Mikusa : > On Jan 8, 2014, at 12:04 PM, Yann Simon wrote: > >> Hi, >> >> I am trying to write a servlet that asynchronously read data from the >> servlet request input stream. >> I tested my servlet with tomcat 8.0.0-RC5. > > If possible,

Tomcat 8.0.0-RC5: asynchron IO and back pressure with ReadListener

2014-01-08 Thread Yann Simon
Hi, I am trying to write a servlet that asynchronously read data from the servlet request input stream. I tested my servlet with tomcat 8.0.0-RC5. the symptoms: - I must synchronously read the input stream in onDataAvailable() so that the upload works what I expected: I want to be more "reactive

  1   2   3   >