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

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 users@tomcat.apache.org Subject: Re: auto-run updated classes -BEGIN

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

2007-07-02 Thread david
-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]

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

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 figure out

unexpected session behavior in Tomcat 5.x

2007-04-28 Thread David
) 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
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 Tomcat 5.0.2.8 and Tomcat 5.5.23. I

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread David
, 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: On 4/28/07, David [EMAIL PROTECTED] wrote: Rashmi, Thanks for your initial response. I guess I

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 param or other

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

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

2020-08-27 Thread David
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 server ho

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 >

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: >

Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread David
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
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 : > > > > Hi all, > > > > I've

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

2022-10-28 Thread David
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 password. The db >

JAASRealm-based Login Fails After Upgrade from 5.0 to 5.5

2005-11-23 Thread Shaw, David \(David\)
. Thanks, David Snippet of server.xml !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost debug=1 Host name=localhost debug=1 appBase=webapps unpackWARs=false autoDeploy=false xmlValidation=false xmlNamespaceAware=false

Re: Refresh the cache

2008-08-06 Thread David Smith
Mark Thomas wrote: David Smith wrote: Could you provide some better detail regarding what you mean? Tomcat itself does not have a cache in any of it's versions. Not strictly true. Static resources are cached (for a few seconds), classes are cached in the classloader, expressions are cached

Re: SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread David Smith
Each listener should be in it's own listener ... /listener element block. Don't try to put all three in one. --David Ken Bowen wrote: Hi all, Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new copy downloaded from Apache unzipped; no changes. This project used to work

Re: Parsing a URL to see if a param exists

2008-08-06 Thread David Wall
is much easier to understand and no doubt runs faster. Thanks, 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: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread David Smith
? Last question: are there any messages/exceptions further up that might shed light on the issue (like say a permissions exception attempting to read servlet-api.jar or common/lib? --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Oh, yeah: there's

Re: mvn command line failed with archetype....

2008-08-08 Thread David Smith
Might also want to try putting the whole command on the same line instead of trying to do the continuation '\' operator which may not work on Windows. That last '\' character is being interpreted by mvn as a parameter. --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE

[OT] Re: mvn command line failed with archetype....

2008-08-08 Thread David Smith
That's not what I'm seeing in the command run you posted. You might also want to move this very off-topic discussion to a maven user list. --David Sam Wun wrote: Actually I tried that with what you said, this is the error message getting from that ONE command line. There is no \ at the end

Tomcat 5.5 4.1 Security Release

2008-08-11 Thread David Rees
I posted a couple messages to the user/dev lists last week asking the same question, but still haven't seen any mention of a plan to release a new 5.5.x or 4.1.x to fix the security issues posted at the beginning of the month. Is there a plan to push a new release for either 5.5.x or 4.1.x or

Re: Doubts regarding the TOMCAT url

2008-08-12 Thread David Smith
the commons-daemon project. --David Ch Praveena wrote: Hi all, It would be my great experience if you share your views in making up the solution : I am having an application running on my tomcat. And could run it like http://10.30.330.45:8080/sample When I am trying to run

Re: tomcat admin packagep

2008-08-12 Thread David Smith
for tomcat versions up to 5.5.x. If you are using tomcat 6, there is no admin webapp. 4) If the admin webapp is available for your version of tomcat, it will be in the list of downloads for your version of tomcat on the tomcat site. --David tunzaw wrote: please help where can i get tomcat

Re: Doubts regarding the TOMCAT url

