Re: How to pass the --enable-preview parameter when using JSVC?

2020-03-20 Thread ken edward
Yes, I did try -X--enable-preview, was passed via jsvc, but not in a meaningful or understandable way to java/tomcat. On Thu, Mar 19, 2020 at 3:11 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ken, &g

How to pass the --enable-preview parameter when using JSVC?

2020-03-18 Thread ken edward
(unable to load class ..) BUT then if I try to add --enable-preview to the production JSVC script environment: "Invalid option --enable-preview Cannot parse command line arguments" Thank you for any and all help! Ken

Multiple authentication methods? Fallback from keycloak saml to basic/form auth?

2017-08-23 Thread ken edward
Hello, I have tomcat value for authentication implemented and working (keycloak saml tomcat adapter). but how can I implement a fallback to form/basic authentication? Can I chain auth valves? Ken - To unsubscribe, e-mail: users

Is there a tomcat SP valve for ADFS IdP??

2017-06-07 Thread ken edward
Hello, I have an Idp (my ADFS) and I have a tomcat server with a simple j2ee web application. I know I can stand up a keycloak sever, and use an SP adapter for tomcat, BUT is there a way to simply install a tomcat SP valve/libs that would talk to the IdP and bypass having to install the keycloak

Re: How to configure SPNEGO authentication with fallback to FORM auth?

2016-06-30 Thread ken edward
I did get it to work. Simply merged existing spnego and form auth valves together, I will try to post later.. On Fri, Jun 24, 2016 at 6:21 PM, Terence M. Bandoian wrote: > On 6/24/2016 10:45 AM, ken edward wrote: > >> On Fri, Jun 24, 2016 at 11:26 AM, Mark Thomas wrote: >> &

Re: How to configure SPNEGO authentication with fallback to FORM auth?

2016-06-24 Thread ken edward
On Fri, Jun 24, 2016 at 11:26 AM, Mark Thomas wrote: > On 24/06/2016 16:17, ken edward wrote: > > On Fri, Jun 24, 2016 at 10:46 AM, Mark Thomas wrote: > > > >> On 24 June 2016 14:22:32 BST, ken edward wrote: > >>> Hello, > >>> > >>&g

Re: How to configure SPNEGO authentication with fallback to FORM auth?

2016-06-24 Thread ken edward
On Fri, Jun 24, 2016 at 10:46 AM, Mark Thomas wrote: > On 24 June 2016 14:22:32 BST, ken edward wrote: > >Hello, > > > >I have tomcat 8 on linux, configured with kerberos/SPNEGO > >authentication. > >All works well, but if the client cannot use kerberos t

How to configure SPNEGO authentication with fallback to FORM auth?

2016-06-24 Thread ken edward
Hello, I have tomcat 8 on linux, configured with kerberos/SPNEGO authentication. All works well, but if the client cannot use kerberos to authenticate, it will not fallback to FORM authentication. I see some references that tomcat 8 does not do fallback negotiation for FORM auth. True? Any workar

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-19 Thread Ken
: > 2015-02-18 18:22 GMT+03:00 배효진(Ken) : > > Hello! > > > > Im not sure, whether this error is related or not. > > I test 8.0.18, and similar exception occured. > > > > In my case, there was no problem in JSP, with <%@ page import="static > > test.

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-18 Thread Ken
Hello! Im not sure, whether this error is related or not. I test 8.0.18, and similar exception occured. In my case, there was no problem in JSP, with <%@ page import="static test.Test.*" %> but, exception was occured in tag file, with <%@ tag import="static test.Test.*" %> *メッセージ* *An exception

Re: Thread starvation with JDBCStore

2012-11-15 Thread ken dombeck
ry changes here. https://github.com/kdombeck/tomcat70/tree/datasource-session-store From: Konstantin Kolinko To: Tomcat Users List Sent: Tuesday, November 6, 2012 4:22 PM Subject: Re: Thread starvation with JDBCStore 2012/11/7 ken dombeck : > #1 I can def

Re: Thread starvation with JDBCStore

