but it was near the valve overview
page:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Does anyone have any experience starting access logging using the valve
statement?
Thanks,
Rob
-
To start a new topic
r browsers work fine. My
https connector is pretty standard:
Anyone run across this before? I've looked around the web but haven't found
anything like this. It's got me baffled.
Best Regards,
Rob
-
To
hat help at all?
Rob
-Original Message-
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 6:05 PM
To: Tomcat Users List
Subject: RE: Intermittant images using https on tomcat
would they (the images) perhaps be cached in under http? And trying to
access that whe
Hi Barry,
It's only IE that has the problem. I've checked the URLs and they're fine.
Sometimes the images appear and other times they don't, like there's a
timeout problem in the https connector or something like that. Images under
http work fine - haven't s
Why not implement the HttpSessionListener and handle session timeouts
from that perspective? I've had success using this method, but don't
know if that will work for your scenario...HTH
- Original Message -
From: "Brian Blount"
To: users@tomcat.apache.org
Subject: Detecting Sessio
between protocols in the same session was
disabled. A few books we've looked at have not helped - I thought this
request would be more popular for web app developers but now I'm not sure.
Does anyone have any thoughts on this?
Any help is great
Any thoughts, ideas, comments, quotes, anything? I've searched pretty well,
I think, and I don't see any responses to this problem. Is that strange? I
thought a lot of people would use tomcat for a e-commerce or retail webapp,
where some pages were https and some http using the same
You should not see "javax" in current tomcat work. Check your tag library
dependancy
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Did you not see my reply?
In tomcat 10 and above idont think you should see reference to javax in stacks.
I suspect your tags library is out of date, non compliant
You often don't see your own posts on the email fora without specific config.
>
---
Thanks for this information Chris. I can probably create this
dependency, but then I wouldn’t want it to be running all the time,
will having it as a dependency start said service? I could use
Procrun to probably do this service, but then how do I tell it to run
and then stop?
I honestly ha
On 12/5/23 12:01, Niranjan Rao wrote:
Greetings,
I'm missing something obvious and hoping that someone can point my
nose in right direction.
We have a application WAR file that works fine on tomcat 7.0.78. We're
trying to migrate this application to 9.0.82. When trying to hit the
pages,
On 1/5/24 07:31, Jalaj Asher wrote:
Omkar,
2 questions
1. when you say processes what processes are you seeing being invoked and does
it stop at 200 processes. May be a screen shot might help
2. does the tomcat have read write privilege on all its folders ? If not does
giving those rights hel
> On Feb 8, 2024, at 9:04 AM, Rick Noel wrote:
>
> I built my app in Eclipse and the build path is set to use the migrated
> jar.
> It compiles without error on Eclipse and using the migrated jar. I have that
> same migrated jar in the Tomcat lib
> But when tomcat 10 compiles it does not
On 6/28/24 06:59, Chaudhary, Mohit wrote:
Hello Team,
Please let us know on below query.
Thanks & Regards,
Mohit Chaudhary
-Original Message-
From: Chaudhary, Mohit
Sent: Friday, June 28, 2024 12:01 AM
To: users@tomcat.apache.org
Subject: Compatibility Check Tomcat 10.1.x with IBM
> On Aug 6, 2021, at 10:17 AM, Konstantin Kolinko
> wrote:
>
> пт, 6 авг. 2021 г. в 01:33, James H. H. Lampert
> :
>> org.xml.sax.SAXNotRecognizedException: Feature:
>> http://apache.org/xml/features/allow-java-encodings
>>
>> org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLRead
>
> On Aug 6, 2021, at 8:31 PM, Mohan T wrote:
>
> Dear All,
>
> Any inputs on this. We are not getting a break in this.
Did upgrading change anything?
You may want to layout your configuration and why you think it should work.
Which version of Java, etc?
Is the Access Log Valve available for use in an embedded environment?
Thank you. Does this look like a believable deployment (presuming the
property is in fact set)?
cat ./localhost/sgs/META-INF/context-valve.xml
On 11/23/21 10:38 AM, Mark Thomas wrote:
On 23/11/2021 16:48, Rob Sargent wrote:
Is the Access Log Valve available for use in an
On 11/23/21 10:55 AM, Mark Thomas wrote:
On 23/11/2021 17:42, Rob Sargent wrote:
Thank you. Does this look like a believable deployment (presuming
the property is in fact set)?
cat ./localhost/sgs/META-INF/context-valve.xml
No.
A context.xml file placed in META-INF
I'm using an embedded tomcat (ver9.0.54) and I don't see how to
name/redirect the output of ServletContext.log(String).
I see in the manual
This logging is performed according to the Tomcat logging
configuration. You cannot overwrite it in a web application.
I missing the "Tomcat logging
On 12/1/21 12:32 PM, Mark Thomas wrote:
On 01/12/2021 19:24, Rob Sargent wrote:
I'm using an embedded tomcat (ver9.0.54) and I don't see how to
name/redirect the output of ServletContext.log(String).
I see in the manual
This logging is performed according to the Tomc
On 12/1/21 12:32 PM, Mark Thomas wrote:
On 01/12/2021 19:24, Rob Sargent wrote:
I'm using an embedded tomcat (ver9.0.54) and I don't see how to
name/redirect the output of ServletContext.log(String).
I see in the manual
This logging is performed according to the Tomc
> On Dec 30, 2021, at 4:03 PM, Eric Robinson wrote:
>
> Chris,
>
> If I want to ignore the vendor's recommendation and try connection pooling
> anyway, is that something I can enable with a config file setting, or do they
> actually have to trigger it from within their code?
>
Up thread, d
> On Dec 30, 2021, at 4:33 PM, Eric Robinson wrote:
>
> Hi Rob,
>
>>> On Dec 30, 2021, at 4:03 PM, Eric Robinson
>> wrote:
>>>
>>> Chris,
>>>
>>> If I want to ignore the vendor's recommendation and try connection
>>
With version number as a surrogate date. I didn’t see any mention in the
changelog.
Thanks,
rjs
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ve located the relevant releases of vaadin which break the spring
dependencies and am heading over there now, so this Apache issue is of less
importance to me.
Thanks,
rjs
> On Jan 15, 2022, at 4:21 AM, Mark Thomas wrote:
>
> On 15/01/2022 02:42, Rob Sargent wrote:
>> With vers
And bingo! 9.0.31. Please pardon my “find” skills
> On Jan 16, 2022, at 3:05 AM, Mark Thomas wrote:
>
> On 15/01/2022 22:24, Rob Sargent wrote:
>> Wow. On
>> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>> <https://nightlies.apach
On 2/7/22 14:50, Robert Turner wrote:
All
I'm hoping that someone can point me in the right direction as this issue
has been baffling me all day, and I'm starting to run out of ideas of what
to look at next.
The logic below is working without issue until I move our test environment
into a Do
his of
course...but might be necessary)
- construct a trivial application reproduction, along with docker layout,
and see if anyone else can reproduce... (assuming anyone else has time to
do that of course...)
Anyone got any suggestions of what to look into next?
On Mon, Feb 7, 2022 at 5:05 PM
nd it more completely in any case.
Thanks for your help Mark, Rob S and Neil.
Is docker the new regexp? You know: I had a problem. Used docker to
solve it. Now I have two problems.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.
Using tomcat 9.0.58 I have a propertiesfile supplied to my embedded
tomcat which includes
SGSSRVR_databasePort = 5432
SGSSRVR_databaseHost = localhost
and in my app-specific web.xml I have
databaseHost
${SGSSRVR_databaseHost}
java.lang.String
I think I see the problem: and extra colon has snuck in to the url -
localhost:5432*":"*/tbar
Sorry for the noise.
On 3/10/22 09:40, Rob Sargent wrote:
Using tomcat 9.0.58 I have a propertiesfile supplied to my embedded
tomcat which includes
SGSSRVR_databasePort
> On Mar 11, 2022, at 6:50 AM, Mark H. Wood wrote:
>
> On Thu, Mar 10, 2022 at 09:40:48AM -0700, Rob Sargent wrote:
>> About context/context/value: I have this context.xml. Is the value
>> correctly inside the outer Context?
>>
>>
>>
>
> On Mar 11, 2022, at 8:17 AM, Thomas Hoffmann (Speed4Trade GmbH)
> wrote:
>
>
>
>> -Ursprüngliche Nachricht-
>> Von: Rob Sargent
>> Gesendet: Freitag, 11. März 2022 15:14
>> An: Tomcat Users List
>> Betreff: Re: correc
> On Mar 12, 2022, at 9:59 AM, Christopher Schultz
> wrote:
>
> Rob,
>
Chris,
Yes I see that. Wasn’t really worried about context at the time of that post. I
would argue though that the message is a tad obtuse.
I’ll clean up the code generating that context.xml. Luckily
On 3/22/22 11:21, Rony G. Flatscher (Apache) wrote:
For debugging purposes I downloaded the zip-version of Tomcat 10.0.18 and start
it up using
%CATALINA_HOME%\bin\startup.bat.
This will create by default a separate process (terminal, commandline window)
in which Tomcat runs
and dispatches
On 3/24/22 13:27, Peter Chiu wrote:
Application builder->Your application->Shared Components->Application
Definition Attributes->Properties->Friendly URLs
And that does what, exactly?
-
To unsubscribe, e-mail: users-unsub
On 3/29/22 10:54, Senguttuvan, Gopalakrishnan (CWM-NR) wrote:
Hi Thomas,
Thanks for the response.
This issue occurred when I have start the Tomcat server in Linux-QA machine.
Regards,
Gopalakrishnan S
Double check your runtime environment - something there is out of whack
I suspect.
--
I'm seeing a new-to-me deployment failure and am at a loss to explain.
Using tomcat 9-0-63 (and getting
Caused by: java.lang.IllegalArgumentException: More than one
fragment with the name [org_apache_jasper_el] was found. This is not
legal with relative ordering. See section 8.2.2 2c o
On 5/17/22 01:24, Mark Thomas wrote:
On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Hello,
-Ursprüngliche Nachricht-
Von: Rob Sargent
Gesendet: Dienstag, 17. Mai 2022 00:38
An: users@tomcat.apache.org
Betreff: embeded tomcat apache-jasper dependency
I'm see
On 5/18/22 12:21, Rob Sargent wrote:
On 5/17/22 01:24, Mark Thomas wrote:
On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote:
Hello,
-Ursprüngliche Nachricht-
Von: Rob Sargent
Gesendet: Dienstag, 17. Mai 2022 00:38
An: users@tomcat.apache.org
Betreff: embeded tomcat
This part always confuses me
I supply the trust and key store files on the command line and I see the
SAN for the tomcat server IP (in ObjectId #3). I try to connect to
tomcat by host-IP and port. Here's the text of the keystore sent in.
Keystore type: PKCS12
Keystore provider: SUN
I had this overall configuration working until I 'terminated' the AWS
server instance and am trying to rebuild.
Could a lack of network connectivity between client and server
present this same symptom?
Hmm. Your SAN looks okay to me. Are you 100% sure you have that
certificate configured
On 6/2/22 11:43, Rob Sargent wrote:
I had this overall configuration working until I 'terminated' the
AWS server instance and am trying to rebuild.
Could a lack of network connectivity between client and server
present this same symptom?
Hmm. Your SAN looks okay to me. A
Hang on. I'm panicking. I have a plane to catch in 3 hours and need
this working by then.
ws s3 cp fullca.p12 s3://691459864434-sgs-source/certs/sgstrust.p12
splatting one file on top of the other
Midway through this email when you last came in: "Not running" is
spot-on becase...
T
java -Djavax.net.ssl.keyStore=/ppr/certs/sgstrust.p12
-Djavax.net.ssl.keyStoreType=PKCS12
-Djavax.net.ssl.keyStorePassword=p1
-Djavax.net.ssl.trustStore=/ppr/certs/fullca.p12
-Djavax.net.ssl.trustStoreType=PKCS12
-Djavax.net.ssl.trustStorePassword=p2
--oper=1 --seg=id
I'm starting both the server and the client with both key and trust.
Does that bite?
I would avoid giving access to the key to anything that doesn't
absolutely need it. Usually, only the server needs access to the key.
-chris
---
On 6/2/22 16:06, Rob Sargent wrote:
I'm starting both the server and the client with both key and trust.
Does that bite?
I would avoid giving access to the key to anything that doesn't
absolutely need it. Usually, only the server needs access to the key
On 6/14/22 12:43, Rob Sargent wrote:
On 6/2/22 16:06, Rob Sargent wrote:
I'm starting both the server and the client with both key and
trust. Does that bite?
I would avoid giving access to the key to anything that doesn't
absolutely need it. Usually, only the server needs
On 6/14/22 13:06, Christopher Schultz wrote:
Thanks so much for your perseverance.
On 6/14/22 14:43, Rob Sargent wrote:
Let's get one thing working at a time. I reviewed this thread, and I
honestly can't figure out exactly what you are trying to do. Can you
please clarify?
1.
> On Jun 15, 2022, at 7:45 AM, Christopher Schultz
> wrote:
>
> Rob,
>
>> On 6/14/22 15:38, Rob Sargent wrote:
>> On 6/14/22 13:06, Christopher Schultz wrote:
>> Thanks so much for your perseverance.
>
> No problem. Anything to avoid doing $work.
Chris,
Back at my desk and going through you notes again.
On 6/14/22 14:43, Rob Sargent wrote:
Let's get one thing working at a time. I reviewed this thread, and I
honestly can't figure out exactly what you are trying to do. Can you
please clarify?
1. "I want to get Tomc
> On Jun 22, 2022, at 11:36 PM, Markus Reich wrote:
>
> Hi,
>
> I'm trying to precompile a JSF application, I follow the instructions on
> https://tomcat.apache.org/tomcat-9.0-doc/graal.html.
>
> I got a lot of errors like
> Caused by: java.lang.ClassCastException: class
> com.sun.faces.tag
> On Jun 23, 2022, at 12:53 AM, Markus Reich wrote:
>
> yes, it seems that in the pom tomcat 10 is specified, does this make any
> difference?
> 10.0.18
>
>> Am Do., 23. Juni 2022 um 08:30 Uhr schrieb Rob Sargent <
>> rsarg...@xmission.com>:
>>
>
On 7/16/22 16:14, Amn wrote:
You read my mind! I was going to ask this very question, if not
today... tomorrow.
I am looking forward to see the replies to this question.
On 2022-07-15 5:22 a.m., Jasmin Ćatić wrote:
Hello,
Can someone please give me a step by step guide on how to make my to
On 8/15/22 19:55, Shakila Rajaiah wrote:
Earlier Noelette replied:
It looks like you have multiple locations/instances of the same jar
file (jasper-el.jar by the looks of the error message). This is
typically included with tomcat. Are you also including a version with
your application?
I t
On 8/30/22 06:11, Arshiya Shariff wrote:
Hi All ,
We have migrated our application (which transports http/2 packets) from
embedded tomcat version 9.0.38 to 9.0.56 in production .
We observe that , in 9.0.56 mixed GC occurs less frequently than in 9.0.38 ,
but when it happens there are GC P
On 9/22/22 14:00, Cannatella, Douglas wrote:
Hi All,
We are currently using Tomcat 8.5.53 and tried to upgrade patch 8.5.81 & 8.5.82
using Ivanti Patch tool.
Our project is using OpenJDK version: 1.8.0_242, Microsoft Framework 4.0.0
running TR/ OneSource Indirect Tax Determination
The patch
On 9/23/22 09:20, Cannatella, Douglas wrote:
Hi All,
We are currently using Tomcat 8.5.53 and tried to upgrade patch 8.5.81 & 8.5.82
using Ivanti Patch tool.
Our project is using OpenJDK version: 1.8.0_242, Microsoft Framework 4.0.0
running TR/ OneSource Indirect Tax Determination
Ivanti pa
On 9/27/22 14:37, Thomas Hoffmann (Speed4Trade GmbH) wrote:
How much memory did you configure for your java environment? --> Xmx Parameter
If the java process eats too much memory, you can write a memory dump when an
OOM exception occurs.
E.g. with the parameters: -XX:+HeapDumpOnOutOfMemoryE
> On Sep 30, 2022, at 5:17 AM, Janardhanan, Veni
> wrote:
>
>
> Hi Chris,
>
> I executed the command that you asked and below is it’s output.
>
Paste the text of the output. Not a screen shot
>
>
>
> On Oct 8, 2022, at 9:36 AM, Martin Moore wrote:
>
> Hello,
>
> I am facing a problem using Tomcat V8 with my J2ee app that deletes (using
> file.delete() Java 8) a file from disk (Windows). The file is actually
> deleting only on application level meaning that the application does not
> see
> On Oct 9, 2022, at 8:54 AM, Martin Moore wrote:
>
> @thomas.hoffm...@speed4trade.com.invalid
> how to use the debugger in this
> case ?any documentation pls ?
> @Rob Sargent i posted most of the methods used in the app, but yes JVM is
> holding off on deleting the
> On Oct 24, 2022, at 8:36 AM, Christopher Schultz
> wrote:
>
> Darious,
>
> On 10/24/22 04:10, Strib wrote:
>> Due to the security echelon of the network, I can not send the entire
>> stacktrace.
>> However, I can say that it also states the web app archives are not
>> starting. (IllegalStat
On 10/30/22 23:42, Mohan T wrote:
Dear All,
We are using the Tomcat with the following combination.
We are facing partial commit (Transaction is not getting rolled back).
App Server Apache tomcat server: apache-tomcat- 9.0.65.0
JDK version openjdk
On 11/4/22 08:10, Ganesan, Prabu wrote:
Hi team
Can you please help me with following:
What purpose does the values in the Environment tags and the values
inside context.xml serve?
What purpose does the WatchedResource tags and the values inside the
context.xml serve?
(Explain how the
Are there any semantics to Resourse name attributes?
Or is no more or less valid than
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On 11/7/22 14:26, Christopher Schultz wrote:
Rob,
On 11/7/22 14:09, Rob Sargent wrote:
Are there any semantics to Resourse name attributes?
Or is no more or less valid
than
As far as Tomcat is concerned, it's basically the Wild West.
Some other application servers (usuall
I trying to get the list of available db resources to send to a web
page. My context.xml file below is generated at startup since the
user(s) and dbs change regularly and I would like to see "who's on
first" from my monitor servlet. I tried context.getEnvironment() but
that's empty. Is ther
> On Nov 25, 2022, at 4:28 PM, Amn Ojee Uw wrote:
>
> Hey folks!
>
> The issue :
> ~~~
>
> I just installed 'apache-tomcat-10.0.27.tar.gz' in my Debian 11 (stable) box,
> running OpenjDK 17.0.4, this was done following the recommendation on 'How to
> Install Apache Tomcat on Debian 11
> On Nov 26, 2022, at 4:54 AM, Amn Ojee Uw wrote:
>
> Please excuse my ignorance, buy what log would that be and how can I get to
> it?
>
> On 2022-11-26 2:23 a.m., Thomas Hoffmann (Speed4Trade GmbH) wrote:
>>> -Ursprüngliche Nachricht-
>>> Von
On 11/27/22 10:05, Amn Ojee Uw wrote:
Thank you folks for the help, but as you might've guess, I am not well
verse in Tomcat, I am just a student of it, let alone trouble shooting
it. So, in '/opt/tomecat/opt' I found these files, which just might be
able to shed some light in the eyes of a
On 12/13/22 09:07, EXT-Denton, Sam T wrote:
This is probably answered somewhere, but will Tomcat 9 support Jakarta EE as
well as Java EE?
Sam Denton
Advisor, Solutions Architect
Mobile (314) 827-4017
24x7 SBS Suppot (405) 312-9936
Advanced Leave Notice: I will be out from Fri, 12/23, thr
On 12/13/22 22:25, dineshk wrote:
Hi Mark,
I guess you are right , I tried with simple web application and JNDI look up
fails in both tomcat 7.x and 9.x if the current thread context class loader is
changed but strangely when we deploy our application which uses hibernate
(4.3.11) , it do
On 12/30/22 17:59, Shawn Heisey wrote:
On 12/30/22 17:03, Carles Franquesa wrote:
Once downloaded, installed, and configured in the settings of the
netbeans project, the error has changed, what always is very hopeful.
Now, the thing is that the compiler gives this new output:
image.png
Tr
On 1/23/23 12:29, m...@cvkimball.com wrote:
Dear Folks,
I installed Java JDK 17 and Tomcat 10.1 on my better half's Mac Pro
M1-based processor. It ran without problems!
You have to admit that that is painfully close to "Works on my box". ;)
Thanks,
Chris
---
On 2/26/23 19:28, Ragavendhiran Bhiman (rabhiman) wrote:
Hi
we are facing log rotation issue in apache tomcat. Our configurations like below
handlers = 1catalina.org.apache.juli.AsyncFileHandler,
2localhost.org.apache.juli.AsyncFileHandler,
3manager.org.apache.juli.AsyncFileHandler,
4host
On 3/8/23 12:54, James H. H. Lampert wrote:
On 3/8/23 11:35 AM, Mark Thomas wrote:
Check logging.properties and/or how you have stdout redirected in
your start-up scripts.
Thanks.
All I see different in logging.properties is that on the Midrange box
(installed from the ZIP file from Apach
On 3/8/23 13:47, Rob Sargent wrote:
On 3/8/23 12:54, James H. H. Lampert wrote:
On 3/8/23 11:35 AM, Mark Thomas wrote:
Check logging.properties and/or how you have stdout redirected in
your start-up scripts.
Thanks.
All I see different in logging.properties is that on the Midrange box
On 3/15/23 22:01, LANDER Tim wrote:
Hi, I've noticed that service.bat and Tomcat.exe (Actually all exe's:
https://github.com/apache/tomcat/blob/6de806a21adc68a23aa4043c67c0d80bbab1c458/build.xml#L2825-L2828)
are excluded from the tomcat maven artefact (org.apache.tomcat:tomcat). What's
the
> On Apr 5, 2023, at 5:04 AM, P M, SRIHARIKUMAR (Consultant)
> wrote:
>
>
> Hi Team,
>
> While validating source for Apache Tomcat 10.0.26, The shortcut is throwing
> error while launching. Please find the results below
>
> Tomcat Version : 10.0.26
>
> Operating system : Windows 10
>
On 5/1/23 14:36, Christopher Schultz wrote:
Jeremy,
On 5/1/23 14:22, Jeremy Nguyen wrote:
I'm trying to upgrade Tomcat 8 to 8.5 and I'm getting a
nullpointerexception within
WebappClassLoaderBase.CombinedEnumeration.inc.
It seems to occur when it's trying to initialize commons-logging
LogF
On 5/23/23 10:13, James H. H. Lampert wrote:
On 5/23/23 8:31 AM, Christopher Schultz wrote:
Can you dump the whole cert (e.g. keytool -list -v -alias 'certname')
for each cert and see if any of the certificates specify a maximum
chain length somewhere? Evidently, it's an extension to the X.5
On 6/2/23 14:00, jonmcalexan...@wellsfargo.com.INVALID wrote:
Good afternoon,
Have a team that just upgraded to 8.5.89 from 8.5.72 and started getting these
messages in the logs:
[2023/06/01][01:05:10.012] : [INIT] - EPMSend (init) - EPMSend = SOAP
[2023/06/01][01:05:10.012] : [INIT] - EPMS
In /etc/rc.local I have:
--
sleep 120s
systemctl start tomcat9
-
I put the sleep in back a couple of years ago that for some reason
'fixed' this same random, intermittent crypto file exception.
You mentioned earlier that you had recently tried a 3
> On Jun 21, 2023, at 11:29 AM, Timothy Ward wrote:
>
> I tried the following:
>
> import javax.servlet.http.HttpServletRequest;
> import javax.security.cert.Certificate;
> import javax.security.cert.X509Certificate;
>
> X509Certificate[] certs = (X509Certificate[])
> getHttpServletRequest()
Since the connection URL names a specific postgres database is it
standard practice to have a pool per target database? (Switching
databases in postgres amounts to closing/opening a connection.)
I'm using tomcat 9.0.+ and wish to use the built in connection pooling
to connect to a postgres server.
I would like to understand the lookup mechanism for the next available
connection. I create a context
contextResource.setName("jdbc/sgsdb");
contextResource.setType("javax.sql.DataSou
he feedback and knowledge sharing
On 11/24/20 6:28 AM, Christopher Schultz wrote:
Rob,
On 11/19/20 12:38, Rob Sargent wrote:
Since the connection URL names a specific postgres database is it
standard practice to have a pool per target database? (Switching
databases in postgres amounts to cl
replacement" bit. Are both equally sound, supported,
surviving? I try to use what I think is the safest longer term bet (my
retirement is nigh, it shouldn't take the code with it :) )
On 11/24/20 8:28 AM, Phil Steitz wrote:
On 11/24/20 8:14 AM, Rob Sargent wrote:
Thanks. I get it
For those scoring at home, I'm going to try managing pool-per-user
myself for the potential jmx gain and as I said, two will be amazing
success.
On 11/25/20 9:40 AM, Christopher Schultz wrote:
Phil and Rob,
On 11/24/20 11:26, Phil Steitz wrote:
On 11/24/20 8:52 AM, Rob Sargent
Looks like you named your resource jdbc/dspaceWeb and dropped the Web in your
lookup
> On Nov 26, 2020, at 12:58 PM, Hrafn Malmquist
> wrote:
>
> Good day fellow Apache Tomcat users
>
> I have recently had reason to set a Postgres DataSource via the Tomcat JNDI
> api. My experiments have bee
Is there something similar for embedded tomcat on linux?
On 12/1/20 3:58 PM, Bill Stewart wrote:
Documentation and installer source:
https://github.com/Bill-Stewart/ApacheTomcatSetup
Download installer:
https://github.com/Bill-Stewart/ApacheTomcatSetup/releases
--
I'm old and easily confused: does an embedded tomcat server read (any)
context.xml file? I find conflicting answers /out there./
Using tomcat 9.0.40
embeddedTomcat =new Tomcat();
embeddedTomcat.setPort(tomcatPort);
embeddedTomcat.enableNaming();
embeddedTomcat.getConnector();// an
typo: should read "none of which are named in the web.xml" (not "which
are NOT" as below)
On 12/2/20 11:31 AM, Rob Sargent wrote:
I'm old and easily confused: does an embedded tomcat server read (any)
context.xml file? I find conflicting answers /out ther
the DataSource,
which I need to be able to change the current database (in a postgres sense)
> On Dec 3, 2020, at 8:06 AM, Christopher Schultz
> wrote:
>
> Rob,
>
> On 12/2/20 13:31, Rob Sargent wrote:
>> I'm old and easily confused: does an embedded tomcat serv
will be only one and for me a user is associated
with only one database.)
Really great to hear that lookup() is not my biggest concern;)
Thanks again,
rjs
On 12/3/20 3:18 PM, Christopher Schultz wrote:
Rob,
On 12/3/20 11:03, Rob Sargent wrote:
Thanks for you time. Your response goes a lo
My apologies if this is too vague to warrant consideration.
In the recent past I managed a naked port, a Selector, a
ThreadPoolExecutor and friends (and it worked well enough...) but a dear
and knowledgeable friend suggested embedding tomcat and using http.[3]
I have that working, one request
Chris,
Thank you for the completeness. I always miss on getting the correct detail
(too little, too much) in my postings.
> On Dec 11, 2020, at 11:31 AM, Christopher Schultz
> wrote:
>
> Rob,
>
> On 12/9/20 23:58, Rob Sargent wrote:
>> My apologies if this
Chris,
This is _so_ helpful.
On 12/11/20 3:00 PM, Christopher Schultz wrote:
Rob,
On 12/11/20 15:00, Rob Sargent wrote:
> [huge snip]
Your “Job” example seems along the lines of get-it-off-the-servlet,
which again points back to my current queue handler I think.
Yes, I think so. So le
1 - 100 of 397 matches
Mail list logo