[Fwd: Session expiration...]

2001-02-08 Thread Merwin Yap
Hi! I want to ask about sessions in tomcat. How do you change the elapsed time for the session to expire. Thanks! Merwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: NullPointerException at java.io.Reader when WAR file expanded.

2001-02-08 Thread Nick Holloway
In list.tomcat-user you write: We have a web application distributed in a WAR file that consists of servlets that were compiled from JSPs, one index.jsp file and a number of JavaBeans and JAR files on Tomcat 3.2.1. When Tomcat is started, it unpacks the war file correctly with everything in

Re: [Fwd: Session expiration...]

2001-02-08 Thread Kief Morris
Merwin Yap typed the following on 04:27 PM 2/3/2001 +0800 Hi! I want to ask about sessions in tomcat. How do you change the elapsed time for the session to expire. In your web.xml put: session-config session-timeout30/session-timeout /session-config Change 30 to the number of minutes that

Re: Custom error pages from servlets?

2001-02-08 Thread Kief Morris
Les Hartzman typed the following on 04:36 PM 2/7/2001 -0800 Using Tomcat 3.2.1, is it possible to define/display custom error pages based on errors that occur within a servlet? No JSPs are used; this is a servlet/EJB environment. I've seen in the spec for web.xml that there is an error-page

tomcat-iis trouble

2001-02-08 Thread rg46con
Hi: I would like to run tomcat with iis and following the jakarta-tomcat-3.2.1\doc\tomcat-iis-howto.html. then Try http://localhost/examples/jsp/index.html always got the error HTTP 404 ifI try http://localhost:8080/examples/jsp/index.html then it's ok! can u help me ? thanks by Nick from

RE: tomcat-iis trouble

