Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread David
C as well until restarting tomcat. During the issue the log timestamp remains in CDT as expected, even though values passed are UTC. I have explicitly defined the timezone in setenv.sh with no change in behavior. Any thoughts as what to investigate are greatly appreciated. Thanks, David

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread David
t may be the cause but is triggered by load/db contention. Lower environments that don't show the issue don't have much traffic as they are for dev/uat/etc. Thanks all! David On Fri, Oct 28, 2022, 02:51 Konstantin Kolinko wrote: > чт, 27 окт. 2022 г. в 18:31, David : > > >

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread David
022, 09:22 David wrote: > I'll see if I can answer all queries. > > The server doesn't migrate, at least not across timezones. It is a > nutanix virtual though, so migration between hosts locally is possible. > > There is a Java app that allows a user to reset their passwo

Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

2020-08-27 Thread David
open to any suggestions that would be able to automate a resolution to keep the system from experiencing downtime, or for any insight on where to look for a root cause. Thanks in advance for any guidance you can lend. Thanks, David

Re: Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

2020-08-27 Thread David
On Thu, Aug 27, 2020 at 12:35 PM Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > David, > > On 8/27/20 10:48, David wrote: > > In the last two weeks I've had two occurrences where a single > > CentOS 7 production serv

Re: Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

2020-08-27 Thread David
Thank you all for the replies! On Thu, Aug 27, 2020 at 3:53 PM Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > David, > > On 8/27/20 13:57, David wrote: > > On Thu, Aug 27, 2020 at 12:35 PM Christopher Schultz > > wrote: >

Re: Tomcat 9.0.29 - HTTPS threads age, max connections reached, Tomcat not responding on 8443

2020-08-27 Thread David
On Thu, Aug 27, 2020 at 4:30 PM Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > David, > > On 8/27/20 17:14, David wrote: > > Thank you all for the replies! > > > > On Thu, Aug 27, 2020 at 3:53 PM Christopher Schultz >

unexpected session behavior in Tomcat 5.x

2007-04-28 Thread David
note, in step 3) the HttpServletRequest object reports that the session is coming from a cookie, not the URL. Any thoughts on what might be going on here? My first thought is that this is a bug in Tomcat. Guidance on how to further debug this issue, or come up with a work-around is greatly appreciated. David

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread David
est object and has stripped off the Session 2 session id on the encoded URL from step 2). David On 4/28/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: On 4/28/07, David <[EMAIL PROTECTED]> wrote: > I'm hoping someone can shed light on some session anomalies I'm seeing with

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread David
the servlet in step 2) not transmit the cookie and reuse the same original session, but it is sent and reused in step 3)? Second, why does the configuration for turning off cookies not work under Tomcat 5.0? Thanks, again. David On 4/28/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote:

Validation of certificates through OCSP

2007-10-25 Thread David
Hello, There was some traffic regarding OCSP and the possibility to implement it (there's even a thread dealing with JDK-native support ) Is anything done in this respect? Otherwise , I don't know what are the options I can follow. I found the package "jGuard" which apparently provices OCSP valid

tomcat compile failure on debian build.xml base.path for JDT eclipse jars et. al.

2007-07-02 Thread david
TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) Please advise, David. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: auto-run updated classes

2008-02-01 Thread David
Where is the context element located (which xml file)? Thanks David Schwartz [EMAIL PROTECTED] -Original Message- From: Christopher Schultz <[EMAIL PROTECTED]> Date: Fri, 01 Feb 2008 09:42:27 To:Tomcat Users List Subject: Re: auto-run updated classes -BEGIN PGP SIGNED M

TC doco about overlapping Apache DocumentRoot with TC appBase?

2009-01-11 Thread david
Hello TC users all, I am attempting to employ: mod_jk/mod_proxy_http/mod_proxy_ajp to proxy requests from my httpd to TC. I have a .war deployed to accept the requests. I am having some issues with the CSS content not getting rendered. Reading the TC doco I came across the following Red Highlig

