Can't get to /admin dir of our webapp

2003-06-16 Thread Zabel, Ian
Hello All, We have deployed our webapp to the / context (), and we're trying to access the admin directory (/admin) but Tomcat wants to server up it's little admin webapp. How can I get tomcat to server our /admin directory from out / webapp? Thanks, Ian.

RE: Can't get to /admin dir of our webapp

2003-06-16 Thread Zabel, Ian
2003 14:47:07 -0400, Zabel, Ian [EMAIL PROTECTED] wrote: Hello All, We have deployed our webapp to the / context (), and we're trying to access the admin directory (/admin) but Tomcat wants to server up it's little admin webapp. How can I get tomcat to server our /admin directory from out

RE: Can't get to /admin dir of our webapp

2003-06-16 Thread Zabel, Ian
Users List Subject: Re: Can't get to /admin dir of our webapp OK, please define I did that. What did you do? Is Tomcat still trying to deploy the admin webapp? John On Mon, 16 Jun 2003 14:49:55 -0400, Zabel, Ian [EMAIL PROTECTED] wrote: John, I've done that, and now I simply get a 404 from

RE: Can't get to /admin dir of our webapp

2003-06-16 Thread Zabel, Ian
:07 PM To: Tomcat Users List Subject: Re: Can't get to /admin dir of our webapp That should do it. John On Mon, 16 Jun 2003 15:04:10 -0400, Zabel, Ian [EMAIL PROTECTED] wrote: I mean that I renamed the $CATALINA_HOME/server/webapps/admin directory. I will now try removing the admin.xml

RE: Can't get to /admin dir of our webapp

2003-06-16 Thread Zabel, Ian
Phillip, This is a good point, and I will discuss with my coworkers. Ian. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 3:27 PM To: 'Tomcat Users List' Subject: RE: Can't get to /admin dir of our webapp I strongly disagree with all of you.

Tomcat 4.1.24: /admin dir in our .war gets 404

2003-06-13 Thread Zabel, Ian
Resending cause my other post seems to be lost. Hello all, We deploy our war file to the / context on our tomcat server (we use apache as our webserver, with mod_jk). We just added a /admin directory into our application, and we are trying to deploy the app. At first, when I went to

Taglib troubles with 4.1.24

