Re: war app, Tomcat, public IP and port 8080 - remote access

2011-01-29 Thread David Smith
the shift key and reloading. This forces most browsers to throw out cached versions of pages and redownload. I'm wiling to bet it fails to load. Oh yes .. and as someone else said, don't use go2 proxy while testing. Disable it until you have the problem worked out. --David On 01/28/2011 05:14 PM

Which is right, the comment or the docs?

2011-01-25 Thread David Goodenough
In the file tomcat-users.xml (at least the one shipped with the 6.0.23 Debian package) the sample users have the attribute username= in the user tag. But in the manager-howto.html (again shipped with the Debian package) the examples all say the attribute should be name=. Which is right? David

Re: Which is right, the comment or the docs?

2011-01-25 Thread David Goodenough
On Tuesday 25 January 2011, Konstantin Kolinko wrote: 2011/1/25 David Goodenough david.goodeno...@btconnect.com: In the file tomcat-users.xml (at least the one shipped with the 6.0.23 Debian package) the sample users have the attribute username= in the user tag. But in the manager

Tomcat 6 sessino timeout problem

2011-01-20 Thread Rhonny David
to identify the problem? Regards, David

Re: Tomcat 6 sessino timeout problem

2011-01-20 Thread Rhonny David
point of resetting the session timeout, I have rechechcked the application code but there isn't any code implemented to reset the session timeout at runtime. Regards, David From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread David Fisher
I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and just upgraded to 6.0.30). I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. It's not about usual classes or jar. It's about JSP generated java class. For example, when I request

Re: JSP ClassNotFoundException on Tomcat 6.0.29/30 Eclipse Helios WTP

2011-01-19 Thread David Fisher
I'm developing an web application on Eclipse Helios, WTP, Tomcat 6.0.29(and just upgraded to 6.0.30). I suffer from ClassNotFoundException a lot of times on both 6.0.29/30. It's not about usual classes or jar. It's about JSP generated java class. For example, when I request

Re: [ANN] Apache Tomcat 7.0.6 released

2011-01-17 Thread David Calavera
Any schedule for the maven artifacts release? Thank you! On Fri, Jan 14, 2011 at 10:21 AM, Pid pids...@apache.org wrote: On 1/14/11 9:15 AM, Mark Thomas wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.6. This is the first stable release of the

Re: [ANN] Apache Tomcat 7.0.6 released

2011-01-17 Thread David Calavera
Great, thank you! On Mon, Jan 17, 2011 at 7:25 PM, Mark Thomas ma...@apache.org wrote: On 17/01/2011 18:18, David Calavera wrote: Any schedule for the maven artifacts release? I'm running the upload as I type. I'll update the snapshot first and then the release. It'll take a while. Upload

realm authentication no longer works through apache - mod_jk after upgrade still works via straight tomcat 8080

2011-01-11 Thread David Sperling
. Cheers, David Sperling The /var/log/apache/error.log displays the following: [Tue Jan 11 17:49:12 2011] [notice] child pid 30665 exit signal Segmentation fault (11) [Tue Jan 11 17:49:12 2011] [notice] child pid 30666 exit signal Segmentation fault (11) [Tue Jan 11 17:49:12 2011] [notice] child pid

Re: Tomcat(5.5) Clustering and Load Balancing.

2010-12-28 Thread David Smith
. --David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Can JSP code be served from a DB instead of files?

2010-12-27 Thread David Wall
Yes. You'll need to extend BaseDirContext in org.apache.naming.resources. For some examples, see FileDirContext and WarDirContext in the same package. Thanks for the pointers, Mark. From what you are saying, this would be a Tomcat-specific solution. I was hoping for something that would work

Re: Can JSP code be served from a DB instead of files?

2010-12-26 Thread David Wall
solution. I was hoping for something that would work in standard way so it would be portable. While we use Tomcat ourselves, we've had users who run on other containers. I'll take a look though since maybe it's something that can be plugged into other containers, too. David

Can JSP code be served from a DB instead of files?