Re: tomcat 6 apache 2.2 jk connector: auto config?

2009-01-12 Thread david
Hello Johnrock, I don't have a solution. Just to let you know that I have been trying auto and mod_proxy on my Linux box but neither one has worked 100% (partial success here is still a loss). If you solve the problem let us know. :-O David. johnrock wrote .. > > I am trying to

Multiple Apache with mod_jk managing the same Tomcat Cluster

2011-07-27 Thread David
Hi, i have one Apache Server with mod_jk who loadbalances Traffic to six Tomcat Servers. Is it possible to have a second loadbalancer for the same Tomcat Cluster? Traffic for both loadbalancers could be shaped through DNS Round Robin. Actually I already tested this but the setup crashed the Tomca

Rename localhost log

2010-12-24 Thread David
Is there a config param or other way to rename the log file? Thanks David Schwartz d...@arrayone.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Rename localhost log

2010-12-24 Thread David
Using tomcat 6. --Original Message-- From: Caldarale, Charles R To: Apache Jakarta TomCat ReplyTo: Apache Jakarta TomCat Subject: RE: Rename localhost log Sent: Dec 24, 2010 3:58 PM > From: David [mailto:d...@arrayone.com] > Subject: Rename localhost log > Is there a config

JAASRealm-based Login Fails After Upgrade from 5.0 to 5.5

2005-11-23 Thread Shaw, David \(David\)
; and "web.xml" are below. Thanks, David Snippet of server.xml ... End snippet from server.xml Snippet from web.xml 403 /WEB-INF/webpages/error/403.jsp

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread david w
task could run your script for you. this script would require possibly administrator rights in order to actually perform any file operations that your script would need to do, but this is your call and it wouldn’t compromise the tomcat service or service account so could be an alternative. David

Disabling cipher warning

2023-08-29 Thread David Cleary
2023-08-29T15:31:57.840-04:00 WARN [main] o.a.t.u.n.j.JSSEUtil - Some of the specified [ciphers] are not supported by the SSL engine and have been skipped: [Dozens of OpenSSL ciphers] We use OpenSSL and moving to Tomcat 10.1.13 has caused an overload of useless information to appear when start

Should allowHostHeaderMismatch be case sensitive

2023-12-11 Thread David Cleary
lt of false, is supposed to reject requests based on the case of the host name. Thanks David Cleary Progress

How to properly enable logging in "org.apache.catalina.core.StandardContext"

2024-02-29 Thread David Karr
In our SpringBoot services, we sometimes run into situations where we get an exception like this: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat It do

Tomcat in a Windows environment : new keystore possibilities

2024-04-08 Thread David Wooffindin
Referring to the documentation on Apache Tomcat 9 Configuration Reference (9.0.87) - The HTTP Connector keystore types, i wanted to get mentioned that a new set of possibilities is available with newer java builds, when

Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
Hello Referring to the documentation on Apache Tomcat 9 Configuration Reference (9.0.87) - The HTTP Connector keystore types, i wanted to get mentioned that a new set of possibilities is available with newer java builds,

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
If you can share a way for this to not be necessary, I'm all ears...😁 David Wooffindin From: Bill Stewart Sent: Monday, April 8, 2024 4:22:37 PM To: Tomcat Users List Subject: Re: Tomcat on Windows : new keystore possibilities On Mon, Apr 8, 2024 at 3:

Re: Tomcat on Windows : new keystore possibilities

2024-04-08 Thread david w
this... David Wooffindin From: Bill Stewart Sent: Monday, April 8, 2024 5:36:47 PM To: Tomcat Users List Subject: Re: Tomcat on Windows : new keystore possibilities On Mon, Apr 8, 2024 at 8:27 AM david w wrote: If you can share a way for this to not be nece

Re: context.xml file location

