Re: Fix CVE tomcat 6.0.18 with out upgrade

2013-05-08 Thread David Smith
On 5/8/13 1:17 PM, suresh babu yella wrote: Hi Dan, We might consider for upgrading the tomcat later, due to to supportability concerns from Autonomy we cannot upgrade it to any of the higher version. but right now we are looking to apply the fix for all CVE's we identified, it will be

Re: Problem with tomcat welcome page

2011-05-12 Thread David Smith
Given this is a reoccurring error: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String Looks like you are missing possibly the servlet-api jar file or it's in the wrong place. Fix this error and things should work better. BTW ... where did you place

Re: What is JAVA_HOME?

2011-05-03 Thread David Smith
Depends on your OS and how you start tomcat (startup script or as a service). --David On 5/3/2011 1:43 PM, Varuna Seneviratna wrote: On 3 May 2011 22:21, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: What is

Re: Problems deploying a servlet on ubuntu

2011-05-02 Thread David Smith
On Mon, Apr 25, 2011 at 2:52 PM, David Smith david.sm...@cornell.edu mailto:david.sm...@cornell.edu wrote: Hi Karl. The tomcat service set's it's own JAVA_HOME and CATALINA_HOME environment variables. Just a quick look in /etc/init.d/tomcat6 will show that. My

Re: Problems deploying a servlet on ubuntu

2011-04-25 Thread David Smith
Hi Karl. The tomcat service set's it's own JAVA_HOME and CATALINA_HOME environment variables. Just a quick look in /etc/init.d/tomcat6 will show that. My installation of tomcat 6 on Ubuntu has webapps deployed to /var/lib/tomcat6/webapps, not /usr/share/tomcat6/webapps. The later directory

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread David Smith
On 4/12/2011 11:28 AM, David kerber wrote: On 4/12/2011 11:17 AM, Yucca Nel wrote: Indeed :D, Seems to be an issue when I add an ampersand to the password! That doesn't surprise me a bit. I don't think I've run into any password system that will accept that character, though I guess there

Re: tomcat server

2011-03-10 Thread David Smith
Perfectly normal browsers assume port 80 when you don't offer a port number in the url. Your tomcat instance is not listening on port 80 and won't be able to respond when you try to access it there. Solution: change the port number in your tomcat's server.xml file and restart. --David On

Re: programming question

2011-02-24 Thread David Smith
With tomcat's built-in database pooling, just adding a validation query to the resource config should be all that's necessary. On each borrow of a connection, the connection is tested and closed if the test fails. Failed connections are replaced with new ones. --David On 2/24/2011 10:49 AM,

Re: server running website

2011-02-22 Thread David Smith
Check the logs to find out what happened when you attempted to start the server. Is there something else already running on the ports tomcat is trying to use? What does netstat list as listening ports with and without tomcat running? Also what connectors are configured in your tomcat's

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

2011-01-29 Thread David Smith
This smells like a router/firewall issue and it only looks like the top level page at 211.210.19.11:8080 works. Some browsers (IE) offer the cached copy when it runs into trouble loading a page fresh. When you do get tomcat home page from your server at an internet cafe, try holding the

Re: Tomcat(5.5) Clustering and Load Balancing.

2010-12-28 Thread David Smith
On 12/28/2010 8:33 AM, Pid wrote: On 12/27/10 4:11 AM, Harsimranjit singh Kler wrote: Hi i have testing tomcat clustering on single machine.What i am able to do is i hv 4 tomcat instances 1 work as balancer and 3 as cluster.using Rule.xml in balancer with round robin approach.all requests

Re: HTTP status 404

2010-12-09 Thread David Smith
Looks like you should be requesting /filename/filename.htm instead of filename/ ... that is unless you've set a welcome file in the app's web.xml file. If that doesn't work, also take a look at the tomcat logs for the moment in time you a. started tomcat, b. deployed your app (if different from

Re: HTTP status 404

