Re: CGIServlet - php

2011-09-03 Thread Ken Bowen
Even if you don't want to run in Resin, studying (open source) Quercus should give you the details/direction you want: http://www.caucho.com/resin-3.0/quercus/ --Ken On Sep 3, 2011, at 3:16 PM, Terence M. Bandoian wrote: > On 1:59 PM, Konstantin Kolinko wrote: >> 2011/9/3 throwsCode: >> I do

Re: JSSE sslProtocol accepted values

2010-10-20 Thread Ken Bowen
? Top hit googling for JSSE =SSE Reference Guide for the J2SDK, v 1.4.2 http://download.oracle.com/javase/1.4.2/docs/guide/security/jsse/JSSERefGuide.html On Oct 20, 2010, at 3:35 PM, msinatl wrote: > > ...specifically? > > Call me slow, but I'm not having a lot of luck with keyword searche

Re: JSESSIONID weakness Severity in Tomcat 6.0.29?

2010-10-10 Thread Ken Bowen
Google "session fixation" --> http://en.wikipedia.org/wiki/Session_fixation On Oct 10, 2010, at 6:24 PM, Brian wrote: > Mark, > > I'm not using either "basic" or "form". I developed my own solution, which > works great for me. > Assuming that the "session fixation" is my problem, what would you

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

2010-09-23 Thread Ken Bowen
:-) On Sep 23, 2010, at 9:39 PM, michel wrote: > :) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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

2010-09-23 Thread Ken Bowen
bothered even doing some basic googling, reading and trying out > stuff BEFORE asking questions. > > > Michel > > > > > - Original Message - From: "Ken Bowen" > To: "Tomcat Users List" > Sent: Thursday, September 23, 2010 9:1

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

2010-09-23 Thread Ken Bowen
You haven't responded to Hassan's message: you're only thinking of yourself, and you're only planning on consuming, not giving. The volunteers who provide the support on this list certainly don't want to spend lots of extra (and wasted time) dealing with a web forum instead of receiving message

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

2010-09-23 Thread Ken Bowen
+1 On Sep 23, 2010, at 8:53 PM, michel wrote: > I like that questions that I never though of asking can arrive in my email > and I can see some great "new-to-me" topics and I try to answer when I can > (not often, but I do try to help because I am so grateful when people help me > out). > >

Re: clear text keystore password in server.xml

2010-08-27 Thread Ken Bowen
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 the probability of the password being entered in a timely manner. Perhaps Tomcats in clusters could obtain the password from their

Re: Tuning garbage collection

2010-07-22 Thread Ken Bowen
Google is your friend: java garbage collection log format quickly leads to http://stackoverflow.com/questions/895444/java-garbage-collection-log-messages and others Then figure out if you actually have a problem which requires any adjustment. On Jul 21, 2010, at 5:07 PM, lare

Re: tomcat datasource, find active connections

2010-07-12 Thread Ken Bowen
Perhaps " select 1"is the simplest & lightest weight. On Jul 12, 2010, at 11:04 AM, David kerber wrote: 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 driverClassName="co

Re: recommend a host please.

2010-06-16 Thread Ken Bowen
probably have to do a domain transfer. On Jun 16, 2010, at 12:26 PM, wrote: Please can someone also explain process of ensuring that my dns name comes with me to new host? -- From: "Ken Bowen" Sent: Wednesday, June 16, 2010 6:14 PM T

Re: recommend a host please.

2010-06-16 Thread Ken Bowen
Previously suggested eApps.com to you. On Jun 16, 2010, at 12:01 PM, wrote: I would like some feedback on a hosting provider for me. I have had little choice but to cancel at dailyrazor as they failed to provide me with what I was paying for. To my horror, I asked for new tomcat and was

Re: Testing tomcat 6

2010-06-14 Thread Ken Bowen
ConcurrentHashMap is defined by Java, so I think you want to look for Java test suites. On Jun 14, 2010, at 10:36 AM, Ohad Shacham wrote: ConcurrentHashMap - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Additional comments: stuck confused an need help please