2024-05-30 Thread David Rush
file named context.xml into the .war file itself, under META-INF directory. David On Thu, May 30, 2024 at 7:35 AM firstName lastName wrote: > I am trying to setup JNDI for tomcat with a java webapp. I am using the > official tomcat docker image (version 10.1.24-jdk21-temurin-jammy). > However,

Re: How to configure Tomcat with a Managed Service Account when using LocalMachine certificates for TLS

2024-06-25 Thread david w
I've had the same experience, but with a regular AD service account, not an MSA. The account needs to have local administrator rights for the certificate to be found and used; setting ACL on the keystores is not enough. David From: Gavioto 🕵 Sent: Tu

Nothing but 404 errors

2024-09-05 Thread David Rush
I've been an avid user of "apt install tomcat9" for years on Ubuntu 22.04 and prior with great success, but I've discovered that the package manager on Ubuntu 24.04 doesn't support tomcat9. So I'm trying to install it from the core binary D/L from tomcat.apache.org I want to use distinct CATALINA

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
file). Copying EVERYTHING from CATALINA_HOME/conf to CATALINA_BASE/conf resolved the issue. David On Thu, Sep 5, 2024 at 8:54 AM David Rush wrote: > Sebastian: > > I want to keep HOME and BASE separate so that when a new version of Tomcat > comes out it's easy to swap the new

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and logging.properties). David On

Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-14 Thread KARR, DAVID
We build SpringBoot applications that reference "tomcat-embed-core" from "spring-boot-starter-jersey". We currently end up with version 10.1.20 of tomcat-embed-core, using spring-boot 3.2.5. There is apparently a CVE for that version of tomcat-embed-core (I don't have the CVE handy right now).

RE: Question about upgrading tomcat-embed-core from 10.1.20 to 10.1.25

2024-09-15 Thread KARR, DAVID
, KARR, DAVID wrote: > We build SpringBoot applications that reference "tomcat-embed-core" from "spring-boot-starter-jersey". We currently end up with version 10. 1. 20 of tomcat-embed-core, using spring-boot 3. 2. 5. There On 15/09/2024 00:37, KARR, DAVID wrote:

403 Error

2021-09-02 Thread David Lau
Start Starting filter 'ProjectJarfileFilter' 03-Sep-2021 03:13:31.474 FINE [main] org.apache.catalina.core.StandardContext.filterStart Starting filter 'InstructorActionFilter' Any assistance would be greatly appreciated. Thanks, David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: 403 Error

2021-09-03 Thread David Lau
Hi Thomas, Thanks for the response. The application uses ADFS authentication, which should be happening through an Apache httpd server, with the application accessed at https://marmoset.eng.uwaterloo.ca. So is the indication here that the ADFS authentication is not working? Thanks, David Lau

RE: CVE-2021-44228 Log4j 2 Vulnerability - Runtime vs compile time Java version

2021-12-13 Thread David Weisgerber
Hi, as far as I read through the details, it is a runtime option of the JRE. So, it does not need any recompilation. However, some websites pointed out that if you are using Tomcat you could bypass the JRE protection. Best regards, David From: Scott,Tim Sent: Monday, 13 December 2021 09:57 To

RE: CVE-2021-44228 Log4j 2 Vulnerability - Runtime vs compile time Java version

2021-12-13 Thread David Weisgerber
protect you. I must repeat, there was a website stating that the presence of tomcat alone would open up another attack vector through log4j2. Best regards, David -Original Message- From: Juri Berlanda Sent: Monday, 13 December 2021 16:03 To: users@tomcat.apache.org Subject: Re: CVE-2021

Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread David Kerber
On 12/29/2021 2:54 PM, Michael B Allen wrote: On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: One of the advantages of moving to Eclipse is that everyone involved in the spec, not just the spec lead, has an equal say in what goes into the spec. That sounds like design by committee which i

RE: Testing Tomcat pre-releases

2022-04-29 Thread David Cleary
> -Original Message- > From: Christopher Schultz > Sent: Thursday, April 28, 2022 12:16 PM > To: Tomcat Users List > Subject: Re: Testing Tomcat pre-releases > > David, > > (Replying to the Tomcat users@ list) > > On 4/28/22 08:45, David Cleary wr

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread David Rush
We successfully deploy multiple webapps by simply dropping .war files into the webapps directory all the time. No problems here. Just sharing my perspective. David On Thu, Aug 4, 2022 at 4:10 PM James H. H. Lampert wrote: > Multiple WAR files work fine for us. But we don't simply &q

Alternatives for AJP

2020-04-10 Thread David Cleary
Some of our customers are currently using the AJP connector. Given the vulnerability and breaking change to address it, now may be a good time to prompt them look at alternatives. One requirement is HTTPS support. What are the alternatives when hosting Tomcat behind Apache httpd, nginx, or IIS?

RE: Alternatives for AJP

2020-04-13 Thread David Cleary
, à 17:45, David Cleary a écrit: >Some of our customers are currently using the AJP connector. Given the >vulnerability and breaking change to address it, now may be a good time >to prompt them look at alternatives. One requirement is HTTPS support. >What are the alternatives when ho

Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-08 Thread David Filip
Hello Everyone! I spent a large part of yesterday and this morning trying to debug an SSL problem on Tomcat 8.5.57 to no avail. I've seen some discussion on either this problem or something related back in 2016, but wanted to confirm what the "correct" solution might be, because I got lost in

Re: Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-08 Thread David Filip
sistent reproducibility. > On Aug 8, 2020, at 5:17 PM, calder wrote: > > On Sat, Aug 8, 2020, 13:59 David Filip <mailto:dfi...@colornet.com>> wrote: > >> Hello Everyone! >> >> I spent a large part of yesterday and this morning trying to debug an SSL >

Re: Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-09 Thread David Filip
e that on the older Macs (macOS 10.12) it never stopped working, and up until about a week ago, it worked correctly on the newer Macs (macOS 10.14), until it didn't, without knowing what changed. Clear as mud? > On Aug 9, 2020, at 3:19 PM, Mark Thomas wrote: > > On August 8, 2020

Re: Tomcat 8.5.(x > 5) & SSL Connections (sun.security.provider.certpath.SunCertPathBuilderException)

2020-08-10 Thread David Filip
would touch anything Java related in their updates (unless it is related to some JNI code that is calling some OS specific stuff somewhere?). Nonetheless, thanks for your feedback, and I'm closing down this thread now. Regards, Dave. > On Aug 10, 2020, at 4:28 AM, Mark Thomas wrote: &

Truststore in HTTPS Connector does not work with Linux

2020-09-08 Thread David Weisgerber
rom version 8.5.5. The error also seems not to be based on the java version, I tried it with Java 8 and Java 14. Under Windows we use Java 9... Is this a Linux specific bug? What is a trust anchor anyway? Thanks in advance, David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

AW: Truststore in HTTPS Connector does not work with Linux

2020-09-08 Thread David Weisgerber
e=WINDOWS-ROOT ____ Von: Luis Rodríguez Fernández [uo67...@gmail.com] Gesendet: Dienstag, 8. September 2020 10:16 An: Tomcat Users List Betreff: Re: Truststore in HTTPS Connector does not work with Linux Hello David, That error usually happens when the java

RE: Truststore in HTTPS Connector does not work with Linux

2020-09-08 Thread David Weisgerber
7; -rfc -keystore > /diagdata/keystore.jks BEGIN CERTIFICATE= blah blah blah =END > CERTIFICATE= > > $ keytool -importcert -alias 'dummy' -keystore /diagdata/keystore.jks [paste > cert here] I tried this but it did not help... Thanks, David

RE: Truststore in HTTPS Connector does not work with Linux

2020-09-17 Thread David Weisgerber
re any other people that can confirm this? I guess client certificates is a more rarely used feature. Best regards, David

RE: Truststore in HTTPS Connector does not work with Linux

2020-09-17 Thread David Weisgerber
Linux). -Original Message- From: David Weisgerber Sent: Thursday, 17 September 2020 09:29 To: Tomcat Users List Subject: RE: Truststore in HTTPS Connector does not work with Linux Hi, > Ugh. That *does* point toward a bug in Tomcat itself or something odd with > the JVM. Yep.

