RE: manager

2002-08-20 Thread Craig R. McClanahan
. Craig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 August, 2002 4:13 PM To: Tomcat User List Subject: manager I have not been able to reload webapps with the tomcat manager module. I am able to connect to the manager and it shows the application

Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()?

2002-08-19 Thread Craig R. McClanahan
On Mon, 19 Aug 2002, tek1 wrote: Date: Mon, 19 Aug 2002 18:15:54 +0900 From: tek1 [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: retrieving HttpSession in Filter? ServletResponse.setContentLength()? hi craig

Re: It would be great IF somebody answered me, ONCE, for change :(

2002-08-19 Thread Craig R. McClanahan
on a Tomcat list isn't likely to be useful -- especially since you don't include any of the code on your page that illustrates what you are trying to do. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to change the package definition from org.apache.jsp tosomething else ?

2002-08-19 Thread Craig R. McClanahan
package in .java files (which is /work/locahost/_/)? As long as the JSP page compiler can compile these sources (and Tomcat can), it should not matter to you where they are placed. thanks Rob Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: Tomcat 4.0.4: Unnecessary $TOMCAT/temp/ directory?

2002-08-18 Thread Craig R. McClanahan
for your index.jsp page (which is put in the per-context temporary directory under a name specified by the JSP apge compiler) would be stomped on by the servlet for some other webapp's index.jsp page. Thanks in advance, Eddie Craig --- Glenn Nielsen [EMAIL PROTECTED] wrote: Do not remove

Re: retrieving HttpSession in Filter?

2002-08-17 Thread Craig R. McClanahan
it shouldn't be a problem, but i discovered this before placing the request.getSession() code in my servlet. thank you. Craig tomcat: 4.0.4 os: windows2000 jdk: 1.3.1_04 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: retrieving HttpSession in Filter?

2002-08-17 Thread Craig R. McClanahan
On Sat, 17 Aug 2002, tek1 wrote: Date: Sat, 17 Aug 2002 17:47:32 +0900 From: tek1 [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: retrieving HttpSession in Filter? eddie and craig, thanks for your replies. i

Re: retrieving HttpSession in Filter?

2002-08-17 Thread Craig R. McClanahan
On Sat, 17 Aug 2002, Nikola Milutinovic wrote: Date: Sat, 17 Aug 2002 16:23:31 +0200 From: Nikola Milutinovic [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: retrieving HttpSession in Filter? Craig R. McClanahan wrote

Re: Way to specify realms for dynamically installed apps?

2002-08-17 Thread Craig R. McClanahan
On Sat, 17 Aug 2002, Chris Nokleberg wrote: Date: Sat, 17 Aug 2002 11:39:34 -0700 From: Chris Nokleberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Way to specify realms for dynamically installed apps? On Wed, 14 Aug 2002, Craig R

Re: ?? JSP and request.getPathInfo() in Tomcat ??

2002-08-16 Thread Craig R. McClanahan
://jakarta.apache.org/struts. Then it wouldn't even be an issue. Craig McClanahan For example, below is a simple JSP (named Test.jsp) which I invoke using the URL below. Notice /extra/path/info is the extra path information at the end of the URL: http://localhost/t/Test.jsp/extra/path/info

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
, Contech Software Ltd. [EMAIL PROTECTED] Craig McClanahan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Action before doGet / doPost??

2002-08-16 Thread Craig R. McClanahan
in your web.xml file) you don't need to worry about this at all -- the container will take care of it for you. * If you insist on doing your own authentication and access control, read up on Filters. This is one of the things they are designed to support. Nix. Craig -- To unsubscribe, e

Re: Connection pools mystery

2002-08-16 Thread Craig R. McClanahan
customers are allowed to sign on to the database via command line tools and screw anything up.) Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Can't find the filter class :(

2002-08-16 Thread Craig R. McClanahan
, then it really isn't there as far as Tomcat is concerned. Of course, you need to ensure that any other class referenced by this Filter class is there as well. -Josh Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
and only once for the lifetime of a JVM. Thanks Taral Shah Craig - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Taral Shah [EMAIL PROTECTED] Cc: Josh [EMAIL PROTECTED] Sent: Friday, August 16, 2002 12:58 PM Subject: Re

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Craig R. McClanahan
a temporary file (some JVMs expand a JAR file into a temporary directory in order to load classes from them). I am using a Windows ME + J2SDK 1.4.0 + Tomcat 4.1.9-LE. The exception is at attachment. Luiz Ricardo Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands

Re: 404 Not found - howto

2002-08-16 Thread Craig R. McClanahan
message goes here); thanks, --rp Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Craig R. McClanahan
that situation correctly. Thanks in advance, Scott Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Craig R. McClanahan
impression is that it should work well for you. Craig -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:30 AM To: Tomcat Users List Subject: Re: getRemoteUser() reset to null after authenticated user hits an unauthorized

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-15 Thread Craig R. McClanahan
after Root Cause (about half way down). This message is probably the key to what is going on. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Testing session time-out behaviour

2002-08-15 Thread Craig R. McClanahan
test client, is there a supported and relatively easy way for me to get tomcat to drop a session in the middle of a test? Suggestions? j Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: jsp in packages

2002-08-14 Thread Craig R. McClanahan
) is evil ... don't even bother learning how to do it. Well not true Craig! If something is used more than ONCE one should use a method even inside a JSP. One could use custom tags but I believe one should bother to learn %! ... %. I recommend it :) If readers of this list listen to only one

