SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
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; I'm trying to figure out what got broken. Symptom: listenerStart fails without even getting to the first line of the AppListener

[NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
. 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; I'm trying to figure out what got broken. Symptom: listenerStart fails

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Aug 6, 2008 1:51:21 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1141 ms --Ken On Aug 6, 2008, at 1:09 PM, Mark Thomas wrote: Ken Bowen wrote: Ok, I fixed that (see

[??-FIXED: Yes, but]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Ken Bowen
around to carrying out the computations. Thanks for putting me on the right path, --Ken On Aug 6, 2008, at 2:16 PM, Mark Thomas wrote: Ken Bowen wrote: That's what's frustrating. I'm using a new Tomcat unzip with simple JULI logging So what is the log4j message doing in this trace

Re:constantly open connections in TC

2008-08-08 Thread Ken Bowen
I haven't stepped up to attempting Comet/NIO yet, but I have had some small-scale success with a custom pseudo-push implementation using the RPC in GWT (Google Web Toolkit); obviously we're using GWT for the pages. When the browser starts, it uses rpc to ask for any available data: If data

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread Ken Bowen
If you are uploading your application (myapp) to Tomcat's webapps folder as a war (myapp.war), do two things: 1. Delete webapps/ROOT ; 2. Rename myapp.war to ROOT.war (case is important), and then upload it to webapps. On Aug 17, 2008, at 2:36 PM, flytoarun wrote: Hi All, I am using

Re: DWR [Slightly off topic -- Was Struts vs JSF (poll?)]

2008-08-24 Thread Ken Bowen
Frank, This may be too far off-list; if so please suggest another channel. However, there may be other developers lurking on the list who would also be interested. I've downloaded DWR and performed a cursory look through the examples, and it looks promising (I've done a chunk of very

Re: apparent problem with work/ directory

2008-08-30 Thread Ken Bowen
When I run into behavior that sounds like what you describe, I manually delete TOMCATwork/Catalina/localhost/APPNAME before restarting. --Ken On Aug 29, 2008, at 5:00 PM, Jonathan Mast wrote: I refactored the POJO side of a webapp I have. I basically moved some objects referenced by

Re: apparent problem with work/ directory

2008-08-30 Thread Ken Bowen
not require a restart? Or will it throw errors? And if so, will those errors be limited to that webapp or could if affect other webapps? Thanks On Sat, Aug 30, 2008 at 11:13 AM, H. Hall [EMAIL PROTECTED] wrote: Ken Bowen wrote: When I run into behavior that sounds like what you describe

Re: Installing Tomcat (stock) with Tomcat (rpm)

2008-08-30 Thread Ken Bowen
Eduardo, First, do you mean (1) run multiple versions of tomcat simultaneously? Or just (2) that you will have multiple (different) versions of tomcat installed, and you can switch between them? I'm not sure you can do (1) very easily. But (2) is very, very easy. Download the *zip* file for

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

2008-09-02 Thread Ken Bowen
Google is your friend: open source web site management On Sep 2, 2008, at 11:31 AM, Toby White wrote: Hi guys, I am a completely newbie in tomcat. Just wondering if there is any open-source tool which would help me create and organize the contents of our company's web-site (about us, our

Re: tomcat ROOT

2008-09-08 Thread Ken Bowen
Assuming you are deploying by dropping myapp.war into webapps: 1. Delete webapps/ROOT ; 2. Rename myapp.war to ROOT.war (case is important here) 3. Deploy your new ROOT.war in webapps. 4. Since ROOT is the default that tomcat will run when it can't match the incoming request,

Problem with mod_jk installation

2008-09-23 Thread Ken Bowen
the installed Httpd version was 2.2.3, I attempted to use the next earliest version of mod_jk, the version mod_jk-1.2.26-httpd-2.0.61. But when Httpd tries to load that, it says that it is garbled. What am I missing here?? Thanks in advance, Ken Bowen

Re: Url rewrite

2008-09-30 Thread Ken Bowen
Something like the following might be helpful for your web.xml: filter filter-nameUrlRewriteFilter/filter-name filter-classorg.tuckey.web.filters.urlrewrite.UrlRewriteFilter/ filter-class !-- init-param param-namelogLevel/param-name

Re: Url rewrite

2008-09-30 Thread Ken Bowen
to abc.com/b. Also, is adding just rule not enough? Why do we also need to add a filter. You need the filter to apply the rule to the incoming request to convert as you desire. On Tue, Sep 30, 2008 at 10:48 AM, Ken Bowen [EMAIL PROTECTED] wrote: Something like the following might be helpful

Re: Url rewrite

2008-09-30 Thread Ken Bowen
if it has to route that request to abc/b wouldn't the URLrewrite need to occur somewhere outside of B.war? On Tue, Sep 30, 2008 at 11:07 AM, Ken Bowen [EMAIL PROTECTED] wrote: Below... On Sep 30, 2008, at 1:58 PM, Mohit Anchlia wrote: I think I don't really understand how it works. So if my

Re: Communicating between webapps

2008-10-09 Thread Ken Bowen
A very similar architecture would be offered by using JMS (say openjms or activeMQ; we've been using the latter; check for others at http://java-source.net/open-source/jms ). In this case, there is a message broker which runs separately. At the moment, we're using it on one development

Re: [ANN] Apache Tomcat Connectors 1.2.27-dev-704800 available for testing.

2008-10-15 Thread Ken Bowen
Rainer, The connectors FAQ (http://tomcat.apache.org/connectors-doc/miscellaneous/faq.html )states: mod_jk works well with Apache 2.2. You need a binary module compiled for version 2.2 of the Apache web server. A binary compiled for version 2.0 will not work. Important parts of the

Tomcat 5.5.26 / 6.0.18 difference: loading jdbc jar??

2008-11-26 Thread Ken Bowen
in advance, Ken Bowen context.xml: Context path= debug=5 reloadable=true crossContext=true Resource name=jdbc/securities_info auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=XXX password=XXX driverClassName

Re: Tomcat: Excessive drain on resource?

2008-12-02 Thread Ken Bowen
But not all. My hosting company, for what I regard as reasonable monthly prices (10/20/30), provides VMs running CentOS 5 with memory spaces of 160MB, 288MB, or 432 MB, and have generally been pretty knowledgeable when I ask support questions: per Andre Johnathan Swift, they only make

Re: HelloWorld servlet, or just about

2008-12-19 Thread Ken Bowen
Of course, Google is your friend: Results 1 - 10 of about 237,000 for hello world servlet. (0.23 seconds) :-) On Dec 19, 2008, at 4:35 PM, André Warnier wrote: Dear experts, I love Tomcat, and I find all the people on this list kind, helpful, in short marvelous. I have dabbled in

Turning off jsessionid

2007-10-26 Thread Ken Bowen
Hi All, Is there a way to tell Tomcat to never rewrite urls? I.e., to never add jsessid ? Thanks, Ken Bowen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Virtual Host with Different IP Address

2007-10-26 Thread Ken Bowen
to put the line 123.123.123.123 sub.mydomain.com into the hosts file on the machine running your browser. On *nix systems, this is usually /etc/hosts, and on windows, it is typically C:\Windows\System32\Dirvers\Etc\Hosts Cheers, Ken Bowen banderson wrote: Assuming my domain is hosted

Re: Turning off jsessionid

2007-10-26 Thread Ken Bowen
engines penalize you for the presence of jesessionid's. Cheers, Ken Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, Ken Bowen wrote: Is there a way to tell Tomcat to never rewrite urls? I.e., to never add jsessid ? Do you want to completely disable sessions

Cookies

2007-10-26 Thread Ken Bowen
Hi All, There are sites that I frequent which I believe to be powered by java servlets, and which seem to recognize me immediately when I first connect after an absence (Welcome back, Ken). So is it the case that if browser B has previously set a cookie at site S (at url uuu), then when B

Re: URL rewriting issue in tomcat

2007-11-23 Thread Ken Bowen
Use UrlRewriteFilter: http://tuckey.org/urlrewrite/ to express the rules you need. int wrote: I have two sites running on the same server that are sharing classes, jsps, etc. I want them to be accessible via two different domains though, as follows: http://domain.com/ should serve files

Re: OT - Tomcat and Stanford NLP POS Tagger

2007-11-29 Thread Ken Bowen
I don't think the Stanford NLP POS Tagger download includes any web-oriented classes other than the single class which can parse the un-html-tagged content out of a web page. Have you obtained or developed a servlet/jsp in which Tagger is embedded? Christopher Schultz wrote: -BEGIN PGP

Re: How can I exclude in url-pattern for filters in Tomcat 5.5.20?

2007-12-03 Thread Ken Bowen
Look into using Url Rewrite Filter: http://tuckey.org/urlrewrite/ kkus wrote: Hi, For the following setting in web.xml, if I have a request like /*.earth how can I exclude it from these filters? I don't want to filters to handle request from /*.earth. Thanks! filter-mapping

Re: Tomcat URL Redirecting

2007-12-09 Thread Ken Bowen
You can create a rewrite filter using http://tuckey.org/urlrewrite/ RK wrote: Hi, I have my web application running on Tomcat 4.1.31 and SQL Server. and I have a security certificate issued for my website for http://www.mydomain.com . So if some one types in https://mydomain.com an

Re: New jsp not being read

2008-01-17 Thread Ken Bowen
I've found that working (on my dev box -- sometimes windows, sometime linux) under Eclipse, it can be somewhat unpredictable when redeployment of a new page really takes in Tomcat's directory. When it seems funny, as Chris suggested, I shutdown Tomcat (from the MyEclipse control). Since I

Re: Cannot activate Tomcat Manager

2008-01-29 Thread Ken Bowen
FWW, on my Linux box (CentOS5), with a pure Apache Tomcat just unzipped and used in place, to talk to the manager, I need this url: http://localhost:8080/manager/html Ken Pid wrote: Jonathan Mast wrote: I'm having trouble enabling the Manager webapp on Tomcat I've

Re: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat

2008-02-09 Thread Ken Bowen
The missing class: javax/servlet/ServletRequestListener occurs in servlet-api.jar which appears to be missing in your configuration. The best place for it is in Tomcat's common/lib. -Ken Thomas Chang wrote: Hi all, I am not sure if I should put my question here. But I can't

Re: Problem in running servlet

2008-03-05 Thread Ken Bowen
unexpectedly while stopping the application. STATUS | wrapper | 2008/03/03 03:12:11 | -- Wrapper Stopped Do you have any idea what this might be about? Thanks, Ken Bowen Mohamed King wrote: Hi, Try putting the jar file in TOMCAT_HOME/common/lib or in your application

Apologies

2008-03-05 Thread Ken Bowen
Apologies for the confused reply to MK. Mixed up my mailTime for another couple of cups of coffee. ): --KB - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

DataSources and Tomcat (continue thread: Re: How to use connection pool with tomcat 1.2.9)

2007-07-14 Thread Ken Bowen
on to the META-INF -oriented approach.] Thanks in advance, Ken Bowen - 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: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-15 Thread Ken Bowen
being advised to put our Context thing in our web apps these days so that's what I'm going to try next. Good Luck Chers Duncan On 7/15/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: DataSources and Tomcat (continue thread: Re: How to use

Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
still get the same error. I'm confused. Why does tomcat on Windows find the JDBC driver, but not find it on Linux? Thanks in advance, Ken Bowen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

Re: Datasource: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2007-09-16 Thread Ken Bowen
the original exception, you threw away much useful information, such as the stack trace. Don't do that. Of course, you're right. It's only the presence of my //TODO: log this; kill off everything... that enables me to claim that I have the right stuff on my list of TODOs. Thanks again, Ken Bowen

Re: Tomcat and JSTL -- Generalized Question

2007-09-21 Thread Ken Bowen
Does there exist an organized run-down on which jars should be placed in common/lib (e.g., database connectors) and which jars should be placed in WEB-INF/lib (e.g. jstl.jar)? Thanks, Ken Bowen Caldarale, Charles R wrote: From: John Langan [mailto:[EMAIL PROTECTED] Subject: Tomcat and JSTL

Weird problem: Two apparent copies of app started

2007-09-28 Thread Ken Bowen
as to what could be going on. Any ideas what I should look for? Thanks very much in advance, Ken Bowen DAOBaseData.java ===[DAOBaseUsers.java is a clone of this] package com.strongbrain.database; import java.sql.Connection; import java.sql.SQLException; import

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
should appear in Host and what in META-INF/context.xml?? The A Word on Contexts in http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html doesn't give any details. Thanks, Ken Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Weird problem: Two apparent

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
Chuck, PID: Thanks for the replies and pointers -- they're a real help. Now, I'm sure the following is going to turn out to be a DUH! moment for me, BUT: If I put my context element in META-INF/context.xml, how is it associated with a particular virtual HOST? It's obvious how this happens

Re: Weird problem: Two apparent copies of app started

2007-09-29 Thread Ken Bowen
Well, I said it would be DUH!, didn't I. Thanks a lot guys. Have a good weekend, Ken Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Re: Weird problem: Two apparent copies of app started If I put my context element in META-INF/context.xml, how is it associated

How to specify a default context?

2007-09-29 Thread Ken Bowen
or sample2 the default webapp for this Host, running when the connection to http://strong-brain.com/ is made??? Thanks, Ken Bowen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to specify a default context?

2007-09-30 Thread Ken Bowen
. Since I plan to use http://tuckey.org/urlrewrite/ to rewrite URLs, and since / will rewrite to /myapp/, then the request htpp://myhost/ will ending up causing myapp to handle the request. Is this sound? Am I missing something here? Thanks, Ken Caldarale, Charles R wrote: From: Ken Bowen

Re: Setting default webapp

2007-10-01 Thread Ken Bowen
Would it be enough to replace ROOT/index.jsp with the following?: % page contentType = text/html % % String redirectURL = http://myserver:8081/SiteData/;; response.sendRedirect(redirectURL); % -- Ken Bowen Pid wrote: David kerber wrote: I want my webapp

Re: New to Apache

2007-10-02 Thread Ken Bowen
I remind myself regularly that the address is a link at the bottom of every eamil I get from the list, and using that sets up everything I need. Since I save (some) list items, it's easy to get the address to start a new thread. --Ken Bowen Tony Fountain wrote: Yes, I did do

Re: quick or easy re-direct

2007-10-02 Thread Ken Bowen
Another option I've been learning to use (it has both forward and redirect capabilities) is: http://tuckey.org/urlrewrite/ --Ken Pid wrote: dave slimmon wrote: RE: Does the URL for the page change or is it consistent? Hey there, thanks for writing. The URL is consistent. In

Controlling JULI logging 1) Tomcat on its own; 2) when running under Eclipse.

2007-10-02 Thread Ken Bowen
I'm using a freshly unzipped install of Tomcat 5.5.25 on Windows. 1) JULI logging is automatically enabled, and is controlled by the logging.properties file found in conf. This seems to be at variance with the statement in http://tomcat.apache.org/tomcat-5.5-doc/logging.html : Example

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Ken Bowen
your tomcat. My 2 cents... Ken Bowen Charl Gerber wrote: Turns out datasource configuration is not possible using Plesk as a shared tomcat server, the guys at Plesk themselves told me. That sucks. Means I have to create and manage the Datasource in my app... minor refactoring, but not a nice way

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Ken Bowen
3rd Ed.) HTH Ken Bowen Arun wrote: Chris, My mail.log looks like this.(tail mail.log). This is the log created just now as i send from my webapp. Oct 4 20:51:07 venus sm-mta[17487]: l950p6C3017485: to= [EMAIL PROTECTED], delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120522, relay=gmail