2001-02-08 Thread shlomi sarfati
Hi nick in my opinion there couple of reasons to your error one of them is that in your uriworkermap file you should insert the entry : /examples/*=ajp12 the other on is that the isapi filter isn't place in the right place you should put your isapi filterin your new web site

Question about preference within classpath...

2001-02-08 Thread Charles Sabourdin
Question about preference within classpath... My question is purely théorical, If I have a jar in my $TOMCAT_HOME\lib and one into $TOMCAT_HOME\webapps\mywebapp\WEB-INF\lib and one is a newer version then the other, which of those two will be used ? I have the same question with classes?

asp and jsp on IIS

2001-02-08 Thread Erwan TROEL
Hello I want to use ASP and JSP on IIS is it possible ? I know that it is possible to install tomcat on IIS to develop in JSP , but in this case will ASP run ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

installing TomCat on FreeBsd

2001-02-08 Thread Bob Kersten
Hi, Is there a somewhat easier walk-through for installing TomCat ona FreeBSD unix environment? The documentation that comes with TomCat is just worthless, nothing works, everything is missing and I haven't been able to complete the first few steps of the manual. What do I need, where

The tomcat service could not be started

2001-02-08 Thread shlomi sarfati
Hi I am trying to run the tomcat as a service on my win 2000 I am using jdk 1.2 and tomcat 3.2 after changing all the configuration in 'wrapper.properties' I tried to start the service like this : C:\tomcatC:\tomcat\bin\win32\i386\jk_nt_service.exe -i tomcat C:\tomcat\conf\wrapper.properties

HttpSession across virtual hosts

2001-02-08 Thread David Oxley
Hi all, I know that the HttpSession is only valid on the virtual host it was created on. This is more of a security question. We currently have our own session class that gets stored in an HttpSession 1:1 ratio. So we've coded a request that allows us to GetSessionID on the original host and

Servlet URLs

2001-02-08 Thread Cumming, Murray
I am using tomcat with Apache (on Solaris). The tomcat example servlets are at URLs such as: http://www.somedomain.com/examples/servlet/HelloWorldExample but the actual class file is at e.g. /usr/local/jakarta-tomcat/webapps/examples/WEB-INF/classes/HelloWorldExample The 'servlet' directory

Connection refused under hight load

2001-02-08 Thread Markus Ebersberger
Hi, I'm testing a servlet-application that is using Tomcat v 3.1 (standalone, without Apache) running on Win2K Workstation. The tool I'm using for testing starts a (configurable) number of threads, each of which connects to the server, sends a HTTP-request and waits for the response. It runs on

Re: Connection refused under hight load

2001-02-08 Thread Alex Fernández
I'd say that you've started too many threads; when there are no more threads available in the thread pool, Tomcat refuses connections. You should increase the number of threads in the pool. Sadly, I don't know how to do that; and would like to know :) Cheers, Alex. Markus Ebersberger wrote:

Re: Problems getting Apache-Tomcat on the jk-module running!

2001-02-08 Thread Peter Donald
At 05:03 7/2/01 +0100, [EMAIL PROTECTED] wrote: Hi everybody, could somebody please give me a hint, on how to get Apache-Tomcat on the jk-module running??? I've tried everything... You even tried posting to a completely innapropriate mailing list ! ;) Go reread

WEB-INF/lib PLEASE URGENT !

2001-02-08 Thread Joel Cordonnier
Hi! I use Tomcat 3.2 with Win2k I deploy an web application under webapps/MyApp. I use a web.xml under webapps/MyApp/WEB-INF My main servlet is in webapps/MyApp/MyMainServlet. It needs some .jar files that I put in webapps/MyApp/WEB-INF/lib. BUT the jar files a not found !! it seems that

Tomcat 3.2 throwing a VerifyError at me

2001-02-08 Thread Rajnish Bhaskar
Hi all, I've been using Tomcat 3.1 for a quite a long time now, and I thought that I'd finally give 3.2.1 a try since it's (finally) out of beta. I've set up Tomcat on a Windows NT4 machine with Sun JDK 1.2 and added my webapp to the server.xml file as follows: !-- /ITEU context

RE: WEB-INF/lib PLEASE URGENT !

2001-02-08 Thread Kimpton,C (Chris)
Hi, From: Joel Cordonnier [mailto:[EMAIL PROTECTED]] I use Tomcat 3.2 with Win2k I deploy an web application under webapps/MyApp. I use a web.xml under webapps/MyApp/WEB-INF My main servlet is in webapps/MyApp/MyMainServlet. Is it a class file? I'd have thought you'd put it

About Tomcat 4

2001-02-08 Thread
Dear Sir The Tomcat4.0 is installed in windows2000 professional. And JSP programs run well. I wrote a servlet program and compiled ok.Where is the right place to place the XXX.class Andrew Lin JSP_ok.jpg Servlet.jpg -

Load JSP page on start up

2001-02-08 Thread Amir Nuri
Hi Can I load jsp page on start-up the same way I load a Servlet (e.g: load-on-startup3/load-on-startup ( E-mail : [EMAIL PROTECTED] Web : http://www.mobilitec.com/ Mobilitec, Inc. P.O. Box 15049 Matam Haifa 31905,

Re: tomcat on win2k

2001-02-08 Thread Salvatore Borrelli
Ya, I've slammed my head against the wall for a couple of days, searching for some kind of misterious bug in my beans/jsp/servlets/jdbc ... and so on ... while the reason of that "strange" behavior was so simple. Thanks again to this great list ... Sal. - Original Message - From:

AW: HttpSession across virtual hosts

2001-02-08 Thread Ralph Einfeldt
For any hacker it is quite easy to fake an IP address. If you do something like that it's more likely that you will punish several of your users, because everybody who is connected through a call by call provider can have several IP addresses during one session. -Ursprngliche

Re: asp and jsp on IIS

2001-02-08 Thread Salvatore Borrelli
Yes, they will run. I recently switched my web site dinamic pages from ASP to JSP and installed tomcat on IIS to serve the JSP pages. Actually I'm in a transition phase during which I'm converting all the ASP code to the new Java based architecture, so in this period I still have some ASP pages

Re: HttpSession across virtual hosts

2001-02-08 Thread Kief Morris
David Oxley typed the following on 10:38 AM 2/8/2001 + I know that the HttpSession is only valid on the virtual host it was created on. This is more of a security question. We currently have our own session class that gets stored in an HttpSession 1:1 ratio. So we've coded a request that

RE: asp and jsp on IIS

2001-02-08 Thread shlomi sarfati
I think that the problem will be that the isapi_redirect dll will transfer all the request to the tomcat I haven't found documentation on it but if you can configure the isapi_redirect.dll to take only requests with unique extensions maybe you can do it in your iis console right click on your web

tomcat und IIS

2001-02-08 Thread Inga Schuetz
Hello, does someone know, if it is possible to use tomcat together with IIS 5 und Windows 2000? I have set the ISAPI Filter, and edited the regidtry, but I still have a red arrow. It says that the dll was not loaded. Inga -

RE: Dynamically created calendar

2001-02-08 Thread Michael Wentzel
Is it possible to use JSP to dynamically create a calendar? Of course... You can create a new Calendar object then from that get the month and year(and current day) then generate an HTML table using the various methods in Calendar. --- Michael Wentzel Software Developer Software As We Think -

Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Cato, Christopher
Hello. I have two identical linux redhat 6.2 machines, both running TomCat standalone. On machine A, I've been testing out a system I'm developing. It runs okay on that machine. Now I want it on machine B instead. So, I move the sources to machine B (together with the build.sh script (which

RE: Dynamically created calendar

2001-02-08 Thread Cato, Christopher
Yes, I'd say it is possible. As long as you figure out the logics around creating the calendar, there are classes that handle dates and time. Regards, Christopher Cato -Original Message- From: Jason Teh [mailto:[EMAIL PROTECTED]] Sent: den 8 februari 2001 13:26 To: [EMAIL PROTECTED]

RE: tomcat und IIS

2001-02-08 Thread shlomi sarfati
it is possible I am running it just fine double check the registry key extension_uri it suppose to have the value of the dll something like this "/jakarta/isapi_redirect.dll" shlomi -Original Message- From: Inga Schuetz [mailto:[EMAIL PROTECTED]] Sent: Thu, February 08, 2001 2:38 PM To:

RE: tomcat und IIS

2001-02-08 Thread Randy Layman
Yes its possible. Check the registry entries (case and white space matters). Also, check that you have the full dll (downloading with Netscape will corrupt, I would recommend the zip file, just to be safe) Randy -Original Message- From: Inga Schuetz [mailto:[EMAIL

Re: Question about preference within classpath...

2001-02-08 Thread Peiqiang Han Bis
Charles, The jar which is in $TOMCAT_HOME\lib takes precedence, because it is in the system CLASSPATH. For TOMCAT 3.2, the order in which classes are loaded is that bootstrap - ext - system classpath (CLASSPATH environment variable) - custom classloader (WEB-INF\classes or WEB-INF\lib). hope

RE: tomcat und IIS

2001-02-08 Thread Erwan TROEL
In this case IIS will run only in JSP no longer in ASP? or will it be possible to develop in ASP and in JSP? -Message d'origine- De : Randy Layman [mailto:[EMAIL PROTECTED]] Envoy : jeudi 8 fvrier 2001 13:16 : [EMAIL PROTECTED] Objet : RE: tomcat und IIS Yes its possible.

RE: Connection refused under hight load

2001-02-08 Thread Cox, Charlie
Title: RE: Connection refused under hight load I know that NT4 Workstation only allows 10 concurrent network connections. I didn't think that limit had changed for Win2k Workstation. Even though your app is running on the same machine, it is still making tcpip requests which would count

RE: tomcat und IIS

2001-02-08 Thread Randy Layman
As another current thread states, yes you can still run ASP and JSP, but you must be careful - if the pattern of the URL matches something in the config file then Tomcat will see it and not IIS's ASP engine. Randy -Original Message- From: Erwan TROEL [mailto:[EMAIL

RE: HttpSession across virtual hosts

2001-02-08 Thread Randy Layman
What I've seen done, which doesn't necessarily make it secure, it to send some form of CartID. This ID identifies the Cart in some shared back end data store. Usually these are large numbers that contain enough information to determine if its a possible real value, or a number someone

RE: Connection refused under hight load

2001-02-08 Thread Mark Richards
AFAIK, this limit doesn't apply for TCP/IP connections, only netbios connections. Mark -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:17 AM To: '[EMAIL PROTECTED]' Subject: RE: Connection refused under hight load I know that NT4

RE: HttpSession across virtual hosts

2001-02-08 Thread Alistair Hopkins
The http // https comparison doesn't work as cookies are sent or not depending on the host, not on the protocol. So if I have a valid session_id in a cookie in http, that will still be sent when I switch to https. So I can either have a common pool of current cookies if my https server is

RE: Dynamically created calendar

2001-02-08 Thread Scott Walter
Go to one of the javascript sites, such as javascript.com. They have free code snippets of generating calendars dynamically for any month and year. scott. --- "Cato, Christopher" [EMAIL PROTECTED] wrote: Yes, I'd say it is possible. As long as you figure out the logics around creating the

Re: Load JSP page on start up

2001-02-08 Thread Scott Walter
Yes, but instead of specifying the servlet-class tag, you will need to use the jsp-file tag. This will cause the jsp page to be compiled and loaded. scott. --- Amir Nuri [EMAIL PROTECTED] wrote: Hi Can I load jsp page on start-up the same way I load a Servlet (e.g:

Re: Servlet URLs

2001-02-08 Thread Scott Walter
just specify the url mapping in the web.xml file. It does not have to have servlet in it. For example I have a servlet that processes a login from an html and the url to the servlet is: http://localhost/processlogin or http://localhost/myapp/processlogin cheers, scott. --- "Cumming, Murray"

Tomcat 3.2.1 + SSL direct problem

2001-02-08 Thread Alan Williamson
Hi there, I'm trying to install SSL directly into tomcat as per the tomcat-ssl-howto.html document, and I'm encountering a weird error in tomcat.log when I start up tomcat. (The port numbers are different from standard as we've each got out own tomcat server running for development purposes)

Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Cato, Christopher
Hello. I have two identical linux redhat 6.2 machines, both running TomCat standalone. On machine A, I've been testing out a system I'm developing. It runs okay on that machine. Now I want it on machine B instead. So, I move the sources to machine B (together with the build.sh script (which

RE: still having some trouble with mod_jk on SGI

2001-02-08 Thread Wilt, Paul
David: The Indigo is one of the older SGI boxes. SGI uses 3 different levels of compiler options: -32 (also called O32 ABI--for older MIPS processors), -n32 (called N32 ABI--optimizations for newer versions of the MIPS processor) and -64 (64-bit optimizations for more recent 64-bit MIPS

RE: tomcat und IIS

2001-02-08 Thread Randy Layman
That would be the Tomcat IIS HowTo. Its at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm l. It says that it only works with IIS/PWS 4, but it also works for IIS 5. Randy -Original Message- From: Erwan TROEL [mailto:[EMAIL PROTECTED]] Sent:

Load JSP page on when tomcat starts (load on start-up)

2001-02-08 Thread Amir Nuri
Hi Does anyone knows how can I load a jsp page when i starts tomcat ??? same way I load a Servlet (e.g: load-on-startup3/load-on-startup ) E-mail : [EMAIL PROTECTED] Web : http://www.mobilitec.com/ Mobilitec, Inc.

security and iis

2001-02-08 Thread shlomi sarfati
Hi I define a security constraint for one servlet in my tomcat . it is running fine if I am trying to go through localhost:8080/myServlet (asking for user name and password which are defined in the tomcat-users.xml file) but when I go through the iis (http://localhost/myServlet) it requires a

Re: wml

2001-02-08 Thread Carlos
i have writte that in my web.xml but doesn't run, doesn't show the wml pages. it says me that there are te3xt/plain I have restart the tomcat but doesn't show. anybody can help me? thanks Carlos - Original Message - From: "Christoph Fischer" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Connection/Session question

2001-02-08 Thread Wang, Jianming
Hello, I have a question: - If I have a page containing a applet and some other HTML content, and the applet uses a URLConnection to connect to the web server. In this case, how many connections/sessions I have? 2 connections? one from the page itself and one from the applet? Could any

Problem with Tomcat-3.2.1/mod_jk.so

2001-02-08 Thread Willy Skjæveland
Title: Problem with Tomcat-3.2.1/mod_jk.so I'm trying to installing Tomcat-3.2.1/mod_jk with Apache 1.3.14 on Digital Unix 4.0D (Tomcat runs ok as standalone). Build: apxs -Wc,-pthread -o mod_jk.so -I../jk -I$JAVA_HOME/include -I$JAVA_HOME/include/alpha -c *.c ../jk/*.c Report from

RE: Newbie needs help ASAP!

2001-02-08 Thread John Golubenko
Well, first thing to do, is FORGET about installing any Linux software (i.e. Apache is for Linux and _also_ for others) on winblowz in directories with spaces. Thus C:\Program Files\Apache Group has 2 spaces in it. Do not do that stuff. Have it in root directories, such as C:\Apache,

RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Rezaul H. Safiuddin
Now I have a really stupid question ;-) ... Ok When I run the apache server it shows the following : F:\Program Files\Apache Group\Apacheapache [Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the server's full y qualified domain name, using 127.0.0.1 for ServerName

YDS.ORG

2001-02-08 Thread Haridham - Yogi Divine Society
Friends: Jai Swaminarayan Everyone of us is aware of the earthquake calamity that hit India. As per H.D.H. Hariprasad Swami Maharaj's wish, saints and devotees from Yogi Divine Society are working hard to help the victims. As a part of ongoing relief efforts we have put up a website that

RE: Connection refused under hight load

2001-02-08 Thread Markus Ebersberger
-Original Message- From: Chris Janicki [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: RE: Connection refused under hight load Are you using Java 1.3 by any chance? Yes, I'm using JDK 1.3. Bye, Markus

*** Generated Tomcat Temporary Class File Name Seem Too Long... Yes ***

2001-02-08 Thread Xavier
Hi Everybody, Please Help Help Help... Yes, the class file names generated by Tomcat seem to be too long to be written on the disk. In fact I have got this error message: Context log: path="" Error in jsp service() : Unable to compile class for JSPerror: Can't write:

FW: security and iis

2001-02-08 Thread shlomi sarfati
(sorry if this message posted twice) Hi I define a security constraint for one servlet in my tomcat . it is running fine if I am trying to go through localhost:8080/myServlet (asking for user name and password which are defined in the tomcat-users.xml file) but when I go through the iis

RE: Problem with Tomcat-3.2.1/mod_jk.so

2001-02-08 Thread Willy Skjæveland
Title: RE: Problem with Tomcat-3.2.1/mod_jk.so Here is output from apxs (with builtin cc): ... (lot of Warnings like this): cc: Warning: ../jk/jk_msg_buff.c, line 88: In this statement, the expression printf(...) modifies the variable i more than once without an intervening sequence point.

Login Form Authentication

2001-02-08 Thread Carlos Pita
Hi! I'm working in a project using servlets(with Tomcat 3.2) and I have a question regarding the security mechanismsdescribed in servlet 2.2 spec and how to integratethem with other aspects of the applicationthan login (for example, registration). More specifically, the application offers

Socket Exceptions

2001-02-08 Thread Pat Friedl
Hi all. I'm currently running JBuilder 4 Enterprise, and it comes bundled with Tomcat 3.1. I have a project I was working on a week an a half ago that used some JSP and beans to connect to a remote database. The project was working well until I upgraded my dial-up to cable modem. Now when I

RE: Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread GOMEZ Henri
I have two identical linux redhat 6.2 machines, both running TomCat standalone. On machine A, I've been testing out a system I'm developing. It runs okay on that machine. Now I want it on machine B instead. Same config file also ? So, I move the sources to machine B (together with the

RE: Stupid question - cannot load servlet name - mm.mysql related ??

2001-02-08 Thread Erik LaBianca
Do you perhaps have an older version of the mysql driver in your classpath before the new ones? Maybe it's sitting in jdk1.3/jre/lib/ext? I'd try writing a short console program just to open a connection to the db and get that to run, then at least you you where your problem lies for sure. Then

RE: HttpSession across virtual hosts

2001-02-08 Thread Kief Morris
David Oxley typed the following on 01:07 PM 2/8/2001 + I sort-of understand what you're doing, but I'm not clear on a couple of details. What do you mean when you say you've "coded a request"? How exactly is the session ID passed from the original host to the new host, is this by a form field

Basic Configuration Problem?

2001-02-08 Thread Lu, David
Could someone please tell me what I'm overlooking. It should be something obvious I'm not doing. I'm running Tomcat3.2 + Apache on RH. http://localhost:8080 gives me the default Tomcat page. Clicking on the "JSP Examples" link brings me to the "JSP Samples" page where there are a number of

Re: HttpSession across virtual hosts

2001-02-08 Thread David Wall
What I've seen done, which doesn't necessarily make it secure, it to send some form of CartID. This ID identifies the Cart in some shared back end data store. Usually these are large numbers that contain enough information to determine if its a possible real value, or a number someone made

ISP

2001-02-08 Thread affan
if i use the tomcat for ISP purpose in NT machine any body knows how i configure for the client. means a user have the www.foo.com foo means host is www.foo.com and access directory is foo so all jsp and servlet put in the foo directory and any other place because user can only access foo

RE: tomcat und IIS

2001-02-08 Thread Praet Wim
that is: it works fine for w2k professional and IIS5.0, but it does not with w2k advanced server and IIS5.0 (even if you add the isapi filter under the main www server properties it keeps pointing down after an IIS restart). Till now I've not found the error, I did everything exactly the same as

RE: HttpSession across virtual hosts

2001-02-08 Thread David Oxley
https and http are on different ports and therefore count as different hosts. I wouldn't mind knowing how you got that working, but I think I can code round it by not storing the basket within the HttpSession. Dave [EMAIL PROTECTED] -Original Message- From: Alistair Hopkins

Re: [Fwd: Session expiration...]

2001-02-08 Thread Doug Ferguson
I'd like to know too!!! Merwin Yap wrote: Subject: Session expiration... Date: Sat, 03 Feb 2001 16:18:38 +0800 From: Merwin Yap [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi! I want to ask about sessions in tomcat.

Error : javax.servlet.ServletException: Response has already been committed.

2001-02-08 Thread Paul Yoon
Hello, I got these error. Sometimes a page (which looks like session expired) causes this problem. Is there any way to extend session time or disable expiring function? (expiring time is too short...-_-) Thank you for your help. I really appreciate your any advise. Paul Yoon

Re: About Tomcat 4

2001-02-08 Thread Pete Ehli
Not sure what you mean by xxx.class - You can put bean packages in in your context - like web-inf\classes\com\java\sum\mybeanPackage - You can add a lib directory at web-inf\lib\xxx.classes - these are visibleto JSP andservlets. -- Pete -- - Original Message - From: 心鵬

web.xml file

2001-02-08 Thread Chris Andreou
Dear furom, I am a novice user on servlets. I installed Apache and Tomcat 3.2.1 on Windows NT machine. I have been able to run the examples and create my directories in webapps directory. I have been unsuccessful in running my own servlets. Can sonemone send a simple example hot to run a

how to use JavaDoc with ANT?

2001-02-08 Thread Chris Ward
What is ANT supposed to do with the creation of JavaDocs. Is it creating them from the java files, or is it expecting them to be there. I have an application that builds correctly, but doesn't have any JavaDocs created, and ANT appears to load my Build.bat file, and generate a bunch of errors.

Help with servlet mapping

2001-02-08 Thread Wesley Ribeiro
Hi ! Can you please help me solve the following problem (sorry if this is a naive question) : I'm trying to make Tomcat 3.2.1 to invoke a servlet (class myServlet in package com.mycompany) whenever I use this URL: http://myServer/myServlet In order to do that, I've added to the

RE: tomcat benchmark

2001-02-08 Thread Nael Mohammad
I would like to see this as well. What is a good bench marking program to do this? Something that can test the load it can handle would be nice and TPS. Transactions per second. NAel -Original Message- From: shlomi sarfati [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001

JSP to bean??

2001-02-08 Thread Johnathan Smith
I am having a issues with using tomcat 3.2.1 and a bean. I made a been called StringBean.class and I install it to C:\tomcat\webapps\ROOT\WEB-INF\classes\StringBean.class. Next I have a JSP page call StringBean (in C:\tomcat\webapps\ROOT\StringBean.jsp) Everything works great, But if I move

Form based authentication

2001-02-08 Thread Dilip Dalton
Hi, I am running tomcat 3.2.1, and I have started to use form based authentication for my application. The 'examples' form based authentication works fine. But when I use if from my application I get the following: Not Found (404) Original request: /hyseq/jsp/null Not found request:

Session question

2001-02-08 Thread Wang, Jianming
Hello, I have a question: - If I have a page containing a applet and some other HTML content, and the applet uses a URLConnection to connect to the web server. In this case, how many connections/sessions I have? 2 connections? one from the page itself and one from the applet? Could any

RE: tomcat benchmark

2001-02-08 Thread Akbar Ahmed
http://www.orionserver.com/benchmarks/benchmark.html -Original Message- From: shlomi sarfati [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 6:08 AM To: [EMAIL PROTECTED] Subject: tomcat benchmark does anyone have information about tomcat benchmark

Re: Problems getting Apache-Tomcat on the jk-module running!

2001-02-08 Thread Rick at canoffroad.net
Uh, Pete This IS Tomcat-UsersLook way down to the bottom see...tomcat-user... Richard Duval canoffroad.net - Original Message - From: "Peter Donald" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, February 08,

No root directory

2001-02-08 Thread Paolo Barolat-Romana
When I hit a servlet in my webapp, I get the following message from tomcat: No root directory specified in XML file, using "". The directory specified by is incorrect. In server.xml, I have the following: Context path="/MyApp" docBase="webapps/MyApp" debug="9" reloadable="true" /

Basic Configuration Problem?

2001-02-08 Thread Lu, David
Could someone please tell me what I'm overlooking. It should be something obvious I'm not doing. I'm running Tomcat3.2 + Apache on RH. http://localhost:8080 gives me the default Tomcat page. Clicking on the "JSP Examples" link brings me to the "JSP Samples" page where there are a number of

RE: Load JSP page on when tomcat starts (load on start-up)

2001-02-08 Thread Kyle Robinson
You mean open up a browser on the server with a specific jsp page after you start Tomcat? -Original Message- From: Amir Nuri [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 7:27 AM To: Tomcat-User Subject: Load JSP page on when tomcat starts (load on start-up) Hi Does

RE: tomcat und IIS

2001-02-08 Thread Lifeng Xu
I got a "page not found (HTTP 404 error)" when I click this link. I wonder if their site is down? Lifeng -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:23 AM To: [EMAIL PROTECTED] Subject: RE: tomcat und IIS That would be the

Multiple instances of Tomcat

2001-02-08 Thread Dan Kummer
Has anybody successfully gotten multiple instances of Tomcat running with a single apache instance? What I want is to be able to have different servlets served by different tomcats to enable me to shutdown an instance with out killing the other servlets. I would also like to balance the load over

Integrating Tomcat, Apache, and Weblogic

2001-02-08 Thread ethan eismann
I'd like to have Apache serve the static files, Tomcat the servlets and JSP, and Weblogic the EJBs. Is this configuration possible? I am using mod_jk, and would like to serve an application located in a directory separate from Tomcat's ...\webapp\ I'd also like to keep my present URL and URI

RE: Connection/Session question

2001-02-08 Thread Randy Layman
Not really. The client will download the content of the JSP page (which contains the applet). Assuming that you are using Tomcat in standalone, the connection to the client will be closed. Then the applet will start and the make its connection. So you will have two

RE: Keep Servlet Alive Indefinitely?

2001-02-08 Thread Randy Layman
I don't know of a way to make the servlet not be unloaded, however one work-around would be for your servlet to create a thread and then every so often make a request of itself. Randy -Original Message- From: schalk [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

RE: Load JSP page on when tomcat starts (load on start-up)

2001-02-08 Thread Dave Doolittle
I use the following in my context WEB-INF web.xml file ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" web-app session-config session-timeout

Tomcat CSS

2001-02-08 Thread Bill_Fellows/MO/americancentury
Hello all, My cube is gettin' a wee bit messy from all of the pulled out hair so if y'all could save me the effort of cleaning up any additional hairs, I'd appreciate it. Tomcat 3.2.1(mostly - rolled my own security realm into it) JDK 1.3 I have a web page, two in fact. ;) on an intranet

RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Randy Layman
See responses mixed in below -Original Message- From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 11:14 AM To: [EMAIL PROTECTED] Subject: RE: Another Newbie Question -- Urgent Please! Now I have a really stupid question ;-) ... Ok When I run

RE: Connection refused under hight load

2001-02-08 Thread Chris Janicki
I believe there is a serious threading bug in 1.3 right now. Java Bug Parade bug# 4293268 may be related. I have also had an application (not Tomcat) hand under heavy load. That same application seems to be working fine on Java 1.2.2.5. Fyi, my experiences were on Solaris 7 OS, but I

tomcat CSS

2001-02-08 Thread Bill_Fellows/MO/americancentury
I think I answered my own question (partially).. The /css folder is in a secure branch. For whatever reason, my index.jsp page doesn't complain when it comes up about not being able to see that resource but when it leaves, it then accesses it. Or something like that. At any rate, problem

RE: Another Newbie Question -- Urgent Please!

2001-02-08 Thread Stefan Langer
Hi I think what you are seeing is apache telling you that mod_jk is installed. (Correct me if I'm wrong) But it doesn't mean that tomcat is actually running. Unless you changed the startup script tomcat has to be started seperatly. To check if Tomcat is running just log onto port 8080 as

RE: Keep Servlet Alive Indefinitely?

2001-02-08 Thread Stefan Langer
Use a seperate thread that is running indefinetly, that should keep your servlet alive. Stefan

RE: tomcat und IIS

2001-02-08 Thread Randy Layman
The only Win2K that I have tried on is Advanced Server. Installed from MSDN CD and applied SP1. Then installed Java, WinZip, Tomcat, isapi_redirect.dll, and jk_nt_service. In that order. It didn't take anything different from Win NT. One slightly unclear part is that on IIS you

Custom Error Pages ... URGENT... Frustrated!!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated!! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

server.xml

2001-02-08 Thread Paolo Barolat-Romana
This is the top of the web.xml file in the conf directory: ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Appliction 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" As far as I know, the xml parser will look for the dtd and verify

HttpSession timeout

2001-02-08 Thread William Brogden
In your web.xml you should find: session-config session-timeout 30 /session-timeout /session-config 30 is timeout in minutes. -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/javacert/ Author of Java Developer's Guide to Servlets and

Custom Error Pages ... URGENT... Frustrated!!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated!! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

Custom Error Pages ... URGENT... Frustrated!

2001-02-08 Thread Dan Sojka
Title: Custom Error Pages ... URGENT... Frustrated! I have posted this problem a few times. I want to simply catch a 404 in tomcat and have and bring up a custom jsp page. I have tried in web xml - error-page error-code404/error-code location/404.jsp/location /error-page I have tried

  1   2   >