Re: Template tool

2006-06-14 Thread David Smith
Freemarker can. Very versitile for both web output as well as email and other templating purposes. --David Leonel wrote: On 6/14/06, MW Janssen <[EMAIL PROTECTED]> wrote: i use velocity.. Maarten thanks does it can handle templates from String or has to be templates o

Re: Import file > 3gb possible?

2006-06-15 Thread David Kerber
Terry Orechia wrote: Is it possible to import a large file greater than 3 gigabytes to a tomcat web server? I am running tomcat 4.1 on debian with Tomcat/Apache JK2 Connector . I upload a file using multipart/form data on http Post request to servlet. I have successfully uploaded a file that

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread David Smith
Looks to me more like port 80 is taking 2+ hours to initialize, not 443. My guess is tomcat is waiting for something -- possibly a system service. At anyrate, I don't experience that here on any version of tomcat or JDK. --David Jeff Chuang wrote: Hi, After starting tomcat from js

Re: Download a file from jsp

2006-06-19 Thread David Delbecq
Hi, after a quick lookup, there doesn't seem to be any mistake with your code. Either it's a problem with the jsp, either it's related to database. Anyway, you might want to change this // end try catch(Exception ex) { return false; } Generic catching of except

Re: Problem to download a file from 2 browsers at the time