Question about renaming myapp.war to ROOT.war

2007-10-09 Thread Ken Bowen
. Is this essentially correct, or am I missing something here? Thanks in advance, Ken Bowen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Problem installing application context as ROOT

2007-10-18 Thread Ken Bowen
? Steps 1-4 are a little bit awkward. If I have to, I assume I could slightly streamline 1-4 by first stopping the root app (/) with the manager, dropping in the new ROOT.war, and then executing jar -xf ./ROOT.war Does this expand ROOT.war exactly as Tomcat does? Thanks in advance, Ken Bowen

Re: Problem installing application context as ROOT

2007-10-18 Thread Ken Bowen
It seems to that's what I did in steps a-c when I renamed myapp.war to ROOT.war before restarting Tomcat.?? Auke Noppe wrote: Try to build your app as ROOT.war. Because tomcat extracts the war-file, and makes some copies to tmp and work dirs. -Oorspronkelijk bericht- Van: Ken Bowen

Re: Problem installing application context as ROOT

2007-10-19 Thread Ken Bowen
Mark Thomas wrote: Ken Bowen wrote: The Host spec from server.xml: Host appBase=webapps name=myaddress.com unpackWARs=true autoDeploy=true Context path=/manager docBase=/opt/tomcat5/server/webapps/manager privileged=true debug=0/ Context path=/admin docBase=/opt/tomcat5/server