Re: AW: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2

2002-08-14 Thread Craig R. McClanahan
exceeding the buffer size is correct, however ... you should be making choices about whether to forward early in the page (or, better, in Java code managed by an MVC framework like Struts http://jakarta.apache.org/struts). Craig -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto

Re: Way to specify realms for dynamically installed apps?

2002-08-14 Thread Craig R. McClanahan
on 4.0 -- it requires 4.1. Chris Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan
do you need the password again? You already know who the user is, and you can find out if he/she has a particular role used to protect the data you are checking for access rights to. Mark Craig -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday

Re: session timeout

2002-08-14 Thread Craig R. McClanahan
? Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: session timeout

2002-08-14 Thread Craig R. McClanahan
words, if you configure a zero in web.xml, and you haven't called setMaxInactiveInterval() on a particular session, calling getMaxInactiveInterval() should return a negative value (the precise value is not specified). Craig, will this be amended in SRV 2.4? ;) The language is the same (although

RE: Writing files from a class

2002-08-14 Thread Craig R. McClanahan
the database every time? Or, for performance, caching it in memory at app startup and just serving the characters out of a saved String or something? After all, the client has no way of knowing whether a request URL like /foo/bar/baz.html was really a static resource or not. thanks, -Steve Craig

Re: Q:How to change default java.naming.factory.initial

2002-08-14 Thread Craig R. McClanahan
-4052-9695 Trying to change this sounds like something that would totally mess up the naming support that Tomcat already provides. However, you will find Tomcat's own setup of this property in org.apache.catalina.startup.Catalina, which you'd have to hand modify. Craig -- To unsubscribe, e

RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan
, but that's a whole different discussion. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Mark Schmeets wrote: Date: Wed, 14 Aug 2002 15:12:08 -0400 From: Mark Schmeets [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: j_username in session cookie - where did it go? Thanks Craig. Don't

Re: Run away servlet in Tomcat

2002-08-14 Thread Craig R. McClanahan
programmed your servlets correctly. Thank you. Sam Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan
about single sign on (under Special Features). Craig - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 10:41 PM Subject: Re: j_username in session cookie - where did it go? On Tue, 13 Aug

Re: jsp in packages

2002-08-13 Thread Craig R. McClanahan
and shared data *must* be stored in separate classes. And, you're going to need to understand how to organize your code properly to work on larger scale projects anyway, so now is a good time to start. Hint -- putting logic in your JSP pages is not a good design practice. Craig -- To unsubscribe

Re: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2

2002-08-13 Thread Craig R. McClanahan
jsp:forward does under the covers -- after the response has been committed. Using flush=true on your include causes the response to be committed. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat Profiling using Catalina API

2002-08-13 Thread Craig R. McClanahan
as a simple example, request processing threads are shared across *all* installed webapps, so there is no way to allocate their behavior to just one. It all comes down to what you think you're trying to measure, and that certainly is not clear. Craig -Original Message- From: [EMAIL

Re: Tracking active sessions over a restart?

2002-08-13 Thread Craig R. McClanahan
this? if so, what? Thanks, Scott Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat Profiling using Catalina API

2002-08-13 Thread Craig R. McClanahan
On Tue, 13 Aug 2002, Simha, Kailas wrote: Date: Tue, 13 Aug 2002 14:41:41 -0400 From: Simha, Kailas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Tomcat Profiling using Catalina API Thanks Craig :) Let me clarify