2010-12-08 Thread David Smith
I might be wrong but maybe you need to set something in your web.xml to deliver static files. (basically Tomcat is not designed to run static html files, you can use a combination of Apache serveur + tomcat serveur to do that). Sorry but that's just not correct. Any file in the webapp, but

Re: HTTP status 404

2010-12-08 Thread David Smith
webapp -- filename -- WEB-INF-- filename.htm + web.xml + META-INF + classes + lib If I read this right, 'filename.htm' is being stored in webapp/filename/WEB-INF/filename.htm inside your .war file. FWIW, WEB-INF has no special meaning except in the top level of your .war archive A .war

Re: Can't access tomcat manager

2010-12-02 Thread David Smith
Ok ... checklist time ... - Comments around the role / and user ... / elements have been removed. From what I could tell in your original post this is taken care of. - The tomcat server has been restarted since the last time tomcat-users.xml has been edited. - You are accessing the manager

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

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: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread David Smith
I tend to agree. All this graphical stuff is making life miserable for most of us web developers. Back before Tim Berners-Lee came up with HTTP and HTML and made things horribly complicated, one could still concentrate on the quintessential meaning of things, rather than spending

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

2010-08-13 Thread David Smith
HI Astghik 1. Don't put Context ... / elements in server.xml. They should go into files named ROOT.xml in /etc/tomcat6/Catalina/localhost and /etc/tomcat6/Catalina/www.myip.com. While your at it, drop the docbase and path attributes ... they aren't needed when the Context element is in it's own

Re: 2 POST requests to underlying Server

2010-08-11 Thread David Smith
Any chance we could see a snippet of access log showing the two requests? All I really see here is two packet captures that *look* like they are from in between tomcat and iis (or whatever you are running as a front-end web server). Since 10 addresses are not routeable this looks like all

Re: 2 POST requests to underlying Server

2010-08-11 Thread David Smith
Since the Application is in Production and need some Window Time for taking samples. I would 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

Re: Fwd: Re: RE: Unable to start Tomcat 6 on Windows Server 2003

2010-06-27 Thread David Smith
See inline below ... On 6/27/2010 5:24 PM, Pid wrote: On 27/06/2010 22:09, 1destroy...@gmx.de wrote: hi, i already tried this, but here the output: D:\ttestset CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH% D:\ttestcd bin D:\ttest\bincatalina.bat run Using CATALINA_BASE:

Re: Unable to start Tomcat 6 on Windows Server 2003

2010-06-26 Thread David Smith
On 6/26/2010 3:33 PM, 1destroy...@gmx.de wrote: hi, as already written: The Tomcat do not start with „catalina.bat run“ in the box is written that he can not find Class org/apache/juli/logging/LogFactory... The file is definitely there... kind regards, dessi Please post the whole

Re: Unable to start Tomcat 6 on Windows Server 2003

2010-06-26 Thread David Smith
On 6/26/2010 12:19 PM, 1destroy...@gmx.de wrote: What happens if you run startup.bat? A second dos box shortly appear and is closing immediately... Start a command prompt first, then manually type the startup.bat command - don't double click the file to run it. What does the

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread David Smith
' AGAIN! if you took time to look at tomcat-users archive you would've come across this post by david smith..the answer is just as good now as when originally posted On 6/19/2010 1:31 PM, yucca...@live.co.za wrote: I have no choice left but to not let hibernate use my tomcat

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-19 Thread David Smith
On 6/19/2010 1:31 PM, yucca...@live.co.za wrote: I have no choice left but to not let hibernate use my tomcat datasource. This is not good. I have even moved host provider in hope that it was previous fult tomcat install from dailyrazor (tomcat 6 does not hav common/lib) and is meant to

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-16 Thread David Smith
Hi. Could you please post a version of server.xml without the comments. They are very helpful as documentation but make the file extremely difficult to read. Also, I would check to see if the problem is because the driver jar could not be found or because of some other problem. It's easy

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2010-06-16 Thread David Smith
It can also (and frequently does) happen when there is some mismatch between where the resource is defined and where it's used. Maybe the context.xml file you think tomcat is using for your webapp isn't being used at all. --David On 6/16/10 7:33 AM, yucca...@live.co.za wrote: The bottom line