Re: [OT] Smalltalk (was RE: Tomcat multithread question on externalapplication)

2008-03-25 Thread Ken Bowen
Jonathan Mast wrote: XML is really SGML ... with a twist. I just finished reading Jared Diamond's Guns, Germs and Steel, tracking the historical movements of people via the similarities in languages is very interesting. And thus the new field of Comparative Historical Programming

Problem with datasource connecting to postgresql

2008-04-17 Thread Ken Bowen
) etc However, the jar file postgresql-8.3-603.jdbc4.jar is present in the app's lib: tracker/WEB-INF/lib. I've also tried moving the jar to tomcat's common/lib, but I get the same Exception. What am I missing here? Thanks in advance, Ken Bowen ~ ~ ~ ~ ~ ~ ~ ~ ~ tomcat-user-postgresql

Re: Problem with datasource connecting to postgresql

2008-04-17 Thread Ken Bowen
wouldn't make a difference to Tomcat being able to read the jar. On Apr 17, 2008, at 10:00 AM, Jim Cox wrote: Do you use the same version of Java and run as the same user Tomcat runs under when you run it statically outside of Tomcat? On Thu, Apr 17, 2008 at 9:53 AM, Ken Bowen [EMAIL PROTECTED

Re: simple way to rewrite simple URL portion