2006-06-20 Thread David Delbecq
Just ran it out of curiosity here on a tomcat 5.5.17, works perfectly. Only noticeable thing is that the first file get slowed down when you start second file, but it's quite to be excpected. Measured speed: 6M/s, files are not mixed together One thing worth noticing, is that brtowser do t

Re: pdf documents

2006-06-20 Thread David Smith
I would recommend a servlet that streams the files from some configured absolute path(s) to the client. It's reasonably simple and allows you some degree of control over what is delivered. Map the servlet to *.pdf in your web.xml to make it respond to all requests for pdfs. --David

Re: How do I pass option to Tomcat on startup only?

2006-06-20 Thread David Delbecq
Hello, JAVA_OPTS is an environnement variable, you can set / unset it at will. Just only set it up when you want to start, not when you want to shutdown. Example 1 (using only 1 bash session) export JAVA_OPTS="-Xmanagement" bin/startup.sh unset JAVA_OPTS bin/shutdown.sh Example 2 (using 2 dif

Re: pdf documents

2006-06-20 Thread David Smith
I can put something together, but not until tonight -- it'll take too long to do at work. In the meantime, feel free to google. This is such a simple item I'm sure someone has done it before and posted their experiences. --David Suba Suresh wrote: I am in the same boat as Bob.

Calling URL in same web app to get resulting HTML?

2006-06-20 Thread David Wall
certs) and was hoping that servlets allowed something like request dispatcher include/forward that would make it easier for me to invoke a page within my webapp and capture it. Thanks, David - To start a new topic, e-mail:

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
I think what he's getting at is that Tomcat (or any other web server) cannot tell how a browser is set wrt cookies without trying to set one and then seeing if it's there. Garey Mills wrote: Martin - I guess I'm being obtuse, but WHAT won't work? What I want to know is how Tomcat det

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
Why would it try until your app tells it to? AFAIK (admittedly, not very far; I don't use cookies) think it needs to be handled by your app. Garey Mills wrote: David - Well, okay then, but how can my app find out what Tomcat knows about whether the browser accepts cookies o

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
e Garey Mills wrote: David - Tomcat uses cookies to establish a session with the browser. If it can't use cookies, it uses URL rewriting. So whenever someone uses my app, Tomcat tries to set a cookie. If it was the case that Tomcat didn't know whether the browser accept

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Smith
ont. See HttpServletResponse.encodeURL(String) in the servlet spec for more info. -- David Garey Mills wrote: David - Tomcat uses cookies to establish a session with the browser. If it can't use cookies, it uses URL rewriting. So whenever someone uses my app, Tomcat tries to set a cookie.

Re: mod_jk failover and preferring localhost

2006-06-22 Thread David Rees
On 6/22/06, Per Johnsson <[EMAIL PROTECTED]> wrote: Is 1.2.16 avaiable for download somewhere? Not that I know of, you have to grab the source from SVN. Found this: http://tomcat.apache.org/connectors-doc/news/20060505.html I wonder how that got there! -Dave --

Retrieving List from a request/session attribute

2006-06-22 Thread David Wall
erased type List The code works fine, but I'd like to get rid of the warning if there's a correct way to do this cast. Thanks, David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Trouble with Admin WebApp

2006-06-23 Thread Armour David
application shows the admin as deployed but not started. Also, in the Manager application all the other webapps have a live Reload link, while the admin applications Reload link is not enabled. What is wrong here? David Armour Java Application Architect Winterthur U.S. Holdings, Inc. [EMAIL PROTECTED] 608

Re: Trouble with Admin WebApp

2006-06-23 Thread David Smith
Wrong place to install the admin webapp. The webapp itself needs to be in $CATALINA_HOME/server/webapps right next to the manager webapp. admin.xml is correctly placed. --David Armour David wrote: Hi I am running Windows 2000. I have installed Tomcat 5.5.17. I am running Java Version

RE: Trouble with Admin WebApp

2006-06-23 Thread Armour David
ation web application is no longer installed by default. Download and install the "admin" package to use it. The url that I get from the manager application for the admin webapp is: http://localhost:8080/admin/ Ideas to help get this running? Thanks. David Armour Java Applic

Re: Version of Tomcat installed

2006-06-23 Thread David Rees
On 6/23/06, Edward Diener <[EMAIL PROTECTED]> wrote: How can I programatically find out which version(s) of Tomcat is installed on my system ? getServletContext().getServerInfo() -Dave - To start a new topic, e-mail: users@to

Re: Commons fileUpload: write to disk permission problem

2006-06-26 Thread David Delbecq
Do not write data in the webapplication folder, this folder is supposed to be overwritten when webapplication is redeployed and datas will be lost. Instead choose a folder in system you dedicate to your webapplication datas and store your avatars there. Or best use a database :) Andrea S

