Does web.xml inherit?

2002-11-25 Thread Ben Ricker
I am running Tomcat 4.0.6 on Solaris. We are getting complaints of session timeouts from users. Looking around I found the Default Session Configuration section of the web.xml in the /conf directory. The app is in its own context defined by its own web.xml. So my question is: does the web.xml

virtual machine option

2002-11-25 Thread Dave Roberts
I am trying to get tomcat to pass options to the java virtual machine (i.e. -Xss800m). I cannot find a definative solution on the web, let alone one that actually works. I have tried the JAVA_OPTS environment variable to no avail, editing the registry key (couldn't find it), and passing the

Re: Problems running Tomcat from command line

2002-11-25 Thread Steve Russell
ComSpec, I made a typo Steve At 04:09 AM 11/26/2002 +0530, you wrote: Are you sure you modified ComSpec or ComSec (as you mentioned)? Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:56 AM

RE: virtual machine option

2002-11-25 Thread srinath narasimhan
I have used it and it seems to work. Can you send in your full tomcat.exe command with the options. -Original Message- From: Dave Roberts [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 17:35 To: [EMAIL PROTECTED] Subject: virtual machine option I am trying to get tomcat

Re: Tomcat 4.1.12 Logs??

2002-11-25 Thread David Brown
Prashanth Pushpagiri writes: Hi: I am running Tomcat 4.1.12 alongside IIS 5.0. I have no installation problems, but what I'd like to know is how to set up my logs. In all previous versions of Tomcat I observed Tomcat logging access details (complete HTTP requests made) in files like

Re: Problems running Tomcat from command line

2002-11-25 Thread Manavendra Gupta
Did you try this by opening a new command window? (After you change the comspec parameters, the changes take place only in a new window). Manav. - Original Message - From: Steve Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 AM

Re: I think I broke jsp compiler

2002-11-25 Thread David Brown
Grinvald, Edward writes: Hello all, I'm trying to swap out a jre/jdk (yes, I know the diff) on the fly from tomcat 3.3a. All seems well with 1.3.1, but I'm getting problems with 1.4. It seems that the jsp simply don't get compiled (I get blank screen). Since my error page is also a jsp, where

Persistent Storage error

2002-11-25 Thread Jay Wright
I'm getting a persistent storage error that I've never seen before: 2002-11-25 15:13:10 StandardManager[/waf] Exception loading sessions from persistent storage Is there a way to turn this off? Or a reason it's happening? I don't want to persist sessions, I'd rather they die and go away if

Running Tomcat 4.0.6 as a service and proividing parameters?

2002-11-25 Thread John Mattos
Hi when I run Tomcat from a batch file, I supply the following parameters... set CATALINA_OPTS=-Dindemand.env=C:\Tomcat4.0.6\conf\indemand_env_tomcat.properties How do I do that when I'm starting Tomcat as a service? - Do you Yahoo!? Yahoo! Mail Plus -

Re: JDK is not enough. SDK is needed

2002-11-25 Thread Yandell Cacton
Hello, I hope you don't get angry as easy as you get frustrated. According to this page, it references j2se which is the JRE, the runtime. If you're using Tomcat binaries and not compiling any Java, you would think you only need the runtime libraries and not the whole SDK.

Excessive Thread Count

2002-11-25 Thread Chris Massam
Hi all, I was hoping someone would be able to assist me with debuging this problem. Firstly, a bit of Setup background. Tomcat 4.1.12 running with JDK1.3.1_04 (Sun Release), under Redhat Linux 7.3. The application consists of various JSP's and Servlets. I've been noticing excessive thread

Re: help with multilingual JSP sites pls. using a Filter to rewritethe URL ?

2002-11-25 Thread Kwok Peng Tuck
Why don't you look up on resource bundles instead? Stephen Riek wrote: Sorry, I'm not making myself clear here. My JSPs do exactly as you suggest so that I have one JSP serving up French and English pages, depending on the language that the user selected on my site. Here is the problem

RE: Tomcat or JBoss?

2002-11-25 Thread Price, Erik
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:08 PM To: Tomcat Users List Subject: RE: Tomcat or JBoss? If they are overkill for webapps, what sorts of situations would benefit from them? flame-bait NEVER

Form-based authentication - can I get original URL?

2002-11-25 Thread Matt Raible
On Tomcat 4/5, I am able to use the following configuration in my web.xml: login-config auth-methodFORM/auth-method form-login-config form-login-page/login.jsp/form-login-page form-error-page/login.jsp?error=true/form-error-page

Does Tomcat 4.1.12 create a process for every virtual host in server.xml?

2002-11-25 Thread Brandon Cruz
It seems that tomcat 4.1.12 is creating way too many processes when I start it up in linux. I am already running tomcat 3.2.4 with about 200 virtual hosts with no problem. When I try to start up tomcat 4.1.12 with the same amount of virtual hosts it gives me an out of memory error saying it is

RE: Tomcat or JBoss?

2002-11-25 Thread Schnitzer, Jeff
From: Price, Erik [mailto:[EMAIL PROTECTED]] If they are overkill for webapps, what sorts of situations would benefit from them? (Not asking rhetorically, I'm honestly curious about when to use EJB since I know nothing about them.) Applications which are very transaction-oriented will

Re: Form-based authentication - can I get original URL?

2002-11-25 Thread Craig R. McClanahan
On Mon, 25 Nov 2002, Matt Raible wrote: Date: Mon, 25 Nov 2002 17:02:21 -0700 From: Matt Raible [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Form-based authentication - can I get original URL? On Tomcat 4/5, I am able

Is there a secureCookie type of paramater for Tomcat 4.1.12?

2002-11-25 Thread Raiden
Hello, Tomcat 3.3.2 has a secureCookie paramater that restores the old behavior of not making the sessionId cookie a secure cookie if it was created under https. Is there such a parameter in 4.1.12? I know there has been a thread debating the reasons as to why a session that is created under

Re: Help needed with Tomcat support for Double Byte Chars

2002-11-25 Thread Joel Rees
Hi, We are using Tomcat3.3.1 and Oracle on Linux. When we enter DoubleByte Chars (CJK, GB2312) in jsp form input, Tomcat turns the characters into 's. The only way we can get around this problem now is to set the IE browser to check the temporary files everytime. I think I've seen

Re: Help needed with Tomcat support for Double Byte Chars

2002-11-25 Thread Stephen Riek
There are so many possible reasons for this. My advice, 1. Check that the data you send is being received as GB2312 or whatever. Easiest way to do this is to write it out to a text file. See the Discrepancies... thread for my code to do just this. 2. Also in the Discrepancies thread,

RE: help with multilingual JSP sites pls. using a Filter to rewri te the URL ?

2002-11-25 Thread Stephen Riek
Oh, I didn't realize that you could use a RequestDispatcher within a Filter, but now that I look at the Filter documentation again, I don't see any reason why not. Thanks, that's a good idea. That also explains why my original subject line was using a Filter to rewrite the URL - I initially

NoSuchMethodError

2002-11-25 Thread Abhijat Thakur
When i am trying to access a servlet through tomcat it gives me a java.lang.NoSuchMethodError. From the stack trace at LoginServlet.java:238(which is my servlet) all i am doing is that i have a handle to HttpSession object and i call the setAttribute method to bind an object with the session.

Re: Why can't put weblogic.jar to classpath when using ant

2002-11-25 Thread james
I did not put property name=classpath in build.xml, I just set the environmental variableclasspath. there are a lot of jar files including msbase.jar, etc. coz I tested some other examples. James - Original Message - From: David Brown [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Why can't put weblogic.jar to classpath when using ant

2002-11-25 Thread David Brown
james writes: I did not put property name=classpath in build.xml, I just set the environmental variableclasspath. there are a lot of jar files including msbase.jar, etc. coz I tested some other examples. James - Original Message - From: David Brown [EMAIL PROTECTED] To: Tomcat Users

RE: Tomcat with external JBoss (JNDI problems)...Workaround...

2002-11-25 Thread Andrzej Jan Taramina
I've come up with a workaround to the problem that Tomcat servlets can't seem to find the jndi.properties file and thus connect to an external JBoss server. Hardcoding the properties works, but is ugly since then your code is tied to the specific location of the JBoss server.and thus

Re: apache and tomcat and a webapp

2002-11-25 Thread ranjit
Hi, While compiling apache_1.3.27 with DSO support I am encountering the following problem, can anybody tell me what is wrong pls... ./configure --prefix=/usr/apache --enable-module=most --enable-shared=max ... ... === src/modules gcc -c -I./os/unix -I./include -DIRIX -DUSE_HSREGEX

Re: jasper.error.emptybodycontent.nonempty, MySQL

2002-11-25 Thread Eric Earnst
Hi, Thanks for taking the time to reply. I just got my MySQL cookbook in the mail (has a JSP section) and combined with an O'Reilly JSP book I'm going to try to tough it out over the Thanksgiving holiday. I have less documentation on your approach and it looks like even more to learn (Ant for

apache and JServ

2002-11-25 Thread ranjit
Date:Mon Nov 25 15:20:04 GMT+00:00 2002 FROM: paul miller [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: apache and tomcat and a webapp Hi Paul, We switched from JServ to tomcat about 2 months ago. I would like to take this opportunity to discuss with you on JServ.. I

mysql connector problems

2002-11-25 Thread Evelin
Hi I am a newbie and having problems with mysql connector. I download the mysql-connector-java-2.0.14-bin.jar and put the file in the C:\j2sdk1.4.0_02\jre\lib\ext as the readme file instructed. But when I tried to run a jsp file with content: %@ page language=java import=java.sql.* % %

newbiw. mysql connector problems

2002-11-25 Thread Evelin
Hi I am a newbie and having problems with mysql connector. I download the mysql-connector-java-2.0.14-bin.jar and put the file in the C:\j2sdk1.4.0_02\jre\lib\ext as the readme file instructed. But when I tried to run a jsp file with content: %@ page language=java import=java.sql.* % %

Re: I cannot make working SSL if I run tomcat as a service (NT)

2002-11-25 Thread Aurelio D'Amico
Thank you very much Anthony. That was the right hint. - Original Message - From: Anthony Mutiso 2 [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 25, 2002 6:32 PM Subject: RE: I cannot make working SSL if I run tomcat as a service (NT) Additionally

Re: tomcat sessions and webapp deployment

2002-11-25 Thread Bill Barker
Baker, Derek [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Tomcat 4.1.12, running with JBoss 3.0.4 on RedHat 8.0, seems to be holding onto sessions between deployments of a webapp. With the old version (3.something) the sessions would get killed when

Re: problems with tomcat as rmi client

2002-11-25 Thread Bill Barker
I've never tried this, but probably you either want to set java.rmi.server.codebase in the CATALINA_OPTS, or make certain that your stub-classes all live within WEB-INF/lib. Vishal Zinjuvadia [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am trying to use

local WEB-INF/web.xml

2002-11-25 Thread Paul_Wallace
Hello Why when I add: listener listener-classLoadMycompServletAtStartup/listener-class /listener to a sparsely populated local web.xml file (webapps/mydir/WEB-INF/web.xml) does the system fail - 404 error?. Without this addition, the page loads. The servlet

serverside include

2002-11-25 Thread Paul_Wallace
Hello, Is there anyhting like a server side inlcude that is loaded into memory when the server starts, making variables specified in the include file accessible? Or is what I am trying to acheive (in previous posts) - session or application to be loaded when the server is started -

Re: MBean server?

2002-11-25 Thread Bill Barker
I'm guessing that there is a more informative message in 'catalina.out', and that the problem is that 4.1.12 doesn't work with xerces-2.2.x (other than 'nightly'). Replace the xerces jars in $CATALINA_HOME/common/endorsed with the 2.1.0 version, and it should be fine. Shawn Wilson [EMAIL

Re: tomcat sessions and webapp deployment

2002-11-25 Thread Ron Smits
Morning Nope, Tomcat 4.1.x will hang onto the sessions. And the even worse news is that Tomcat 3.3.2-dev will now hang onto the sessions across a context-reload :). This is not the behaviour I see.Sessions are invalidated after an ant reload on tomcat 4.1.12-LE on a semislackware install

Re: Mod_jk Problem

2002-11-25 Thread Bill Barker
Without looking at the code, I believe that this is only caused when the 'JkWorkersFile' no longer points to the correct place in your httpd.conf (or included file). It can also be caused if the file can't be read from the Apache user (On RedHat, defaults to 'apache', in the download defaults to

Re: Help needed with Tomcat support for Double Byte Chars

2002-11-25 Thread Bill Barker
The charset support in 3.3.1 is actually very amazing, given the limitations of the Servlet 2.2 Spec (the principal author is an iso-latin-2 person). Firstly, Tomcat 3.3.1 will attempt to remember the last charset (in the session) that was used for the last output page. Since almost all browsers

Re: local WEB-INF/web.xml

2002-11-25 Thread Kwok Peng Tuck
If I'm not mistaken you put the java source of the servlet into /WEB-INF/classes/, the directory takes class files not source files as per specification. So you will need to compile the source first. [EMAIL PROTECTED] wrote: Hello Why when I add: listener

<    1   2