Re: Bug in mod_jk using AJP13 when passing Auth header to JDBCRealm ?

2000-11-05 Thread Craig R. McClanahan
John Bodenstein wrote: > [...] > > String authorization = req.geHeader("Authorization") returns null. > > > > > > System > > Apache 1.3.14 using mod_jk and AJP13 > > Tomcat 3.1b6 > > WinNT 4.0 > > > > When I change the worker to AJP12 all works fine. Is there a fix available > > for this? > > I h

Re: Default permissions security issue

2000-11-05 Thread Craig R. McClanahan
Chad Loder wrote: > Hello. I have successfully deployed my first test servlet > using Tomcat as a standalone container. I am concerned with > the default filesystem permissions given to my servlet > by Tomcat. > > When my servlet is deployed under: > > tomcat_dir/webapps/mycontext > > the

Re: Default permissions security issue

2000-11-05 Thread Craig R. McClanahan
Chad Loder wrote: > Thanks Craig. > > I assumed that Tomcat installed the Java security manager by > default. This would be the reasonable approach as long as > Tomcat wasn't aiming to support pre-Java2 platforms (e.g., > JDK 1.1). Is this in fact the case? > No it isn't -- you have to specifica

Re: Deploying a WAR with tomcat

2000-11-06 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Does anybody know if it will find .zip's the same way? > > The zip in question is Oracles think client driver > > classes12_01.zip > As shipped, the tomcat.bat script only looks for JAR files. Likewise, the automatic recognition of archives in a WEB-INF/lib directory

Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

2000-11-06 Thread Craig R. McClanahan
Paul Simon wrote: > Would anyone have any ideas on why I am getting this error when running: > > /jakarta-tomcat# sh build.sh > > This is Slackware. > > Thanks in advance. The most likely cause is that you do not have Ant installed (and built) where the script thinks it is (../jakarta-ant relati

Re: ;'s at the end of jsp:expr's allowed?

2000-11-06 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > SHould tomcat's JASP compiler be able to compile expressions that are > terminated with ;'s? > > I thought you could optionally terminate the expresses with ;'s > > the problem is that is generates > > out.print(string;); > > which won't compile No, the syntax for what

Re: J2EE access to Tomcat

2000-11-06 Thread Craig R. McClanahan
Thom Park wrote: > Hi All, > > I'm attempting to understand how hte J2EEAdapter and J2EEinterceptor > codeline works. More specifically I'm trying to understand how > the J2EE stuff plugs in to a vanilla Tomcat 3.2 instance. My end goal > is to plug the standalone Tomcat into a J2EE environment

Re: [tomcat-user] Re: $TOMCAT_HOME/conf/web.xml isn't readed inTomcat 3.2b6???

2000-11-07 Thread Craig R. McClanahan
jun xu sun wrote: > hi, > I want to use tomcat 4 , but after I run startup.sh, it always says Can't > find class org.apache.catalina.startup.Bootstrap in catalina.out, how come > to this? > > rgds > sun How are you trying to start it? There are two basic approaches (example assumes you installe

Re: Tomcat Caching problem

2000-11-07 Thread Craig R. McClanahan
"Sunny L.S.Chan" wrote: > Hi all, does anynoe encountered this problem, where by tomcat 3.1 standalone > kept displaying a cached copy of the servlet file instead of loading the > servlet everytime it is executed? > > Apparently it won't grab the form values in my doGet, and also everytime I > re

Re: shtml file unable to recognise

2000-11-07 Thread Craig R. McClanahan
kiran simhadri wrote: > hi, > I have a .shtml file on tomcat. It is not able to recognise . > Is there any special configuration needed to make it work? > > Any leads are welcome. > > > > contents from servlet > . > > > > Thanks > kiran > [EMAIL PROTECTED] > Oracle Corp Tomcat does

Re: Which Tomcat to use?

2000-11-07 Thread Craig R. McClanahan
Larry Rogers wrote: > I haven't gotten any response on whether 3.2 or 4.0 will support database based > authentication and container managed security. The best I was able to determine > from the archives before posting my question was that 3.2 with JDBC realm module > could handle the user/passw

Re: Where is the webdav support for jakarta-tomcat-4.0-20001103.tar.gz

2000-11-08 Thread Craig R. McClanahan
Ray Allis wrote: > (Which BTW is the last real dev snapshot. 1104 on are 1k.) > Yah, there's a bug in the build process that will be addressed as soon as we put the 3.2 release issue to bed. > > webdav/index.html says: > "Tomcat 4.0 includes built-in support for WebDAV level 2, which > enables

Re: accessing env-entries from servlet