2008-04-24 Thread Ken Bowen
Take a look at http://tuckey.org/urlrewrite/ I found it very easy to use for exactly the kind of problem you described. P.S. Your eagles are great. On Apr 24, 2008, at 12:53 PM, DIGLLOYD INC wrote: I'm looking for a very very basic URL-rewriting filter--simple text substitution. I

Re: URL Import Question

2008-04-28 Thread Ken Bowen
Don't let it go. Just use the top mail link at the bottom of every message. On Apr 28, 2008, at 7:09 PM, Stephen Caine wrote: Mark, The correct procedure is to create a new message with a new subject. This will start a new thread. Actually, this is what I thought I did. My sincere

Re: how redirect urls

2008-04-28 Thread Ken Bowen
Use http://tuckey.org/urlrewrite/ It will let you easily map http://www.bla.com to http://bla1.com. On Apr 28, 2008, at 7:52 PM, Pavel Pragin wrote: Hello, Can I add a configuration to redirect from one URL to another. So if the user goes to http://www.bla.com it will redirect to

Re: Newbie

2008-05-16 Thread Ken Bowen
Just to add to what David and Chris have already written: TC also works fine on Mac OS X (being a flavor of Unix). If you want a development environment, Eclipse is a great bargain (free!), and there is a free plugin for TC. The MyEclipse addon is low-cost and useful (at least to me). Once