2010-05-24 Thread Ken Bowen
-- wrt: eApps, the user names are just whatever you make them -- it's really a virtual unix. -- wrt: "You get what you pay for" --- one of the ONLY exceptions to this that I've encountered in life is the Tomcat list!! --Ken Begin forwarded message: From: Ken Bowen

Re: stuck confused an need help please

2010-05-24 Thread Ken Bowen
eApps.com provides a virtual system env; you ssh in and it looks/feels like your own unix system (CentOS 5); in addition, there is a web- based control panel. They've been pretty supportive for me over the years. glancing at dailyrazor, I think you'll find the prices somewhat higher, but i

Re: Streaming text files to user

2010-05-20 Thread Ken Bowen
In case what the OP wants is for a zip of the text file (from his file system) to end up on the user's desk top, here is today's top Google hit on "servlet mime type zip": http://www.javaside.com/u_zipservlet.html --Ken On May 20, 2010, at 3:11 PM, André Warnier wrote: Roman Sokolyuk wrot

Question regarding https relative links

2010-05-06 Thread Ken Bowen
I haven't been able to find a clear statement regarding the following assertion: Once a broswer is using https on a site, all relative URLs will be https, including form get/post and also file upload. Is this really true about the interpretation of relative URLs? Can anyone point me to

Re: changing tomcat-users.xml makes tomcat unresponsive

2010-05-02 Thread Ken Bowen
The standard Tomcat package from apache.org comes with an examples app pre-installed. The various packagers (incl. Ubuntu) mangle Tomcat in a variety of ways. Standard advice on this list for something like your situation seems to be is to first download a clean Tomcat package from apache.org,

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
need to do simultaneous development, or just run several other ROOT webapps while developing on one? On Apr 23, 2010, at 3:59 PM, Christoph Kukulies wrote: Ken Bowen schrieb: You can run multiple web apps alongside the ROOT app. I just drop them in the webspps folder. Yes, I know. I do presen

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
On Apr 23, 2010, at 10:49 AM, Christoph Kukulies wrote: Ken Bowen schrieb: On the MyEclipse Toolbar: Run/Stop/Restart MyEclipse Servers > Configure Server Aaahhh! I see. There is the MyEclipse Tomcat enabled. I probably have to disable this one. Then click Servers. Click Tomcat

Re: myeclipse and tomcat

2010-04-23 Thread Ken Bowen
CSS edits are hot- loaded to the running Tomcat , and it'll tell you when it can't hot load Java edits. Regards, Ken ~ ~ ~ ~ "myecl-howto" 25L, 958C written On Apr 23, 2010, at 3:27 AM, Christoph Kukulies wrote: Ken Bowen schrieb: I'm not sure I understand your question. B

Re: myeclipse and tomcat

2010-04-22 Thread Ken Bowen
I'm not sure I understand your question. But first, are you using plain Eclipse, or MyEclipse? (I use the latter) Do you mean: Using MyEclipse configured so that it is using an external Tomcat server, NOT the included myEclipse Tomcat server? I've never used the included myEclipse serve

Re: Problem moving from file upload servlet to JSP

2010-04-19 Thread Ken Bowen
o all the work. On Apr 19, 2010, at 7:29 PM, Pid wrote: On 19/04/2010 22:21, Christopher Schultz wrote: Ken, On 4/19/2010 12:06 PM, Ken Bowen wrote: File: Looks good, except for that "uploadCSVFile" javascript trigger. Why not just do a regular file upload? Is this some k

FollowUP: Problem moving from file upload servlet to JSP

2010-04-19 Thread Ken Bowen
Thanks for all the responses. 1. After posting the original, I thought about it all at lunch, and was leaning towards the db solution, and Chris firmly pushed me over on that. Now I just convert the byte stream to a (sometimes big) string, and stuff it in a temporary db place using the use

Re: Problem moving from file upload servlet to JSP

2010-04-19 Thread Ken Bowen
Just aritfacts of step by step changes (as I come to understand various thingies): should be type "button", but gives no evidence of two events. On Apr 19, 2010, at 5:19 PM, André Warnier wrote: Ken Bowen wrote: ... Long form. Here's the html for file upload (va

Problem moving from file upload servlet to JSP