2010-12-25 Thread David Wall
so it was then processed/compiled normally would be perfect if it's possible. I'd like to have some auto-generated JSP code used in our system without writing it to disk in a directory in my webapp's real path. Is this possible? Thanks for any ideas... David

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

Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
that what is area of problem. Will appreciate. Regards, David

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
I think i have already provided these except tomcat. Anyways we are using Tomcat 6.0.29, which is pointed to jre 1.5.0_10. And the OS is Microsoft Windows Server 2003, R2 , Standard Edition, Service Pack2. Regards, David From: Mark Thomas ma...@apache.org

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
, we have recently started using JTD driver and tomcat jndi connection pooling for our current site and earlier we used microsoft driver and our own connection pooling mechaninsm, but the same issue of tomcat hanging was occurring at that time. Regards, David

Re: HTTP status 404

2010-12-09 Thread David Smith
the time tomcat was started) and c. when you requested the file. --David On 12/9/2010 12:10 PM, Lava Saleem wrote: Hello everyone, Thanks for the replies I really appreciate your feedback I have the structure as the following webapps | filename |- filename.htm *|-*WEB-INF

Re: HTTP status 404

2010-12-08 Thread David Smith
, but outside of the WEB-INF folder can be delivered by the default servlet without any special settings in web.xml or anywhere else for that matter. --David On 12/8/2010 2:45 PM, Victor Kabdebon wrote: I might be wrong but maybe you need to set something in your web.xml to deliver static files

Re: HTTP status 404

2010-12-08 Thread David Smith
/filename.htm --David On 12/8/2010 2:39 PM, Lava Saleem wrote: Hi everyone, I have a single page html file with java script embadded in it, I have created a war file for it and deployed it successfully but when I click on the page I get the below error, the structure of my war file is the following

Re: Can't access tomcat manager

2010-12-02 Thread David Smith
. --David On 12/2/2010 9:43 AM, Lava Saleem wrote: Hi everyone, Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments brackets or anything so is there any other reason for this to happen ? do I need to modify anything else ? Thank you Lava

Re: How to schedule events on Tomcat?

2010-12-02 Thread David kerber
On 12/2/2010 3:17 PM, Joseph Morgan wrote: Why can't you use process scheduling of your OS? -Original Message- From: Brian [mailto:bbprefix-tom...@yahoo.com] Sent: Thursday, December 02, 2010 1:52 PM To: users@tomcat.apache.org Subject: How to schedule events on Tomcat? Hi, I have a

Re: Several hosts within one tomcat / catch-all problem

2010-11-21 Thread David Fisher
Hi Konstantin, BTW, you can put those names in an external file and use it in the server.xml as an XML entity. Like the example in http://wiki.apache.org/tomcat/FAQ/Password Inspired by this thread and having a similar issue in maintaining virtual host aliases I edited my server.xml as

Assistance determining cause of httpd error log entries

