RE: attributes of the element web-app?

2004-02-25 Thread Mike Curwen
It might also be that Tomcat does not implement this part of the spec, as it is (after all) "optional". > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester > Sent: Wednesday, February 25, 2004 4:54 PM > To: [EMAIL PROTECTED] > Subject: Re: attributes of

RE: attributes of the element web-app?

2004-02-25 Thread Mike Curwen
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester > Sent: Wednesday, February 25, 2004 4:07 PM > To: [EMAIL PROTECTED] > Subject: Re: attributes of the element web-app? > > > Hi no error at all. I believe it is in the correct order: > > > Welcome

RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro

2004-02-25 Thread Mike Curwen
The root cause: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/u til/Set; Means that the jVM cannot find the method in ServletContext that accepts a String parameter and returns a java.util.Set. This method is only "since" servlet 2.3, so i

RE: encodeURL / jsessionid

2004-02-25 Thread Mike Curwen
when you say 'app1' and 'app2', what do you mean? Sessions are not shared between two different web-apps. > -Original Message- > From: Jerald Powel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 25, 2004 3:46 AM > To: Tomcat Users List > Subject: Re: encodeURL / jsessionid > > >

RE: securing a jsp page

2004-02-24 Thread Mike Curwen
Yes, if you place your JSP's inside certain folder, you can secure the path to the jsp. eg: webapp |- unsecure ||- unsecured.jsp |- admin ||- secure_this_with_admin_role.jsp |- super_admin ||- secure_this_with_super_admin_role.jsp As for redirection, I think if you're redirecting t

RE: cookies and sessions

2004-02-24 Thread Mike Curwen
> -Original Message- > From: John MccLain [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 24, 2004 11:37 AM > To: Tomcat user list > Subject: cookies and sessions > > > could someone give me a process flow description of how > cookies work, i.e., > 1)user authenticates - what is a

RE: Security and includes question

2004-02-24 Thread Mike Curwen
>From the spec: The security model applies to the static content part of the web application and to servlets within the application that are requested by the client. The security model does not apply when a servlet uses the RequestDispatcher to invoke a static resource or servlet using a forw

RE: list of authenticated users question

2004-02-24 Thread Mike Curwen
Maintaining this list is implied by the spec, since the container (obviously/probably?) needs to remember who it has authenticated. But there's nothing that says it needs to tell anyone else about it. I'd recommend a Filter, since it's cross-container. > -Original Message- > From: John

RE: transport-guarantee question

2004-02-24 Thread Mike Curwen
https is the short answer. For this, and pretty much *all* your other questions, I'd recommend reading the servlet spec on top of the Tomcat docs. > -Original Message- > From: John MccLain [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 24, 2004 11:20 AM > To: Tomcat user list >

RE: One user seeing another user's data

2004-02-24 Thread Mike Curwen
well uh perhaps I'm misunderstanding something, but 'application' is the completely wrong scope, if you want the javabeans to *not* be shared between all users of your application. > -Original Message- > From: Anbu [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 24, 2004 5:39 A

RE: per-user, per-app logging in dev environment

2004-02-17 Thread Mike Curwen
They're not easy to search, in that they aren't a windows help file. Nor are they all in one HTML document, like say the MySql docs. But on the plus side, they're fairly well organized, and complete. If I'm trying to find something, and don't have much success, I use google. example: type thi

RE: jsp deployment