2008-08-12 Thread David Smith
My personal preference is to get jsvc from the commons-daemon project (http://commons.apache.org/daemon/jsvc.html), build it, and then use it to start and stop tomcat. It runs as ROOT, captures the privileged ports, and then spawns tomcat to run as an unprivileged user. --David Ch Praveena

Re: Tomcat v4.1 - Resource not found 500 Error - Help!

2008-08-12 Thread David Smith
You should take a look at your logs for the source of the error. It may be a difference between the JVM tomcat runs on and the JVM used to build the new class, but that will be indicated in the logs. --David cfrankland wrote: Hi, I am a bit new to Tomcat, but have a really quick question

Re: Tomcat v4.1 - Resource not found 500 Error - Help!

2008-08-12 Thread David Smith
start getting things into some sort of version control and avoid piecemeal compiles. --David cfrankland wrote: Alright, I will take a look. This may seem like a daft question, but I am compiling the class using Eclipse and it utilizes two other classes with import statements. I have those classes

Re: where can i get tocat admin package

2008-08-13 Thread David Smith
There is no admin pack for tomcat 6. It has no maintainer and hasn't been updated in a long time. --David Angus Mezick wrote: I am having the same problem. I have looked here: http://apache.mirror.facebook.com/tomcat/tomcat-6/ and in the lower directories. No mention of the admin pack

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty(user.name ) to retrieve the logged in user id. But now that we start tomcat using a service, the get

Re: Reading environment variable from Tomcat

2008-08-13 Thread David Smith
network drives when it runs as a service. The real question is why do you want to know who the current desktop user(s) is/are? Tomcat should only be interested in the users coming in via http(s) connections. --David Sureka, Sushil wrote: Hi, I have run into an issue related to starting

Re: Reading environment variable from Tomcat

2008-08-13 Thread David Smith
Then I think you'll have to have tomcat startup in the Startup program group or equivalent in the registry and shutdown when the user log's out. That will put tomcat in the user's environment and make it run as the current desktop user. --David Sureka, Sushil wrote: Because we are using

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
This was going to be my suggestion as well: have it start after a user logs in, via either the Run registry entry, or the startup group on the start menu. D David Smith wrote: Then I think you'll have to have tomcat startup in the Startup program group or equivalent in the registry

Re: database application

2008-08-14 Thread David Smith
. --David [EMAIL PROTECTED] wrote: Hi, Please help me. I use this introduction: http://localhost:8180/tomcat-docs/jndi-datasource-examples-howto.html database: mysql A simple java application works (see PS) [EMAIL PROTECTED]:/mnt/hda3/tyuk/dtest/java/database# java DbTableShow2

Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread David Smith
I'm going to guess the servlet spec version in your web.xml isn't up to a level that supported the JSTL expression language. What's your web.xml look like? --David ge wrote: Hi, Servlet works, jsp not. Why? Result of servlet: Datensätze jdbc:mysql://localhost:3306

Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread David Smith
-INF/lib directory. If it exists in common/lib, it cannot be in the webapp's WEB-INF/lib directory. --David [EMAIL PROTECTED] wrote: I'm going to guess the servlet spec version in your web.xml isn't up to a level that supported the JSTL expression language. What's your web.xml look like

Re: servlet works, jsp not, why? (Tomcat 5.0)

2008-08-14 Thread David Smith
database pool provided by tomcat at all. --David [EMAIL PROTECTED] wrote: Please see in text This thread may be very helpful to you: http://forums.sun.com/thread.jspa?messageID=3335080 The thread is about EL- I do not use xpression Language. Essentially you've declared your tags

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread David Rees
On Fri, Aug 15, 2008 at 1:21 PM, Christopher Schultz [EMAIL PROTECTED] wrote: Bill Davidson wrote: The way I deal with it is to use Firefox for one and IE for the other. You could use separate tabs in the same browser if you were to disable cookies on your browser (and you have correctly

Re: Using tabbed browsers causes session sharing

2008-08-18 Thread David Smith
set of cookies as the browser you launched it from. At least that was true of IE 6 -- I don't know if it's still true for IE 7. Firefox uses one process and all cookies are shared no matter how a new window is launched. --David Leon Rosenberg wrote: Thats probably because it has nothing

Re: How to tell Tomcat to use an additional classpath other than web-inf/classes?

2008-08-18 Thread David Smith
into a jar file that can simply be dropped into the WEB-INF/lib directory of the third party app. --David swimming_rabbit wrote: Does anyone know of a way to tell Tomcat to use an additional classpath (other than WEB-INF/classes) when loading an application? I've got an off the shelf application

Re: How to tell Tomcat to use an additional classpath other than web-inf/classes?

2008-08-18 Thread David Kramer
Since you're talking nfs, I assume you're on a *NIX OS. How about use David Smith's idea to roll your stuff into one jar file, then use a symbolic link from that one jar file on your network share to the right tomcat directory? David Smith wrote: I would personally use a build tool like

Re: Post form with x-www-form-urlencoded content type and Coyote Connector

2008-08-18 Thread David Smith
Forgive me if I'm wrong, but this looks like the browser should send a GET request. Why would you expect an input stream? --David deniak wrote: Hi all, Has anyone ever used a form with x-www-form-urlencoded Content-Type to a web application running on tomcat? I don't know why but when I use

Re: how to set context path on TOMCAT6

2008-08-21 Thread David Smith
to the conf/Catalina/localhost folder. In the reporting-application.xml file you'll have the Context ../Context element configured with a docBase pointing to your war file. It's a pain and only useful if you really, really, really can't change the war file's name. --David Sushil Dodake wrote

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-21 Thread David Smith
to occasionally restart a dev instance of tomcat than bounce a production instance when it stops responding. --David André Warnier wrote: André Warnier wrote: edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I

Re: tomcat service can't bundle domain

2008-08-21 Thread David Smith
you try to start? --David francin wrote: I have a problem and i can't solve it for several whole nights! I have a domain name (such as www.yourname.cn) and it resolve to an ip (such as 222.11.11.11) First of all, my tomcat is ZIP version. If I use the file startup.bat which is in %TOMCAT_HOME

endpoint connections constantly reconnecting

2008-08-22 Thread David Nillesen
Hi, I'm trying to track down some errors with our apache tomcat system and not having a great deal of luck. We had an issue where the mod_jk connectors would loose track of the tomcat connectors and just start refusing requests with error 500. This was with an

Re: HTTPConnector url redirection

2008-08-22 Thread David Smith
) and you dropped the s from https, the browser would connect on port 80 instead of 443 and the redirection would happen again the way you are expecting. --David raveendra wrote: Yes i am sure, initially when i type my default url http://localhost:8080/myapp/start.action it is getting

Re: tomcat 6 won't generate mod_jk.conf

2008-08-22 Thread David Whitehurst
(AJP/1.3) to the 8009 connector that Tomcat is hosting. Commonly the 8009 connector just redirects to either the 8080 or 8443 connector. The request that was originally intercepted by Apache is served by Tomcat. HTH, David On 8/22/08, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message

webapps on Network Drive?

2008-08-25 Thread David Shreffler
and change the configuration, I see the default Tomcat installation page just fine. I've varied the appBase attribute with forward- and backslashes, with and without ROOT etc. What should it be, or am I missing something else? Thanks!! David

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-25 Thread David Smith
Ok ... forgive me if this was posted already, but what OS do you have and how are you starting the production instance? Windows systems starting the production tomcat as a service is different than Linux/Unix systems starting tomcat with jsvc or a service script. --David edponce wrote

Re: Can't execute servlet project

2008-08-26 Thread David Smith
stored in the request scope, but the jsp can't find it, hence the error. Where is this object supposed to come from if you didn't create a bean? --David sam wun wrote: HI tere, I have completed a servlet project in Eclipse (3.4). I also made a war.file by seleting the project name (DBTest

RE: webapps on Network Drive?

2008-08-26 Thread David Shreffler
, colons etc.- it's not quite as simple as a linux path). Not sure where to go from here. From other posts, it appears that windows machines need to use double forward-slashes in the appBase and docBase attributes, is that correct? Thanks!! David -Original Message- From: Johnny Kewl [mailto

RE: webapps on Network Drive?

2008-08-26 Thread David Shreffler
Ok, problem solved. The problem is with Tomcat accessing a mapped network drive. The solution I found is to use a UNC in appBase and docBase instead, like \\server\user-share\webapps (by the way, using backslashes on a Windows XP install worked as well). Thanks!! David -Original Message

Re: Struts vs JSF (poll?)

2008-08-26 Thread David Whitehurst
the first one that tells me that Struts is better. I think like the businessman now. We're all here to write software and once the architecture is chosen, debate's over boys!. Struts2 for me. I had to vote, LOL :-) David Whitehurst On 8/26/08, Frank W. Zammetti [EMAIL PROTECTED] wrote: On Tue

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-26 Thread David Smith
in the Windows environment, each with their own name for start/stop/restart. If you want to get custom with the setup, just take a look at how the bat file creates a new service and then roll your own from the command line. --David edponce wrote: DAvid I am on windows, but i connect to the server

Re: Tomcat 5.5 context.xml, how to configure the Host element

2008-08-26 Thread David Smith
If all you want to do is see the directory structure, why don't you just unzip the .war file? That's all a .war/.jar file essentially is -- a zip archive. Admittedly you can't just zip any folder and get a war file, but you can see the contents just by unzipping it. --David jerrycat wrote

Re: Can't execute servlet project

2008-08-27 Thread David Smith
I see the jsp is a view and as such wasn't designed to be run on it's own. Try http://localhost/DBTest/ListCustomers in your browser. That should hit the servlet which in turn should generate the required bean and forward the user to your jsp. --David sam wun wrote: Hi, thanks

Re: Can't execute servlet project

2008-08-27 Thread David Smith
recommend finding some tutorial material that focuses on servlet/jsp programming, ignoring IDEs like Eclipse. --David sam wun wrote: HI there, It sounds logical, but there is no LIstCustomers in the DBTest folder. Thanks Sam - Original Message - From: David Smith Sent: 27/08

Re: Can't execute servlet project

2008-08-27 Thread David Smith
tomcat was installed with listening on port 8080 and it's installed on your local workstation). That's what the servlet-mapping ... /servlet-mapping part of web.xml is all about -- mapping URLs to servlets. --David sam wun wrote: I got a similar web.xml, but the is different. Here

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread David Smith
cheap and tomcat doesn't take that much room. That would also bolster separation of the dev and production environments as each should have their own log directories. --David edponce wrote: ive created this start script in the /usr/bin/ folder...what i did is modified the previous path

Re: Can't execute servlet project

2008-08-27 Thread David Smith
. --David sam wun wrote: BTW, where should I place the web.xml file in the tomcat server? The web (root) execution path of my tomcat server is: /tomcat/apache-tomcat-5.5.26/webapps/DBTest Thanks Sam - Original Message - From: sam wun Sent: 28/08/08 02:45 am To: Tomcat Users

Re: Can't execute servlet project

2008-08-27 Thread David Smith
to the end of the mysql database url. Instead, add validationQuery=select 1 to the Resource ... / element in your context.xml file so connections are tested and regenerated as needed. --David sam wun wrote: HI there, I managed to fix the jdk version error, now it comes with a different error

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread David Smith
Anything in catalina.out related to the failed startup? --David edponce wrote: david... my only problem now is [EMAIL PROTECTED] ~]# tomcat5-test start In the config file Starting tomcat5-test: [ FAILED ] i cant find what is the problem

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread David Smith
This error looks like an error in your shell script. Maybe someone else can offer up some help with this. I use jsvc in my environment. --David edponce wrote: just that -sh: line 0: export: `In the config file': not a valid identifier /bin/bash: /usr/bin/tomcat5-test: Permission denied

Re: Can't execute servlet project

2008-08-28 Thread David Smith
The jndi resource howto page link I posted should have mentioned the .jar file get's placed in tomcat's common/lib. --David sam wun wrote: Hi, I couldn't find an installation document about installing the driver. I;ve downloaded the driver: linux:~/tomcat/apache-tomcat-5.5.26/common/lib

Re: Can't execute servlet project

2008-08-28 Thread David Smith
it with a new attribute: validationQuery=select 1 --David sam wun wrote: HI there, According to the tomcat online document, do I have to modify the context.xml file? $CATALINA_HOME/conf/context.xml with the following new setup: Resource name=jdbc/TestDB auth=Container type

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread David Smith
file is in common/lib for tomcat 5 or /lib for tomcat 6, right? --David jerrycat wrote: I have configured my web app to use tomcat's connection pooling. and also I have modfied the default value of the factory attribute: factory=org.apache.commons.dbcp.BasicDataSourceFactory Here

Re: Tomcat 5.5, connection pooling with commons-dbcp 1.2.1

2008-08-28 Thread David Smith
will see the one in common/lib first, your webapps will see it's own copy first and you'll end up with many a wonderous and strange error to ask us about. --David jerrycat wrote: No, I have commons-dbcp.1.2.2 jar in the lib directory of all of my web app as well. Should I remove the commons

Re: ERROR Starting 2nd instance of Tomcat

2008-08-28 Thread David Smith
Ok ... taking a second look at this, why on earth are you using the command 'tomcat5-test start In the config file' to start tomcat? In particular, 'In the config file' phrase has no place on the command line. --David Eduardo Ponce de León wrote: I am trying to run a 2nd instace

Re: ERROR Starting 2nd instance of tomcat

2008-08-29 Thread David Smith
Please stop reposting this. It's already in the archives for anyone who cares to go back and take a look at your original post. --David Eduardo Ponce de Leon wrote: I am trying to run a 2nd instace of tomcat. For this, ive duplicated the tomcat folder and modified the server.xml files

Re: ERROR Starting 2nd instance of Tomcat

2008-08-29 Thread David Smith
' should be more than enough to get the second instance going. --David Eduardo Ponce de León wrote: I'vedone that to start my second instance! Don’t I need a script to start it up? Eduardo Ponce de León Desarrollador Latino Mobile --- Moliere

Re: Can't execute servlet project

2008-09-02 Thread David Smith
Do you have jstl.jar and standard.jar in your WEB-INF/lib directory? --David sam wun wrote: Hi, I have added testdb.jsp in the following path in Suse linux (the tomcat server): /tomcat/apache-tomcat-5.5.26/webapps/DBTest/ The content of the testdb.jsp code is: %@ taglib uri=http

Re: ERROR Starting 2nd instance of Tomcat

2008-09-02 Thread David Smith
tomcat in it's own directory. Lastly customize the service scripts for the second one to look at the second one specifically. --David Eduardo Ponce de Leon wrote: David, I can´t start the newly stock tomcat version. When I try to start up tomcat by ./catalina.sh run I am getting an error which

Re: ERROR Starting 2nd instance of Tomcat

2008-09-02 Thread David Smith
Don't edit your profile. Any environment variables needed by tomcat should be provided by the service script. Just define them at the top before an processing. That isolates the second one from the first. --David Eduardo Ponce de Leon wrote: David, Thanks for the response, that is what I did

Re: Can't execute servlet project

2008-09-02 Thread David Smith
Hmmm... good question. I moved over to Maven and don't manually download these any more. This looks like it should do the trick: Try http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi --David sam wun wrote: Hi David, No, I don't have this 2 jar files in the common

Re: Can't execute servlet project

2008-09-02 Thread David Smith
Download the binary zip file and expand it. Within it is a lib directory with just standard.jar and jstl.jar. --David sam wun wrote: I just went to the website , very confused. The taglib file is not a jar file. they are binary or source file. And I couldn't find standard.jar file either

Re: Can't execute servlet project

2008-09-02 Thread David Smith
what's in it's WEB-INF/web.xml? Lastly, you should have your database driver jar file in tomcat's common/lib (for tomcat v 5.5) or /lib (tomcat v 6). You can also take a look at tomcat's JDBC Datasource howto's on the tomcat website for your version of tomcat which offer a lot of help. --David

Re: Open source web-site management utility based on Tomcat

2008-09-02 Thread David Smith
Sounds like you're considering a CMS package. Google around -- you'll find a lot of them. Some are open source, some are commercial. I have Magnolia here and it works very well. --David Toby White wrote: Hi guys, I am a completely newbie in tomcat. Just wondering if there is any open

Re: Can't execute servlet project

2008-09-02 Thread David Smith
. You can read more on this at http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html --David sam wun wrote: Here is the mysql-connector jar file I got in the common/lib directory: linux:~/tomcat/apache-tomcat-5.5.26/common/lib # ls mysql* mysql-connector-java-5.1.3-rc

Re: Can't execute servlet project

2008-09-02 Thread David Smith
Leave web.xml -- it's the global web.xml. DBTest.xml can be removed without error. It isn't harming anything here but at the same time it doesn't belong here. --David sam wun wrote: I found there are some xml file in the conf/ directory: linux:~/tomcat/apache-tomcat-5.5.26/conf # ls

Re: Can't execute servlet project

2008-09-02 Thread David Smith
If the context xml file is in /tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost, it should be named after your webapp (e.g.: DBTest.xml). It's only named context.xml when in your webapp's META-INF folder. --David sam wun wrote: After moved the context.xml file to /tomcat/apache-tomcat

Re: Problem with JNDI environment entry resources

2008-09-03 Thread David Smith
don't define a path attribute unless your Context ... ... /Context element is in server.xml (absolutely NOT recommended). --David Paul Pepper wrote: I'll have to check the docs again. However, docBase is only legal when the webapp is stored outside of the Host appBase directory. Otherwise

Re: Problem with JNDI environment entry resources

2008-09-03 Thread David Smith
in Bugzilla for the tomcat committers to take a look at. If you feel the true problem is in the docs, patches are accepted for that as well. --David Paul Pepper wrote: 2008/9/3 David Smith [EMAIL PROTECTED]: There's an implicit association based on the context path. myWebApp.xml in conf/Catalina

Re: Exception when trying to configure a pool of connections for use of WS

2008-09-05 Thread David Smith
present. 2. Add a validatonQuery=select 1 attribute to your Resource ... / element so connections are tested and regenerated as needed. --David Daniele Development-ML wrote: Hello everybody, I am trying to set up the configuration for a pool of connections to a MySQL DB and I get

Re: Exception when trying to configure a pool of connections for use of WS

2008-09-06 Thread David Smith
/env/jdbc/MySQL_cellmlrep); Connection conn = ds.getConnection(); ... on to doing some work here ... --David Daniele Development-ML wrote: Thanks David! The code is: Class.forName(com.mysql.jdbc.Driver); String url = jdbc:mysql://localhost:3306/cellmlrep; Connection con

Re: Exception when trying to configure a pool of connections for use of WS

2008-09-06 Thread David Smith
Oops! I goofed in adapting the docs example. The code yours should look like is below. Oddly enough, the mistake I made in my previous post would have caused the error you were asking about. --David David Smith wrote: This isn't the code I was asking for. You should have some code

Re: symlinks in webapps

2008-09-06 Thread David Smith
/secondInstance): Context docBase=originalWebapp !-- Define second instance resources if any -- /Context That should deploy the webapp a second time. Most developers try to avoid that, but you seem to be looking for exactly this kind of thing. --David Claudio Tassini wrote: FYI, If I add

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
one on ds.getConnection(), regenerating them if they fail. --David Thangavel Sankaranarayanan wrote: Hi , I am getting the following error when connecting to oracle database, Has any one seen this kind of errors before? is this the problem with tomcat in loosing the connections?? I am getting

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
an attribute named validationQuery with a value of select 1. Then restart your webapp. --David Thangavel Sankaranarayanan wrote: Please help me in setting up a Validation Querry!!! I am not aware of it!! Regards, Thangavel Sankaranarayanan

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
query is added to tomat's config is different though. You add it in the ResourceParams element the same way other properties are defined in your version. --David Thangavel Sankaranarayanan wrote: Hi David, Thanks !!! Is the validationQuery applicable to tomacat 4.x. I am using tomcat 4.x

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
done anything with that version. --David Thangavel Sankaranarayanan wrote: Hi David, In my webapps directory ,i can find Conext.xml (nameof context.xml).in my context.xml the following is defined.. where do i need to configure it ,David?? Context path=/mpp docBase=D:/projects/mpp/dealer

Re: Intermitant DB Problem in tomcat:java.sql.SQLException: Io exception: Connection reset by peer: JVM_recv in socket input stream read

2008-09-08 Thread David Smith
are closed down at the end of each request, you should probably look at your network hardware between tomcat and the db server. Connection reset by peer can be caused by firewall hardware or failing switches in addition to the db server. --David Thangavel Sankaranarayanan wrote: David,Actually

Re: Problems with user/password data when trying to connect to DBs - Tomcat sees '' as username instead of the given one

2008-09-09 Thread David Smith
driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/cellmlrep maxActive=8 maxIdle=4/ See the JNDI Datasource docs for your version of tomcat at tomcat.apache.org. --David Daniele Development-ML wrote: Hello, I have a WS deployed on Tomcat

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-11 Thread David Smith
I'm willing to bet the symbol for the british pound is not part of the normal web character set like a US dollar symbol is and as a result needs to be expressed by entity notation ( pound; or #163; ). --David Johnny Kewl wrote: - Original Message - From: Christopher Schultz [EMAIL

Tomcat 6.0 upgrade details

2008-09-16 Thread Mayfield, David
I am a Tomcat 5.5.x user and I am considering upgrading to Tomcat 6.0. In particular I am interested in knowing more about the details of changes made to Memory usage optimizations and Refactored clustering, two of the changes mentioned in 6.0. Performance and scalability are becoming

Re: Can I get Millisecond precision in Access Logs?

2008-09-16 Thread David Fisher
It is. The docs are here: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html I use Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=unity_access. suffix=.log pattern=%h %v %t

Re: Can I get Millisecond precision in Access Logs?

2008-09-16 Thread David Fisher
On Sep 16, 2008, at 2:27 PM, Jonathan Mast wrote: Ah, but %D is the time taken to process the request in ms. It's not the timestamp. On Tue, Sep 16, 2008 at 3:14 PM, David Fisher [EMAIL PROTECTED]wrote: It is. The docs are here: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org

  1   2   3   4   5   6   7   8   9   10   >