Re: When we restarted tomcat, we are getting the below error while connecting to MySql database

2006-06-26 Thread David Smith
has '%' or 'localhost.localdomain', it should work. 2. Using the root account in a webapp is not recommended. --David [EMAIL PROTECTED] wrote: Hi, When we restarted tomcat, we are getting the below error while connecting to MySql database: - Catalina.start:

Re: log4j warning: Please initialize the log4j system properly

2006-06-26 Thread David Smith
,R Also '\' is an escape character, so you'll want to double up them to get a \ in the file path in log4j.appender.R.File. example: log4j.appender.R.File=C:\\Program Files\\Apache Software Foundation\\Tomcat\\5.5\\logs\\tomcat.log --David JS Portal Support wrote: Hi, J

Re: what happens with the content.xml file

2006-06-26 Thread David Smith
I'm not going to claim agreement with the developers on the behavior of the deploy path. I will say you could put version info into a element of the WEB-INF/web.xml file if that's you're goal and it'll show up in the manager webapp without butchering your url. --David

Re: many No Referrers in logs

2006-06-26 Thread David Smith
That usually indicates a direct access either by typing in the URL or using a bookmark. --David Robert Kudyba wrote: We have our server.xml file set w/ the following entry: Valve className="org.apache.catalina.valves.AccessLogValve" directory="../logs" prefix="ws_