2012-11-06 Thread ken dombeck
racker and submit a patch. From: Konstantin Kolinko To: Tomcat Users List Sent: Tuesday, November 6, 2012 11:24 AM Subject: Re: Thread starvation with JDBCStore 2012/11/5 ken dombeck : > Occasionally when a user signs into our web site it is taking a very long > time to create a session (10

RE: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread ken dias
Yes W8 is here but HPQ is still plummeting. Get rid of your CEO and get someone who can improve your stock price! > Date: Sat, 27 Oct 2012 19:57:30 +0200 > From: 1983-01...@gmx.net > To: users@tomcat.apache.org > Subject: Re: Detect in an authenticator whether a connection is persistent or >

Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-07 Thread Ken Alverson
We are trying to get our application Microsoft certified. There are several test cases that involve adding digital signatures, required manifest entries, etc. that do not currently exist for Tomcat exe's. I am just wondering if anyone else has run into trouble getting certified with Microsoft

Re: Inconsistency in AprEndpoint.java and JIoEndpoint.java

2012-02-28 Thread Ken Cheung
and execute the same piece of codes. The checking of "socket.async" is missing here and therefore it could be a bug. On 29 Feb, 2012, at 2:45 AM, Mark Thomas wrote: > On 28/02/2012 16:40, Ken Cheung wrote: >> I observed some code clones in Tomcat and found inconsistent co

Inconsistency in AprEndpoint.java and JIoEndpoint.java

2012-02-28 Thread Ken Cheung
I observed some code clones in Tomcat and found inconsistent code. Could anyone explain why this is not a bug? /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java 1048try { 1049Thread.sleep(1000); 1050} catch (Interrupted

Inconsistency in AjpMessage.java

2012-02-28 Thread Ken Cheung
I observed some code clones in Tomcat and found inconsistent code. Could anyone explain why this is not a bug? /tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java 195if (cc == null) { 196log.error(sm.getString("ajpmessage.null"), 197new Nu

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread ken dias
unsubscribe > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Thu, 9 Feb 2012 15:06:39 -0600 > Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? > > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: ServletException

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread ken dias
unsubscribe > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Thu, 9 Feb 2012 15:06:39 -0600 > Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? > > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: ServletException

RE: Cores with FlushableGzipOutputStream

2012-02-09 Thread ken dias
unsubscribe > From: are...@yahoo-inc.com > To: users@tomcat.apache.org > CC: laraa...@yahoo-inc.com > Date: Thu, 9 Feb 2012 12:07:15 -0800 > Subject: RE: Cores with FlushableGzipOutputStream > > Try again now that I'm subscribed. > > > > -Original Message- > > From: Allen Reese > > S

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 th

localhost:8080

2011-04-09 Thread ken dias
I have to type localhost:8080 to get to my webserver - tomcat 6.0.032. Before, just localhost would work. I have XP Thanks, Ken

localhost:8080

2011-04-09 Thread ken dias
I have to type localhost:8080 to get to my webserver - tomcat 6.0.032. Before, just localhost would work. I have XP Thanks, Ken > Date: Sat, 9 Apr 2011 18:26:11 +0100 > Subject: Re: [ win xp and win server 2003 ] tomcat utf8 encoding > From: fadil.w...@gmail.com &g

RE: Installing Tomcat the Brute Force Way?

2011-03-22 Thread ken dias
To: users@tomcat.apache.org > Subject: Re: Installing Tomcat the Brute Force Way? > > On 19/03/2011 17:57, André Warnier wrote: > > ken dias wrote: > >> > >> > >> I had installed Tomcat 6 with no problem. Then started having > >> problems, so uninstalled

Installing Tomcat the Brute Force Way?

2011-03-19 Thread ken dias
I had installed Tomcat 6 with no problem. Then started having problems, so uninstalled it and reinstalled but the icon does not appear on the taskbar and hence server does not work and localhost also. Not sure how to proceed. Thanks

RE: tomcat server

2011-03-10 Thread ken dias
thanks for a clear answer. Ken > Date: Thu, 10 Mar 2011 12:41:06 -0500 > Subject: Re: tomcat server > From: j...@tabbysplace.org > To: users@tomcat.apache.org > > When you enter localhost:8080 the browser treis to speak to a server > on port 8080, where Tomcat runs by d

RE: tomcat server

2011-03-10 Thread ken dias
2011 11:16:38 -0600 > Subject: RE: tomcat server > > > From: ken dias [mailto:kend...@hotmail.com] > > Subject: tomcat server > > > I started the Tomcat webserver. When I keyin "localhost:8080", > > I get the apache-tomcat webpage and can run the examples. >

tomcat server

2011-03-10 Thread ken dias
I started the Tomcat webserver. When I keyin "localhost:8080", I get the apache-tomcat webpage and can run the examples. however, when i keyin "localhost" only, i get error. Thanks, Ken

RE: localhost

2011-03-06 Thread ken dias
Thanks. Thanks. I am running Tomcat 6.0.024 server. This server is always on. Java 6 is used. Checked task manager and could not find pid 1908. Did find the vertical line on my keyboard. Ken > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Sun, 6 Mar 2011

RE: localhost

2011-03-06 Thread ken dias
Thanks, I get local addresss 0.0.0.0:80, Foreign addr. 0.0.0.0:0 status: listening, pid 1908 could not key in the symbol for "|" (not on keyboard) Ken > Date: Sun, 6 Mar 2011 22:42:31 +0100 > From: mil...@gmx.de > To: users@tomcat.apache.org > Subject: Re: localhost &g

localhost

2011-03-06 Thread ken dias
I can ping localhost OK from the cmd line but cannot access it from my browser. i have xp and ie Ken

RE: cannot see examples

2011-02-21 Thread ken dias
Thanks, Martin. Will give it a try. Regards, Ken Dias > From: mgai...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: cannot see examples > Date: Mon, 21 Feb 2011 12:49:56 -0500 > > > if you want a webapp to be deployed then you will need to deploy that we

cannot see examples

2011-02-21 Thread ken dias
I d'loaded tomcat 6.0.032 and got the homepage alright with localhost:8080. Then clicked on servlet and JSP examples but got 404 on both occasions. The error report says these examples are not available. Please help. Ken

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: Mapping REST requests across multiple app contexts

2010-08-25 Thread Ken Fox
n resources are resolved with deepest-match wins (individual path elements are resolved with longest-match wins). A trie is used for the mapping, so it is reasonably fast for large numbers of patterns. - Ken On Sat, Aug 21, 2010 at 2:04 PM, Ken Fox wrote: > I'm looking for advice on the bes

Re: Mapping REST requests across multiple app contexts

2010-08-22 Thread Ken Fox
ve is that the context switch can happen very early in the request and before any host-specific code runs. I'm not concerned about portability--this is a very small amount of code and it's fine to rewrite it entirely if I switch containers. - Ken

Re: How stable is Tomcat?

2010-08-21 Thread Ken Fox
like ad revenue could be at least as big a hurdle as server scaling. - Ken - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Mapping REST requests across multiple app contexts

2010-08-21 Thread Ken Fox
Amazon EC2 with Amazon's ELB? Has anybody tried a rewrite Valve similar to this? It has to modify the CoyoteRequest and generate new Request.mappingData which seems kind of risky. (Though I think it will work in Tomcat 7, I've only tried Tomcat 6.) This is my favorite approach so far. T

Re: How stable is Tomcat?

2010-08-21 Thread Ken Fox
of Tomcat, but we do use Akamai for caching (as a vanilla CDN). Given your low traffic numbers, you probably don't need a web tier or a CDN in front of Tomcat. You can get by even without a load balancer, but I'd recommend using one to give yourself more options for rolling code and add

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 wro

Question regarding https relative links

2010-05-06 Thread Ken Bowen
me to a definitive reference? Thanks much, Ken - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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
myEclipse server, only external servers. --Ken On Apr 22, 2010, at 9:17 AM, Christoph Kukulies wrote: I'm playing a bit with myeclipse and I'm wondering whether anyone on this list here is using it with Tomcat as application server running other apps, rather than using tomcat from wi

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
user/organization logins going on before the actual upload. thanks & cheers, Ken On Apr 19, 2010, at 5:59 PM, Propes, Barry L wrote: My guess is that he may have other various pieces of validation tied to it, client side. And he might even have some client-side validation intertwined for th

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
lMatch" data in the db under some appropriate key, get to nextPage using response.sendRedirect, and then retrieve the info, but that seems like more of a hack than ought to be necessary here.] Thanks in advance, Ken - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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

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
small collection and a Full GC. Can anyone describe it to me or point me to some GC doc describing the details. Many thanks, Ken - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

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 u

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
Arrrgh -- absolutely correct. Moral of the story: /Think/ about what your tool (Eclipse) automatically fills in for you before you start adding code! Thanks much. On Feb 10, 2010, at 4:06 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 2/10/2010 3:20

405 error?

2010-02-10 Thread Ken Bowen
od GET is not supported by this URL). But what is strange is that in catalina.out, I get: SBTester.doGet: query=foo=bar So, I'm a little confused. A) How is this happening (doGet running, but the browser reporting an error) B) What a

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
p is bad tool for looking at Tomcat's heap: at the first pea k rising from 5MB to 21MB, GC dropped the heap value in jconsole to 6MB, but the RSIZE in top jumped from 54M to 57M. Thanks in advance, Ken - To unsub

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
WR is relatively mature and somewhat extensively used, so there isn't likely to be simple-minded memory leak in DWR itself. Any suggestions for where to look or what I may be doing wrong will be greatly appreciated. Thanks in advance, Ken ---

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
the 2nd request confuses me. Has anyone here run into something like this, or is my understanding of what Tomcat is supposed to do erroneous? {Separately, I'm having a problem with a Tuckey outbound filter to strip jsessionid's, but that&#x

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
es no such provisions. #3 is what I was wondering about. So far our long tasks haven't been terribly long, but some are reaching that (user-frustration) boundary. Cheers, Ken On Dec 15, 2009, at 2:12 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On

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

2009-12-15 Thread Ken Bowen
hasn't gone away; if the user has gone away, that would be detected and the wrapper would kill the process?? Thanks --Ken On Dec 15, 2009, at 1:22 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/15/2009 12:01 PM, André Warnier wrote: On another

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
ot to the "real" file it maps to. --Ken On Dec 14, 2009, at 11:21 AM, Mario Splivalo wrote: Is there a way to 'parametrize' context.xml, for instance, in a manner one can 'parametrize' build.xml? For some webapplication in context.xml one puts, for instance,

Re: Context Chicken & Egg Problem

2009-12-10 Thread Ken Bowen
it's ServletContextListener.contextinitialized(...), it makes a call into A which causes A to run A2. Then when your retrieval components call into B, it is ready for them. --Ken On Dec 10, 2009, at 11:14 AM, Scot Hatt wrote: That is valid point but in my case I have no control over A.

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
ent, which contains the call to B. When A starts, only the trivial initial segment runs. Then use an Application Context Listener in B, and at the end of contextInitialized(...), make a call into A which runs the final A segment (which contains the call to B). --Ken On Dec 10, 2009, at 10:3

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

Re: SessionListener not being invoked

2009-12-01 Thread Ken Bowen
t as webapps/strongbrain/ instead of webapps/ROOT. That's what's so mysterious. Obviously, something else is being changed too. But sessions have never been optional in this app. --Ken On Dec 1, 2009, at 1:42 PM, Caldarale, Charles R wrote: session= -

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
, save the file, and it is automatically re-compiled & re- deployed to the running server. At worst, you only need to hit a refresh button. It makes life much simpler, and the syntax-directed editor saves me from many stupidities. --Ken On Nov 9, 2009, at 7:04 AM, Ziggy wrote: Hi al

Re: Starting web app with properties set

2009-10-22 Thread Ken T.
the kind of information I was looking for. I was really hoping that there would be a way to define the properties in the context file, but I guess not. Thank you, -- Ken T. - To unsubscribe, e-mail: users-unsubscr...@tomc

Starting web app with properties set

2009-10-22 Thread Ken T.
I looked around online but couldn't find anything. Is there a way to start a web application under Tomcat with specific properties mappings. Say I wanted to start my app with the property setting: user.database=ProdDB How would I go about doing so? Thank you, --

Re: Tomcat + APR: 'Invalid Server SSL Protocol' (was 'Tomcat + APR .. Socket bind failed')

2009-10-19 Thread Ken Johanson
Ken Johanson wrote: Ken Johanson wrote: After doing a kill, then startup I now get: java.lang.Exception: Invalid Server SSL Protocol at org.apache.tomcat.jni.SSLContext.make(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:693) at

  1   2   3   4   >