Re: Running on Mac OS 10.4

2008-06-21 Thread Ken Bowen
Mac OS/X is really a flavor of Unix, with the the fancy front end (nice for lots of things). 1. Open Terminal (click from your dock) 2. You will be located in your user directory (/Users/username ). Bash is the default shell. 3. Use vi (or any other editor that works for you) to edit

Problem (apparent) with servlet mapping

2008-06-24 Thread Ken Bowen
in Eclipse, but don't see anything. Are there any techniques I can use to figure what's happening here? Thanks in advance, Ken Bowen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Problem (apparent) with servlet mapping

2008-06-24 Thread Ken Bowen
Sorry, I forgot to mention (careless of me) that there are no Exceptions or ERRORs showing in catalina.out or in localhost.2008-06-24.log. . that's why it feels so strange. On Jun 24, 2008, at 2:43 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject

NIO/Large-scale pushes to browsers/Jetty 6 Continuations

2008-06-26 Thread Ken Bowen
for this problem. Does anyone on the list have any experience with them? More generally, does anyone have experience with a solution to our problem (large-scale pushes from server to browser)? Thanks in advance, Ken Bowen

Tomcat 6 CometProcessor interface

2008-06-30 Thread Ken Bowen
This is a follow up on using Tomcat 6 and the CometProcessor interface: A. From Kris Zyp's post on [http://cometdaily.com/2007/12/10/comet-gazing-scaling/ ], with the Tomcat CometProcessor, connections and threads are decoupled, so that the number of connections can can scale