Re: Glassfish overriding Tomcat 6.0.24 installation?

2010-06-15 Thread David Smith
: Re: Glassfish overriding Tomcat 6.0.24 installation? Thanks David, I did that and it seemed to work. :: thumbs up :: - Josh On Thu, May 27, 2010 at 2:02 PM, David Smith david.sm...@cornell.eduwrote: On 5/27/2010 1:44 PM, Josh Gooding wrote: Hey guys (and gals). Interesting

Re: problems at thejarbar.org

2010-05-31 Thread David Smith
Don't use that ... it still throws an error, reconnecting only after the exception is thrown. If using the db pooling in tomcat, it's better to include a validationQuery attribute in the Resource ... / element in your app's context.xml file. If on the other hand you are directly connecting the

Re: Glassfish overriding Tomcat 6.0.24 installation?

2010-05-27 Thread David Smith
On 5/27/2010 1:44 PM, Josh Gooding wrote: Hey guys (and gals). Interesting enough, I installed the Jave EE 5 JDK for windows. I then installed Tomcat 6.0.24, when I navigate to htp://localhost:8080 (which should be the default of Tomcat) I am getting the glassfish junk. How can I remove

Re: FW: General / Special cause under which TOMCAT Crash been noticed

2010-05-03 Thread David Smith
If your tomcat instance crashes, it'll be sudden and not anything the tomcat instance itself can do anything about. Try looking into a cron script or some other scheduled task external to tomcat. The script could make a request of tomcat every minute or so and restart it if it's down. Generally

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread David Smith
You might want to check the file permissions before and after you edit it. Something about this smells like a permissions issue. I have a Ubuntu 9.10 installed tomcat and it works perfect. Admittedly I didn't upgrade from 8.4 but w/ editing tomcat-user.xml being the only change, there are only

Re: Tomcat Connector to Apache 2.2

2010-05-02 Thread David Smith
Personally I highly recommend the Firebug plugin for Firefox to diagnose this stuff. It does an amazing job of showing parameters, headers, responses, everything. --David On 5/2/2010 12:42 PM, André Warnier wrote: Hi. Jie Sheng Chua wrote: Hi André and Juha, I edit my tomcat

Re: Httpd Configuration Clarification

2010-04-29 Thread David Smith
Adjust your script to check http://hostname:443/... An SSL cert is tied to a hostname and will probably fail due to certificate issues if you attempt to access via localhost. Some http script libraries can be rather draconian on this issue. --David On 4/29/2010 3:35 AM, Anisha Parveen wrote:

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
On 4/21/2010 1:14 PM, Luís de Sousa wrote: Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
information. --David On 4/22/2010 9:07 AM, Luís de Sousa wrote: On Thu, Apr 22, 2010 at 1:29 PM, David Smith david.sm...@cornell.edu I have a Ubuntu 9.10 system and did exactly what you've posted above. It works like a charm. Have you altered anything else? Change permission inadvertently

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread David Smith
An alternative exists in the ServletContext class -- ServletContext.getResource( path ) takes path as relative to the current webapp and returns a URL for opening the resource or null if the resource was not found. also there is -- ServletContext.getResourceAsStream( path ) takes a path as

Re: URLs with '../' and 404s

2010-04-08 Thread David Smith
I strongly advocate server relative URLs which get rid of the whole problem. All that means is the URL becomes everything after the servername port in a full absolute URL. That way it just plain works and even minimizes the browser's understanding of how to compute an absolute URL from a

Re: Error connecting to MySQL

2010-03-21 Thread David Smith
Communications link failure Suggests either a) the mysql server isn't running or b) it isn't listening on port 3306 of your localhost adapter. --David On 3/22/2010 12:31 AM, Roman Sokolyuk wrote: Hi, I am running Tomcat 6.0 on windows 7. I am also running MySQL as a service and I am