2010-04-19 Thread Ken Bowen
Using Tomcat 6.0.18 (to be 6.0.26) and Google App Engine, for parallel development (different db tech) Short form: I need to accept a file upload in a servlet, do some computations on the upload, and then transition to a JSP with some data resulting from the computations. I'm having some t

Re: Junit and Tomcat

2010-04-08 Thread Ken Bowen
In some cases, I've dealt with the datasources problem in testing by make use of a standalone connection pool, such as the opensource Primrose (http://www.primrose.org.uk/, which has worked well for me. --Ken On Apr 8, 2010, at 10:42 AM, Malcolm Warren wrote: Thank you for your reply. I'

Re: [OT] Imperialism and sad demise

2010-04-01 Thread Ken Bowen
"...Toto, I don't think we're in Kansas anymore!" On Apr 1, 2010, at 4:10 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: [OT] Imperialism and sad demise www.lmgtfy.com now seems to lead to a search page named Topeka By design (or at least intent). This

Re: GC behavior elucidation

2010-03-24 Thread Ken Bowen
ChuckthanksKen On Mar 24, 2010, at 9:51 AM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: GC behavior elucidation My gclog shows routine GCs approx every 3-4 mins that look like this: 2010-03-17T01:28:05.888-0400: 543717.992: [GC 543717.992: [DefNew

GC behavior elucidation

2010-03-24 Thread Ken Bowen
Hi all, I've been working on the memory behavior of a small Tomcat 6.0.20/Java 1.6 app running in constrained space (288MB total on a VPS running CentOS 5). Earlier advice from the list enabled me to track down the most glaring culprit memory leaks. The app is currently lightly used, bu

Re: File does not exist error - public_html/addArticle.do

2010-02-14 Thread Ken Bowen
I believe addArticle.do is part of what is provided or generated by the Struts framework. You're much more likely to find someone who can help you with this on the struts mailing list. --Ken On Feb 14, 2010, at 10:21 AM, Steve Campisano wrote: Thanks for replying . Yes, it is ugly I a

Re: Socket Error in tomcat, white screen in browser

2010-02-13 Thread Ken Bowen
Note that http://wiki.eclipse.org/WTP_Tomcat_FAQ has gobs of (sometimes opaque) information about Eclipse and Tomcat. If you configure Eclipse to use an external (separate) Tomcat, it uses the external Tomcat , but at minimum, distorts the logging configuration to just run catalina.out thr

Re: how to know if tomcat is completely started

2010-02-11 Thread Ken Bowen
Using a Tomcat Lifecycle listener (.../catalina/Lifecycle.html) sounds like exactly what you want. This from http://www.atomikos.com/Documentation/Tomcat55Integration33 illustrates illustrates the use: public class AtomikosLifecycleListener implements LifecycleListener { private static L

Re: 405 error?

2010-02-10 Thread Ken Bowen
PM, Ken Bowen wrote: I feel silly, but... protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { super.doGet(req, resp); Heh, that /is/ silly. The javadoc for HttpServlet states that, by implementing doGet, you enable the GET method

405 error?

2010-02-10 Thread Ken Bowen
I feel silly, but... Using Tomcat 6.0.20 (ordinary Apache download) with Java 1.6 on Mac OS X 10.5.8. As a step towards examining what's going on in my main app, I created a simple auxilliary servlet; here's the web.xml entry: sbtester com.strongbrain.tests.SBTester sbtester

Re: Data Binding in JSP

2010-01-25 Thread Ken Bowen
I've had good success with DWR and GWT. For GWT, there are a number of available useful extensions, and in particular, SmartGWT (http://code.google.com/p/smartgwt/ ) has some sophisticated Grids available with automated management of bound data. On Jan 25, 2010, at 9:32 AM, Hassan Schroeder

Tomcat heap memory behavior question

2010-01-24 Thread Ken Bowen
Hi all, I'm trying to understand Tomcat memory usage as observed with jconsole. I'm using Tomcat 6.0.18 on Mac OS X 10.5.8; Tomcat is downloaded from the Apache site. I'm starting it with /no/ web applications at all: just an empty webapps folder, and I'm not hitting it with any browser.

Re: memory leak

2010-01-21 Thread Ken Bowen
I take your point about getting realistic heap info. It's also been suggested that I set up & profile a version just executing the Java side without DWR in the loop. Thanks Ken On Jan 20, 2010, at 10:02 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com

Re: memory leak

2010-01-20 Thread Ken Bowen
ents, resultsets, and connections that are no longer being used once your method call returns. Since GC does happen immediately your db resources could still be in memory. Travis Beech On Jan 20, 2010, at 3:50 PM, Ken Bowen wrote: Short version: I have a project which gets some simple info from a db

memory leak

2010-01-20 Thread Ken Bowen
Short version: I have a project which gets some simple info from a db via DWR, and outputs it simply on the page. There is a memory leak on the java side. Longer version: I've developed a project using JSPs and the Ajax tool DWR 2.0 (Direct Web Remoting: http://directwebremoting.org/dwr).

Re: jsessionid on EXACTLY the 2nd request?

2010-01-04 Thread Ken Bowen
Page And when I hover over that link, the Browser footer shows that the request includes the attached jsessionid. Cheers, Ken On Jan 4, 2010, at 5:15 PM, Mark Thomas wrote: On 04/01/2010 21:43, Ken Bowen wrote: I'm not sure about that. Run through your test again, but this time: a) loo

Re: jsessionid on EXACTLY the 2nd request?

2010-01-04 Thread Ken Bowen
r. More interactions, but no more jsessionid's. On Jan 4, 2010, at 4:11 PM, Mark Thomas wrote: On 04/01/2010 20:52, Ken Bowen wrote: I'm seeing what I think is odd behavior regarding jsessionid's. [My setup(s): Tomcat 6.0.20 on a MacBook Pro using Java 1.6.0_17, To

jsessionid on EXACTLY the 2nd request?

2010-01-04 Thread Ken Bowen
I'm seeing what I think is odd behavior regarding jsessionid's. [My setup(s): Tomcat 6.0.20 on a MacBook Pro using Java 1.6.0_17, Tomcat 6.0.18 on CentOS 5 using Java 1.6.0_12 ] I'm seeing the same behavior on both systems, and the same behavior happens with Safari and FF. Both browsers have coo

Re: [OT] Context Chicken & Egg Problem

2009-12-15 Thread Ken Bowen
On the Eclipse question: Eclipse basically just starts your Tomcat (which you configure into Eclipse), using it's own startup script which maps all Tomcat output into the Eclipse console. As such, JNDI (or whatever else) works just like it does when start Tomcat from it's own startup.sh in

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
12/15/2009 1:52 PM, Ken Bowen wrote: Are there any standard techniques that a /developer/ of such a long running proccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at the same time, such updates are verifications that the socke

Re: [OT - question] Limit user sessions in tomcat

2009-12-15 Thread Ken Bowen
Are there any standard techniques that a /developer/ of such a long running prccess could apply to wrap the process in a cocoon which periodically updates a browser with (real) progress data, and at the same time, such updates are verifications that the socket is still live and the user hasn'

Re: Context Chicken & Egg Problem

2009-12-14 Thread Ken Bowen
Now that's really retro. :-) On Dec 14, 2009, at 11:58 AM, Christopher Schultz wrote: FWIW, we recently moved from 5.5 to 5.0 in our development environment - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org F

Re: 'Parametrizing' context.xml?

2009-12-14 Thread Ken Bowen
You can make use of ant's token filtering on copy. You identify the parameters in your context.xml, and create a separate new context.xml with those parameters identified. For example, we have several such parameters occurring in our web.xml, such as @BPVAL@ below: baseprefix

Re: Context Chicken & Egg Problem

2009-12-10 Thread Ken Bowen
- ... - Data retrieval component n fires and calls "http://localhost:8080/B/servlet/HereIsData"; - /A dies Does this make more sense? -Scot -Original Message- From: Ken Bowen [mailto:kbo...@als.com] Sent: Thursday, December 10, 2009 10:47 AM To: Tomcat Users List Subject: Re: Context

Re: Context Chicken & Egg Problem

2009-12-10 Thread Ken Bowen
And it's not even Monday: Application Context Listener = ServletContextListener On Dec 10, 2009, at 10:46 AM, Ken Bowen wrote: 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. ??)

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

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 app

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread Ken Bowen
e now. 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

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.

Re: [Solved+Question]SessionListener not being invoked

2009-12-03 Thread Ken Bowen
n persistence for my particular app to add the following Manager config element to my webapp's context.xml? And if I wanted all apps to suppress persistence, then I would just uncomment that in ~conf/context.xml. Many thanks! Ken Bowen On Dec 2, 2009, at 12:31 PM, C

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 configurat

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 mentio

SessionListener not being invoked

2009-12-01 Thread Ken Bowen
n "1.6.0_12" In all cases, the browser connects to the expected welcome page. At present, I'm at a loss as to what to look for; I hope someone here can point me in the right direction. Thanks in advance, Ken Bowen - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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? Yo

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: 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. please help Regards

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

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 specifi

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 serv

Re: Console Output Not Going Anywhere

2009-08-09 Thread Ken Bowen
It's really quite quick: -- Download the tarball from tomcat.apache.org; -- Untar the ball in some convenient location (you don't need to touch your existing setup). -- Copy your war files from your existing webapps to the new webapps -- Start the newly installed tomcat with bin/startup.sh -- L

Re: mod_rewrite with tomcat on virtual hosting

2009-08-07 Thread Ken Bowen
I run several sites in remote virtual hosting environments (Parallels) and there are no such restrictions. Are you sure you're not in a shared hosting environment? On Aug 7, 2009, at 1:02 PM, dfobox wrote: hosting company says I can't use mod_rewrite for tomcat apps I've read someone can use

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Ken Bowen
This may not be all that helpful, but: I use MyEclipse 3.5.1 (myeclipse.org) which comes with all that and lots more plugins, for currently $32/yr. Saves a variety of pain. On Jul 15, 2009, at 9:25 AM, Michael Ludwig wrote: I seem to remember that Eclipse 3.4 (Ganymede) with WTP (Web Too

Re: Changing url rewriting behaviour (';jsessionid')

2009-06-29 Thread Ken Bowen
You can use http://tuckey.org/urlrewrite/ to do your rewriting. Lots of people on the list recommend it. On Jun 29, 2009, at 3:16 PM, Daniel Henrique Alves Lima wrote: Hi, everybody. First of all: I'm sorry for my poor English. Is it possible to change

Best practices for switching back/forth between java 1.5/1.6

2009-06-24 Thread Ken Bowen
Hi all, I failed at searching for this, even though I know it's been answered: Setting: Tomcat 6.0_20; Mac OS X 10.5.7; I've been normally running against java 1.5.0_19, but I tried to install a war which is throwing .UnsupportedClassVersionError: Bad version number in .class file w

Re: Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread Ken Bowen
+1 exp 10! On Jun 17, 2009, at 12:28 PM, Markus Schönhaber wrote: Mladen Turk: So, wish us happy anniversary :) Congratulations! And thanks for a decade of good work! -- Regards mks - To unsubscribe, e-mail: users-unsubsc

Re: localhost:8080 comms problem on a mac

2009-06-15 Thread Ken Bowen
..time to go to bed. Many thanks, Ken On Jun 15, 2009, at 9:54 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: localhost:8080 comms problem on a mac catalina.out doesn't show any activity. What about the other Tomcat log files? I can use lsof to see tha

localhost:8080 comms problem on a mac

2009-06-15 Thread Ken Bowen
Hi all, This isn't really a Tomcat problem, but I'm wondering if anyone here has encountered this. I haven't found anything useful by googling. I develop on a mac laptop, and after a recent software upgrade to OS X 10.5.7, I suddenly can't connect any browser to Tomcat running on port 8

Re: Has anyone created a WSDL for the Manager Application

2009-05-27 Thread Ken Bowen
I may be misunderstanding, wasn't the OP asking for a way to connect to all those different managers without separate logins? Sort of like a single-signon for the the managers? Or can the current manager do such a thing across multiple Tomcats? Ken On May 27, 2009, at 12:45 PM, Mark Tho

Re: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Ken Bowen
box, I simply ignore the distribution, and use the download from Apache. Cheers, Ken Bowen On May 22, 2009, at 3:01 PM, Gary Weaver wrote: Sorry to open up with venting, but I truly cannot believe how big of a mess that I found of Tomcat's and others' jars under /usr/share/

Re: SSI configuration

2009-05-22 Thread Ken Bowen
Duh! Thanks. I think I need to go away for a long something or other. Have a good MemDay weekend. Ken On May 22, 2009, at 9:53 AM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: Re: SSI configuration index.jsp The above is unnecessary on Tomcat

Re: SSI configuration

2009-05-22 Thread Ken Bowen
talina start INFO: Server startup in 555 ms On May 21, 2009, at 11:37 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: SSI configuration May 21, 2009 9:31:58 PM org.apache.catalina.startup.HostConfig deployDirectory SEVERE: Error deploying web application di

SSI configuration

2009-05-21 Thread Ken Bowen
Hi all, I need to turn on SSI to host a simple html site which uses it. I shut down TC. In ~conf/web.xml, I uncommented both the servlet and servlet-mapping XML for ssi. However, when I restarted TC, I get the following Exception for every application present in webapps (this one is for do

Re: How to hot swap classes?

2009-05-19 Thread Ken Bowen
I use MyEclipse (a commercial extension of Eclipse -- pretty inexpensive). It supports hot swapping of classes, jsps, css, js -- pretty much everything but things like web.xml, for which Tomcat must be restarted (no surprise). On May 19, 2009, at 12:28 PM, Dola Woolfe wrote: Hi, When

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Well, sometimes things hang around. Maybe a conservative start would be to reboot your system and then examine things. If everything looks quiescent, then try to start your exodus app and see what happens. On May 14, 2009, at 4:26 PM, Dave Filchak wrote: Ken Bowen wrote: Below... On

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
Yes, but why the need to use the .jsp extension? A static site would run just fine with everything as .html under either Tomcat or httpd or On May 14, 2009, at 4:24 PM, Hassan Schroeder wrote: On Thu, May 14, 2009 at 12:54 PM, Ken Bowen wrote: The point of dynamic jsp pages is to

Re: What is the difference?

2009-05-14 Thread Ken Bowen
The dash (-) tells the java execution program to treat it's first argument as a swtich, which it knows how to handle. Without the dash, the java execution program thinks that its first argument ("version") is the name of a class which it should try to execute (but can't find). On May 14, 20

Re: .html pages as .jsp pages

2009-05-14 Thread Ken Bowen
The point of dynamic jsp pages is to dynamically create pages on the fly based on information from the user. What's the point of using jsp to "dynamically" create pages offline that you only serve statically? Why not just write them in html from the beginning? On May 14, 2009, at 3:16 PM, Do

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Below... On May 14, 2009, at 2:49 PM, Dave Filchak wrote: ls -l /opt/java/bin/java -rwxr-xr-x 1 root root 50810 Mar 9 15:37 /opt/java/bin/java Per my earlier message, this is (part of) your problem. /opt/java/bin/ java is an executable, but what should be on your path is a directory whe

Re: Basic Java questions

2009-05-14 Thread Ken Bowen
Hard to say about everything. But /opt/java/bin/java in your path is very suspicious. Check whether that is in fact the executable itself by just trying to execute /opt/java/bin/java It might be that you need /opt/java/bin in the path instead. I also would cd to /opt/java/jdk1.6.0_13/

Re: Browser shows source of .jsp file. Why?

2009-04-25 Thread Ken Bowen
The variation between Content-Type: text/plain and Content-Type: text/ html is definitely your clue. The fact that it displays correctly when there is no Content-Type: header is simply evidence that browser make (reasonable) guesses. You need to determine where this variation is coming from. I

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Thanks Chris, As in my previous thanks to Mark, I'll be slowly mastering how to get into this. Cheers, Ken On Apr 21, 2009, at 5:44 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 4/21/2009 4:32 PM, Ken Bowen wrote: I develop locally on a Mac

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Hey Mark, This is really good. Presumably this is an outline for success -- and it is definitely an outline for improvement of my rather improvished skills in this area. Many thanks! Ken On Apr 21, 2009, at 5:54 PM, Mark Thomas wrote: Ken Bowen wrote: Mark, Any chance we could make a

Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-21 Thread Ken Bowen
Mark, Any chance we could make a headstart on "Resolving OOM-PermGen errors on webapp reload" ?? Perhaps some general pointers, guidance etc. [to help you refine the talk in advance :-) ] The manager app is giving me more & more of: FAIL - Application at context path /ctx could not be starte

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-21 Thread Ken Bowen
HmmI think this list is getting to be more & more fun: tr.v. whiled, whil·ing, whiles To spend (time) idly or pleasantly: while the hours away. On Apr 21, 2009, at 1:10 PM, Christopher Schultz wrote: whiling to the list.

Re: What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-16 Thread Ken Bowen
+1. Probably won't be able to attend, but slides would certainly help. On Apr 16, 2009, at 6:51 AM, Mark Thomas wrote: Mark Thomas wrote: Please feel free to pitch in with your suggestions on this thread and comment on suggestions made by other people. The more involved the community gets, the

Re: Do multiple Hosts force multiple instances of webapps?

2009-04-07 Thread Ken Bowen
Thanks! To both Chuck & Andre. Not only does the simple solution work, but I understand a tiny bit more. Have a good night. Ken On Apr 7, 2009, at 7:20 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Do multiple Hosts force multiple instances of w

Do multiple Hosts force multiple instances of webapps?

2009-04-07 Thread Ken Bowen
[Feels like a newbie question, but I don't know the anwser.] I have a web app (myapp) which has its context.xml in META-INF. When I run it on a local vanilla Tomcat 6.0.18 (Apache download) with the standard unzipped server.xml, only one instance of myapp is started (as observed in catalina.

Re: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2009-04-03 Thread Ken Bowen
is not being entered, which seem to suggest that Tomcat is not connecting the client call to the server. Any ideas as to why the same work in hosted mode and not on tomcat? Please help. I have been stuck on this for that past 4 days. On Fri, Apr 3, 2009 at 3:48 PM, Ken Bowen wrote: I

Re: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2009-04-03 Thread Ken Bowen
rite to in the Tomcat server? On host mode it write to the eclipse console, but I don't where to look on Tomcat server. On Fri, Apr 3, 2009 at 3:04 PM, Ken Bowen wrote: I don't think this is a Tomcat error. The java.lang.IndexOutOfBoundsException might be due to an initializatio

Re: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2009-04-03 Thread Ken Bowen
I don't think this is a Tomcat error. The java.lang.IndexOutOfBoundsException might be due to an initialization failure: The GWT test harness may be setting something up for you which is not dealt with when you run it directly in Tomcat. Also, does your web.xml contain servlet specs identic

Re: ROOT options -- FYI Success+Steps

2009-04-03 Thread Ken Bowen
, and http://localhost:8080/myapp invokes the webapps/myapp copy. (Since they share the same db, this isn't viable for anything more than an experiment, but it's nice to know it works.) Many thanks, Ken On Apr 2, 2009, at 11:34 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo

ROOT options

2009-04-02 Thread Ken Bowen
I've been utilizing the device of renaming myapp.war to ROOT.war in order make myapp perform as the default application at http://mydomain.com . However, I thought that earlier this week (maybe last week?), Chuck made a comment that this was "the easiest of the options". I'm wondering if I cou

Re: How to debug Error: listenerStart?

2009-04-02 Thread Ken Bowen
How are you running Tomcat? IDEs (e.g. Eclipse) often reset the logging if you start Tomcat inside the IDE; For me, using the MyEclipse plugin in Eclipse completely suppresses everything but catalina.out. If I need the other logs, I start Tomcat from its ~bin/ startup.sh (I have a vanilla

Re: NameNotFoundException

2009-04-01 Thread Ken Bowen
Is it possible you imported the file in the standalone class, but didn't import it (or use the fully qualified name) in the jsp? On Apr 1, 2009, at 2:21 PM, kcbxt8 wrote: but why does it work without any config in a stand alone java class using the same jar files. I am confused. -- View t

  1   2   3   >