2003-04-03 Thread Zabel, Ian
I'm trying to code up some enhancements to my tag library, and I've just switched to Tomcat 4.1.24. I have a String defined in a base class which is appended to by many methods in the tag. For instance: public abstract class TagBase extends TagSupport { private String attributes; public

RE: Slightly Off Topic: Web Site Content

2003-02-21 Thread Zabel, Ian
You should take a look at the Jakarta Struts project. http://jakarta.apache.org/struts/ You define the urls for all your pages in config file and then struts handles making the links. Ian. -Original Message- From: Kevin Andryc [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003

Classloader access issue

2003-02-11 Thread Zabel, Ian
Listers, Is there a way to access Tomcat4's classloaders for the common/lib, webapps/{webapp}/WEB-INF/lib, shared/lib? We deploy with a war file, which is extracted into the webapps directory, but we rely on another third party jar that we keep in shared/lib which now needs to be able to access

Session lastAccessedTime returns 0

2003-02-11 Thread Zabel, Ian
Hey, In our production instance, all our session's lastAccessedTime() are returning 0, so that we see the date as 12/31/69 7:00:00 PM EST. This server uses HTTPS for login and the rest of the pages are on HTTP. JDK 1.4.1, Tomcat 4.0.5, Apache 1.3 and mod_jk. I did some searching and can't find

RE: Re[2]: Classloader access issue

2003-02-11 Thread Zabel, Ian
ChemInformatics -Original Message- From: Zabel, Ian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 10:22 AM To: '[EMAIL PROTECTED]' Subject: Classloader access issue Listers, Is there a way to access Tomcat4's classloaders for the common/lib, webapps/{webapp}/WEB-INF/lib, shared/lib

RE: jsessionid problem

2003-02-11 Thread Zabel, Ian
Are you using mod_jk? And maybe an older version? Older versions of mod_jk had trouble with URLs that include the ; in them, but the newer ones work fine. Ian. -Original Message- From: vivek karkun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 11:41 AM To: [EMAIL

RE: jsessionid problem

2003-02-11 Thread Zabel, Ian
use in httpd.conf file for url rewrting? --- Zabel, Ian [EMAIL PROTECTED] wrote: Are you using mod_jk? And maybe an older version? Older versions of mod_jk had trouble with URLs that include the ; in them, but the newer ones work fine. Ian. -Original Message- From: vivek

Session Cookie Created on HTTPS as secure is not secure??

2003-02-07 Thread Zabel, Ian
Hey, I recently discovered that the session id cookie created by tomcat is setSecure(true) by the HttpResponseBase: if (hreq.isSecure()) cookie.setSecure(true); addCookie(cookie); So, it looks like it is set secure, and it seems my browser respects that, as it only sends the

PageContext is released early in page with some includes

2003-02-06 Thread Zabel, Ian
Hello, A quick synopsis of our problem: We are using Tomcat 4.0.6. We have a JSP which includes 8 other JSPs using a jsp:include tag inside of a loop (these includes do _not_ have a flush= attribute). We call this jsp the container, and the included JSPs components. All of these JSPs share a

Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
All; We are having a chronic problem that is causing a lot of trouble with our application's users. In our app, we authenticate users on our HTTPS server and then serve the homepage also on HTTPS. All links on the homepage to the other pages in our app switch the user to the same url on

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
12:40 PM To: Tomcat Users List Subject: RE: Session lost between HTTPS and HTTP yeah, it is a security issue I believe. Not sure how tomcat does that, but it shouldn't allow a session that was created on HTTPS to switch to HTTP. Filip -Original Message- From: Zabel, Ian [mailto:[EMAIL

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
that, but it shouldn't allow a session that was created on HTTPS to switch to HTTP. Filip -Original Message- From: Zabel, Ian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: Session lost between HTTPS and HTTP All; We are having a chronic

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
is to put a network packet sniffer between your computer and your bank, look up your session Id and then make a request to your bank server using your sessionId. So I am not switching domain. Filip -Original Message- From: Zabel, Ian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 9

RE: Session lost between HTTPS and HTTP

2003-02-04 Thread Zabel, Ian
a security point of view. Dan. -Original Message- From: Zabel, Ian [mailto:[EMAIL PROTECTED]] Sent: 04 February 2003 18:06 To: 'Tomcat Users List' Subject: RE: Session lost between HTTPS and HTTP Hm, I understand what you're saying, and I agree. But, this used to work fine before

Sessions across browser restarts

2003-02-04 Thread Zabel, Ian
In Tomcat 4.0, is it possible to configure if a session is lost when the browser window is closed, or if the user's session persists across browser restarts? In some other languages, it was possible to take the session cookies and set their timeout to a value of 0 or -1 and this would make the

RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
I'm assuming you copied the commons-dbcp.jar into 3.2.4's common\lib directory. Did you remember to also copy commons-collections.jar which dbcp needs? Ian. -Original Message- From: ps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:35 PM To: Tomcat Users List Subject:

RE: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK)

2003-02-04 Thread Zabel, Ian
Whoops, and commons-pool.jar? -Original Message- From: ps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 4:35 PM To: Tomcat Users List Subject: DBCP+TOMCAT 3.2.4 (-4.1.x WORKED OK) Greetings, I'm downgrading my web application to work on tomcat 3.2.4 (initially was

RE: Sessions across browser restarts

2003-02-04 Thread Zabel, Ian
Thanks for the response. I believe that just controls the timeout of the session on the server, and maybe the timeout of the cookies. To be more specific, I am asking about the timeout of the jsessionid cookie on the client. Is it possible to control these separately, i.e., set session-timeout to

RE: install vs. deploy

2002-12-23 Thread Zabel, Ian
mkdir dir=${build.home}/META-INF/ copy file=${basedir}/context.xml todir=${build.home}/META-INF/ and now it's ok. However, since Ant creates META-INF directory automatically (and even puts MANIFEST.MF into it) I wonder if what I did is unnecessary and whether there's some property or

RE: JSP not using latest version of included file

2002-12-20 Thread Zabel, Ian
Mark, Sounds like you are using a %@ include file=file.html% style include. This is a static, compile-time include. That means that Tomcat is probably compiling the html file in along with the jsp. The only way to refresh this would be to delete the compiled jsp files in the Work directory. I

RE: Tomcat + IntelliJ Integration NOT WORKING

2002-12-17 Thread Zabel, Ian
I suggest you head over to IntelliJ's forums at http://www.intellij.net/forums and search for tomcat integration. There has been a lot of discussion on this subject. Ian. -Original Message- From: Manoj Kithany [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 12:30 PM To:

4.1.17: Adding directory to CLASSPATH screws servlet.jar

2002-12-17 Thread Zabel, Ian
I have had trouble with this with all version of Tomcat actually, not just 4.1.17. In my development environment on my workstation, I compile all my classes into C:\work\project-name_src\src. Also, I've set my context to point to C:\work\project-name_src\jsp. This works fine when starting Tomcat

[OFF TOPIC] RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Zabel, Ian
It would certainly be easier to answer this question with a sample of your code, but I will run through some basic javascript techniques you may be able to use. You can make an HREF submit a form: script function doSubmit() { document.forms[0].hiddenField.value = 'test!'

Tomcat 4.0.5 + mod_jk + mod_gzip + Apache 1.3.26

2002-10-03 Thread Zabel, Ian
I did a little searching with Google on configuring mod_gzip to work with Tomcat and mod_jk, but only found one message thread concerning a guy who couldn't get it working. Is it possible to use mod_gzip with Tomcat and the mod_jk connector, and where can I find a good resource on this? Ian.

RE: OutOfMemoryError after 88MB on Win2K / Tomcat 4.0.4

2002-10-03 Thread Zabel, Ian
First of all, have you increased the memory available to Tomcat's JVM? You can do this by defining: JAVA_OPTS= -Xms128m -Xmx384m The numbers represent megabytes in that example. Xms is minimum and Xmx is maximum. Change the amounts to suit you. Another thing you might want to try is enabling

RE: Java/Javascript question

2002-09-23 Thread Zabel, Ian
Here's how the javascript would basically work: SCRIPT LANGUAGE=JavaScript TYPE=text/javascript !-- function submitForm( theForm ) { var txt = theForm.FileContents.value; var lastFew = txt.substring( txt.length - 3, txt.length + 1 ); alert(lastFew) if

RE: REPOST: register variables

2002-09-12 Thread Zabel, Ian
Read this: http://java.sun.com/products/jsp/tutorial/TagLibraries13.html You're gonna need to use a TagExtraInfo object and define a teiclass in your taglib tag -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 1:49 PM To: Tomcat Users

RE: jdbc datasource setting problem for tomcat 4.1

2002-09-11 Thread Zabel, Ian
The problem is in your web.xml. It subscribes to the web-app_2_3.dtd which defines the specific order the tags must appear in. XML/DTD are tag-order specific. the resource-ref tag must appear after welcome-file-list like this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC

Warp connector segfault

2002-09-04 Thread Zabel, Ian
Hello all, We are trying to get Apache 1.3.12 working with Tomcat 4.0.4 and are using the warp(1.2.0-dev, i think) connector. We are using solaris8, and Apache and Tomcat are on different servers. But, whenever we try to connect to / or /examples, we get segmentation faults in apache.