RE: Tracking active sessions over a restart?

2002-08-13 Thread Craig R. McClanahan
vouch for the behavior of any of the PersistentManager based code. Scott Craig P.S. Here's another weird thing: A new session is spontaneously created once per minute (in response to no stimulus on my part) while Tomcat is sitting idle: 2002-08-13 14:48:17,373 DEBUG [Thread-4 ] Request

Re: apache+tomcat?

2002-08-13 Thread Craig R. McClanahan
Craig McClanahan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: realm implementation class cannot access catalina RealmBaseclass

2002-08-13 Thread Craig R. McClanahan
code. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: j_username in session cookie - where did it go?

2002-08-13 Thread Craig R. McClanahan
the rules changed or have I not cfg'd something properly? The portable way to get ahold of the authenticated username is to call request.getRemoteUser(). See the servlet spec for more details on container managed security: http://java.sun.com/products/servlet/download.html Thanx! Ed Craig

Re: j_username in session cookie - where did it go?

2002-08-13 Thread Craig R. McClanahan
that it needs only the username. Craig - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 10:41 PM Subject: Re: j_username in session cookie - where did it go? On Tue, 13 Aug 2002, Ed Thompson

Re: What sort of servlet is required when using it with auto load?

2002-08-13 Thread Craig R. McClanahan
hand, is guaranteed to be notified only when the application is actually being started up or shut down. Thanks for your patience. Adrian [EMAIL PROTECTED] Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: jsp in packages