2010-11-18 Thread David Dabbs
maxSpareThreads=200 enableLookups=false/ Thank you, David These happen together [Wed Nov 17 16:54:49 2010] [error] ajp_msg_append_cvt_string(): BufferOverflowException 4 3129 [Wed Nov 17 16:54:49 2010] [error] ajp_marshal_into_msgb: Error appending the query string [Wed Nov 17 16:54:49

Re: Assistance determining cause of httpd error log entries

2010-11-18 Thread David Dabbs
On Thu, Nov 18, 2010 at 8:52 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/18/2010 3:41 AM, David Dabbs wrote: We're fronting a Tomcat 6.0.29 instance with httpd 2.2.15 via mod_proxy_ajp. Obligatory question: is it really necessary to use

Re: [OT] RE: Tomcat Consultant

2010-11-18 Thread David Fisher
myself, on MIT's Honeywell machines (with drum disks), as well as an assembler programmer on PDP-1, 4 and 9. The 4 had a 125 kHz clock speed. I vaguely remember the PIC OS, but haven't googled it yet. -Allen -Original Message- From: David Fisher [mailto:dfis...@jmlafferty.com

Re: Restricting access to tomcat via httpd proxy only

2010-11-09 Thread David Goodenough
...@tomcat.apache.org You could bind tomcat to localhost, and then although other processes (such as the httpd proxy) can reach tomcat, no other machines will be able to. David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Malicious host is crashing my server

2010-11-07 Thread David Fisher
You could modify the RequestDumpFilter to only dump the request for that ip address. Regards, Dave Sent from my iPhone On Nov 7, 2010, at 12:28 PM, Assaf ass...@yahoo.com wrote: A filter to block is good. But then I would not be able to see him doing it again and then find out the issue.

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-04 Thread David kerber
On 11/4/2010 12:56 PM, Ari King wrote: Hi all, My secondary instance of Tomcat 6 does not process requests -- it simply times out for everything. The only log is catalina.out and there are not errors in it. Anyone know what could be wrong? I'm using Tomcat 6, Java 1.6.0_20, on Centos 5.5 Final.

Re: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-03 Thread David kerber
On 11/3/2010 5:26 AM, Vikram Vaswani wrote: Hi Charles, I am able to do this manually, by creating a separate context file in Catalina/localhost/lcs.xml and specifying the C:\lcs path as the Context docbase. However, I would like this to happen automatically. What do you want to happen

Re: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-03 Thread David kerber
On 11/3/2010 1:02 PM, Vikram Vaswani wrote: Hi David, When you say your script, which script do you mean? I'm using the standard Ant build.xml that's shown in the Tomcat online docs. That's the script you need to change; point it to where you want your app to end up. Can you suggest which

Re: tomcat6.0.29 on debian lenny

2010-11-01 Thread David kerber
On 11/1/2010 11:05 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph, On 10/29/2010 4:51 AM, Christoph Kukulies wrote: I ran a tomcat 5.5 on an older debian formerly and after an upgrade to 5.0.6 (debian lenny) Wait, what? You upgraded from 5.5 to 5.0?

Re: tomcat6.0.29 on debian lenny

2010-10-29 Thread David kerber
On 10/29/2010 5:40 AM, Christoph Kukulies wrote: ... Ooops. Sorry, I noticed that I had already copied over my 5.5 system.xml into the conf directory. Using the original server.xml now works. Yeah, that bit me too, when I migrated from 5.5.x to 6.0.x. D

Re: Late start of context

2010-10-28 Thread David kerber
On 10/28/2010 11:04 AM, Pedro Rodrigo Cardiel wrote: El jue, 28-10-2010 a las 09:46 -0500, Caldarale, Charles R escribió: What do you expect to happen when requests arrive for the non-started webapp during the delay period? Tomcat returns the same as when you stop an application

Re: how can i turn off This is very likely to create a memory leak.

2010-10-28 Thread David Fisher
ok, i revoke my nevermind message, even after I removed JreMemoryLeakPreventionListener I still get the warning. Even weirder: Oct 28, 2010 3:50:55 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Oct 28, 2010 3:50:55 PM

Re: Is there any JMX property which indicates no requests is being processed?

2010-10-21 Thread David Fisher
Hi, I was just playing with the correct jmx properties. My purpose is to see what are the maximum requests and watch the health of my servers. MBeanServerConnection mbs = jmxpool.getConnection(host); ObjectName query = new

How best to get some data from a Servlet to Apache access log. . .

2010-10-02 Thread David Dabbs
and have it propagate back through AJP. Looking for the best way to skin this cat. Thanks! David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Ya gotta love it...

2010-10-01 Thread David kerber
When you can fix a long standing bug simply by deleting 60 or 80 lines of code and modifying 6 other lines. Of course, it's kind of embarrassing that I allowed that bug to creep in in the first place... D - To unsubscribe,

Re: [OT] RE: Tomcat Consultant

2010-09-29 Thread David Fisher
PL/1 was a nice break from extending FORTRAN IV with BAL (Assembler). Wow real pointers and character strings! I seem to recall there was a version on the Prime minicomputers - IRC they had a version of the PIC OS. Primos came out of the Boston area, was a son of Multics and a brother

Re: [OT] RE: Tomcat Consultant

2010-09-28 Thread David Fisher
PL/1 was a nice break from extending FORTRAN IV with BAL (Assembler). Wow real pointers and character strings! I seem to recall there was a version on the Prime minicomputers - IRC they had a version of the PIC OS. Primos came out of the Boston area, was a son of Multics and a brother OS to

Re: [OT] Why an email list, and not a forum?

2010-09-25 Thread David Kerber
On 9/25/2010 12:29 PM, Nicklas Holmgren wrote: I also prefer forums very very much to email lists. Now I've got three or four email groups I've joined and it feels like my inbox is filled with spam rather than info or stuff I'd want to read/answer even tho it's related to stuff I really should

Re: Why an email list, and not a forum?

2010-09-24 Thread David kerber
On 9/24/2010 4:06 AM, Wesley Acheson wrote: ... The point is once your involved in something, doing more than just looking for answers a Mailing list is much better, it involves you much more directly. I don't have to check 10 sites for my 10 subscribed mailing lists. The emails are just there

Re: Why an email list, and not a forum?

2010-09-24 Thread David Smith
But I'm too lazy to go fishing for questions I could answer ... I like them showing up in my inbox. If there in a web forum I'm not going to go looking for them. When I'm looking for an answer to one of my questions, google is my first stop and the tomcat list is archived online. --David On 9

Re: Why an email list, and not a forum?

2010-09-24 Thread David Smith
Absolutely. I have no problem parsing and deleting. --David On 9/24/2010 8:18 AM, michel wrote: Sorry, but I don't get why people can't delete emails on topics they aren't interested in; do some people here feel the need to read all the spam they get? Michel - Original

Re: Why an email list, and not a forum?

2010-09-23 Thread David Fisher
You can use something like gmane.org: http://dir.gmane.org/gmane.comp.jakarta.tomcat.user On Sep 23, 2010, at 5:33 PM, Brian wrote: But what if you just want to receive responses to your question, instead of receiving all the emails that is being writen? Mail lists are an old method. Web

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread David Fisher
Mark Thomas wrote: ... If you want to start down this path and see how it goes, I am happy to talk you through step by step. I may (hem, probably will) need that at some point. But let me try following the basic steps you outlined, first. quoting : If you do get involved then the

Re: [OT] Tomcat on Linux

2010-09-16 Thread David kerber
On 9/16/2010 12:57 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/16/2010 11:32 AM, André Warnier wrote: The load average is not particularly impressive however. One could almost suspect that you keep this machine coddled away from any real network,

Re: [OT] Tomcat on Linux

2010-09-16 Thread David kerber
On 9/16/2010 2:36 PM, André Warnier wrote: David kerber wrote: On 9/16/2010 12:57 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/16/2010 11:32 AM, André Warnier wrote: The load average is not particularly impressive however. One could almost suspect

Unix domain socket support for AJP connector?

2010-09-16 Thread David Dabbs
way to connect Apache and Tomcat: mod_proxy_ajp mod_jk mod_proxy_http something else entirely. . . In case your answer is, Go direct, Apache not needed, note that the Apache front end is not optional for us. Many thanks, David

Setting up Multiple Servlet's to handle 1 file type

2010-09-07 Thread David Long
-name url-pattern*.cfc/url-pattern /servlet-mapping servlet-mapping id=coldfusion_mapping_5 servlet-nameCfmServlet/servlet-name url-pattern*.cfml/url-pattern /servlet-mapping -- From a brother in Christ, David Long 203.427.1016 david.lon...@gmail.com

Re: Setting up Multiple Servlet's to handle 1 file type

2010-09-07 Thread David Long
On Tue, Sep 7, 2010 at 12:56 PM, Pid p...@pidster.com wrote: On 07/09/2010 13:37, David Long wrote: I have an Apache Tomcat 7.0.2 development environment setup on my Ubuntu 10.04 laptop. I currently have some servlet's setup in the global web.xml file to handle .cfm files. Hmm

Re: clear text keystore password in server.xml

2010-09-02 Thread David kerber
On 9/2/2010 11:28 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca, On 8/30/2010 2:42 AM, Luca Gervasi wrote: I'm working to secure this, but...it's not too easy (and i'm surely not a skilled programmer...). But I hope this topic will be kept up! There is

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread David kerber
On 8/31/2010 11:43 AM, Steven Woody wrote: Hi, I just installed tomcat 7.0.2 on Windows 7.0.2. But when I tried to launch the Configure Tomcat or Monitor Tomcat, I always got the error message: An Instance of 'Tomcat7' is already running. What's wrong with that? I tried to stop the tomcat

Re: Best practices for deployment on cluster environment

2010-08-27 Thread David Nillesen
for DR purposes. 150m isn't enough, but it's better than the same room. I've never played with the farm deployer module, not sure if thats an alternative. I'd be interested if anyone has? Or solved the problem another way. Hope that helps, Dave -- David Nillesen Systems Administrator http

Re: clear text keystore password in server.xml

2010-08-27 Thread David kerber
On 8/27/2010 9:02 AM, Wesley Acheson wrote: ... I've been giving this whole issue a lot of thought. And not just now for months now. I was wondering if the following was possible in theory, When tomcat is started up it prompts for the password? Wouldn't that help with the whole smoke and

Re: clear text keystore password in server.xml

2010-08-27 Thread David kerber
On 8/27/2010 1:14 PM, djohn...@desknetinc.com wrote: André Warniera...@ice-sa.com wrote on 08/27/2010 12:32:43 PM: Ken Bowen wrote: If you wanted to go down this path, besides the web page for entering the password, you could add sending alerts to the cells of all your sysadmins to improve

Re: How stable is Tomcat?

2010-08-25 Thread David kerber
On 8/25/2010 10:44 AM, Christopher Schultz wrote: ... I know alot depends on the applications architecture but just how good is tomcat? Really effing good. +1 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

RE: Deploying a war to the root URL path

2010-08-24 Thread David Smiley @MITRE.org
It's true I can host the app at /jira but that feel very redundant when the host is dedicated to jira as it is (it's DNS name is even jira). Perhaps I'll just do this. Thanks Jeff. ~ David Jeffrey Janner wrote: I'm not positive, but I think Chuck neglected to mention that the docbase

Re: How stable is Tomcat?

2010-08-21 Thread David Kerber
Yawar Khan wrote: Guys, is tomcat stable enough to host large scale production applications getting 1500+ hits everyday? and as much concurrent database connections. I know alot depends on the applications architecture but just how good is tomcat? My app has approx 550 - 600 simultaneous

trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
it throws an exception complaining that this url-pattern is invalid. I tried with a leading /, I tried *ge.htm in case it wanted a wildcard in there somwhere, but none of them work. This is in a webapp version=2.4 if that makes a difference. David

logging from a filter

2010-08-20 Thread David Goodenough
How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: logging from a filter

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Rainer Jung wrote: On 20.08.2010 11:43, David Goodenough wrote: How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. The init() of the filter is called

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Pid wrote: On 20/08/2010 10:40, David Goodenough wrote: I am trying to configure a filter to handle just requests to a single page which for the simplicity I will call page.htm (at the root of my application). So I created a url-pattern which read:- url

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread David Smith
. As long as it's designed not to have anything to do with the front-end, life is good whether it be in a console java app or a servlet container w/ an html front-end. --David On 8/20/2010 11:30 AM, André Warnier wrote: Caldarale, Charles R wrote: From: Ranjith [mailto:ranjit...@sedin.co.in

Deploying a war to the root URL path

2010-08-20 Thread David Smiley @MITRE.org
using Tomcat 6 fronted by Apache via AJP. ~ David Smiley -- View this message in context: http://old.nabble.com/Deploying-a-war-to-the-root-URL-path-tp29493194p29493194.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread David kerber
On 8/20/2010 9:23 AM, Caldarale, Charles R wrote: From: Ranjith [mailto:ranjit...@sedin.co.in] Subject: Re: How to convert WAR application into console application (Making Unicorn has console application) No not like that it runs very well in tomcat but i want to build a console version I`m not

RE: Deploying a war to the root URL path

2010-08-20 Thread David Smiley @MITRE.org
Ok, thanks Chuck. Perhaps I'll put my war elsewhere... I just don't know where it would be best placed. ~ David n828cl wrote: From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org] Subject: Deploying a war to the root URL path As a matter of taste, I'd prefer not to name my war

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Christopher Schultz wrote: David, On 8/20/2010 11:27 AM, David Goodenough wrote: On Friday 20 August 2010, Pid wrote: The url-pattern must start with a '/' character. Please post the complete application web.xml. Actually from reading the source

problem with JSP/JSTL and Tomcat 6

2010-08-18 Thread David Goodenough
(Helios with its validation) seems to think everything is OK, but when I used jasper2 to compile it under ant, or simply run the page, I get the errors. Anyone got any good pointers as to how to fix this? Are there any good JSP/JSTL migration guides? David

Re: problem with JSP/JSTL and Tomcat 6

2010-08-18 Thread David Goodenough
On Wednesday 18 August 2010, Hassan Schroeder wrote: On Wed, Aug 18, 2010 at 2:23 AM, David Goodenough david.goodeno...@btconnect.com wrote: I have some old JSP pages which used to run on Tomcat 5.5. I tried to move to Tomcat 6 and the current JSTL but I am getting some odd errors. I

RE: Logging specific info to a separate file

2010-08-15 Thread David Parks
into the same blunder and this helps somewhere down the line. Dave -Original Message- From: David Parks [mailto:davidpark...@yahoo.com] Sent: Friday, August 13, 2010 8:53 PM To: 'Tomcat Users List' Subject: Logging specific info to a separate file I have a vanilla tomcat, I want to log specific

Re: DB connection error and broken images while changing webapp context path

2010-08-13 Thread David Smith
on the Alias directive. 4. I don't see anything here that has any impact on database connectivity ... actually don't see any database configuration here at all. Could you include some info on your hibernate setup for myapp? --David On 8/13/10 7:03 AM, Astghik wrote: Hello All. I have Apache

Logging specific info to a separate file

2010-08-13 Thread David Parks
financialslog = LogFactory.getLog(financials); financialslog.error(test); I always make mistakes with these logging APIs, probably it's something simple here, but I'm dumbfounded. Nothing gets logged. Thanks for any help. David

Re: 2 POST requests to underlying Server

2010-08-11 Thread David Smith
internal traffic. Any chance you could verify this is happening (or not) between the client browser and your front-end web server? Maybe you could try a capture from the client system (the one w/ a browser open). --David On 8/11/10 2:08 AM, Karthik Nanjangude wrote: Hi Ok I have copied the wire

Re: 2 POST requests to underlying Server

2010-08-11 Thread David Fisher
definitely get back with the results by EOD 2 morrow With regards Karthik -Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Wednesday, August 11, 2010 7:23 PM To: Tomcat Users List Subject: Re: 2 POST requests to underlying Server Any chance we could see a snippet

Re: 2 POST requests to underlying Server

2010-08-11 Thread David Smith
to always be as a result of something outside apache mod_jk and tomcat. --David On 8/11/10 10:06 AM, Karthik Nanjangude wrote: Hi Maybe you could try a capture from the client system (the one w/ a browser open). As I have already posted the form [ please check last few mails

Configuring JSVC on a new installation

2010-08-11 Thread David Parks
, and those docs aren’t terribly explicit about certain details either. Thanks, David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Configuring JSVC on a new installation

2010-08-11 Thread David Parks
installation On Open SUSE, I just type make. George Sexton MH Software, Inc. 303 438-9585 www.mhsoftware.com -Original Message- From: David Parks [mailto:davidpark...@yahoo.com] Sent: Wednesday, August 11, 2010 1:22 PM To: users@tomcat.apache.org Subject: Configuring JSVC on a new

Re: [OT] Tomcat unexpectedly shuts down

2010-08-10 Thread David Fisher
Hi Andre, So I am not objecting to using 3000 MB of Heap, I am just curious. If someone like Eric Robinson can run a non-trivial multi-user Tomcat application with an average 64 MB of Heap and you can do pretty much the same, then I am curious as to which Tomcat application (or situation)

Re: tomcat 7.0 embedded usage

2010-08-04 Thread David Calavera
Hi, I don't know if that's your problem but I use the method server.await to allow the server to wait. On Mon, Aug 2, 2010 at 2:32 PM, Marzia Forli marzia.fo...@yahoo.com wrote: Can somebody please help me to setup a hello world example of embedded usage of tomcat 7 with servlet 3.0

Re: Running PHP?

2010-08-02 Thread David Fisher
Hi, Maybe I should not ask, but why post with the text as an attachment? You're using Outlook Express, maybe the problem is at your end. Your PGP signature is an attachment. --enig2B65BBFD3FC6C4840C488F3D Content-Disposition: attachment; filename=signature.asc

RE: Tomcat stops loading page half way through on runtime exception

2010-07-31 Thread David Parks
that one out, I'll improve those practices. Thanks Chris and Charles for pointing me in the right direction! David -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, July 30, 2010 8:14 AM To: Tomcat Users List Cc: Caldarale, Charles R

Tomcat stops loading page half way through on runtime exception

2010-07-29 Thread David Parks
exception page). Is there a way to ensure the exception page is displayed on exceptions (or in the future to ensure that the defined pretty error page is displayed)? I really just want to avoid the potential of half-loaded pages, they look horrid. Thanks, David

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread David Fisher
If you look at catalina.sh you will see that stop does not include CATALINA_OPTS: $_RUNJAVA $JAVA_OPTS \ -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath $CLASSPATH \ -Dcatalina.base=$CATALINA_BASE \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$CATALINA_TMPDIR \

Re: how to embed tomcat 7

2010-07-21 Thread David Calavera
I have a pet project using an embedded tomcat. It's written in ruby but the code is pretty straightforward to follow: http://github.com/calavera/trinidad The class that configures the tomcat instance is this: http://github.com/calavera/trinidad/blob/master/lib/trinidad/server.rb Cheers On

Re: Script to restart Tomcat

2010-07-15 Thread David Fisher
I've found that you cannot always rely on the shutdown script closing tomcat quickly. If you have a thread that is not properly managed maybe not at all. In my restart scripts I find the PID of the tomcat process, run the shutdown script, sleep 10 seconds, test if the PID is still active and if

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread David Fisher
Robedan, I recall that we started doing the following in Tomcat 4.1: In the webapps WEB-INF/web.xml we inserted the following right before /web-app: security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name

Re: Tomcat not working after moving installation folder

2010-07-13 Thread David kerber
On 7/13/2010 10:22 AM, Jeffrey Janner wrote: ... Do yourself a favor and follow Chuck's instructions. When it comes to Tomcat: If in danger or in doubt, do what Chuck says, and it'll work out. D - To unsubscribe, e-mail:

Re: Tomcat supported versions

2010-07-13 Thread David kerber
On 7/13/2010 1:57 PM, Garen Azizian wrote: Hello. I would like to find out what is the current minimal supported version of Tomcat. Why? If you want to stick with a 5.x version, 5.5.x still works very well, but 6.x is nice and stable, and will still run on Java 5. Also is the

Re: Tomcat/webapp bundled deployment

2010-07-13 Thread David Fisher
That is pretty much what i do, but I recommend that you adopt an overlay approach. It will make it easy for you to take new versions of Tomcat when they are available. Here is how I currently deploy to Solaris. (1) I use a blessed tomcat distribution from

Re: tomcat datasource, find active connections

2010-07-12 Thread David kerber
On 7/12/2010 10:50 AM, Pid wrote: On 12/07/2010 15:15, Ashish Kulkarni wrote: Hi Where do i specify data source factory? i have following setup Resource name=jdbc/mydev auth=Container type=javax.sql.DataSource maxActive=2 maxIdle=2

Re: tomcat datasource, find active connections

2010-07-12 Thread David kerber
On 7/12/2010 11:23 AM, Ken Bowen wrote: Perhaps select 1 is the simplest lightest weight. If the db will accept it (without a FROM clause), yes. D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Getting a servlet to work within static pages

2010-07-04 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/3/2010 9:24 PM, David Kerber wrote: Yep, that's basically what's going on: /ginp is the root of the ginp context on my web site, and my ROOT context won't reach across the context boundaries

Re: Getting a servlet to work within static pages

2010-07-04 Thread David Kerber
David Kerber wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/3/2010 9:24 PM, David Kerber wrote: Yep, that's basically what's going on: /ginp is the root of the ginp context on my web site, and my ROOT context won't reach across the context

Re: Getting a servlet to work within static pages

2010-07-03 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/2/2010 10:04 AM, David kerber wrote: On 7/2/2010 9:23 AM, Pid wrote: Silly question, have you got the jars for that taglib in: ROOT/WEB-INF/lib? p Not silly at all. I was thinking

Getting a servlet to work within static pages

2010-07-02 Thread David kerber
My system: Debian Lenny (5.x) on a low end machine in my basement (so I can do whatever I want/need to it) TC 6.0.24, installed in /home/davek/apache-tomcat-6.0.24 java version 1.5.0_17 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04) Java HotSpot(TM) Client VM (build

Re: Getting a servlet to work within static pages

2010-07-02 Thread David kerber
On 7/2/2010 9:23 AM, Pid wrote: On 02/07/2010 14:01, David kerber wrote: My system: Debian Lenny (5.x) on a low end machine in my basement (so I can do whatever I want/need to it) TC 6.0.24, installed in /home/davek/apache-tomcat-6.0.24 java version 1.5.0_17 Java(TM) 2 Runtime Environment

Re: JK connector and extra characters showing up

2010-07-01 Thread David Brown
On Thu, Jul 1, 2010 at 4:59 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered

<    5   6   7   8   9   10   11   12   13   14   >