Closed connection exception with validationQuery=select 1

2008-07-12 Thread Ken Bowen
=jdbc:mysql://localhost:3306/sb_users validationQuery=select 1/ /Context The exception trace is below. Any guidance would be greatly appreciated. Thanks in advance, Ken Bowen - javax.servlet.ServletException: No operations allowed after connection

Re: tomcat based webmail

2008-07-14 Thread Ken Bowen
Hi Angelo, Here's something from: Oct 4, 2007 at 1:33 PM, Ken Bowen [EMAIL PROTECTED] wrote: Sun's JavaMail (mail.jar -- you need activation.jar too) does a good job of simple mail sending (and it has lots of nice debugging for figuring out just how far things got). It can be run

Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
by a new connection?? The exception trace is below. Any guidance would be greatly appreciated. Thanks in advance, Ken Bowen - javax.servlet.ServletException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/ error

Re: Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
connect_timeout=43200 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid and [client] password=xxx The system works fine except when I let it go over 12 hrs (night before last), and then I got the same exception. --David Ken Bowen wrote: Hi All

Re: Connections timing out even with validation query??

2008-07-15 Thread Ken Bowen
. After 30min, everything's fine, but that's not much of test. I'll see what it looks like tomorrow morning. Thanks, Ken On Jul 15, 2008, at 10:23 AM, Hassan Schroeder wrote: On Tue, Jul 15, 2008 at 4:04 AM, Ken Bowen [EMAIL PROTECTED] wrote: The problem: With MySQL connect_timeout = 5, I'm

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-16 Thread Ken Bowen
Unfortunately, overnight produced the same Exception, even with the settings described. Any other thoughts anyone? --Ken On Jul 15, 2008, at 12:34 PM, Ken Bowen wrote: Definitely a plan. I put the following in my context.xml: validationQuery=select 1 testWhileIdle

Re: [New Behavior - Maybe]Connections timing out even with validation query??