2004-02-12 Thread Mike Curwen
You have a space in your JKMount? /mywebapp/* .jsp ajp13 should be: /mywebapp/*.jsp ajp13 Also, where does JAVA_HOME point to? If it's only a JRE, your JSP's won't compile. The example ones may work if they were pre-compiled (though I'm pretty sure they didn't start doing that until 5.0.x). A

RE: Limiting POST sizes to save bandwidth

2004-02-12 Thread Mike Curwen
Yoav's recollection of the spec is correct. There is nothing in the headers indicating a size. So you need to read in the entire request to determine you've gone over a limit. And even if you could keep track of bytes/chunks "as they come in"... you've still wasted all that bandwidth up to that p

RE: Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Mike Curwen
Stupidest auto-responder *EVER* > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 5:15 PM > To: [EMAIL PROTECTED] > Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try > at MySQL Connection Pooling > > > Ya

RE: Servlet thread safety in Tomcat

2004-02-11 Thread Mike Curwen
1) if by 'localized' you mean "I've moved the variables from outside the doGet()/doPost() methods, to inside those methods"... then this is why there is no 'data corruption' (due to multithreading issues), and it's why you don't require synchronized access to those variables. I will probably expl

RE: Weird Problems

2004-02-10 Thread Mike Curwen
There aren't any 'subtypes' of 404, and there is no way for a request to be 404 at one point in its life, and then "finally" a 200. To avoid the 404 you're seeing, why not put a favicon.ico gif image in the root of the web directory? It can be a transparent gif. It's an annoyance, courtesy of ce

RE: Servlet thread safety in Tomcat

2004-02-09 Thread Mike Curwen
Synchronization does produce overhead, but it's what you *must* do if you will not re-write your servlets to no longer contain instance fields, *and* you wish to provide thread safety. There is a mode, and you have mentioned it before.. It's not a Tomcat mode, it's that "Single threaded" thing. (

RE: Servlet thread safety in Tomcat

2004-02-09 Thread Mike Curwen
The one thing that could be said (so far), is to ensure you are using properly scoped variables. Generally speaking, for servlets, that means don't use something like the following: public class myservlet extends HttpServlet { private String MyBadlyPlacedVariable = null; public void doGet

RE: Stealing the Writer (Was: Re: Configuring a Default Servlet)

2004-02-09 Thread Mike Curwen
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Monday, February 09, 2004 8:56 AM > To: Tomcat Users List > Subject: RE: Stealing the Writer (Was: Re: Configuring a > Default Servlet) > > > > Howdy, > Why pollute the response with data about its performance

RE: failure notice

2004-02-05 Thread Mike Curwen
; -Original Message----- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 05, 2004 12:43 PM > To: 'Tomcat Users List' > Subject: RE: failure notice > > - To unsubscribe, e-mail

RE: failure notice

2004-02-05 Thread Mike Curwen
This is (probably?) because there is someone subscribed to tomcat-user, and that someone's email is sitting behind a Norton anti-spam product. So it's not an advertisement, rather a notification that the recipient you sent to , did not get the email. So I get one of these messages every time I sen

RE: Can deployment order be captured.

2004-02-05 Thread Mike Curwen
Yes, we'll eventually move the issue tracker onto our development box, since we're the only ones who use it. It's not really a long startup time. It's that it prevents the 'real' apps from being available for that time, which is never good. It's not good we're restarting a production box in the mi

RE: failure notice

2004-02-05 Thread Mike Curwen
This is an age-old argument, and besides that, I don't enjoy talking religion. But the advice to create a client filter really grates sometimes. It is *still* a waste of bandwidth. The client can't filter until I download the 200 odd messages every morning. Aside from the annoyance factor, I

RE: Can deployment order be captured.

2004-02-05 Thread Mike Curwen
Yoav, I read up on the autoDeploy in the docs. I'm not clear on something. If I say 'auto'Deploy equals false, then that implies what? "manual" deploy? The docs detail what happens when autoDeploy is true, but not what happens when it's false. Setting it false would imply all the things that a

RE: No Suitable Driver Error -- Still No Success

2004-02-03 Thread Mike Curwen
> > jdbc/estimation > javax.sql.DataSource > Container > > > Abhay > > > -Original Message- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 03, 2004 10:03 AM > To: 'Tomcat Users List' > Subject: RE: No Su

RE: No Suitable Driver Error -- Still No Success

2004-02-03 Thread Mike Curwen
What does your web.xml look like? Read step 3 on this page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html > -Original Message- > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 03, 2004 9:46 AM > To: [EMAIL PROTECTED

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
or in JDBC conn / > Apache Tomcat/4.1.29 URGENT > > > Well you can start the unsubscribe for someone else. But the unsub is > complete only when the user responds to the reply-to in the > request for > confirmation. Who knows if auto responders to the reply-to. > > -T

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
so can anyone do this? > -Original Message- > From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 12:08 PM > To: Tomcat Users List > Subject: RE: 'Getty=001-016-162'Error in JDBC conn / > Apache Tomcat/4.1.29 URGENT > > > and here is the syntax to uns

RE: 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
Would you care to make one more best effort? unsubscribe this email: [EMAIL PROTECTED] > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 11:36 AM > To: Tomcat Users List > Subject: RE: 'Getty=001-016-162'Error in JDBC conn / > Apa

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Mike Curwen
Just to be sure.. you tried classes12.**jar** (renamed .zip to .jar) ? > -Original Message- > From: Kumar Abhay-CAK203C [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 11:12 AM > To: 'Tomcat Users List' > Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT > Import

RE: Tomcat + Hibernate2 + Security Manager

2004-01-27 Thread Mike Curwen
FYI: This has also been discussed here: http://freeroller.net/page/jcarreira/20040126 > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 11:04 AM > To: Tomcat Users List > Subject: RE: Tomcat + Hibernate2 + Security Manager > > > > Ho

RE: OutOfMemoryError with Seemingly Plenty of Memory

2004-01-27 Thread Mike Curwen
Wasn't there also a thread recently about a leak that can be configured away? The usage pattern to invoke the 'leak' was to load the site, then leave it alone, then load it again. It involved the worker thread pool for connections and JMX registration of said threads? The pool thought it was down

RE: OT Class reloading and Hotswap

2004-01-27 Thread Mike Curwen
ow", they talk about > it in the context of the option -Xdebug. If -Xdebug > and -server are used together, hotspot will stay in > interpretation only mode. (This affects not only the > startup but also the complete livetime of the vm) > > > -Original Message-

OT Class reloading and Hotswap

2004-01-26 Thread Mike Curwen
Apologies if this is a dumb question. I was snooping around java.sun.com and happened upon 'HotSwap'. There is an article that mentions it is still quite slow for starting a jvm in 'server' mode, which perhaps many of us do, since Tomcat is a server... But I was wondering if Tomcat developers w

RE: Acrobat 6.0.1 plug-in for IE and Tomcat 4.1.x problem

2004-01-26 Thread Mike Curwen
le. > > http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/ src/share/org/apache/catalina/realm/JDBCRealm.ja> va > > If the database is mysql - the fix should be un-needed since > mysql has some > parameter (I don't know) that can automtically reconnect for

RE: Acrobat 6.0.1 plug-in for IE and Tomcat 4.1.x problem

2004-01-26 Thread Mike Curwen
Tim, is there a way to tell in bugzilla what the 'fix version' is ? It's reported against 4.1.29 (I guess?), but where's the fix? I guess I'll assume 5.0.18 ? And would the class file work in 4.1.29, if I couldn't upgrade yet? > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTEC

RE: Repeated "load-on-startup" niggle

2004-01-23 Thread Mike Curwen
> Howdy, > But he wants to redirect all requests, not just those for /. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: Mike Curwen [mailto:[EMAIL PROTECTED] > >Sent: Friday, January 23, 2004 10:10 AM > >To: 'T

RE: Repeated "load-on-startup" niggle

2004-01-23 Thread Mike Curwen
Is it simpler in this case to have an index.html file sitting at '/' and all it does is a meta refresh to the '/hal' context? That way, once you're at /hal, you'll stay at /hal, and won't worry about request parameters, etc. > -Original Message- > From: Chris Ward [mailto:[EMAIL PROTECTE

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
e.gif" > wheras for requests ending in > /target/ my img tags need to look like "../images/image.gif". > > I can't imagine I'm the first person to try to implement this > kind of functionality. Any other strategies out there? I'm > debati

RE: ServletRequest's path elements not updated by calls to getRequestDispatcher()

2004-01-21 Thread Mike Curwen
That's the request dispatcher. Images and CSS are all 'called' from the client and have nothing to do with the dispatcher. If you type in http://www.foo.com/target then to the browser, the resource requested is 'target' and your image and css links, if they're relative, are going to be relative t

RE: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Mike Curwen
I have IE 6.0 with the Q824145 update installed.Can you point me to a page that will exhibit trouble? I've never noticed trouble with jsessionid, but then again, I have cookies enabled. > -Original Message- > From: Søren Blidorf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Mike Curwen
I like using Mozilla for cookie inspection. Its setup screens let you clear your cookie cache, inspect cookies on your system, and accept/deny each cookie sent to you, as they are sent to you, including jsessionid 'session' cookies. > -Original Message- > From: neal cabage [mailto:[EMAIL

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Mike Curwen
I think it's slightly unfair to characterise the 'on by default' as a 'huge' waste of resources. As Yoav mentioned, the session object is essentially empty and very small. If you don't use it, it should not be a problem. As for 'RAM resources to write a cookie...', that's accomplished on the clie

RE: tomcat webapp welcome file

2004-01-20 Thread Mike Curwen
Actually Yoav, more like *visceral hatred and copious bilious rage* ;) > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 10:24 AM > To: Tomcat Users List > Subject: RE: tomcat webapp welcome file > > > > Howdy, > The knock on that

RE: Terminating or suspending an application if a "on start up" servlet throws an exception?

2004-01-19 Thread Mike Curwen
I think if you throw a RuntimException, then Tomcat will mark the app as unavailable. > -Original Message- > From: Adrian Beech [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 18, 2004 5:35 AM > To: [EMAIL PROTECTED] > Subject: Terminating or suspending an application if a "on > start

RE: NoClassDefFoundError

2004-01-14 Thread Mike Curwen
Did you read the document Yoav mentioned? I'll give a tiny push... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html > -Original Message- > From: Xavier ANDRE [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 14, 2004 11:27 AM > To: Tomcat Users List > Subject:

RE: [OT] Apache and Tomcat together

2004-01-14 Thread Mike Curwen
> -Original Message- > From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 14, 2004 4:42 AM > To: Tomcat Users List > Subject: Re: [OT] Apache and Tomcat together > > > Apache is faster for static content. Don't get Yoav started... > It is much nicer to acces

RE: dramatic performance differences on development machines

2004-01-13 Thread Mike Curwen
I'm going with Ralph on this one... NAV has lots of services and what not, even when it has the little red X over itself in the tray (and even when you remove it from the tray). I'd be suspicious of it. > -Original Message- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: dramatic performance differences on development machines

2004-01-13 Thread Mike Curwen
I vaguely recall someone experiencing 'vastly different' performance on two identical machines. Turns out one of them had Norton Antivirus, and somehow that was slowing things down (perhaps it did a virus scan on every jsp page, for example). This would be the 'clutching at straws' type of help. :

RE: request to static file served by /* mapped servlet

2004-01-13 Thread Mike Curwen
I had this same problem a while back... http://marc.theaimsgroup.com/?t=10637248261&r=1&w=2 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 13, 2004 8:00 AM > To: [EMAIL PROTECTED] > Subject: request to static file served by /* ma

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Mike Curwen
Also, if you're using an anchor tag that has "#" in it, then using 'onclick', change that to: href=javascript: The "#" will cause the page to reload, and because it's a JSP, you might be invoking something you're not wanting to invoke. (like a login check). We had this exact problem when using

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Mike Curwen
Are you trying to include the javascript *after* a user clicks on a link to launch javascript? The request dispatcher is being called when you load the page, or when you click the little calendar icon to invoke the javascript? > -Original Message- > From: Januski, Ken [mailto:[EMAIL PROT

RE: Webapp names and paths within JSPs for images

2004-01-08 Thread Mike Curwen
I've become used to constructing image URL paths (where necessary) as absolute paths. So I'd do something like: http://<%= request.getServerName() + request.getContextPath() %>/images/foo.gif If you wanted to, you could wrap that String construction up into a taglib or even a method declared in y

RE: tricking the browser with a path

2004-01-08 Thread Mike Curwen
It definitely works with mapped servlets, and request.getPathInfo(), if that's an option for you. > -Original Message- > From: Justin Walters [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 2:11 PM > To: [EMAIL PROTECTED] > Subject: tricking the browser with a path > > > H

RE: Microsoft SQL Server validation query

2004-01-08 Thread Mike Curwen
Does it really matter if it's different? You are setting up a datasource in a configuration file, the contents of that configuration are pretty much guaranteed to be different for every database anyways. (JDBC URL and Driver come to mind). Adding one more (the validation query) is not too much of

RE: Retrieving the context path from a standalone class

2004-01-08 Thread Mike Curwen
> AFAIK there's no way to get the HTML that a JSP page would show > without an actual request. Right, which is why we need the context path. I think where we diverge is in our assesment of 'bad practice'. You had mentioned trouble with getRealPath(). Incorrect placement of a method in the API l

RE: Retrieving the context path from a standalone class

2004-01-08 Thread Mike Curwen
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 08, 2004 7:36 AM > To: Tomcat Users List > Subject: RE: Retrieving the context path from a standalone class > > > > I took a look at lucene's indexing code. It seems like you > can construc

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Mike Curwen
I think I agree with Kent. I've felt his pain, and I've done much the same thinking on this very 'gap' in the spec/API. When I do my thinking about this topic, I tend to start moving along these lines: the request is for a fully formed URL the URL includes protocol, server (port), context path,

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread Mike Curwen
You have downloaded the *source* of Tomcat. You need the binary in order to actually run Tomcat. > -Original Message- > From: Jason Roscoe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 07, 2004 8:58 AM > To: 'Tomcat Users List' > Subject: RE: Tomcat 5.0.16 in XP Profesional > >

RE: JSP developer mailing list address! Please

2004-01-06 Thread Mike Curwen
There's also the javaranch. http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=50 > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 7:45 AM > To: Tomcat Users List > Subject: Re: JSP developer mailing list address! Please

RE: Threaded servlets okay in a compliant container?

2003-12-30 Thread Mike Curwen
Just found this while searching for something else... http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q=J2CA007 5W&uid=swg21109248&loc=en_US&cs=utf-8&lang=en+en It doesn't look related at first, but keep reading the 'Cause' section. Does anyone know what's the 'real' story rega

RE: JSP not reloading

2003-12-30 Thread Mike Curwen
If you're still open to ideas, what happens when you do > this with your old/new server: 1. You make changes in a > different (examples) context? 2. Do you get a 404 (File not > found) error if you move foo.jsp to fooX.jsp? > > Mike Curwen wrote: > > > > &g

RE: 404: File Not Found = Stupidity?

2003-12-23 Thread Mike Curwen
Are you using the invoker or do you set up servlet-mappings ? (and if it's that last one, did you provide a mapping for the new servlet class? that didn't fall prey to a copy-and-paste error?) > -Original Message- > From: Merrill Cornish [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Decembe

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Actually , though the site is db-driven, the changes I'm making are as simple as change: to: This is the type of change that is not being reflected. (and yes, I'm triple-sure that this is not a client-side cache issue) > -Original Message- > From: Justin Ruthenbeck [mailto:[EMAIL

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
;ve even rolled that change back, and no dice. > -Original Message- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 23, 2003 1:31 PM > To: Tomcat Users List > Subject: Re: JSP not reloading > > > Mike Curwen wrote: > >>3. Did you try upgradi

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
t? > > > On Tuesday 23 December 2003 02:29 pm, Mike Curwen wrote: > > Our server is the one generating the class files (we only > copy *.jsp > > files), from a box that is aproximately one second behind > the server. > > So the generated class ought to be 'inter

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Our server is the one generating the class files (we only copy *.jsp files), from a box that is aproximately one second behind the server. So the generated class ought to be 'internally consistent'. Deleting class files (and generated source) from the work directory seems to help the reloading, bu

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
In the \work folder, neither the source or class file timestamps are updated. If we delete the files, then Tomcat will regenerate and recompile the appropriate (new) JSP file. So this is a better workaround than restarting. It did used to require Tomcat being cycled. As an extra note, reloadin

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
> -Original Message- > From: Ankur Shah [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 23, 2003 12:15 PM > To: Tomcat Users List > Subject: Re: JSP not reloading > > > A few things to try here: > 1. What happens when you access your JSPs directly through > tomcat (port > 8080?).

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
ge- > From: MS [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 23, 2003 11:44 AM > To: Tomcat Users List > Subject: Re: JSP not reloading > > > Which browser are you using? I've had some caching problems with IE. > > - Original Message - > F

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Alright, I've tried upgrading to 4.1.29. The exact same behaviour is occuring with this version as well! I'm kinda desperate here... developing under these conditions is negative fun. Someone just give me a hint! Anything!! :) > -Original Message- > From: Mik

JSP not reloading

2003-12-22 Thread Mike Curwen
st items under WEB-INF ?) Slackware 9 Apache 2.0.45 Tomcat 4.1.24 JK (not sure of version) Has anyone run into this behaviour?? Is there a FAQ or google page covering this? I know this little bug has been around in some form or another for quite some time. Here's one entry: h

RE: how to disable info and warning messages at tomcat startup?

2003-10-31 Thread Mike Curwen
This might work... http://marc.theaimsgroup.com/?l=tomcat-user&m=106623436423859&w=2 You can either replace the package names in the file, with org.apache.commons.modeler Or, just use the root category and set it to 'warn' > -Original Message- > From: Rick Sansburn [mailto:[EMAIL PROTE

RE: generate images on the fly

2003-10-31 Thread Mike Curwen
And if you specifically are interested in graphs, then there's two packages that work together. http://www.jfree.org/jfreechart/index.html which does the server-side graph generation http://cewolf.sourceforge.net/ Taglib that wraps Jfreechart quite nicely. On the bottom of the first page I li

RE: Intermittent Performance Problems

2003-10-30 Thread Mike Curwen
cocoon uses XSL/XML a lot doesn't it? If I'm remembering correctly, then there's a memory leak in jdk 1.4.1(_some build number I forget) that is exposed readily on systems that use StringBuffers quite a bit (which XSL processors apparently do). You might try an upgrade on the JDK to see if the p

RE: Session vs. Application Replication

2003-10-29 Thread Mike Curwen
Looking at the bottom of this page: http://www.javagroups.com/javagroupsnew/docs/success.html I'd say Filip liked it for Session replication. > -Original Message- > From: Karthik Duddala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 1:56 PM > To: Tomcat Users List > S

RE: Session vs. Application Replication

2003-10-29 Thread Mike Curwen
y of these, but wouldn't > call it a weak design to do so) > > > -Original Message- > > From: Mike Curwen [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 29, 2003 5:53 PM > > To: 'Tomcat Users List' > > Subject: RE: Session vs. Applic

RE: Tomcat 3.3 performance issues

2003-10-29 Thread Mike Curwen
If you're able to change VM's, it implies you're able to change Tomcat versions. You should at very least *try* 4.1.27, as there were major speed enhancements between the 3.x and 4.x lines. > -Original Message- > From: Joao Batistella [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October

RE: Session vs. Application Replication

2003-10-29 Thread Mike Curwen
I'm probably missing something in this whole discussion, but I'm failing to see why you'd need to replicate 'application' context. If you have two instances of Tomcat, clustered, then there is already 'replication' of the application, because there are two instances of it. Tomcat clustering (as

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 9:47 AM > To: Tomcat Users List > Subject: RE: Map all URL to one servlet > > > > Howdy, > > >local values in WEB-INF/web.xml that 'match' values in conf/web.xml, > >will always takes

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
local values in WEB-INF/web.xml that 'match' values in conf/web.xml, will always takes precedence (as stated in the spec). And the *.jsp mapping in conf/web.xml is what makes JSP's work, so I hadn't forgotten that. ;) > -Original Message- > From: Christopher Schultz [mailto:[EMAIL PRO

RE: Application-level security

2003-10-27 Thread Mike Curwen
I wrote a filter to implement security. I've been using my own, rather than container-managed, because like you, there is quite a bit of work to do, to a new session, before its useful to the app. Also, we wanted our users and roles in a database, rather than the deploy descriptor. So we have

RE: Map all URL to one servlet

2003-10-27 Thread Mike Curwen
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Sent: Saturday, October 25, 2003 8:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Map all URL to one servlet > > However, this mapping will override any extension-mapped (e.g. > *.jsp) Servlet. Of cours

RE: Tomcat doesn't start under Windows XP

2003-10-24 Thread Mike Curwen
> C:\Programmi\Java\j2re1.4.2 This is a JRE? You should be using a JDK. > -Original Message- > From: Giorgio Franceschetti [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2003 1:19 PM > To: Tomcat Users List > Subject: Re: Tomcat doesn't start under Windows XP > > > > > Jon

decreasing mod_jk.log file messages

2003-10-23 Thread Mike Curwen
tch my httpd.conf's 150. Two things: 1) It seems to have no effect on these messages 2) There is no conceivable way that we have 150 simultaneous requests. We simply do not have the traffic. What else might be causing these messages, and how do I turn them off? ----

decreasing mod_jk.log file messages

2003-10-23 Thread Mike Curwen
Yes, I've googled and looked in the archives. But I'm notoriously bad at search, so someone please tell me where the answer is ;) our mod_jk.log file is 30MB and growing. As far as I can tell, there are 3 types of messages: --- M

decreasing mod_jk.log file messages

2003-10-23 Thread Mike Curwen
Two things: 1) It seems to have no effect on these messages 2) There is no conceivable way that we have 150 simultaneous requests. We simply do not have the traffic. What else might be causing these messages, and how do I turn them off? ------- Mike Cur

RE: JK DEBUG level logging in catalina.out

2003-10-23 Thread Mike Curwen
more dilligent about clearing out my temp directory) :( > -Original Message----- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 10:35 AM > To: 'Tomcat Users List' > Subject: RE: JK DEBUG level logging in catalina.out > > > I

RE: JK DEBUG level logging in catalina.out

2003-10-23 Thread Mike Curwen
Is there more info I can supply on this? I'm at a loss as to why this is happening. > -Original Message- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 3:45 PM > To: [EMAIL PROTECTED] > Subject: JK DEBUG level logging in catalina

JK DEBUG level logging in catalina.out

2003-10-23 Thread Mike Curwen
The log continues from this point, with almost nothing but these DEBUG level statements from JKCoyoteHandler ---

RE: more problems with log4j and tomcat

2003-10-20 Thread Mike Curwen
log4.jar in WEB-INF/classes ? Packaged classes go in WEB-INF/lib, unless you've unpacked the log4j.jar file, in which case 'loose' class files go in the WEB-INF/classes directory. > -Original Message- > From: El Toro [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 3:55 PM

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
You've posted code for: recuperaDicaTopico but the stack trace shows the problem is in: recuperaTopicoAssunto > -Original Message- > From: Jose Euclides da Silva Junior - DATAPREVRJ > [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 1:41 PM > To: 'Tomcat Users List'; '[EMAIL

RE: Urgent please -crazy error when turnning tomcat a NT4.0 Servi ce

2003-10-20 Thread Mike Curwen
what database are you using? If it's MSAccess, then make sure you set up your DSN to be a 'system' DSN. > -Original Message- > From: Jose Euclides da Silva Junior - DATAPREVRJ > [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 11:24 AM > To: '[EMAIL PROTECTED]' > Subject: Urg

RE: RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
27; > Subject: AW: RE: newbie: servlet examples work, jsp not > > > hello, > > i am using windows xp home edition. > > CATALINA_HOME is the same as TOMCAT_HOME: > > c:\tomcat > > thanx > > sven > > > -Ursprüngliche Nachricht- > >

RE: newbie: servlet examples work, jsp not

2003-10-20 Thread Mike Curwen
Are you on XP Home or XP Pro ? What's CATALINA_HOME ? If you're using the LE version of Tomcat, remove it, and try installing the 'full' (non-LE) version. > -Original Message- > From: Sven Busse [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 8:50 AM > To: 'Tomcat Users Li

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread Mike Curwen
It's not that it's difficult, but I think the questions, as asked, are a bit too sly for their own good. People don't necesssarily react well to 'trick' questions. If the question is phrased in such a way that it makes a 'qualified' candidate think "Oh my god, these QUESTIONS are wrong"... then h

RE: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread Mike Curwen
I used to work in an Oracle/Sun shop, so this really tickled my memory. Does your query break any of the rules on this page ? : http://sales.esicom.com/sales/oracle/java.816/a81354/resltse2.htm > -Original Message- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sen

RE: Java/JSP/Servlet Programmer [off topic]

2003-10-17 Thread Mike Curwen
BLE); cs.registerOutParameter(1, > OracleTypes.CURSOR); cs.setString(2, InputParam1); > cs.registerOutParameter(3, Types.INTEGER); cs.execute(); > ResultSet rs = null; rs = (ResultSet)cs.getObject(1); > rs.last(); //code ends > > Any help will be very much app

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread Mike Curwen
As off-topic as it is, I'm sure lots of us are *real* curious by now what an example question would be on your 'simple test'. :) > -Original Message- > From: Ruben Gamez [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 3:23 PM > To: Tomcat Users List > Subject: RE: Java/JSP/S

RE: Java/JSP/Servlet Programmer

2003-10-17 Thread Mike Curwen
I would send y'all my resume, but ever since the humiliation of the re-usable ResultSet, I'm sure I'm one of those that can't walk yet. ;) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 3:08 PM > To: Tomcat Users List > Subje

<    1   2   3   4   5   >