2002-08-13 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, R.C.Nougain wrote: Date: Wed, 14 Aug 2002 11:02:04 +0530 From: R.C.Nougain [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: jsp in packages Craig, Your response confirms what I thought. My

RE: Loading new context on tomcat 4

2002-08-12 Thread Craig R. McClanahan
a servlet 2.2 / JSP 1.1 app that conforms to those specs, running successfully on Tomcat 3.2.x or 3.3.x, it should run *unchanged* under Tomcat 4. The newer specs mandate backwards compatibilty, including parsing the older deployment descriptors. Yoav Shapira Millennium ChemInformatics Craig

Re: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
feasible to implement a Realm that says user Joe has this role, but only from 8am to 5pm on weekdays. It sounds like the Cocoon folks might want to do a little more thinking about their design. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
people on this and other lists, so I hesitate to ask again but... Is the implementation of JAASRealm in 4.1 backwards compatible to 4.0.4? Haven't got a clue. In theory it should be, but I've never tried. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
On Mon, 12 Aug 2002, Per Kreipke wrote: Date: Mon, 12 Aug 2002 16:33:15 -0400 From: Per Kreipke [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: [Q] Realms, Principals, et al... Craig, Thanks for the very detailed

Re: user's roles verification

2002-08-12 Thread Craig R. McClanahan
URLs, the user must be authenticated *and* possess one of the following roles. If you are using this approach, your app doesn't have to do a thing (other than define the security constraint element in web.xml) -- the container does all the work for you. Craig -- To unsubscribe, e-mail: mailto

RE: ADMINS: Ban a user?

2002-08-12 Thread Craig R. McClanahan
showing a little bit of understanding, OK? End soapbox. Likewise. Craig McClanahan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: tomcat performance and load capability

2002-08-12 Thread Craig R. McClanahan
instances. Regards, Michael Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: web app mgr syntax for a Windows war location

2002-08-12 Thread Craig R. McClanahan
creating a WAR instead of just deploying a directory directly (like the example build.xml file does)? Also, what is the field Config URL: ? Where do you see this term being used? -- Daniel [EMAIL PROTECTED] Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: web app mgr syntax for a Windows war location

2002-08-12 Thread Craig R. McClanahan
-0700 (PDT), Craig R. McClanahan [EMAIL PROTECTED] said: this should work: jar:file:d:\Projects/myapp/crossbar.war!/ I tried WAR URL: jar:file:C:\Projects/Crossbar/dist/crossbar.war!/ and got Message: FAIL - Encountered exception java.net.MalformedURLException: no protocol and tried

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
. Best Regards, Jake Hookom Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [Q] Realms, Principals, et al...

2002-08-12 Thread Craig R. McClanahan
- | From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] | Sent: Monday, August 12, 2002 9:27 PM | To: Tomcat Users List | Subject: RE: [Q] Realms, Principals, et al... | | | | On Mon, 12 Aug 2002, Jacob Hookom wrote: | | Date: Mon, 12 Aug 2002 21:02:15 -0500 | From: Jacob Hookom

Re: StandardWrapperFacade?!

2002-08-12 Thread Craig R. McClanahan
not a good idea. thanks, maia Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: unpacking of WAR

2002-08-10 Thread Craig R. McClanahan
On Sat, 10 Aug 2002, Andrew wrote: Date: Sat, 10 Aug 2002 12:18:50 -0400 From: Andrew [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: unpacking of WAR Craig, I was under the impression that the WAR would only

Re: Problems with url-pattern*

2002-08-10 Thread Craig R. McClanahan
a request *before* it is given to a servlet, and either intercept it (not enough access rights) or pass it on (access rights are fine). Do some google searches on servlet filter and you will find pointers to some articles about how they work. Thank you! Craig On Sat, 2002-08-10 at 00:40, Craig R

Re: Problems with url-pattern*

2002-08-10 Thread Craig R. McClanahan
, terminating ultimately in a stack overflow. This is why any attempt to use a servlet for access checking, followed by a forward, is doomed to failure. PLEASE go read up about filters -- this is one of the things that filters were designed to enable. Craig On Sat, 2002-08-10 at 18:59, Craig R

Re: AW: configuring tomcat for 100+ contexts

2002-08-09 Thread Craig R. McClanahan
. Documentation is on the Host page in the server configuration reference (http://localhost:8080/tomcat-docs/config/host.html). danke, Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Is it possible to include via a directive snippets into theserve r.xml file

2002-08-09 Thread Craig R. McClanahan
. If all else fails, you can write a simple script that combines all the stuff you need from file fragments just before invoking the startup. Sometimes the simple solutions are the best ... Cheers Rob Horn Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Craig R. McClanahan
/webapps, it will get auto-deployed. Cheers Rob Craig -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: 09 August 2002 14:12 To: 'Tomcat Users List' Subject: RE: Is it possible to include via a directive snippets into the server.xml file in Tomcat 4.1.x you can

RE: SSL just for a login page

2002-08-09 Thread Craig R. McClanahan
of the principle: once you switch a session from http to https, you should never again accept a non-https request for that same session. Applications that don't obey this rule are hopelessly insecure, and should be avoided like the plague. Thanks Glen. Craig McClanahan -- To unsubscribe, e-mail: mailto

Re: Tomcat 4.1.x JAASRealm Implementation

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, James Krygowski wrote: Date: Fri, 9 Aug 2002 14:39:57 -0400 From: James Krygowski [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat 4.1.x JAASRealm Implementation Hey All (Craig particularly

RE: Is it possible to include via a directive snippets into theserver.xml file

2002-08-09 Thread Craig R. McClanahan
. The important information is the context information within the XML file. From my understanding, you just have to use Context / as your root element, and you can add any sub elements necessary. Yep. - Andrew Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

Re: Tomcat4 : specific settings for Context

2002-08-09 Thread Craig R. McClanahan
:-) Regards, -- Dominique Deleris http://potatoworld.tuxfamily.org Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: ant task to query if a particular app is running?

2002-08-09 Thread Craig R. McClanahan
such a request, the bug tracking system is a good bet: http://nagoya.apache.org/bugzilla/ Note: I'm sending this mostly Ant question to the Tomcat-user list only because people like Craig know more about the manager app and the catalina tasks than the Ant people do. Although it's an Ant-sounding

Re: Problems with url-pattern*

2002-08-09 Thread Craig R. McClanahan
like inspect the request (or the appropriate session) and do things like redirect if the user is not logged on (by doing a RequestDispatcher.forwrd()) or passing the request through in the normal case. Thanks in advance for the help! Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Problems with url-pattern*

2002-08-09 Thread Craig R. McClanahan
/. this is the default servlet mapping. That's still not going to work for what the proposed use case was -- because you've just disabled the default file-serving servlet that serves static content. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: Command line jspc throws NPE for page using JSTL

2002-08-09 Thread Craig R. McClanahan
this kind of invalid reference? Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: unpacking of WAR

2002-08-09 Thread Craig R. McClanahan
. This needs to be the absolute or relative (to $CATALINA_HOME/webapps) name of the WAR file. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Howto add shared libs to tomcat's classpath?

2002-08-08 Thread Craig R. McClanahan
, and I don't imagine anyone else who answers support questions on TOMCAT-USER would be very thrilled either. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: SSL Session x Non SSL Session Problem

2002-08-08 Thread Craig R. McClanahan
is sensitive enough to protect, the whole session should be as well. Otherwise, you'll just live under an illusion of security. Thanks in advance, Junior Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat4 and encodeURL

2002-08-03 Thread Craig R. McClanahan
the session *before* executing the encodeURL call. I use : Tomcat 4.0.4 Apache 1.3.26 mod-jk Debian Woody (3.0) -- Dominique Deleris http://potatoworld.tuxfamily.org Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Webapp - WebappServer interaction

2002-08-01 Thread Craig R. McClanahan
, a webapp cannot do this kind of thing at runtime -- it takes modifications to server.xml to pull this off. --st Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: web.xml tags extensible?

2002-08-01 Thread Craig R. McClanahan
to carry more info about the servlets. See the public draft of the Servlet 2.4 spec for details, particularly Chapter 13. http://www.jcp.org/jsr/detail/154.jsp Thanks! --Zhenxin Wang DoCoMo Labs USA Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

Re: web.xml security-constraint bug?

2002-08-01 Thread Craig R. McClanahan
the constraint against the form login page or form error page. is there anyway to specify an url-pattern that includes all except login.jsp? thanks -Tony Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Suppression of directory listing in Tomcat

2002-07-31 Thread Craig R. McClanahan
to be another solution. It's configured in $CATALINA_HOME/conf/web.xml instead of in server.xml -- check out the listings servlet init parameter for the default servlet (which is the one that serves static files in a Tomcat standalone world). Cheers, Nick Craig -- To unsubscribe, e-mail: mailto

Re: Suppression of directory listing in Tomcat

2002-07-31 Thread Craig R. McClanahan
, that is it. I did not see that you meant the web.xml residing within /conf. ;) There really is a web.xml file in conf. It establishes default values for *all* web applications running in a Tomcat instance, and is processed before your own web.xml is read. Craig Andrew Conrad wrote: %CATALINA%\conf

Re: Realm reuse howto!

2002-07-31 Thread Craig R. McClanahan
the username. The password isn't visible, however -- but you really shouldn't be building queries based on it anyway. Rgrds. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: putting custom code in front of Struts Main Servlet

2002-07-31 Thread Craig R. McClanahan
/). Thanks Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: share session between webapps

2002-07-31 Thread Craig R. McClanahan
. For Tomcat 4, that means putting the class in someplace like common/lib. mike/ Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: howto compile my own realm implementation...

2002-07-31 Thread Craig R. McClanahan
tutorials on compiling Java programs would probably be in order ... -Peter Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: parsing xml config file

2002-07-30 Thread Craig R. McClanahan
Digester. Previous versions of Tomcat used an internal Tomcat utility called XmlMapper (which was one of the bases for Digester's design). thanks, Mark Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: parsing xml config file

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Sullivan, Mark E wrote: Date: Tue, 30 Jul 2002 11:36:38 -0500 From: Sullivan, Mark E [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: parsing xml config file thanks craig. It's reassuring when you

Re: Multiple Web App Authentication

2002-07-30 Thread Craig R. McClanahan
sources, or add a custom Valve implementation to do the redirect, to make this work -- it's not the normal J2EE pattern. If anyone can help with this, it would be greatly appreciated. Thank you. Douglas Srofe WDS Corp. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Native OS authentication using single sign on ...

2002-07-30 Thread Craig R. McClanahan
apps. It does not cause any sharing of sessions -- in fact, the user will have a separate session for each app that they are actually using. Sharing information between webapps is not affected in the slightest by single sign on's use. Mike Craig -- To unsubscribe, e-mail: mailto:[EMAIL

RE: How to abort the webapp load/deployment

2002-07-29 Thread Craig R. McClanahan
Craig -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 1:39 PM To: Tomcat Users List Subject: RE: How to abort the webapp load/deployment You could uild a MVC app where there are no page accesses that don't pass through the controller

Re: opening JAR file from within Tomcat App

2002-07-29 Thread Craig R. McClanahan
is that this works even if your servlet container runs your webapp directly out of a WAR file (which it is perfectly free to do), so there is no such thing as the absolute pathname to the JAR. -Chris Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Custom org.apache.catalina.authenticator

2002-07-29 Thread Craig R. McClanahan
from JAR files in the corresponding lib directory -- this works both for the server class loader (server/classes before server/lib), the common class loader (common/classes before common/lib) and the webapp class loader (WEB-INF/classes before WEB-INF/lib). Craig -- To unsubscribe, e-mail

Re: Question on differences between spec and Tomcat class library

2002-07-27 Thread Craig R. McClanahan
The page 70 references look like typos. The spec's definition of the API classes themselves (p. 144 and p. 226) don't have the s, and that is likewise true of the classes in servlet.jar. Craig McClanahan On Fri, 26 Jul 2002, Ian McFarland wrote: Date: Fri, 26 Jul 2002 23:13:01 -0700 From

Re: Tomcat + JNDI

2002-07-27 Thread Craig R. McClanahan
on creating object factories for your own beans. Craig On Sat, 27 Jul 2002, Michael Delamere wrote: Date: Sat, 27 Jul 2002 16:10:44 +0200 From: Michael Delamere [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat + JNDI Hi, I´m trying to access

Re: JNDI thoughts...

2002-07-27 Thread Craig R. McClanahan
object that you might want (which is essentially how EJB references work in a J2EE app server). Craig On Sat, 27 Jul 2002, Michael Delamere wrote: Date: Sat, 27 Jul 2002 20:45:10 +0200 From: Michael Delamere [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: JNDI thoughts...

2002-07-27 Thread Craig R. McClanahan
BasicDataSource instance is returned every time (i.e. all uses of the data source share the same connection pool). Craig Regards, Michael - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, July 27, 2002 9:05

Re: Servlet init() called twice - another cause

2002-07-26 Thread Craig R. McClanahan
, Gord Tomlin Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Frame annoyance

2002-07-25 Thread Craig R. McClanahan
are (from the perspective of the server) all separate. Nix. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: ANT and Tomcat4

2002-07-25 Thread Craig R. McClanahan
deploy it. //Erik - Erik Mattsson Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: WML or HTML detection

2002-07-25 Thread Craig R. McClanahan
) is, including the version number. Thanks. Dave Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat4 - HTTP Code 400 Response when URL contains %00

2002-07-25 Thread Craig R. McClanahan
of trying to work around its bugs on the server side. Thanks in advance, Kristian Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

<    3   4   5   6   7   8   9   10   11   12   >