2008-07-17 Thread Ken Bowen
response, I'm unclear about what it is in my situation which makes them necessary. Thoughts? (BTW, if the correct behavior persists, I'll let you all know after a week.) --Ken On Jul 16, 2008, at 9:50 AM, Hassan Schroeder wrote: On Wed, Jul 16, 2008 at 5:42 AM, Ken Bowen [EMAIL PROTECTED

Re: Unable to run tomcat in Eclipse

2008-07-19 Thread Ken Bowen
Are you running a version of Tomcat supplied by your Linux distribution? Often these cause many problems. You might try downloading a clean version of Tomcat from the Apache site, unzipping that, and trying it. On Jul 19, 2008, at 12:37 AM, KANIKA GUPTA wrote: Hi I am using tomcat

Graceful exit from AppListener

2008-07-22 Thread Ken Bowen
Hi All, My app does some significant initialization in the class AppListener implements ServletContextListener, including processing the application configuration. When it receives an inconsistent, unrecoverable configuration, what is the best way to exit from contextInitialized(...) and

Re: [Same Behavior]Connections timing out even with validation query??

2008-07-22 Thread Ken Bowen
Nice technique ... thanks ... might help to zero in on it. On Jul 22, 2008, at 12:48 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, Ken Bowen wrote: | All connections are /supposed/ to be closed when the interaction if | finished, but there still could

Re: Trying to mix db connection pooling on web and desktop applications

2008-07-22 Thread Ken Bowen
this helps, Ken Bowen On Jul 22, 2008, at 3:51 PM, Alejandro Hernandez Angeles wrote: Hello, this is the scenario: I have an application that must have two interfaces: as a desktop application and as a web application I've put the business logic inside a JAR library (client_bpm.jar), which must

Re: Down the rabbit hole with JDBC

2008-07-24 Thread Ken Bowen
Matt, If you don't find anything suggestive in the logs, try running with a debugger and put a breakpoint on the first statement in the contextInitialized method in your AppListener to try to track down why it's dying (i.e., what's causing SEVERE: Error listenerStart). Then start

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip expression to what you want. ken On Jul 28, 2008, at 5:36 PM, nilanthan wrote: So what Can I do so that that domain goes to that address but shows the domain in the address bar? Yuval Perlov wrote: Where ever you

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
detailed debugging ouptut. Hope this helps. Ken On Jul 28, 2008, at 6:16 PM, nilanthan wrote: Thanks. I have looked at that before but am a bit confused about the instructions. Is there a good tutorial for this urlrewrite? Ken Bowen wrote: Apply a rewrite filter (http://tuckey.org/urlrewrite

Re: address bar shows ip instead of domain name

2008-07-29 Thread Ken Bowen
detailed debugging ouptut. Hope this helps. Ken On Jul 28, 2008, at 6:16 PM, nilanthan wrote: Thanks. I have looked at that before but am a bit confused about the instructions. Is there a good tutorial for this urlrewrite? Ken Bowen wrote: Apply a rewrite filter (http://tuckey.org/urlrewrite

Re: address bar shows ip instead of domain name

2008-07-30 Thread Ken Bowen
for mydomain.com to go to the ip of 00.00.00.00, same as above ip. My question is how can I map to the mydomain.com to go to http://00.00.00.00 and based on that go to http://00.00.00.00:8080/mywebapp/welcome.action? ? nilanthan wrote: Thanks Ken for all your help! Ken Bowen wrote

Re: address bar shows ip instead of domain name

2008-07-31 Thread Ken Bowen
rewritten. Ken Bowen wrote: If you mean: type http://mydomain.com and get to 00.00.00.00:/, you must register mydomain.com in the DNS with some ISP. If you want to get rid of the :8080, you must configure Tomcat to listen on port 80 instead of 8080 (check the howTo's, or search the archives

Re: address bar shows ip instead of domain name

2008-07-31 Thread Ken Bowen
Thanks to Mark for the last bit. On Jul 31, 2008, at 3:27 PM, nilanthan wrote: Thanks alot Ken. Just got it working. ww.. so easy now..lol..but thansk again for all your time and help. Mark Thomas-18 wrote: nilanthan wrote: Do I need to have Apache mod_jk connector for this to

Re: Attach listener to tomcat startup

2009-09-16 Thread Ken Bowen
Use a ServletContextListener On Sep 16, 2009, at 12:28 AM, joea88 wrote: I need to run some processes which access own server, so I need to know when the tomcat has fully started and ready to serve. I tried Servlet and doesnt work. There must be some interface or class notify when the

Re: Configuring second tomcat instance on same box

2009-09-17 Thread Ken Bowen
On Sep 17, 2009, at 11:53 AM, Nagulapalli, Srinivas wrote: From: Mark Thomas [mailto:ma...@apache.org] Look at the headers. Specifically: In-Reply-To: 4ab2421c.1070...@kippdata.de Please - how to see that in MS outlook, and what to do to prevent it? I used MS Outlook to post, had

Re: php 5 and tomcat 6

2009-09-24 Thread Ken Bowen
Sorry for dropping the link. The reference showed up in this: http://quercus.caucho.com/casestudies/Caucho_LiveProcess_casestudy.pdf The company is: http://www.liveprocess.com/ On Sep 24, 2009, at 1:36 PM, Hassan Schroeder wrote: On Thu, Sep 24, 2009 at 8:40 AM, Tommy Pham

Re: php 5 and tomcat 6

2009-09-24 Thread Ken Bowen
Argh. Sorry for the list spam. Was sending this to someone interested. On Sep 24, 2009, at 5:28 PM, Ken Bowen wrote: Sorry for dropping the link. The reference showed up in this: http://quercus.caucho.com/casestudies/Caucho_LiveProcess_casestudy.pdf The company is: http

Re: Help management access

2009-10-04 Thread Ken Bowen
Remove the comment symbols !-- -- from tomcat-users.xml On Oct 4, 2009, at 11:57 AM, Jared Southern wrote: Hi all, I installed Apache Tomcat Version 6.0.20 I can't access the tomcat Management system, I changed the tomcat-users.xml file, but I doen't make any difference.

Re: Deploying and building a war file

2009-11-09 Thread Ken Bowen
If you use Eclipse (www.eclipse.org/ free; runs on Wins/Mac/Linux) with the web plugins, it records your deploy target, and allows you to deploy with either a war file, or in exploded form. In the latter case, you can usually leave your web server running, make a code change, save the

Re: Which version of Tomcat to use on Centos?

2009-11-24 Thread Ken Bowen
On Nov 24, 2009, at 5:11 PM, fred basset wrote: Hi All, I've got a new server running the latest Centos. I want to install Apace tomcat on there. -- Presumably you mean CentOS 5. Should I use tomcat5 installed via yum, or instead use the original version from http://tomcat.apache.org? You

SessionListener not being invoked

2009-12-01 Thread Ken Bowen
in advance, Ken Bowen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: SessionListener not being invoked

2009-12-01 Thread Ken Bowen
No, we always create a session (or want to). The only %@ in the welcome page are %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=http://tiles.apache.org/tags-tiles; prefix=tiles % %@ taglib uri=http://java.sun.com/jstl/core_rt; prefix=c % As I mentioned at the end of

Re: SessionListener not being invoked

2009-12-02 Thread Ken Bowen
Chris, That's a point I hadn't thought of. I'll explore it. Thanks, Ken On Dec 2, 2009, at 12:31 PM, Christopher Schultz wrote: That might be possible, even after a webapp/container restart if you have Tomcat configured to persist sessions across such restarts (which is the default

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread Ken Bowen
that in ~conf/context.xml. Many thanks! Ken Bowen On Dec 2, 2009, at 12:31 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 12/1/2009 2:36 PM, Ken Bowen wrote: No, we always create a session (or want to). The only %@ in the welcome page are %@ page

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread Ken Bowen
Thanks Chuck. One question: What does it mean to say the path attribute is not allowed? (My context.xml is in META-INF). Should I be seeing a complaint when Tomcat starts the app? --Ken On Dec 3, 2009, at 10:42 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread Ken Bowen
. Cheers, Ken On Dec 3, 2009, at 11:02 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: Re: [Solved+Question]SessionListener not being invoked One question: What does it mean to say the path attribute is not allowed? (My context.xml is in META-INF). Should I

Re: Contexts and Path and Authentication

2009-12-09 Thread Ken Bowen
Can you use url-rewriting (tukey.com) to get what you want: /secure/yyy -- /formauth/secure/yyy -- Form based auth etc??? On Dec 9, 2009, at 4:07 PM, Anthony Jay wrote: Hi All, I am having tremendous difficulty configuring contexts on tomcat. I've had to split my perfectly working

Re: Context Chicken Egg Problem

2009-12-10 Thread Ken Bowen
If I understand you correctly, your problem is that B needs to be initialized before A. (I don't understand what running locally as to do with it. ??) If that is correct, why can't you organize the initialization of A into a trivial initial segment, and a more substantive final segment, which

  1   2   3   >