Re: Multiple SSL certificates on same server

2010-03-09 Thread David Smith
On 3/8/2010 6:46 PM, Richard Huntrods wrote: Does anyone know if it is possible, or has anyone done this: I have two applications running on a single server. The applications use different domains and URLs, so the single Tomcat instance can easily tell them apart. (Note: this part is

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread David Smith
On 3/4/2010 8:00 AM, maven apache wrote: Hi: I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 , also I have set up a permanent environment variable JAVA_HOME which link to the jdk directory. I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to

Re: When I link to a *.do I get Page not found

2010-02-27 Thread David Smith
On 2/27/2010 8:31 AM, Søren Blidorf wrote: I have made a struts application and it works just fine on my testserver. I have now uploaded it to my hosted webserver and struts does not work. When I link to a *.do I get “Page not found” Could it be a Tomcat config problem. Placing

Re: Deploying

2010-02-10 Thread David Smith
On 2/10/2010 11:47 AM, Telles Nobrega wrote: Im working with some webapp, and they were suppose to be running on tomcat, i got all together, put it all into the webapp folder, some worker, some didnt. can anyone explain the reason for that? Only the tomcat logs know ... you might want to

Re: can't call my servlet on Tomcat 6 (Error 404)

2010-01-31 Thread David Smith
On 1/31/2010 5:36 PM, hbral wrote: Hi everyone. I have a serlvet that reads a file from disk and then starts streaming the file. i have mapped the servlet to url in the web.xml file. it works perfect on my local machine (i'm using gwt with eclipse which uses jetty i think) but when i

Re: Administration Tool

2010-01-31 Thread David Smith
On 1/31/2010 5:46 PM, Charles Ohana wrote: Hello guys, I just installed tomcat 6 on my machine (yup it's my first time). I realized it does not come with the Administration Tool. I've been looking to download it but cannot find it anywhere. Can anyone points me to the right direction? Thank

Re: can't call my servlet on Tomcat 6 (Error 404)

2010-01-31 Thread David Smith
On 1/31/2010 6:15 PM, hbral wrote: David Smith-2 wrote: On 1/31/2010 5:36 PM, hbral wrote: Hi everyone. I have a serlvet that reads a file from disk and then starts streaming the file. i have mapped the servlet to url in the web.xml file. it works perfect on my local machine

Re: the context.xml is not preserved

2010-01-28 Thread David Smith
On 1/28/10 9:46 AM, LI Daobing wrote: Hello, in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there is a statement: Once this file exists, it will not be replaced if a new WAR with a newer /META-INF/context.xml is placed in the host's appBase. but, in my practice, this file

Re: Problem starting connection pooling

2010-01-22 Thread David Smith
Mark Witczak wrote: I'm very new to Tomcat, connection pooling, JSP, etc. and I've been banging my head against a wall for two weeks trying to get a simple program to connect to a MySQL database. *Vital Stats:* Ubuntu 9.10, Java 1.6.0_0, Java Servelet 2.5, Java Server Pages 2.1, JSTL 1.2,

Re: Cyclos Webapp Trouble (404)

2010-01-18 Thread David Smith
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure To me this looks like it's outside of tomcat. Check that mysql is up, listening on tcp port 3306 (the standard mysql port) and there aren't any firewalls causing problems between tomcat and mysql.

Re: Cyclos Webapp Trouble (404)

2010-01-18 Thread David Smith
Rick Bragg wrote: On Mon, 2010-01-18 at 07:39 -0500, David Smith wrote: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure To me this looks like it's outside of tomcat. Check that mysql is up, listening on tcp port 3306 (the standard

Re: Cyclos Webapp Trouble (404)

2010-01-18 Thread David Smith
Rick Bragg wrote: On Mon, 2010-01-18 at 08:23 -0600, Caldarale, Charles R wrote: From: Rick Bragg [mailto:li...@gmnet.net] Subject: RE: Cyclos Webapp Trouble (404) Yes I notices that as well, I forgot to post my cyclos.properies Here is the mysql section... hibernate.connection.url =

Re: Servlets in web-inf/lib

2009-12-21 Thread David Smith
1. It's WEB-INF, not web-inf. Case matters. 2. If the classes are in .jar files, yes. Otherwise they will have to be in WEB-INF/classes --David Clay McCoy wrote: I have some servlets that are in jars in web-inf/lib and Tomcat does not see them. I know that it is typical to have servlets

Re: Tomcat Config Question

2009-12-15 Thread David Smith
I'm assuming your docBase for this app is not inside tomcat's webapps folder and in that case, you're right to wonder how tomcat finds the context.xml file. The Context ... .../Context element can also be in it's own file named after the path attribute - i.e. alti.xml in conf/Catalina/localhost.

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread David Smith
Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: Re: [Solved+Question]SessionListener not being invoked This project has been sputtering along for a fair number of years, and my context.xml almost certainly began life inside conf/server.xml. Once upon a

Re: Tomcat does not respect the HTTP RFCs !

2009-11-29 Thread David Smith
André Warnier wrote: Konstantin Kolinko wrote: 2009/11/29 Bill Barker billwbar...@verizon.net: André Warnier a...@ice-sa.com wrote in message news:4b119016.2020...@ice-sa.com... Pid wrote: On 28/11/2009 12:56, André Warnier wrote: ;-) I just wanted, once, to use a subject line with

Re: Moving the webapps context root or adding a prefix

2009-11-23 Thread David Smith
The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. --David Jason Pyeron wrote: We are installing TC behind a proxy. The proxy will map all requests of form http(s)://host/prefix/* to tomcat. Is there a config option to change the context root? i.e.: webapps/ROOT =

Re: Tomcat server running but application not running Vista

2009-11-22 Thread David Smith
Take a look at your log for relevant messages and be very detailed in describing what exactly is erroring. -- David On Nov 22, 2009, at 9:04 AM, SRamasamy su...@techie.com wrote: I have developed application with Windows XP it's looks good when try to run Vista and Windows 7 application

Re: https and port numbers

2009-11-17 Thread David Smith
Your tomcat has to listen on 443 to remove the port number from the URL. This is not a tomcat issue, but rather the browser's expectation. -- David On Nov 17, 2009, at 4:40 AM, Robert Denison r...@blim.org wrote: Hi, I've set up my tomcat server to serve http requests on port 8080 and

Re: https and port numbers

2009-11-17 Thread David Smith
Christopher Schultz wrote: David, On 11/17/2009 7:39 AM, David Smith wrote: Your tomcat has to listen on 443 to remove the port number from the URL. This is not a tomcat issue, but rather the browser's expectation. That's not entirely true. If Robert configures his firewall to redirect

Re: Error starting the web server

2009-11-16 Thread David Smith
jdk is 1.3 Ouch! You really should consider an upgrade. What version of tomcat do you have ... it hasn't been recommended that anyone set classpath since tomcat 3 days. And then it was a nightmare trying to engineer classpaths so all the apps and tomcat were happy. More details would be

Re: What different between Apache and Apache Tomcat?

2009-11-14 Thread David Smith
Not always. In the simplest of configurations, just serving out webapps, it's better to go with a standalone Apache Tomcat installation. Putting Httpd in front would just add latency to the request and make the environment more complicated. If you need other features best provided by Httpd,

Re: Multi-level context starting at ROOT

2009-11-04 Thread David Smith
I'm still wondering why you'd want to do ROOT#multilevelcontext.xml when it's functionally the same as multilevelcontext.xml. What use case do you have for such a thing? --David Maurice Yarrow wrote: Hello Tomcat Users Grp and in particular, Pid and Konstantin Kolinko: Thanks for your

Re: Multi-level context starting at ROOT

2009-11-04 Thread David Smith
with sessions. Maybe someone here can address that question since it appears to be what you really want. --David Maurice Yarrow wrote: Hello Tomcat User Group and in particular, David Smith: My use-case is embedding meshcms inside my primary web app and in a way that they can both share the same

Re: Bad file descriptor serving static file

2009-10-31 Thread David Smith
Have you run a filesystem checker on the disk lately? I would expect an error like that to come from the underlying OS. A cheap test would be to rename the file (struts_dojo.js.bad) and put a new one in with it's original name. --David Mitch Claborn wrote: tomcat 6.0.20 Java(TM) SE Runtime

Re: Starting web app with properties set

2009-10-22 Thread David Smith
You could implement a ServletContextListener that reads the properties and makes them available however your app needs them. --David Ken T. wrote: I looked around online but couldn't find anything. Is there a way to start a web application under Tomcat with specific properties mappings.

Re: SEVERE: Error registering Catalina:type=Valve,name=StandardContextValve,path=/test,host=localhost

2009-10-03 Thread David Smith
message description The requested resource () is not available. Apache Tomcat/5.5 Do you have any experiences? Thanks in advance Andrew -- David Smith Programmer/Analyst College of Agriculture and Life Sciences Cornell University B32 Morrison Hall Ithaca, NY 14853 Phone

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread David Smith
Eric P wrote: Hi, (Tomcat newb alert) I've got a simple database servlet application that has a few model classes on the back end. I have the model classes pretty well genericized so that they could (almost) be utilized outside of Tomcat by another app, but they do utilize the Tomcat

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-09-27 Thread David Smith
Elli Albek wrote: Hi, We have Tomcat behind a load balancer. The servlet API and tomcat libraries see the load balancer IP as the client IP. I tried to write a simple valve which will extract the IP from HTTP header X-Forwarded-For and continue the valve chain using this IP as the client

Re: Tomcat 5.5.28: Admin Tool login page problem?

2009-09-23 Thread David Smith
Daniel B. Thurman wrote: On 09/23/2009 10:13 AM, Mark Thomas wrote: Daniel B. Thurman wrote: Just wondering if this problem has been reported: URL: http://localhost/admin 1) The Login.jpg image is not appearing, and the Login/Password inputboxes are a bit off center

Re: Why tomcat didn't compile my jsp's

2009-09-19 Thread David Smith
Ok... but what actually ends up in your tomcat's webapps folder? If it's a compressed .war file, it should have been expanded either in the webapps folder or tomcat's work folder. What do you see in there? Essentially I'd like to know what tomcat is given to work with ... not what your source

Re: Does tomcat log closed connection

2009-09-19 Thread David Smith
jithu mada wrote: Hi, I am using Tomcat 5.0.27 on AIX. Its abruptly closing a connection after processing a user request successfully. Wanted to know does it log anywhere why is it closing the connection or do we need to change any settings to make it log closed connections. Thanks

Re: Does tomcat log closed connection

2009-09-19 Thread David Smith
and our application creates a session for that user 5) After this client says the connection was closed unexpectedly. There are no proxys in between. I appreciate your help. thanks Jithu On Sat, Sep 19, 2009 at 7:38 PM, David Smith d...@cornell.edu wrote: jithu

Re: Why tomcat didn't compile my jsp's

2009-09-18 Thread David Smith
Rafael Muneton wrote: Hello everyone: I’m learning the Struts framework and in my first Web Application, that contains only a JSP with the classic Hello World! Message, I have some problems. I’m using Windows XP SP2 as the OS. Apache Tomcat 5.5 as the web server. Ant 1.7.1 and Java

Re: Re : Connection Closed Issue

2009-09-16 Thread David Smith
I am convinced somewhere in code, these connections are never returned to the pool (closed from the app's point of view) and that's why you have this problem . It's out of the pool's control what happens to the connection while it's out on loan. Unfortunately I've never had the chance to look

Re: Loss of body POST request...

2009-09-15 Thread David Smith
Servlets handle uri encoded POSTs just fine. It's when the POST body is encoded differently like with mulipart -- that's where tools like fileupload come into the picture. Either way, the POST body should be completely available to the servlet, even if it's just as an input stream. Were there

Re: tomcat mysql dbcp Communications link failure

2009-09-13 Thread David Smith
Could you provide the full stack trace? And if possible, can you describe time it takes as it relates to the timeout of your MySQL server? The default timeout in MySQL is 8 hours, but is configurable. Also I'm assuming all the ${...} stuff is just you sanitizing the Resource ... / block. One

Re: problem displaying .swf file in generated html from jsp file

2009-09-08 Thread David Smith
Have you used a plugin like Firebug for Firefox to verify the url of the .swf file as requested by the browser? What url does the browser try to use to get the .swf file and what is the status code on the response (200, 404, 500, etc., )? --David Adrian Matei wrote: Hi everyone, I've

Re: catalina error file

2009-09-08 Thread David Smith
André Warnier wrote: mateo-jl wrote: Hello, i would like to have a circular catalina error file is it possible ? Mmmm. The concept of a circular file sounds interesting. Maybe you want to explain a bit what you mean ? there may be a great technical breakthrough lurking there. I don't

Re: problem displaying .swf file in generated html from jsp file

2009-09-08 Thread David Smith
From: David Smith d...@cornell.edu To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, September 8, 2009 9:06:06 PM Subject: Re: problem displaying .swf file in generated html from jsp file Have you used a plugin like Firebug for Firefox to verify the url

Re: catalina error file

2009-09-08 Thread David Smith
Hassan Schroeder wrote: On Tue, Sep 8, 2009 at 12:07 PM, André Warniera...@ice-sa.com wrote: Mmmm. The concept of a circular file sounds interesting. In classic American office parlance (yeah, showing my age here), the circular file (or round file) was a euphemism for trash can :-)

Re: Tomcat App Configuration

2009-09-07 Thread David Smith
Just delete the original ROOT webapp and rename your webapp ROOT. -- David On Sep 7, 2009, at 5:54 AM, skarahan samilkara...@gmail.com wrote: Hi, I use tomcat5.5 on ubuntu and have java web application.When I run it, its address looks like http://servername:8180/myapp; on browser address

Re: detecting oracle connection failures

2009-09-07 Thread David Smith
? thanks in advance, roberto - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- David Smith Programmer/Analyst College of Agriculture

Re: Unable to Access Servlet After Migrating From Tomcat 5.0.25 to 6.0.18

2009-09-04 Thread David Smith
As configured below, try http://d1uap:4901/UMI/UMI/servlet/HUControlServlet The servlet mapping in WEB-INF/web.xml should not include the context path of the webapp. --David Lataxes, Karl wrote: I am attempting to migrate a servlet from Tomcat 5.0.25 to 6.0.18, but my efforts to access it

Re: How do I uninstall Tomcat 6.0 so that I can down level it to 5.5 ?

2009-09-03 Thread David Smith
Strickland, Lawrence P wrote: How do I uninstall Tomcat 6.0 so that I can down level it to 5.5? This is on a UNIX operating system. Larry Strickland Lead Systems Administrator lawrence-strickl...@uiowa.edu University of Iowa Hospitals and Clinics That depends on how

Re: EL expressions not evaluation in tag library

2009-09-02 Thread David Smith
So, you are saying the EL expressions are evaluated, but the standard taglibs aren't? Can you post a minimum jsp with the problem? Also get rid of javaee.jar. I believe it duplicates servlet-api classes. -- David On Sep 2, 2009, at 5:03 AM, veerabahu moonpearl_vegtime_2...@yahoo.com

Re: (newbie question) missing classs file?

2009-08-18 Thread David Smith
I believe once a servlet is initialized in memory, it stays in and is re-used over and over. After removing the class, you'd have to reload the webapp to make the change show. --David Daniele Development-ML wrote: Consider also that once the application is loaded is memory, even if you cancel

Re: Multi-Level Context Paths

2009-08-17 Thread David Smith
Drop the path attribute from your Context ... .../Context definition. The path should ideally be driven by the name of the war file, not explicitly called out in config unless your webapp is outside the webapps directory. --David Andy Ee wrote: Hi Mark, Before I prepare my .war file, there

Re: apache2.2 tomcat5.5.27 Windows 2008 virtual hosts

2009-08-17 Thread David Smith
. The addresses and names in my code have worked before though. Kind regards, Piet On Mon, Aug 17, 2009 at 2:42 PM, David Smith d...@cornell.edu wrote: Are you replacing DNS names and IPs with fakes for the purposes of email or are these real values? 192.168.x.x is unroutable and suggests the time

Re: How do I set an option for a specific servlet if Tomcat is running as a service?

2009-08-16 Thread David Smith
Aaron Aberg wrote: Hi, I'm using Linux CentOS with Plesk 9.2.1, Tomcat 5.5 and Solr 1.3.0. I installed the solr war file through the plesk control panel but it doesnt start up. The logs reveal that solr/home property needs to be set before it can be started up. After some googling, I found

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
Mark Thomas wrote: Gabriele Fatigati wrote: I kow what is url-pattern tag , but simply i don't understand how i have to write security coinstraints. But you clearly don't know what a context path is. Read the servlet spec. It explains this. You told me: you don't need to

Re: Connection Pool Exhausted

2009-08-15 Thread David Smith
of how to detect if it is a leak. Does anyone have any troubleshooting tips or advice? Right now I have a cronjob restarting Tomcat every hour to keep the site hobbling along, but this is really terrible to do on a live site. Thanks in advance! Kristen -- David Smith Programmer/Analyst

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
Try installing Firebug on an install of Firefox and watch Firebug's Net tab. You'll see all the requests, response codes and more as the page loads. Should be able to figure out what's happening in short order. --David Gabriele Fatigati wrote: And very very strage, with user_1 pages has

Re: JSESSIONID cookie permanent?

2009-08-12 Thread David Smith
Your best bet is to assign your own cookie. Then on new session creation, look for the cookie and repopulate the new session with shopping cart data. --David Mitch Claborn wrote: My usage is: I store the key to the user's shopping cart in the session. I'd like the user to be able to come

Re: Beginner

2009-08-06 Thread David Smith
Mohamed Shah wrote: Hi, I am new to apache tomcat. May I know which is the root directory for source files like html,jsp. I guess it is webapps. How to call the files using browser. http://localhost:8080/mywork/name.jsp Is this right way to use? Then How to check if the service runs?

Re: avoiding ssl vulnerabilities in tomcat

2009-08-04 Thread David Smith
Just to clarify, authentication to my mind means providing username/password credentials. There's nothing in the connector aside from maybe the clientAuth=false attribute that controls this. Setting that true would mean the client browser is required to send an authentication certificate during

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
Roman Sokolyuk wrote: Additionally, does it follow that img elements have to refer to images located outside the WEB-INF directory (Since no content from WEB-INF can be served directly to the browser request)? Simple answer: Yes. More complicated: There are ways around this limitation using a

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
André Warnier wrote: As an addendum : A very useful tool when dealing with issues like this one, if your are using Firefox as a browser, is an add-on like HttpFox. It allows you to access your server, and see exactly which requests are sent to the server (including the secondary ones like

Re: Newbie: CSS not taking effect

2009-07-31 Thread David Smith
Roman Sokolyuk wrote: Thank you very much for your time. This fixed the problem. I have only one question. How does the browser determine which parts of the URL to strip? On Fri, Jul 31, 2009 at 11:07 AM, André Warnier a...@ice-sa.com wrote: One way to handle the paths in jsps is to

Re: Tomcat upgrade 5.5 - 6 affecting apache server

2009-07-25 Thread David Smith
If I remember write, this file has all the mount directives for various webapps hosted by tomcat. It might have even been auto-generated in your tomcat 5.5 environment by the tomcat service. I would migrate the stuff in workers.properties to their equivalent in apache httpd config files and drop

  1   2   3   4   5   6   7   8   9   10   >