2000-11-08 Thread Craig R. McClanahan
Thom Park wrote: > Hi, > > I've set up a webapp to define an env-entry and all looks well, > Tomcat has identified the correct env-entry type/name/value and > stuck > the data in the Hashtables in the Context. > > Can someone suggest how to access this data? I've tried the > 'standard' > way (def

Re: mysterious death

2000-11-08 Thread Craig R. McClanahan
jun xu sun wrote: > hi, there,I run tomcat 4.0 on Solaris, every half hour, it would die > suddenly, no reason, no erro, no warning, how come to > this? thanks. rgdssun Without knowing the contents of the log files that Tomcat produces (in the $CATALINA_HOME/logs directory), it is basically impo

Re: [ANNOUNCE] Tomcat 4.0 Milestone 4

2000-11-08 Thread Craig R. McClanahan
Steven Buroff wrote: > Does M4 have the connector to work with Apache > or does it still only work in standalone mode? > Thanks. > It does not have the connector yet -- that's the primary reason why it is still a "milestone" release rather than a "beta". You can count on the fact that the annou

Re: 3.2 Release ?

2000-11-08 Thread Craig R. McClanahan
und and fixed, we might need to repeat the cycle one more time. To avoid possibly destabilizing things, non-critical 3.2 bug fixes (and feature enhancements) will be deferred to some possible future maintenance release. > > Many thanks, > Barbara Nelson. > Craig McClanahan > &g

Re: question about RequestDispatcher.forward() in tomcat

2000-11-08 Thread Craig R. McClanahan
What I do in the Struts framework , which implements the MVC pattern you are talking about, is map a different extension for the logical actions (normally, these will be the values you use for hyperlinks and form submits). I like to use "*.do" because it implies

Re: Programatic management of security

2000-11-09 Thread Craig R. McClanahan
Hector Gonzalez wrote: > Hi all, > > I am working with Tomcat 3.1 beta 6, and Jonas 2.1. I plan to user JDBCRealm > for user authentication. Is it possible to: > > 1. Modify the realm programatically, that is add users, remove users, add > roles, etc. This one is easy ... simply update the datab

Re: Programatic management of security

2000-11-09 Thread Craig R. McClanahan
"Craig R. McClanahan" wrote: > Hector Gonzalez wrote: > > > Hi all, > > > > I am working with Tomcat 3.1 beta 6, and Jonas 2.1. I plan to user JDBCRealm > > for user authentication. Is it possible to: > > > > 1. Modify the realm programatic

Re: Programatic management of security

2000-11-09 Thread Craig R. McClanahan
Hector Gonzalez wrote: > Hi Craig, > > Thanks a lot for the answer. I have a few follow up questions though. > > > > > > > 1. Modify the realm programatically, that is add users, remove users, > add > > > roles, etc. > > > > This one is easy ... simply update the database. For example, adding a

Re: [ "javax.servlet.context.tempdir" ] What are other params ?

2000-11-10 Thread Craig R. McClanahan
green tea wrote: > Hi, > > I came a piece of code which looks like this: > > File t = (File)pageContext.getServletContext(). > getAttribute("javax.servlet.context.tempdir"); > > String path = new String(t.getAbsolutePath()); > > What other static constants can I pass into the > getAttribute

Re: Does Tomcat unload unused servlets?

2000-11-10 Thread Craig R. McClanahan
Maia Hansen wrote: > Hi, all! > > Wondering if anyone out there knows if Tomcat automatically unloads > servlets which haven't been hit for X amount of time (and, if so, whether X > can be configured). > > I have a servlet which takes a bit of time to load, and I'm trying to avoid > having users

Re: One servlet or multiple servlets?

2000-11-10 Thread Craig R. McClanahan
Simon Lam wrote: > Dear Simon Lam, > > Hi! > I have some functions than can be implemented by one single servlet or >multiple servlets. I wonder which method to choose because servlet is like a service >on the server side. How will the number of deployed servlets affects the performance

Re: Dispatcher internals?

2000-11-10 Thread Craig R. McClanahan
Thom Park wrote: > hello, > > Is there any documentation that describes how the tomcat dispatcher > works? > I'm trying to track the flow of control of the request down to the > actual thread running the servlet, the problem > is that I'm still missing something. > > Can anyone give a thumbnail s

Re: Internal servlet Error

2000-11-10 Thread Craig R. McClanahan
The stack traceback tells you that a NullPointerException was thrown at line 101 in the ErrConstants class, in method SETRACE.  You should investigate that part of your code to determine why a null pointer exception is being thrown. Craig McClanahan   rram wrote:   Hello friends, I have installed

Re: keepalive support in stand-alone Tomcat 3.2beta6

2000-11-10 Thread Craig R. McClanahan
Christian Mallwitz wrote: > Hi, > > It looks like if I run Tomcat 3.2beta6 as stand-alone servlet container I > don't have HTTP 1.1 keep alive support. Is this correct? > That is correct for 3.2. Version 4.0 has HTTP/1.1 support, including persistent connections, in standalone mode. > > What a

Re: Problems invalidating and then re-creating a session

2000-11-10 Thread Craig R. McClanahan
"Nosonowitz, Phil" wrote: > The following code snippet, which creates a session, invalidates the > session, then creates a new session does not work in Tomcat 3.2 beta 6, but > does under JRun and WebLogic(NOTE:In the actual program, session > invalidation and re-creation is being used as a q

Re: overriding container-wide libray JARs?

2000-11-10 Thread Craig R. McClanahan
Ingo Luetkebohle wrote: > Hiya, > > I need to override a container-wide library, i.e. use only the class > files provided with my servlet even though Tomcat provides (and > pre-loads, its the Jaxp parser) classes of the same name. > > The servlet spec 2.3 PFD says in section 9.6.2 that containers

Re: env-entry in web.xml file cause error message @ startup

2000-11-10 Thread Craig R. McClanahan
Cyril Bouteille wrote: > Hi, > > When I add the following entries in my web.xml file: > > jndi.context.factory > > > weblogic.jndi.WLInitialContextFactory > java.lang.String > Which version of Tomcat is giving you these errors? I just tried it with the most recent 3.2 code (3

Re: javax.servlet.ServletResponse: method flushBuffer()V not found

2000-11-10 Thread Craig R. McClanahan
You have an old version of "servlet.jar" or "jsdk.jar" in your classpath, or installed in your system extensions folder ($JAVA_HOME/jre/lib/ext). Get rid of it and use the version of servlet.jar that came with Tomcat. Craig McClanahan Nicolás Martín wrote: > I have a problem executing JSP exa

Re: Connection failure during handshake? (mm.mysql)

2000-11-10 Thread Craig R. McClanahan
"Harding, David" wrote: > i have the latest mm.mysql and i still get the problem, but only when i > use the driver from an applet it seems. i can use it in a servlet and in > regular java apps with no issues so far. this is very frustrating since > this project is a lot of applets using the d

Re: overriding container-wide libray JARs?

2000-11-10 Thread Craig R. McClanahan
Ingo Luetkebohle wrote: > On Fri, Nov 10, 2000 at 08:57:57AM -0800, Craig R. McClanahan wrote: > > Thus, if a class "com.mycompany.mypackage.Foo" is visible in both a JAR > > file in your webapp and in the shared extensions area, it will be loaded > > from your

Re: env-entry in web.xml file cause error message @ startup

2000-11-10 Thread Craig R. McClanahan
Cyril Bouteille wrote: > Craig, > > > > When I add the following entries in my web.xml file: > > > > > Which version of Tomcat is giving you these errors? > > I just tried it with > > the most recent 3.2 code (3.2b6 plus a bunch of patches), and it seems to > > work fine. > > Yes, I use 3.1. W

Re: Dispatcher internals?

2000-11-10 Thread Craig R. McClanahan
Thom Park wrote: > Craig, > > thanks for your response, it helped further my understanding of how servlets > work. I'm afraid my choice of language made my intent unclear. > > I'm trying to determine whether a servlet, once activated stays in same > thread until it 'dies'. > > As far as I can tel

Re: Dispatcher internals?

2000-11-10 Thread Craig R. McClanahan
Thom Park wrote: > Craig, > > thanks for your patience - I understand now what's going on - the key to my way of > thinking is that the *requests* are executed on the thread as opposed to the > *servlet*. It makes sense to me now - akin to riding a bicycle as opposed to a > bicycle riding you. >

Re: web.xml location

2000-11-10 Thread Craig R. McClanahan
Jim Richards wrote: > >[[ Everybody **PLEASE** specify your tomcat version in your questions ]] > > Sorry, version 3.2b6. > > >If you are talking tomcat3.2, then there *isn't* a global web.xml file > >anymore (actually, it still exists in the downloaded code, but is ignored). > > I found that it

Re: [BUG] OutputStream is already being used for this request

2000-11-12 Thread Craig R. McClanahan
kramer wrote: > I am still getting the error message "OutputStream is already being used for > this request" even with 3.2 beta 7. > > Does any one know if this should be fix prior to finial 3.2? Under what circumstances are you getting this message? There are valid cases of getting this that a

Re: [BUG] OutputStream is already being used for this request

2000-11-15 Thread Craig R. McClanahan
kramer wrote: > I am getting this while using request.getOutputStream() to write binary data > is a JSP. > I did some more hunting and it looks like this is not allowed, and should be > done only in a servlet. > I is a shame, because it was only three lines of code and to go through all > the ser

Re: session.getSessionContext();

2000-11-15 Thread Craig R. McClanahan
David Molloy wrote: > Hi, > > I'm trying to write a simple Snoop servlet for my system > and have run into a small problem while porting from JServ to Tomcat. > I have sessions working for authentication etc. - however when I use > > HttpSessionContext context = session.getSessionContext(

Re: downloading Word doc

2000-11-15 Thread Craig R. McClanahan
Laurens Pit wrote: > Can someone get this to the developers? Thanks. > The most likely scenario is that JRun has a predefined MIME mapping that tells it to download Word documents as "application/ms-word", and Tomcat doesn't. To change this, add an appropriate entry in $TOMCAT_HOME/conf/web.xm

Re: Please Look - 3.2 beta 7 problem - RequestDispatcher include()

2000-11-15 Thread Craig R. McClanahan
Wyn Easton wrote: > Are you not suppose to mix URL access with a RequestDispatcher? > Thanks. > > Also, in 3.2 beta 6 I could do an include() then a forward(). > Now in 3.2 beta 7 I get an illegalState error on the forward() > because of an open outputstream. I'm not opening an output stream. >

Re: Please Look - 3.2 beta 7 problem - RequestDispatcher inclu de()

2000-11-15 Thread Craig R. McClanahan
Wyn Easton wrote: > > I guess it is OK by the spec. to do multiple include() method calls? > Yes. > > Thanks. > Craig McClanahan

Re: [ANNOUNCE] Tomcat 4.0 Milestone 4

2000-11-15 Thread Craig R. McClanahan
Marcus Crafter wrote: > Hi Craig, > > Thanks for the announcement email. Great work! :-) > > How are the Apache Connectors for Tomcat 4.0 coming along ? Is there > some kind of source already available via CVS somewhere ? > Yes, they are coming along. No, they are not ye

Re: using SSL on standalone Tomcat - Urgent !

2000-11-15 Thread Craig R. McClanahan
"Lacerda, Wellington (AFIS)" wrote: > Hi All, > > I've set up SSL on a 3.2b7 instance. Also I defined a context, say /wlss, > with a directory and a resource, say /wlss1/index.htm inside that context. > > I want to configure that context in such a way that the access to > /wlss1/index.htm is only

Re: EJB

2000-11-15 Thread Craig R. McClanahan
Peter Knight wrote: > I have tried to invoke EJB's from TOMCAT and get: > > Internal Servlet Error: > javax.servlet.ServletException: Need to specify class name in environment or > system property: > Root cause: > javax.naming.NoInitialContextException: Need to specify class name in > environment

Re: Number of Instances

2000-11-15 Thread Craig R. McClanahan
Lauber Christof wrote: > How must I configure the jakarta-tomcat 3.1 that just one Instance per > servlet is allowed? Which config file do I have to edit(server.xml, > web.xml, ? ) ? The only thing you have to "configure" is your servlet -- be sure you do *not* implement the SingleThreadModel in

Re: using SSL on standalone Tomcat - Urgent !

2000-11-16 Thread Craig R. McClanahan
Kurt Bernhard Pruenner wrote: > "Lacerda, Wellington (AFIS)" wrote: > > > > > > > > > > > >a > > >/wlss1/* > > > > Change this to "/*". The setting is relative > > to your context, not to the server root. > > AFAIK, the spec says to use "/" instead of "/*" - give that a try, I'd s

Re: WWW-Authentication using Tomcat-form-based-login and Apache

2000-11-16 Thread Craig R. McClanahan
Marco van Meegen wrote: > sounds like I've got exactly the same problem. I didn't follow the thread in > the dev-mailinglist, > so I'm sorry if I repeat problems already solved there... > > I'd like to set up exactly the same thing and found the same source in the > Professional JSP-book. > The q

Re: Tomcat 3.2-b7 not compliant to Servlet Specification 2.2 ?!

2000-11-16 Thread Craig R. McClanahan
Thanks for the patch Marc! I'm sorry I missed this when fixing things for b7. It will be fixed in the final release. Craig McClanahan Marc Saegesser wrote: > I posted a patch a few days ago to fix this problem. In most cases Tomcat > shutsdown every other context starting with the first one

Re: getRemoteHost() returns ""

2000-11-16 Thread Craig R. McClanahan
Christoph Kukulies wrote: > I thought I could get the remote hostname in a Servlet > or jsp file. The following returns nothing for getRemoteHost(): > > > HostIP="<%= request.getRemoteAddr() %>" > NAME='hn' >VALUE="<%= request.getRemoteHost() %>" >SIZE='15'> >

Re: Testing woes - please help!!

2000-11-16 Thread Craig R. McClanahan
Mike La Budde wrote: > I'm trying to slice up the GTest.java ant task that comes with the tomcat > distribution. Since we are using struts and placing some things in the > session (tho' we try to minimize that) any of my actions/pages I request > that rely on stuff being in the session error out.

Re: Problem porting servlets from JServ to Tomcat

2000-11-16 Thread Craig R. McClanahan
Dave DeHaan wrote: > - Compatible with Java Servlet Development Kit (JSDK) 2.0 > This is likely to be the key to your problem. Several major things from the Servlet 2.0 API were deprecated -- for example, the ServletContext.getServlet() method now returns null, and you can no longer use a

Re: Tomcat 4.0 and Apache

2000-11-16 Thread Craig R. McClanahan
YueMa wrote: > Hi there, > How can I config the Tomcat 4.0 with Apache together? > > I did that for Tomcat 3.0 but not so clear for 4.0 > It's not clear because web connectors for Tomcat 4.0 do not exist yet. They are planned for the next milestone, but no guarantees yet. > > Thanks for any hel

Re: using SSL on standalone Tomcat - Urgent !

2000-11-16 Thread Craig R. McClanahan
"Lacerda, Wellington (AFIS)" wrote: > No, I'm sorry, it failed again. (thanks anyway) > Maybe I found a bug ? > Can you send me (or re-send if you've already done so and I missed it) a simple test webapp that illustrates this? It worked for me in every test scenario I can come up with, so there

Re: Accessing Servlets In Packages

2000-11-16 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > [snip] > Now, take a class, SomePackageClass, declared to be in package testapackage > within its .java code file. Its compiled form is in the following file: > > /usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes/testapackage/SomePa > > ckageClass.class > > I

Re: http 1.1 request line with full url

2000-11-16 Thread Craig R. McClanahan
Stefan Haustein wrote: > Hi, > > does anybody know how to convince > Tomcat to process "true" HTTP 1.1 requests > having the full URL in the request line, e.g.: > > POST http://www.foo.org/bar HTTP/1.1 > > If I try this, I get a 409 error. > > POST /bar HTTP/1.1 > > works fine, but I have a c

Re: Bug or Feature? Additional parameters not passed for FORM login page in Tomcat 3.2 b7

2000-11-16 Thread Craig R. McClanahan
"Xia, Alex" wrote: > I have been trying to retrieve additional field information from the FORM > login page without success. Basically I am using the following login.jsp but > could not get "my_field". > > > > Login page for examples > > > > > > > > > <% > System.out.println("

Re: Container Managed Security - Basic authentication will not work.

2000-11-16 Thread Craig R. McClanahan
Miles Daffin wrote: Hi, TC version: 3.1Java version: "1.3.0-C"OS: Win 2000 (SP 1) Has anyone else tested the Example Basic Authentication Area (see TOMCAT_HOME\readme.txt) in the example web app? I placed an index.html in '/examples/jsp/security/protected' directory and tried the following URLs

Re: Tomcat server access logs?

2000-11-16 Thread Craig R. McClanahan
Rick Castello wrote: > I've searched the site, the FAQ, and what of the mailing lists > I could find, to no avail. > > I am having great difficulty finding info on access logging for > Tomcat. > > I am running Tomcat solo, with Cocoon. I am *not* running > it along with Apache server, as I am on

Re: System properties

2000-11-17 Thread Craig R. McClanahan
John Ellis wrote: > According to the dtd: > http://java.sun.com/j2ee/dtds/web-app_2.2.dtd > There is an "env-entry" tag that has name-value pairs like you mentioned. The > version of tomcat that I am using (3.1) did not seem to being doing anything > with this entry. It does seem like it would

Re: headers, cookies, redirect

2000-11-17 Thread Craig R. McClanahan
Michael McCormick wrote: > I'm not particularly grounded in web development, so this may > not be specific to Tomcat. I'm hoping someone can explain how > this works. > > I can get cookies sent back to the browser when performing a > redirect if I set them _after_ I issue the redirect. That is, i

Re: Log File Sizes and Growth

2000-11-17 Thread Craig R. McClanahan
"Julia (Hyunjoo) Walker" wrote: > I read through all the documentation pages more than once but couldn't > find any comments about how log files are managed. For example, if > there are any size limits on the TomCat log files (i.e., jasper.log, > servlet.log, etc.); or, if there are limits, whet

Re: Servlet invoker woes - servlet-mapping /servlets/* to invoker fails on 3.2

2000-11-17 Thread Craig R. McClanahan
As of Tomcat 3.2-b8 (to be created on Monday), you will be able to set a parameter in the server.xml file to override the prefix used by the invoker servlet. There is an entry that looks like this: and you can change the prefix attribute to "/servlets/" for your particular case. In Tomc

Re: Sessions don't work without cookies since 3.2beta6

2000-11-17 Thread Craig R. McClanahan
"Stubenrauch,Andreas" wrote: > Hi Folks any comments are welcome: > > If Cookies are turned off in a browser the session-management by > url-rewriting does not work. This bug was introduced by 3.2 beta6 and is > still around in beta7 > > Just turn cookies off and try any of the session-examples i

Re: Requesting / hangs Tomcat with no static interceptor?

2000-11-17 Thread Craig R. McClanahan
Jon Skeet wrote: > I'm using Tomcat 3.2b7 (also happens under 3.2b6) and I'm trying to run > a slightly cut-down version. In particular, I don't want to serve any static > files, show any directories etc. > > I thought that to do this, I could remove the line: > > > > from server.xml. > > Unfort

Re: using SSL on standalone Tomcat - Urgent !

2000-11-17 Thread Craig R. McClanahan
"Lacerda, Wellington (AFIS)" wrote: > Craig, > > Can you send me a piece of example of the configuration ? I can't see what > I'm doing wrong. I've already tested both suggestions and I didn't get that > message back in any case. > > Thanks, > > Wellington > Attached is the simplest web-app I ca

Re: Antigen found CorruptedCompressedFile virus

2000-11-17 Thread Craig R. McClanahan
ANTIGEN_NAVMAILS01 wrote: > Antigen virus protection for Exchange found secure-only.war infected with > CorruptedCompressedFile virus. The file is currently Deleted. The message, > "Re: using SSL on standalone Tomcat - Urgent !", was > sent from Craig R. McClanahan and

Re: VIRUS ALERT! Re: using SSL on standalone Tomcat - Urgent !

2000-11-18 Thread Craig R. McClanahan
"Mark G. Franz" wrote: > DO NOT OPEN THIS ATTACHMENT! > The "Antigen for Exchange" virus scanner is broken, as you will discover if you scan this file with any other virus scanner. Apparently it does not know what a Java JAR file looks like. Craig McClanahan

Re: Integrating servlet output into JSP

2000-11-18 Thread Craig R. McClanahan
Wyn Easton wrote: > -- for carnell - I lost the message link > > I had a moment to look at the Tomcat source and in > RequestDispatcherImpl saw that the service() method is called > for RequestDispatcher's forward() and include(). > JSP's _jspService() is like a regular servlet's service() method

Re: Requesting / hangs Tomcat with no static interceptor?

2000-11-18 Thread Craig R. McClanahan
Kurt Bernhard Pruenner wrote: > "Craig R. McClanahan" wrote: > > Jon Skeet wrote: > > > Unfortunately, this seems to mean that a request for / on the server sends > > > Tomcat into a tight loop (Java takes up 99% of my CPU). > > > > The static

Re: VIRUS ALERT! Re: using SSL on standalone Tomcat - Urgent !

2000-11-18 Thread Craig R. McClanahan
"Mark G. Franz" wrote: > In response; > > Antigen virus protection for Exchange found secure-only.war infected with > CorruptedCompressedFile virus. The file is currently Deleted. The message, > "Re: using SSL on standalone Tomcat - Urgent !", was > sen

Re: Can a server call an other servlet?

2000-11-19 Thread Craig R. McClanahan
Boszormenyi Laszlo wrote: > Hello! > > Let's say I have some servlet, and each of them would like to reach a > function I write into one of them. Can the others reach it somehow? Maybe > if I restructure the code? There are zero mechanisms in the servlet API for one servlet to gain a reference

Re: JSP and embedded servlet call

2000-11-19 Thread Craig R. McClanahan
Boszormenyi Laszlo wrote: > Hello! > > How should I implement something like <.!--#exec cgi="..."--> in a jsp > page? Tomcat does not support server-side includes via "#exec cgi". You can use such commands in HTML pages if you run Tomcat behind a web server, but not in a JSP page. > So, I want

Re: Servlet invoker woes - servlet-mapping /servlets/* to invoker fails on 3.2

2000-11-20 Thread Craig R. McClanahan
Rachel Greenham wrote: > On Saturday 18 November 2000 00:29, you wrote: > > As of Tomcat 3.2-b8 (to be created on Monday), you will be able to set a > > parameter in the server.xml file to override the prefix used by the invoker > > servlet. There is an entry that looks like this: > > > > >

Re: Serving welcome page v. issuing HTTP redirect

2000-11-20 Thread Craig R. McClanahan
Phil Radden wrote: > There appears to be a change of behaviour between Tomcat 3.1 and 3.2bX > regarding the handling of the top page for a servlet. > > I have a servlet in ROOT context, and wish a particular file, say index.jsp, > to be used for requests for 'GET / HTTP/1.0'. In 3.1, this is wha

Re: Future deveploment of Tomcat

2000-11-20 Thread Craig R. McClanahan
Christian Mallwitz wrote: > Hi, > > Knowing that Tomcat is an onging public effort and that most the people > working on it are volunteers I would like know if there is something like a > "release schedule". I've seen discussion about Tomcat 3.3 but 3.2 is still > beta (working great although) a

Re: Session timeout

2000-11-20 Thread Craig R. McClanahan
"Ivan E. Markovic" wrote: > Quick question. How long are sessions inside Apache/Tomcat valid for? > In all the Servlet documentation I have it is stated that session > duration is server specific. So I checked the Tomcat and Apache docs > and could find no indicator as to what that duration was.

Re: Servlet context

2000-11-20 Thread Craig R. McClanahan
David Oxley wrote: > We have written a servlet that is being used in a virtual host setup. I need > to retrieve the virtual host that the servlet has been setup up to work > against. I can retrieve the server name but not the virtual host name. Also > I would like to retrieve the context. > We ar

Re: Server-Side Includes (was Re: JSP and embedded servlet call)

2000-11-20 Thread Craig R. McClanahan
Kurt Bernhard Pruenner wrote: > "Lacerda, Wellington (AFIS)" wrote: > > Why don't you use the plain ? > > Because the page is an shtml page that's handled by Apache, and since it's > possible to include JSP-pages that are handled by mod_jserv with the old JServ > I'm curious why this shouldn't b

Re: System properties

2000-11-20 Thread Craig R. McClanahan
Miles Daffin wrote: > Hi guys, > > > > From the looks of things, it is just the way it is, although I was > hoping > > > the there would be some way to put stuff in the web.xml file, maybe in > the > > > servlet tag like: > > > > > > > > > myproperty > > > 42 > > > > > > > > > Anyone think this

Re: Server-Side Includes (was Re: JSP and embedded servlet call)

2000-11-20 Thread Craig R. McClanahan
Kurt Bernhard Pruenner wrote: > > No no no no no... I _don't_ want to add SHTML/SSI support to Tomcat - I want > mod_jserv fixed so that, using the SSI facility in Apache, Anyone who wishes to make this change (instead of or in addition to adding SHTML support to Tomcat) is welcome to propose su

Re: System properties

2000-11-20 Thread Craig R. McClanahan
Miles Daffin wrote: > > > > > > As long as this property value is never broadcast > > > i.e. System.setProperty("myProperty", "42"); > > > > > > > System properties, in the sense that we are talking about the > java.lang.System > > class, are global to the entire JVM. Therefore, even if the stat

Re: Session timeout

2000-11-20 Thread Craig R. McClanahan
Charles Sabourdin wrote: > --- "Craig R. McClanahan" > <[EMAIL PROTECTED]> wrote: > > "Ivan E. Markovic" wrote: > > > > > Quick question. How long are sessions inside > > Apache/Tomcat valid for? > > > In all the Servlet documen

Re: Portability & other issues of the minute.

2000-11-20 Thread Craig R. McClanahan
See intermixed. Miles Daffin wrote: > Hello to all those treading the Tomcat user trail, > > 1: Fully encapsulated webapps... > > > > > > > Because we're trying to write nice well-behaved webapps, we don't want > to > > > have to change a global setting, only a local-to-webapp setting. > > > > >

Re: JSP 1.1 XML format tags

2000-11-20 Thread Craig R. McClanahan
Anne and Bill Moore wrote: > Does Tomcat support JSPs where the tags are coded in XML format as > specified in the JSP1.1 spec? I have tried Tomcat V3.1 and 3.2 beta 7 > and they do not seem to recognize XML format tags. For Tomcat 3.x (JSP 1.1), the answer is no. For Tomcat 4.0 (JSP 1.2), the

Re: [ANNOUNCEMENT] Tomcat 3.2 Beta 8

2000-11-21 Thread Craig R. McClanahan
GOMEZ Henri wrote: > The reported name is incorrect, I'll fix that in CVS but too late... > That is really strange - I checked in this change last night (6:43PM Pacific time). Craig

Re: Help Needed

2000-11-21 Thread Craig R. McClanahan
"Ramesh Kumar . T" wrote: > Hi , > > I had previously seen some > xml tags in earlier versions of tomcat (I do not remember the version) > something like > > > (but this does not work right now ) > > instead of the > <% > %> > tags > > Is the Xml format going to be a standard

Re: SnoopServlet - passing params through web.xml

2000-11-21 Thread Craig R. McClanahan
Mala Ramakrishnan wrote: > Hi, > > I wanted to learn how to pass init parameters through web.xml, so I > uncommented the following from > jakarta-tomcat-3.1/webapps/examples/WEB-INF/web.xml: > > foo >bar > > > Yet, when I call SnoopServlet on my browser as follows: > http://www.blahblah

Re: Thread.currentThread().getContextClassLoader() in Tomcat 3.2

2000-11-22 Thread Craig R. McClanahan
"Roytman, Alex" wrote: > I would like to use Thread.currentThread().getContextClassLoader() with > Tomcat 3.2 to resolve one common problem when class from system classpath > needs to call something loaded by tomcat context's loader. As far as I > understand Tomcat 3.2 suppose to run under jdk1.1

Re: Managing security on multiple contexts - urgent !

2000-11-22 Thread Craig R. McClanahan
"Lacerda, Wellington (AFIS)" wrote: > I've a set of web applications /a, /b and /c and a set of users I want to > have access to them, but using a single login. The user logs in via a form > based login or something and have access to all the applications. Is it > possible in Tomcat 3.2 ? > No

Re: News Group needed desperately

2000-11-22 Thread Craig R. McClanahan
Miles Daffin wrote: > I have been on this list for a week or so now and I am flooded with mails > everyday. When this happened on the Orion Interest list I had no choice bu to > unsubscribe. The sheer volume of mails (50% of which ask ill considered > questions) suggests the need for a news group

Re: Tomcat BUG REPORT

2000-11-22 Thread Craig R. McClanahan
vidhyasagar wrote: > hi, When I Restart TOMCAT ..I get a JIT error (not very often..).. Apache > Tomcat/4.0-dev > A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation > t > arget' has occurred in : > 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting m

Re: Fwd: signed war files

2000-11-22 Thread Craig R. McClanahan
Steve Conover wrote: > trying this again... > > > Hi everyone, > > > > I'd like to create a war, digitally sign it, and restrict tomcat to > > only executing code that's digitally signed by me. Has anyone done > > this successfully? How do I go about doing this? > > > > Thanks, > > Steve > Tom

Re: Strange Session Behavior....

2000-11-22 Thread Craig R. McClanahan
James Morgenstein wrote: > All- > > I am having some problems with retrieving my beans out of sessions on JSP > pages. > > Some background, I'm using Tomcat 3.2b8 (also tried 3.1) with Apache 1.3.x > on Linux with Sun's JDK1.3. Under Tomcat 3.2b8, I have disabled cookies and > am using URL rewri

Re: WebApp Classpath

2000-11-22 Thread Craig R. McClanahan
Dan Smith wrote: > Hello, > First, I saw questions on this same subject in the archives, but no > responses. So if this has been answered already, sorry, but I missed it. > > In short, I want my web-app to use different version of the xml parser > included with Tomcat v3.1. I know I can

Re: Does servlet mapping work in Tomcat 3.1?

2000-11-22 Thread Craig R. McClanahan
Toby Piper wrote: > Ok that worked. Thanks! > > The spec doesn't really say that it matters, although all of the examples I > could find have the mapping coming AFTER the servlet. > > Seems to me that tags at the same level in the xml file should be processed > properly no matter what order they

Re: Servlet chaining in Tomcat

2000-11-22 Thread Craig R. McClanahan
Rama Venkata Kunapuli wrote: > Folks: > > I am trying to chain servlets so output of one is directed to next servlet. > > Lacking information, I have tried modifying web.xml and made the following > entries -- ofcourse, it didn't work! > > > ServletChain > SimpleTextServlet,Upper

Re: Clustering/distributed container..

2000-11-24 Thread Craig R. McClanahan
Christian Bjørnbak wrote: > Hi > > Does Tomcat 3.1 support clustering of JVM's/distributed containers, where > the sessions is replicated to the partipating servers??? > No. > > According to the Servlet API 2.2, it's a feature all servlet containers need > to have... > You might want to reread

Re: tomcat 3.2b8 and response.flushBuffer()

2000-11-27 Thread Craig R. McClanahan
Mauro Bertapelle wrote: > It seems to me that response.flushBuffer() > doesn't work anymore with beta8. > > Can someone confirm this ? > What symptoms are you seeing that lead to this conclusion? There are at least the following circumstances under which you won't see any output at the browser

Re: System properties

2000-11-27 Thread Craig R. McClanahan
Miles Daffin wrote: > Craig, > > I was wondering if there is an optimal way of doing the following in TomCat? > If you have the time to briefly describe such > > Thanks > > Miles > > > > >(I prefer to store global application > > > objects in > > > > the servlet context, so that they are easi

<    1   2   3   4   5   6   7   8   9   10   >