Re: JDBC jar in WEB-INF/lib?

2006-06-27 Thread David Smith
/lib folder. The only catch is your DataSource won't be available via JNDI any more. The JNDI mechanism of tomcat requires your MySQL jar be in common/lib. --David wolverine my wrote: Hi! The Tomcat's MySQL DBCP example mentioned that we have to copy the JDBC Driver's jar

Re: Cannot use Tomcat

2006-06-28 Thread David Smith
Offer details. We are not looking over your shoulder at the screen and have no idea what you've setup. --David Rosario Antonio wrote: Tomcat is running but when tryin to access localhost:8080 I receive message: UNAUTHORIZED How can I correct the problem? Thanks An

Re: 'Black' Icons and Intermittent Page not Found

2006-06-28 Thread David Delbecq
Hi bob There are several ways to try to find where this comes from 0) Check in the tomcat manager the status of memory. You may be running out of java memory and so the garbage collector is running like crazy. 1) When issue arise, go to an AIX console (the timer is ticking, you have 60 secon

Re: Cannot use Tomcat

2006-06-28 Thread David Smith
files it's having trouble with. --David Martin Gainty wrote: Antonio- someone has been mucking with the file/folder permissions..In other words its not your fault.. Martin-- * This email message and any files transmitted

Re: filter increase number of session

2006-06-29 Thread David Delbecq
could we see the code of this filter? Enrico Giurin wrote: Hi at all, I have problem using filter in my web application under tomcat (tomcat 4.1 on Windows 2k OS). Client of the web application is an IVR (Interactive Voice Response) in the context of voice-xml application. I have configured a

Re: filter increase number of session

2006-06-29 Thread David Delbecq
cookie, neither providing a rewritten url. David Delbecq Enrico Giurin wrote: Yes I have that, I know that in this way if I hadn't a session tomcat makes new one, but If I had one I keep the old session. So why for every request I have a new session on the server, and why only with IVR c

Re: exec'ing ksh from Servlet

2006-06-29 Thread David Smith
How is that messed up? Makes perfect sense from the perspective of the calling java code and is consistent with input and output streams for files, network connections, etc., ... --David Leon Rosenberg wrote: Alas, the getInputStream and getOutputStream methods are mixed up, the

Re: filter increase number of session

2006-06-29 Thread David Smith
There is also the RequestDumperValve which would list out all the request headers/parameters/cookies/etc. that tomcat is receiving. See http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html. It does have a downside in that it locks you into the system's default encoding. :-( --

Re: Access MANIFEST.MF from web-application

2006-06-30 Thread David Smith
Try looking at ServletContext.getResourceAsStream(path) --David [EMAIL PROTECTED] wrote: Hi all! Is it possible to get access to the MANIFEST.MF in META-INF from my web-application? I would like to read the version info stored there to be used in my web-applicaton. InputStream mfis

Re: tomcat startup problem

2006-06-30 Thread David Smith
/catalina.out if there are real port conflicts though. --David IMRANKHAN wrote: May it be bcoz of firewall blocking this port. server.xml: factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname

Re: web.xml missing

2006-06-30 Thread David Smith
27;t think tomcat likes those at all. The webapp LoginAction should have it's own web.xml file. --David [EMAIL PROTECTED] wrote: I have web.xml linked to the webapps/Root/WEB-INF folder in Tomcat but it does not get recognized when I try to build a war file. The WAR file process complet

Re: Error while connecting to MySQL database

2006-06-30 Thread David Smith
very out of date. You should use com.mysql.jdbc.Driver instead. --David navaneethan loganathan wrote: Hi I am sorry, as I did not mention that I have root password for mysql. I have entered the root password(for mysql) in my db.properties file. I have specified in CLASSPATH as well for mys

Re: How do I fix this error in localhost_log? javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

2006-07-03 Thread David Smith
Include the bean-utils library from http://jakarta.apache.org/commons/beanutils in the WEB-INF/lib directory of your web application. --David [EMAIL PROTECTED] wrote: This is an excerpt from my localhost_log file: 2006-07-03 12:50:32 StandardContext[/strutsBlank]Marking servlet action as

Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
As it states, the authenticator valve must be attached to the context, not the host. Just put your valve at host level and it should be called before the authentification valve which is automatically added to the context.xml at deployement. Also, take a look at single sign-on valve which doe a

Re: AW: Executing Valve before Basic Authentication takes place

2006-07-04 Thread David Delbecq
From tomcat docs: You can nest one or more Context elements inside this Host element, each representing a different web application associated with this virtual host. In addition, you can nest a single DefaultContext element that defines default values for *subsequently* deployed web applicatio

Re: Authentication problem -> request.getRemoteUser() returns null

2006-07-04 Thread David Smith
The connector receiving requests from httpd needs the attribute tomcatAuthentication set to "false" in server.xml. Otherwise tomcat will ignore the REMOTE-USER header provided by httpd. -- David Oliver Enders wrote: Hy, I have the following constelation: Windows XP Apache 2.0.58

Re: web app application name

2006-07-05 Thread David Smith
AFAIK, it depends on the listener. Listeners implementing ServletRequestListener can retrieve it from the request; for others I don't see a clear way. --David asaf.lahav wrote: How can I obtain the name of the web application name my listener servlet is running under in

Re: web app application name

2006-07-05 Thread David Delbecq
asaf.lahav wrote: How can I obtain the name of the web application name my listener servlet is running under in Java? request.getContextPath(); Greetings. - To start a new topic, e-mail: users@tomcat.apache.org To uns

Re: Serving CSS files from a certain URL

2006-07-05 Thread David Smith
s on your local machine or the production server. --David Alec Swan wrote: Web designers don't run web servers or servlet containers on their machines. (I call their environment "static"). They just create web pages using Dreamweaver and preview them in different browsers. So

Re: tomcat memory allocation

2006-07-05 Thread David Rees
On 7/5/06, Speulman, Elly <[EMAIL PROTECTED]> wrote: Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0 on a Windows advanced server installation. The server has a total of 4Gb of memory. We are just not able to cross a border. Config of Tomcat memory takes pl

Re: Specification of web.xml

2006-07-05 Thread David Durham
wolverine my wrote: Hi! May I know which specification that describe the web.xml contents? Depends. Tomcat supports a few of the Servlet and JSP specs (maybe all of them). You specify which one you're using in the web.xml itself. As I recall, Servlets 2.3 has a DTD while Servlets 2.4 has

HTTP header details returned by HttpServletRequest.getInputStream()

2006-07-06 Thread David Fraser
customer environment at the times the problem started occurring Apologies for being so verbose, and thanks for taking the time to read this post. If you have any questions, please don't hesitate to ask. Thanks, David. ---- David Fraser [EM

Re: TC 5.5.17 / SSL - no response (5.5.15 works fine)

2006-07-07 Thread David Smith
The native connector code uses OpenSSL instead of java encryption classes. The certificate formats are different. Try a self-signed OpenSSL cert and see if it it works. --David Danny Lee wrote: BTW: If I disable TCNative/AJP it does the trick, but damn, I wanna use it

Re: Tomcat intialization problem

2006-07-07 Thread David Smith
least eth0 and lo. lo should have a inet addr of 127.0.0.1. Tomcat binds it's shutdown port specifically to 127.0.0.1. If that address doesn't exist on the local system, the error below will occur. --David Rohit Kumar wrote: Greetings everyone, i am having trouble initializing tom

  1   2   3   4   5   6   7   8   9   10   >