RE: Logging problems

2001-02-02 Thread Saurabh Shukla
do tomcat.sh &> out.txt on a linux box. All the error messeges will be stored in file with name out.txt. -Original Message- From: Peter Thorsager [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 8:36 PM To: [EMAIL PROTECTED] Subject: Re: Logging problems Redirect both the Sys

Re: Unable to run tomcat 4.0 on win 98

2001-02-02 Thread Sachin S. Khanna
Thanks Craig. Well i was missing the jndi.jar file thats why tomcat wasn't starting, hence the fatal error :-). Have a nice day.With regards,Sachin S. Khanna.www.emailanorder.com - Original Message - From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: Saturday, February

?HOW-TO-INSTAL(Apche+tmcat)

2001-02-02 Thread R N Mukherjee
SUB: HOW TO ?APACHE + TOMCAT INSTALLATION(WIN98) Dear all, I have been successful in running Tomcat in standalone mode with the help of "http://www.geocities.com/jdrudnicki/" environment setting files. My problem is HOW TO INSTALL Apache + Tomcat in win 98.Please HELP. --

Re: performance

2001-02-02 Thread Steve Ruby
Geoff Lane wrote: > > I think it's only for Linux (and AIX) - good reason to switch. :) > More info is available at: http://www.alphaworks.ibm.com/tech > > Todd Carmichael wrote: > > > > Running Windows 2000 Advanced Server with Sun JDK 1.3 and hotspot. > > > > Anyone know where can I find the

RE: can4t build mod_jk under AIX :-(((

2001-02-02 Thread Denis Benoit
Hi Rainer, We did not use mod_jk.so, Tomcat can use the "older" mod_jserv.so without problem, you'll only be limited by the fact that you can't use the ajpv12 protocol instead of the newer ajpv13 protocol. I tried to compile mod_jk.so but I could not because it seems to use some JNI which uses t

Re: performance

2001-02-02 Thread Geoff Lane
I think it's only for Linux (and AIX) - good reason to switch. :) More info is available at: http://www.alphaworks.ibm.com/tech Todd Carmichael wrote: > > Running Windows 2000 Advanced Server with Sun JDK 1.3 and hotspot. > > Anyone know where can I find the IBM JDK 1.3 for Windows platforms? >

do filters work?

2001-02-02 Thread Grobe, Gary
I can't seem to get my filters to work so I have a basic HelloWorld that I'm using. The output of the jsp is what my problem is. Everything seems to come up fine (running in stand-alone) ~/logs/catalina.out shows: catalina.out --- Starting service Tomcat-Apache Apa

RE: performance

2001-02-02 Thread Todd Carmichael
Running Windows 2000 Advanced Server with Sun JDK 1.3 and hotspot. Anyone know where can I find the IBM JDK 1.3 for Windows platforms? -Original Message- From: Steve Ruby [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:15 PM To: [EMAIL PROTECTED] Subject: Re: performance

Re: PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread Bennie von Rotz
Hi, - Original Message - From: R N Mukherjee <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 02, 2001 8:22 AM Subject: PROBLEM TOMCAT(stdalone)STARTUP\WIN 98 > > SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98) > (How to setup the environment variable) > > > 1. TO

Re: PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread John Golubenko
Dear, Please add fallowing to c:\autoexec.bat file, and restart windows. set JAVA_HOME=C:\jdk1.2.1 set TOMCAT_HOME=C:\tomcat set ANT_HOME=C:\tomcat\bin Of course change the path to the real one. Good luck! >> Original Message << On 2/1/01, 11:22:13 PM, "R N

Re: Reloading .. Wassup ?

2001-02-02 Thread Senthil Vaiyapuri
Pete, Thanks for the reply. We pre-start (), couple of servlets, SessionMgr and ConnectionPoolMgr. They put couple of objects in the ServletContext (setAttribute), which will aid the application servlets to get session, connection etc. This application is marked "reloada

Re: Reloading .. Wassup ?

2001-02-02 Thread Pete Ehli
Not sure what you are asking. In sever.xml you have various contexts or webapps If you set reloadable to true the classloader when tomcat restarts (the key word is restarts - you must stop then restart tomact) checks to see if changes are made to the .class files. If they are then they are reloade

PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread R N Mukherjee
SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98) (How to setup the environment variable) 1. TOMCAT(STDALONE\WIN98) NOT STARTING after setting the env variable. A. BEFORE SETTING the environment variable,when I run run bin.stratup.bat, it says point JAVA_HOME to your Java Development Kit. B.

tomcat access_log

2001-02-02 Thread Billford
Okay, second request, because I really need to know.  I can't seem to find any information on this but if someone knows of a quick way to do this, please let me know as soon as you can.  Is there a way in Tomcat 3.2 to have an Apache type access_log file?  I'm using Tomcat as the only webser

Re: What kind of container isn't an engine

2001-02-02 Thread Craig R. McClanahan
Thom Park wrote: > Hello, > > I'm intrigued by a comment in the tomcat 4 server.xml file: > > "Normally, that Container is an "Engine", but this is not required." > > What does this mean then? Is it possible to construct a container that > isn't called a container, if so how and what > would this

RE: Tomcat + Linux + Kaffe

2001-02-02 Thread Randy Layman
I haven't heard of ArraryIndexOutOfBoundsException's being thrown because someone was running Kaffe, but there are serious issues with Kaffe. You really should run the JVM from either IBM or Sun. Randy -Original Message- From: Jeff Sanders [mailto:[EMAIL PROTECTED]] Sen

Tomcat & Jikes got it working, thanks.

2001-02-02 Thread Sean Kroah
So my setup was wrong no rt.jar in mah classpath. Oh well. As it's been summarized here before... I am using 3.2.4 so YMMV. To get Jikes to run with Tomcat, keep in mind that your not allowed to distribute the javac compiler with your applications. Or so I was told by my manager. uncomment the

Re: Unable to run tomcat 4.0 on win 98

2001-02-02 Thread Craig R. McClanahan
"Sachin S. Khanna" wrote: Hello,    I'm trying to run tomcat on my mchine which has a jdk1.2 installed. But the statup.bat file throws this error :Relocation Error : Null relocation target has occured in org/apache/crimson...Please let me know why is this happening and how do i get rid of t

VerifyError while loading JSP page

2001-02-02 Thread Maung Nyunt Than
Hi, I have intalled tomcat and apache on Windows NT 4.0. When I run the example JSP pages come with tomcat, I am getting the following errors: one in my dos box and another in my browser window. Does any one has any suggestion on how to correct this. I use JDK 1.3. Thanks in advance. (1)The e

Tomcat to Bean server communication shakey

2001-02-02 Thread Russ Zellner
I dont know what parts of this are relavent but I will give you all the evidence I can think of. I have an apache-tomcat/solaris configuration that speaks to a bean server(same config) on the same network with no firewall between them. Under very light load(10-20 people) I am experiencing severe

Re: performance

2001-02-02 Thread Steve Ruby
With tomcat 3.2.1 and IBM JDK1.3 on linux running a PII 400Mhz with 192Megs (physical) I was able toget 650 requests/sec running apache ab like this -n 1 -c 100 against the RequestInfo example servlet. with no un-returned requests. Which JVM/OS where you running in the tests below? To

Problem: Web Application Stress Tool (Cookie name Path reserved)

2001-02-02 Thread John Krieger
I can confirm that I have seen this problem with Tomcat 3.2.1 but not using JRun 3.0. I was able to make the error "go away" by going to the "Header" tab in WAS and checking "Use Static Header Values Only", but this has the undesirable side effect of not passing through any of the session attribut

RE: performance

2001-02-02 Thread RBinion
Steve, I was using the jdk1.3 and hotspot server, os=nt4. As much as I would like it to be the case, tomcat just does not appear to be production quality. With an initial userbase of 3000-5000 and an expected user base of over 100,000 I just can't see any level of tweaking that will bring perfo

Re: redirecting *.html to Tomcat ?

2001-02-02 Thread Jan Labanowski
Sure... Just add: JkMount /examples/servlet/* ajp13 JkMount /examples/*.jsp ajp13 JkMount /examples/*.html ajp13 < in your mod_jk.html On Fri, 2 Feb 2001, Grobe, Gary wrote: > I've got some *.html pages that I want to send to Tomcat so that my filters > can act on them. Is that p

newbie writing a logout.jsp

2001-02-02 Thread Jason Novotny
I have a logout JSP page that destroys a user's session bean. How can I prevent them from hitting the back button in their browser to display the previous pages- like a set no-cache I suppose. Thanks, Jason -- Jason Novotny [EMAIL PROTECTED] Home: (510) 704-9917Wo

Tomcat + Linux + Kaffe

2001-02-02 Thread Jeff Sanders
I am trying to get Tomcat 3.2.1 installed and running on my out of the box Redhat Linux 7.0 installation which uses Kaffe as the JVM. I can get it running but when I browse to the sample page I get some ArrayOutOfBounds type errors. Is this configuration possible or do I need to update my JVM?

Re: performance

2001-02-02 Thread Steve Ruby
Steve Ruby wrote: > > Stefan Langer wrote: > > > > I'm following this performance issue with great interest and I was wondering: > > > > was the testing for the performance of tomcat based on a single instance of tomcat >running? > > Did you use loadbalancing? > > > > In short I would greatly ap

RE: installation help

2001-02-02 Thread Michael Wentzel
Once again the important question is do you already have another webserver, IIS or Apache for example, running on port 80? If you have IIS running you can run the isapi_redirect.dll to redirect jsp/servlet requests to tomcat transparent to the web user. If your using Apache then you can configur

redirecting *.html to Tomcat ?

2001-02-02 Thread Grobe, Gary
I've got some *.html pages that I want to send to Tomcat so that my filters can act on them. Is that possible? Adv(Thnxs)ance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Logout

2001-02-02 Thread Marino Vittorio
Doesn't work with JDBC Realm though. I mean I am not using session obj at all, do not need it. ses.invalidate() would work with Form Based Authentication, but not with Basic. -Original Message- From: Matt Goss [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 4:40 PM To: [EMAIL P

Re: How to unpack .WAR file?

2001-02-02 Thread Steve Ruby
[EMAIL PROTECTED] wrote: > > I download the sample servlets program for Tomcat from java tutorial website. > But it is a > tut-bookstore-tomcat.war, a .war file. > > How can I unpack this war file and take a look of source code? > > Thanks, > Peter just use jar, jar xf filename.war ---

Re: How to unpack .WAR file?

2001-02-02 Thread Jan Labanowski
jar -xvf tut-bookstore-tomcat.war On Fri, 2 Feb 2001 [EMAIL PROTECTED] wrote: > I download the sample servlets program for Tomcat from java tutorial website. > But it is a > tut-bookstore-tomcat.war, a .war file. > > How can I unpack this war file and take a look of source code? > > Thanks,

RE: How to unpack .WAR file?

2001-02-02 Thread Andreas Ljunggren (EIN)
simply use jar ... war is more or less a jar /A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: den 2 februari 2001 21:56 To: [EMAIL PROTECTED] Subject: How to unpack .WAR file? I download the sample servlets program for Tomcat from java tutorial website. B

How to unpack .WAR file?

2001-02-02 Thread Peter . Pan
I download the sample servlets program for Tomcat from java tutorial website. But it is a tut-bookstore-tomcat.war, a .war file. How can I unpack this war file and take a look of source code? Thanks, Peter - To unsubscribe, e-

[Fwd: Reloading .. Wassup ?]

2001-02-02 Thread Senthil Vaiyapuri
Kindered Folks: What is up with Servlet Reloading servlets Tomcat. Anybody doing some serious servlet app. development needs auto reloading on. (in dev environments, just for the sake of webadmins sanity in the least :-)) Vanilla apps, without the need to share (prestarted, pr

JkMount of root context (WAS: JkMount for all context)

2001-02-02 Thread Andreas Ljunggren (EIN)
Jeah, I understand, perhaps I should write under a different topic, but they are closely related and I thougt that perhaps someone know how to resolve my small problem. I think that mod_jk should include a decline posibility like: JkMount /* ajp13 JkMount /phpMyAdmin/* DECLINE JkMount /images/*

Reloading .. Wassup ?

2001-02-02 Thread Senthil Vaiyapuri
Kindered Folks: What is up with Servlet Reloading servlets Tomcat. Anybody doing some serious servlet app. development needs auto reloading on. (in dev environments, just for the sake of webadmins sanity in the least :-)) Vanilla apps, without the need to share (prestarted, prel

RE: JkMount for all context

2001-02-02 Thread Jan Labanowski
On Fri, 2 Feb 2001, Andreas Ljunggren (EIN) wrote: > What if I want tomcat to serve the root context eg / -> a servlet.. > but I want to be able to have /SomeThing/ that can use .php3 for instance ? Shinta asked for ALL content served from tomcat... If you want to serve only servlets and JSPs c

RE: JkMount for all context

2001-02-02 Thread Andreas Ljunggren (EIN)
What if I want tomcat to serve the root context eg / -> a servlet.. but I want to be able to have /SomeThing/ that can use .php3 for instance ? /A -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: den 2 februari 2001 21:28 To: '[EMAIL PROTECTED]' Cc: Jan Labanowski

Re: JkMount for all context

2001-02-02 Thread Jan Labanowski
1) If you want everything served by Tomcat, why bother with Apache? 2) I am afraid you cannot escape mounting each context separately both in server.xml and in mod_jk.conf, i.e., JkMount /context1/* ajp13 Alias /context1 "/your/full/path/to/context1" Options Indexes FollowS

Re: performance

2001-02-02 Thread Rogério Meneguelli Gatto
Steve Ruby wrote: > I've heard that there is only an advantage to running native-threads > in an SMP situation, my results don't support that AT ALL.. This is just a guess, but I'd say IO blocking is responsible for the better native threads results. In green threads mode, there's only one OS

JkMount for all context

2001-02-02 Thread Shinta Tjio
Title: JkMount for all context How do you write a JkMount that will apply to all servlet context, assuming that the URI will always have 'servlet' in it? In other words, I don't want to write:   JkMount /context1/servlet/myServlet ajp13   JkMount /context2/servlet/anotherOne ajp13   JkMount /c

RE: can4t build mod_jk under AIX :-(((

2001-02-02 Thread Palumbo, Mark
Hi Denis, So you used the mod_jserv.so compiled objects and linked them into a mod_jk.so and it works with tomcat(v3.2) and apache(v1.3)? I'm asking because we are also running AIX 4.3 and are currently running apache and tomcat as "standalones" since we don't have the shared load module built,

Re: Need help

2001-02-02 Thread Avery Buffington
Another possiblilty would be to stick a modem in the box, have something like mgetty accepting calls and you can console login via that modem. It's been a while since I've used mgetty but I believe that you can lock it down sufficiently to only allow certain users the ability to login. -avery

RE: Web Application -- Netscape speed problem

2001-02-02 Thread Stefan Langer
The issue is the building of the page. IE starts rendering pages while data is coming in and updates it as more data is available. Netscape version(4.x) needs to load the data first before it can display it. (At least for certain html structures like tables and images without width height attr

RE: Need help

2001-02-02 Thread Jurrius, Mark
I'm not sure if this would work or not over a firewall, but a remote access control software product like pcAnywhere or Timbuktu might help. Mark -Original Message- From: Salvady, Gopal [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:09 PM To: '[EMAIL PROTECTED]' Su

RE: Need help

2001-02-02 Thread Randy Layman
If you can only use FTP, then this is quite difficult. The best solution would be to allow an internal machine to connect to the external machine on port 8007. Then you could use AJP12 and remotely stop the server. Note, you would want to make sure that the host machine periodically ch

RE: How to start Tomcat on NT?

2001-02-02 Thread Randy Layman
Depending upon your logging level, that's probably it. To check if Tomcat is running go to http://localhost:8007. Note: This is where your System.out and System.err will show up. Randy -Original Message- From: Chris Perkins [mailto:[EMAIL PROTECTED]] Sent: Friday, Feb

Re: performance

2001-02-02 Thread Doug Ferguson
Where can I find info on tuning tomcat? Michael Wentzel wrote: > > The real question being asked is Tomcat suitable for production > > environments. This is something I really would like to get a > > feel for from > > other developers experiences. I am very interested in using > > Tomcat for

Re: performance

2001-02-02 Thread Steve Ruby
Stefan Langer wrote: > > I'm following this performance issue with great interest and I was wondering: > > was the testing for the performance of tomcat based on a single instance of tomcat >running? > Did you use loadbalancing? > > In short I would greatly appreciate more information of the o

Re: JSP pages in webapps/ROOT will not 'recompile'

2001-02-02 Thread Jan Labanowski
The /ROOT webapp is mounted as / context in tomcat. So you can access it in Tomcat on port 8080, but cannot mount it in Apache (or whatever), since you would be sending everything to Tomcat as it would hold the root context. You may want to look at my http://www.ccl.net/cca/software/UNIX/apache

RE: Need help

2001-02-02 Thread Salvady, Gopal
The main reason for this question is because if I update a existing servlet, it does not reload the servlet automatically and I have restart the server. When the application is put outside the firewall, I am helpless to restart the tomcat as I do not have access. Gopal > -Original Message--

How to start Tomcat on NT?

2001-02-02 Thread Chris Perkins
I installed Tomcat 3.2.1 as per the instructions, and the IIS isapi_redirector as well. When I run the startup batch file, I immediately get seven lines of output in the new DOS window. The last line is: PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 Then it just stops. Is there suppo

RE: performance

2001-02-02 Thread RBinion
Stefan, Yes this was a single instance of tomcat, therefore no loadbalancing. Let me know if there is any other info I can provide, I would love to get to the bottom of this. Thanks, Bob -Original Message- From: Stefan Langer [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 1:

Re: installation help

2001-02-02 Thread affan
I need in on NT  help affan - Original Message - From: Michael Wentzel To: '[EMAIL PROTECTED]' Sent: Friday, February 02, 2001 5:44 PM Subject: RE: installation help What are your configurations(standalone, with Apache, etc...)?   If you're running s

RE: Need help

2001-02-02 Thread Salvady, Gopal
Avery Thanks. But I do not admin the firewall and as I said, I can only ftp the application to the machine. Gopal > -Original Message- > From: Avery Buffington [SMTP:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 1:35 PM > To: [EMAIL PROTECTED] > Subject: Re: Need help > >

SV: Whitespace

2001-02-02 Thread Cato Førrisdahl
Cato Førrisdahl wrote: >> >> Hi, >> I have some jsp-pages which, when run, generates a lot of >> whitespace in the resulting page. It typically looks something like: >> ---Start--- >> >> >> ... [snip] Luc Vanlerberghe wrote: >The whitespace is not generated by tomcat, but is present in your >

Re: Need help

2001-02-02 Thread Avery Buffington
Simplest solution (if you can admin the firewall) would be to put ssh on the tomcat box and allow the firewall to pass the ssh traffic. Sooner or later you are going to need to access the box for maintennence or upgrading and this would allow you access it in a secure manner (and not have to dri

.class files outside of /webapps/root subdirectory?

2001-02-02 Thread Martin Goebel
Hello, I'm using Tomcat 3.2 on Windows NT. >From another machine, I start an applet (which, among others, invokes a servlet) being in the directory /webapps/root/. Do my other classes used by the applet necessarily have to be in a subdirectory of /webapps/root, or is it possible to have them in

What kind of container isn't an engine

2001-02-02 Thread Thom Park
Hello, I'm intrigued by a comment in the tomcat 4 server.xml file: "Normally, that Container is an "Engine", but this is not required." What does this mean then? Is it possible to construct a container that isn't called a container, if so how and what would this really mean? What is meant by a

RE: performance

2001-02-02 Thread Stefan Langer
I'm following this performance issue with great interest and I was wondering: was the testing for the performance of tomcat based on a single instance of tomcat running? Did you use loadbalancing? In short I would greatly appreciate more information of the overall enviroment you tested

Need help

2001-02-02 Thread Salvady, Gopal
Friends, Your help on this woule be highly appreciated. We have put an application outside the firewall and we don't have access to the machine other than ftping our application. How do we start/stop tomcat webserver remotely if it crashes. Any body with any experience or would like give tips ple

RE: installation help

2001-02-02 Thread Michael Wentzel
What are your configurations(standalone, with Apache, etc...)?   If you're running standalone just change the http port in conf/server.xml to 80 instead of 8080.   If you're running Apache you don't need to change the ports of Tomcat you only need to configure Apache and apj. ---Michael Wen

IP & hostname questions

2001-02-02 Thread Bill_Fellows/MO/americancentury
Hello, I was wondering, how _does_ Tomcat figure out what my IP address is? What if I have two network cards and two IP address? Does Tomcat take both? I've been looking through the source (3.2.1) and I've found some places where I think it could be acquiring it, but I'm not quite sure what t

Reloadable not working

2001-02-02 Thread AC
Hi, just a simple question.. I spend some times trying to disable the reloadable flax in my context. The server.xml configuration is: (I'm using virtual hosting) In this manner nothing happens. If you read the remarks on server.xml you notice that if you

installation help

2001-02-02 Thread affan
Apologise for question. We are ISP we need some help to installation of tomcat. as well as in configuration of tomcat. we don't need to run any port like 8080 or 8000 we need just user type the url and all jsp and servlet run in his directory. Please any body help us.   We are in UK.   Free

JSP pages in webapps/ROOT will not 'recompile'

2001-02-02 Thread Chris Ward
I am trying to run an application in ROOT, and have changed several JSP pages to look at a different images directory, but none of them have actually changed. I noticed that there is no context for ROOT in server.xml, which is where I thought that maybe the reloadable=false was set. Any ideas?

Re: Whitespace

2001-02-02 Thread Luc Vanlerberghe
The whitespace is not generated by tomcat, but is present in your source-jsp page between the jsp tags. If you have a page that starts like: <%@ page contentType="text/html"%> <%@ page session="true"%> <%@ page import="java.util.*,org.vanlerberghe.luc.spaans.*"%> then it may not be obvious, but

Re: Catalina not starting ...

2001-02-02 Thread Craig R. McClanahan
"Grobe, Gary" wrote: > Tomcat built successfully, I'm not sure of what the below error means. > > (as root) > ~/apache_home/bin/apachectl start > ~/jakarta_home/build/tomcat-4.0/bin/catalina.sh start > It would appear that one of the settings in your server.xml file is triggering this, but witho

Re: Server Side Includes(SSI) and Tomcat vs JSP Include Directive

2001-02-02 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Does Tomcat have the ability to parse a common SSI like the following on an > '.shtm' page. > > > > > > My setup is Tomcat 3.2.1 and IIS 4.0. I have '.shtm' files in a Tomcat > url-protected directory. I want Tomcat to be able to serve up the

Re: Difficulties getting JDBCRealm to work with MySQL driver

2001-02-02 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > Thanks Ignacio! > > The realm specification in server.xml now reads: > > driverName="org.gjt.mm.mysql.Driver" > connectionURL="jdbc:mysql://localhost/authority?user=root& > password=apassword" > userTable="User" userNameCol="uname"

Re: env-entry in Tomcat

2001-02-02 Thread Craig R. McClanahan
Romen Law wrote: > ello, > > How can I retrieve the values in the web.xml using JSP in > Tomcat? > You can't for Tomcat 3.x. These values are only available when using a servlet container that implements the J2EE APIs required to support them -- in which case, these values are accessed via JND

Re: Cancing of pages

2001-02-02 Thread Craig R. McClanahan
Tarun Gupta wrote: > Hi guys, > > Does tomcat caches the content displayed on the site or provision is to be > made for cahcing to happen. > Basically, Tomcat 3.x doesn't cache anything ... however, if you are using Tomcat to serve static content (like plain HTML files), it does check the last m

RE: Tomcat and OpenSSL/Keytool

2001-02-02 Thread Coetmeur, Alain
whare security provider are you using... I've installed JSSE from SUN and this works... I've just been unable to load a private key from openSSL to the JKS keystore... however the certificates can be imported easily > -Message d'origine- > De: Steve Smale [mailto:[EMAIL PROTECTED]]

Re: Basic Auth & JDBC Realm

2001-02-02 Thread Craig R. McClanahan
Marino Vittorio wrote: > I want to build an authentication mechanism via JDBC realm and basic > authentication that lets me request for user role in each jsp page of my > application. In other words I want a jsp page to be accessed from more than > 1 role, and put if statements to show links depe

security - what do when a login fails?

2001-02-02 Thread Vijay Prabhakar
Title: security - what do when a login fails? I was looking at the JDBCRealm class provided with Tomcat 3.2.1.  I noticed that it has a boolean authenticate() method that returns true when a username and password pair are valid.  But when that method returns false, the int authenticate() meth

Re: performance

2001-02-02 Thread William Brogden
There are a lot of design decisions with Java that have a great effect on throughput. I found the following book very enlightening: Java Performance and Scalability vol 1. by Dov Bulka pub by Addison Wesley ISBN 0 201 70429 3 -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.co

RE: How to disable tomcat webserver ?

2001-02-02 Thread Furmaniak Christophe
check this http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml cF -Message d'origine- De: Marc Leblanc [mailto:[EMAIL PROTECTED]] Date: vendredi 2 février 2001 17:45 À: [EMAIL PROTECTED] Objet: How to disable tomca

How to disable tomcat webserver ?

2001-02-02 Thread Marc Leblanc
Hi everyone ,   we devellope with tomcat/cocoon but recently ive noticed that everyone on the net can see our code beacause tomcat allow people to browse the directory where our code his.   anyone know how to shutdown the tomcat webserver or simply configure it , that he will not let everyo

how to disable the tomcat webserver?

2001-02-02 Thread Marc Leblanc
  Hi everyone ,   we devellope with tomcat/cocoon but recently ive noticed that everyone on the net can see our code beacause tomcat allow people to browse the directory where our code his.   anyone know how to shutdown the tomcat webserver or simply configure it , that

RE: Integrating Tomcat and Apache

2001-02-02 Thread Jeff Davies
Thanks for the tip. I D/L'd GNU Make and the original problem has been resolved (i.e. it gets further in the compilation effort when I run "make" in the src/connectors directory). However, I now get an "error 1" from make, caused by some problem in the apxs module. Does anyone know whjy this migh

Tomcat + JNI problem

2001-02-02 Thread Manoj Thakur
Hello Amandeep, Hope you can help me. I am running Tomcat version 3.1 on HPUX 11.0 with Apache. What I am trying to do is invoke a C function (using JNI) from a servlet. The C function is compiled into a shared library. Now, if I write a simple JAVA application, use JNI and execute the C functi

How to catch and handle 404 error ?

2001-02-02 Thread Jean-François Calzaroni
Hi ~ I'd like to know if Tomcat (standalone installation) is able to catch HTTP errors (especially 404), and how to configure this. Thanks ~ JF - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMA

RE: date

2001-02-02 Thread Randy Layman
Corrected code: java.util.Calendar cal= new java.util.GregorianCalendar(); java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("MM-dd-yy"); String s = format.format(cal.getTime()); Double check the mask is really what you want. -Original Message- From: Carlos [mail

RE: date

2001-02-02 Thread Byung Jin Chun
Carlos, java.text.SimpleDateFormat myDateFormatter = new java.text.SimpleDateFormat("MM-dd-yy"); String date = myDateFormatter.format( new java.util.Date() ); Cheers, Jin -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 11:23 AM To: [EMAI

RE: performance

2001-02-02 Thread Randy Layman
We are about to install an application for a very security concisous client. They weren't worried about monitoring the application (they just want to check the machine is running and has CPU cycles to spare). On security, however, they took a different approach than what I expec

RE: performance

2001-02-02 Thread Alistair Hopkins
Slightly off topic, but I have been testing various components, among them XSL processors. I found that the ASF processor (Xalan) was not the fastest, Saxon being about 30% faster, but it was the most robust: ie, it continued to result in no error at any load, whereas Saxon frequently caused erro

Re: date

2001-02-02 Thread Carlos
if i put that in a jsp page appears the next error: how can i get the date? thanks Error: 500 Localizacion: /fecha.jsp Error interno del servlet: org.apache.jasper.JasperException: No se puede compilar la clase para JSP/opt/jakarta/work/www.opticagaldakao.com_8080/_0002ffecha_0002ejspfecha_j sp_0

RE: performance

2001-02-02 Thread Michael Wentzel
> The real question being asked is Tomcat suitable for production > environments. This is something I really would like to get a > feel for from > other developers experiences. I am very interested in using > Tomcat for > production and the performance seems reasonable enough for > me. I am

Whitespace

2001-02-02 Thread Cato Førrisdahl
Hi, I have some jsp-pages which, when run, generates a lot of whitespace in the resulting page. It typically looks something like: ---Start--- ... --Stop-- Is there a way to prevent tomcat from making all this whitespace and make output like: --Start-- --Stop-- ? Cato Førrisdahl

RE: performance

2001-02-02 Thread Todd Carmichael
My tests, using Microsofts Web Application Stress (WAS) Tool, had the following results for a simple servlet that all it did was display a single html table: Weblogic: 490 requests/sec Tomcat: 540 requests/sec Resin: 850 requests/sec - produced numerous socket errors (Connection reset by peer).

How to catch & handle HTTP errors (esp. 404) ?

2001-02-02 Thread Jean-François Calzaroni
I'd like to know if Tomcat (standalone mode) enables transfer errors (especially 404 persona non grata !) and how to configure this. Thank you ~ JF - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

Web Application -- Netscape speed problem

2001-02-02 Thread venkatesan
Hi All, I have done codig for dynamically generated html pages using servlets-tomacat-Rmi through Apach web server.. I am getting data for html pages from Sql-server which is in windows machine... And my servlets-tomcat is in Linux machine which is running through Apache web server..

RE: date

2001-02-02 Thread Clayton Peirens
INSTEAD OF: java.text.SimpleDateFormat format = java.text.new SimpleDateFormat("mm-dd-yy"); USE: java.text.SimpleDateFormat format = java.text.new SimpleDateFormat("MM-dd-yy"); "mm" is for minutes, not month -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent: Friday

RE: Logging problems

2001-02-02 Thread Adrian Papari
well; you could always write your own logging-routine/class... and then in your code handle exceptions similar to the example-"code" below: try { /* lot of important code */ } catch ( ExceptionYouWantToCatch excp ) { new LogFile( excp.getMessage(), logFilePath ); } there's also b

RE: Logging problems

2001-02-02 Thread Randy Layman
Create a special servlet that, in its init method, it sets System.err to a FileOutputStream. Then add this servlet to the web.xml file with a . I would suggest a low number (Integer.MIN_VALUE+1) so that it starts before any of your other servlets. Randy Answering questions is

RE: performance

2001-02-02 Thread RBinion
Tomcat does indeed "catch up" if I stop the jmeter client, accessing the application through a browser is much more responsive, but still a little slower than I would hope. The same test with resin does not show any noticeable degradation in performance. In fact I upped the ante with resin. I star

RE: Logging problems

2001-02-02 Thread Nik Makepeace
On 2 Feb 2001, at 16:09, Adrian Papari wrote: > how do you handle the exceptions? if you, for instance, redirect the > user to an error page when an error occurs, you (or, erm, the user ) > shouldn't see the internal error messages. They aren't 500 errors, but rather conscious decisions to write

RE: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Wise, Bowden (CRD)
Well, I didnt even recompile apache, I just took the binaries. It seems that if binaries are provided at www.apache.org they should all work together. Does this mean the binary distribution of apache is standard and not EAPI but the binaries for mod_jk and mod_jserv are EAPI? -Original Me

Re: Logout

2001-02-02 Thread Matt Goss
Marino, invalidate the session ses.invalidate(); Matt Marino Vittorio wrote: > > Hi folks. I'd like to logout from a jsp app, I am using Tomcat JDBC Realm to > log in the system. Any idea? > Thanks, Vittorio > > - > To unsubscr

  1   2   >