RE: How to force compilation of Jspz at startup

2002-05-03 Thread Jay Gardner
Is this so that everything is ready to go for the first user? If so, you could pre-compile you JSPs using jspc. I have done this in an ANT build script and have gotten it down to a two step process. You still have to manually add the generated servlet definitions and mappings to your web.xml file

RE: RE: The Catalina installation path

2002-05-03 Thread Abraham Fathman
>From a dos prompt you can do a dir /x to get the 8.3 version of a file or directory. Abe -Original Message- From: Vernon Wu [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 8:06 PM To: Tomcat Users List; Tomcat Users List Subject: Re: RE: The Catalina installation path Thanks

Re: RE: The Catalina installation path

2002-05-03 Thread Vernon Wu
Thanks John. I know there is a way to retrieve a short path name from a DOS prompt window, just couldn't record what it shall be. There was not any other path starting with Apache. Anyway, I already switched back to the old installation method, which I have used since the 3.2.x version. As a

Re: Location of *.jsp files

2002-05-03 Thread Jacob Kjome
You put .jsp files in the same place as you would put the .html files for your webapp. However, you do need to make sure that you have the following mapping: JkMount /*.jsp ajp13 Jake At 02:26 PM 5/3/2002 -0400, you wrote: >Here is my set up. >Windows2000Professional >Apache2.0 >Tomcat4.0.3

RE: How to force compilation of Jspz at startup

2002-05-03 Thread Abraham Fathman
Don't know of a way... Sorry. If you find out let me know - it would be nice to take that hit during a maintenance window... -Original Message- From: Gurmeet [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 2:30 AM To: Tomcat Users List Subject: RE: How to force compilation of Jsp

RE: How to force compilation of Jspz at startup

2002-05-03 Thread Gurmeet
I am posting this question again as I did not get any response. How do I inform Tomcat to compile all the JSPz in a particular context on startup. We can do this in weblogic by specifying the following in its web.xml. weblogic.jsp.precompile true I am sure there is s

RE: Loadbalancing....please Help!

2002-05-03 Thread Jay Gardner
Gabriel, I may be totally off base, but I thought that I had heard that this type of session management can only be done with URL re-writing and not cookies. This allows the session ID to be passed along with the request. Anyway, I have never done this, but since no one else seems to be respondin

RE: Upgrading to 4.1.x (I hope)

2002-05-03 Thread Jay Gardner
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.0-alpha/ --JG -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 10:45 AM To: Tomcat Users Mailing List Subject: Upgrading to 4.1.x (I hope) I've been looking on the Tomcat site to

[ANNOUCEMENT] Apache Tomcat 4.1.0 Alpha

2002-05-03 Thread Remy Maucherat
Apache Tomcat 4.1.0 Alpha, the first milestone of the 4.1.x release cycle, is now available. Over Tomcat 4.0.x, Tomcat 4.1.x includes the following major new features: * JMX based administration features * JSP and Struts based administration web application * New Coyote HTTP/1.1 connector * New C

Does CLIENT-CERT work?

2002-05-03 Thread Peter Armstrong
alright, i've spent most of the day on this - i'm running tomcat 4..0.3 with a JNDIRealm and i CANNOT get CLIENT-CERT authentication to work. - i have a client cert installed in IE - web.xml is set to CLIENT-CERT - IE is including the cert chain in the request - Tomcat validates the cert chain -

Re: Webapp Connector with Apache 2.0.35

2002-05-03 Thread Jeffrey Bonevich
Check bugzilla, Bug #4042. This is a known problem in Tomcat. Julia A. Case wrote: > It seems the connector wants to have a Port directive which is no longer > used in Apache 2.0. I got around this by hardcoding a port into the > virthost setup. But, this is not a good solution. I need to sp

RE: Tomcat & Apache 2 howto

2002-05-03 Thread Abraham Fathman
Try running it from a dos prompt -Original Message- From: Chris Shen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 1:13 PM To: Tomcat Users List Subject: Re: Tomcat & Apache 2 howto hey, well, for some reason, my apache 2 skips the error message window. unlike my apache 1, when

[FAQ] jGuru FAQ Update

2002-05-03 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex

Re: Possible to deploy pre-compiled JSPs with tomcat?

2002-05-03 Thread Tino Dai
Hm.. for this app. Could you use wget to compile the binaries and then make a war file out of the binaries? Just an idea. -Tino On Fri, 2002-05-03 at 07:07, Dave North wrote: > Is it possible to deploy pre-compiled (ie. binary) JSPs with tomcat? > We're going to potentially deploying our

RE: java.lang.NoClassDefFoundError-Con't find the Class in the same p ackage?

2002-05-03 Thread Yunming . Li
Thank you for you all. I'm sorry that the Controller indead starts with upercace C. I messed up when writing the email. I still didn't find out what want wrong. It is working befor on another machine under tomcat1 Thank you again. Yunming -Original Message- From: [EMAIL PROTECTED] [m

Re: JNDI: datasource is null - solved

2002-05-03 Thread Cindy Ballreich
Well, it just goes to show that as soon as you post something to a public forum you'll stumble across the answer. It turned out that I needed to move my mm-mysql driver from my application's WEB-INF/lib to $CATALINA_HOME/common/lib. As soon as I did this (and restarted tomcat) it started worki

Re: SysV init script RH7.0

2002-05-03 Thread john-paul delaney
Thanks VERY much Chad... your script was a winner for me. It's a real relief to have Tomcat starting automatically finally. Regards /j-p. On Fri, 3 May 2002, chad kellerman wrote: > j-p, > > Depending on the location of everything. apachectl, tomcat etc. You can try >this one. > >

RE: Easy One

2002-05-03 Thread Jeff Macomber
You might checkout the Manager App built into tomcat for this. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Good luck! Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:44 PM To: [EMAIL PROTECTED] Subject: Easy

Re: JNDI: datasource is null

2002-05-03 Thread James Williamson
Are you using the warp connector? Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Cindy Ballreich <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 10:22 PM Subject: JNDI: datasource is null > I know there's been a lot of J

Re: java.lang.NoClassDefFoundError-Con't find the Class in the same package?

2002-05-03 Thread rsequeira
Apparently it cannot seem to find the class " org/apache/xerces/dom/DOMExceptionImpl" which is being referenced from "com.fis.Controller.Controller" class. See if you have xerces.jar under $CATALINA_HOME/common/lib. Also this maybe a typo on your part when composing your email but nevertheless,

Re: java.lang.NoClassDefFoundError-Con't find the Class in thesame package?

2002-05-03 Thread Larry Meadors
Case sensitivity. Try this instead: //_composer = new com.fis.Controller.Composer(..., ...); # ERROR LINE _composer = new com.fis.controller.Composer(..., ...); # ERROR LINE Larry >>> [EMAIL PROTECTED] 05/03/02 03:52PM >>> I've put a class struecture into Tomcat4_home/webapps/jds/W

Re: java.lang.NoClassDefFoundError-Con't find the Class in thesame p ackage?

2002-05-03 Thread Phillip Morelock
> import com.fis.Controller.*; should read: import com.fis.controller.*; > in Composer.java, > package com.fis.Controller; should read: package com.fis.controller; EVERYthing needs to be case-sensitive. cheers fillup On 5/3/02 2:52 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've

Webapp Connector with Apache 2.0.35

2002-05-03 Thread Julia A. Case
It seems the connector wants to have a Port directive which is no longer used in Apache 2.0. I got around this by hardcoding a port into the virthost setup. But, this is not a good solution. I need to spend a little more time with the code to see if there is a better solution. Julia -- [ Ju

java.lang.NoClassDefFoundError-Con't find the Class in the same package?

2002-05-03 Thread Yunming . Li
I've put a class struecture into Tomcat4_home/webapps/jds/WEB-INFO/classes the structure is: --classes (file: Find.class) --com --fis --controller (Controller.class, Composer.class) in Find.java: import com.fis.Controller.*; ... protected Controller controller =null; ...

Re: Linux-Tomcat looking for Windows files!!! HELP!!

2002-05-03 Thread @Basebeans.com
Subject: Re: Linux-Tomcat looking for Windows files!!! HELP!! From: "Jack Gao" <[EMAIL PROTECTED]> === You got hacker trying to hack you. Be careful with your system. BTW. why you forward all request to Tomcat? that will low your system performance. Jack "Hyunjin Kim" <[EMAIL PROTECTED]> wrote

JNDI: datasource is null

2002-05-03 Thread Cindy Ballreich
I know there's been a lot of JNDI/database type questions lately, but I hope you guys won't mind one more. I'm trying to set up a configuration similar to the one in the How-To. In my servlet I have the following lines... Context initCtx = new InitialContext(); Context envCtx = (Context) initC

Re: Easy One

2002-05-03 Thread Larry Meadors
Use the reloadable attribute: Larry >>> [EMAIL PROTECTED] 05/03/02 02:44PM >>> My problem is during development I don't want to stop and start Tomcat each time I change a class file.

Easy One

2002-05-03 Thread RMassa007
My problem is during development I don't want to stop and start Tomcat each time I change a class file. I've notice in Tomcat 4.0 that compiled classes included on jsp pages via the page import directive are loaded into memory on Tomcat startup and cannot be update/changed without stoping and

mod_jk2 errors in httpd.conf

2002-05-03 Thread David A. Bartmess
OK, now that I've got the mod_jk.so compiled, I'm having troubles getting my httpd.conf to pass the configtest. Believe me, I'm reading all the docs and FAQs I can find, but all of them say the same thing "put it in the LoadModule and AddModule statements"... arghhh I've done that, re-checked it,

RE: Java Execptions

2002-05-03 Thread Jeff Macomber
Dan, You need to set the TOMCAT_HOME as well as the JAVA_HOME. This should point to base directory of tomcat. Hope this helps, Jeff -Original Message- From: Dan Gorman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:02 PM To: [EMAIL PROTECTED] Subject: Java Execptions Hi -

Help !

2002-05-03 Thread Kaveh
I have put together Apache 2.0.35, and the Tomcat 4.0.3 and JBoss 3.0RC1 package and tried to integrate them. Everything seems to be working well and JBoss/Tomcat starts with no errors, and Apache gives a Syntax OK when I do a configtest. But when I start Apache, I get the following error in the

Java Execptions

2002-05-03 Thread Dan Gorman
Hi - I am new to using Tomcat, however, I've dowloaded and installed the j2se (1.4) solaris 8 pkg and installed and check sucessfully. (java -version) I set my JAVA_HOME directory and tried to launch ./startup.sh and I get this error in the log : Exception in thread "main" java.lang.NoCla

RE: Missing jni_md.h file in jni.h???

2002-05-03 Thread David A. Bartmess
Thanks, Larry! That pointed me in the right direction... But the main problem is one I found while perusing the build.properties file. Somehow, the ${apache2.home} variable assigned as part of the ${apr.home} variable was written as $(apache2.home) instead, and the compiler wasn't picking up the i

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Craig R. McClanahan
On Fri, 3 May 2002, Larry Meadors wrote: > Date: Fri, 03 May 2002 10:57:31 -0600 > From: Larry Meadors <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Log the amount of time taken to complete a request... > > Where might a guy find th

RE: Missing jni_md.h file in jni.h???

2002-05-03 Thread Larry Isaacs
The jni_md.h file is found in a system dependently named subdirectory of your "JDK/include" directory. If you are using a build-xxx.sh script, I think this should be addressed. If you are using the jk/native/build.xml to perform the build, be aware this extra include currently isn't handled succ

Missing jni_md.h file in jni.h???

2002-05-03 Thread David A. Bartmess
I'm trying to compile the mod_jk.so file, and have a problem with an include file. The error is below: In file included from /usr/installs/jakarta-tomcat-connectors/jk/native/common/jk_jni_worker.c:69: /usr/java/j2sdk1.4.0/include/jni.h:27:20: jni_md.h: No such file or directory I've looked ever

Location of *.jsp files

2002-05-03 Thread Helferty, Richard (FUSA)
Here is my set up. Windows2000Professional Apache2.0 Tomcat4.0.3 j2sdk1.4.0 Basically both Tomcat and Apache are installed and running. I created a virtual host in Apache with the following information NameVirtualHost 1XX.1XX.2X.1XX ServerName www.bootini.com ServerAlias boot

RE: List file relative to jsp

2002-05-03 Thread Grondell, Ken
this works for me on windows <% response.setHeader("Cache-Control","no-store"); String directory = getServletConfig().getServletContext().getRealPath("\\"); File myFile = new File(directory); String[] dirs = myFile.list(); for(int i=0;i"); } %> -Original Message- From: Adam Pfeiffer [

List file relative to jsp

2002-05-03 Thread Adam Pfeiffer
I am running Tomcat 4.0. I am trying to list all files and directories in a directory relative to a jsp. Here an example: My jsp page is at: /opt/jakarta-tomcat-4.0.3/webapps/examples/jsp/TestPage.jsp The directory which I want a listing of all files and directories in is at: /opt/jakarta-tom

starting tomcat in sandbox problems

2002-05-03 Thread Ingo Bruell
Hi, i will start tomcat within a sandbox, with the option -security. My application is bundled in .war file. This application tries to read a ResourceBundle that lies in the .war file, too. But it will not work, because the SecurityManager denies that. I have tried to add several Permissions but

IP-based Access-Control for part of servlet-content published via Tomcat401/WARP-Conn/Apache1.3

2002-05-03 Thread "Bührle, Martin, FCI1"
> Hi List, > > > I am looking for a solution to protect one of our two content-areas within > one unique sevlet -installation (OPENCMS-CMS-system) , publishing the two > content-areas with Tomcat 4.0.1, WARP-Connector, Apache 1.3.x > under the following URLs (use of DNS-CNAME-Configuration and

Re: plz help

2002-05-03 Thread August Detlefsen
I have had the same problem. Usually I'll make a stored procedure for inserts that takes as parameters the values you wish to store, inserts the new row and returns the new ID. This is for Postgres, but you can adapt it to your DB: CREATE FUNCTION new_row(INTEGER, VARCHAR, VARCHAR, DATE, DATE,

Re: cgi-bin

2002-05-03 Thread August Detlefsen
Implement the CGIServlet. In $CATALINA_HOME/conf/web.xml, uncomment: cgi org.apache.catalina.servlets.CGIServlet clientInputTimeout 100 debug 6 cgiPathPrefix WEB-INF/cgi 5 There are configuration comments in

Re: plz help

2002-05-03 Thread Phillip Morelock
AFAIK you can't do this. with HTTP file uploads you have to store the data immediately or it is lost. You have to store the file part to a temp file, then do all your work, then come back and move the file and give it your new name, or delete it if your transaction didn't go through. On 5/3/0

Tomcat-Apache Directory Structure for jsp pages

2002-05-03 Thread Helferty, Richard (FUSA)
For Apache to server jsp pages via Tomcat should I include the following directory structure in my Apache Virtual Host Directory /onjava /onjava/WEB-INF /onjava/WEB-INF/classes /onjava/WEB-INF/lib thanks in advance ** This tr

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Larry Meadors
Thanks! >>> [EMAIL PROTECTED] 05/03/02 11:15AM >>> On the Tomcat site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Where might a guy find the meanings of those values and any others that are avail

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Wagoner, Mark
On the Tomcat site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: RE: Log the amount of time taken to complete a request... Where mi

Re: Tomcat & Apache 2 howto

2002-05-03 Thread Chris Shen
hey, well, for some reason, my apache 2 skips the error message window. unlike my apache 1, when i test my setting for apache 2, the DOS prompt just opens up and closes before i can even read the result message, and hence, i dont even know what sort of errors i am getting! is there a way to pause

Re: Loadbalancing....please Help!

2002-05-03 Thread costinm
On Sun, 5 May 2002, Gabriel Maffia wrote: > > Apache 1.3.23 > Tomcat 4.0.1 > Jboss 4.2.3 You may try 4.0.2, if I remember corectly the jvmRoute was introduced after 4.0.1 ( but that's so long ago..., I may be wrong ) Costin > > I´ve used mod_jk and the loadbalancer connector to connect my

tomcat connector looking for OLD DEV worker ?

2002-05-03 Thread java guru
Hi., I am trying tomcat connector (4.0.3) with iplanet server. After changing workers.properties file, the connector is still looking for DEV worker. Connector initialization shows new workers but while serving the request, the connector returning error as its looking for old worker. Is t

Re: Hot To Prevent Directory Listing with Tomcat 4.0.3

2002-05-03 Thread Larry Meadors
Search for "listings" in the default $CATALINA_HOME/conf/web.xml that comes with tomcat. The comments (line 35 in my version) are pretty clear on the options. Larry >>> [EMAIL PROTECTED] 05/03/02 10:59AM >>> I was hoping that someone could tell me how to stop Directory Listings with Tomcat 4

Re: Log the amount of time taken to complete a request...

2002-05-03 Thread peter lin
actually I double checked again and it looks like it was because the transfer wasn't complete even though the page displayed in the browser. I waited longer in between reload and the numbers come out the same. peter Christopher Moon wrote: > > I think that is the size in bytes of the reques

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Larry Meadors
Where might a guy find the meanings of those values and any others that are available? I am guessing... h = host l = Hmm, no clue here. u = user t = time request was made r = request s = response (200=ok, 404=not found, etc) b = size in bytes Larry >>> [EMAIL PROTECTED] 05/03/02 10:44AM

Hot To Prevent Directory Listing with Tomcat 4.0.3

2002-05-03 Thread Jaimes Blunt
Hi Everyone, I was hoping that someone could tell me how to stop Directory Listings with Tomcat 4.0.3. I currently have it running as a standalone server. I understand how it is done with 3.x versions of Tomcat, but have been unable to locate the appropriate settings for Tomcat 4.0.3 I would ap

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Peter Lin
I am using the default server.xml configuration. If it is bytes, then all the times should be the same right? perhaps the documentation is wrong, since the value after 200 varies significantly. peter --- "Wagoner, Mark" <[EMAIL PROTECTED]> wrote: > If you are using the default server.xml file,

RE: Anti-Alias Font Images on the Fly?

2002-05-03 Thread Tim Cronin
I think image magick does this and they have a Java libe http://www.imagemagick.org/ -Original Message- From: Marc Elliott [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 11:36 AM To: Tomcat Users List Subject: Anti-Alias Font Images on the Fly? Hello folks, Do any of you know o

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Subir Sengupta
That is the size of the request in bytes. To clock a request in Tomcat 4 you would have to write a filter. There is an example filter called, appropriately enough, ExampleFilter.java that comes with T4. It does exactly what you want. Subir -Original Message- From: peter lin [mailto:[E

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Wagoner, Mark
If you are using the default server.xml file, the entries are being written using the "common" pattern. This is defined as: %h %l %u %t "%r" %s %b" where %b is the number of bytes sent in the reponse, excluding headers. According to the docs, there is no pattern attribute to record the total t

Re: Anti-Alias Font Images on the Fly?

2002-05-03 Thread Peter Lin
anti-alias is part of GlyphVector in jdk1.2 AWT. You could write one. Do a search on google and you should find some. peter --- Marc Elliott <[EMAIL PROTECTED]> wrote: > Hello folks, > > Do any of you know of a JSP/javabean/apache solution > to generating nice > anti-alias type image on the f

java.lang.NoClassDefFoundError: javax/xml/transform/TransformerFactory

2002-05-03 Thread Dobson, Dave
I am having trouble in getting Tomcat to find the class library which contains the TransformerFactory. The code compiles fine yet when I try to run it, Tomcat reports a "NoClassDefFoundError" I was able to find that the appropriate class is defined in xalan.jar and ensured that i

Anti-Alias Font Images on the Fly?

2002-05-03 Thread Marc Elliott
Hello folks, Do any of you know of a JSP/javabean/apache solution to generating nice anti-alias type image on the fly. I'm just sick to death of continually cutting and re-cutting images because 1 -- a designer won't work with HTML type faces and 2 -- the the textual content keeps changing I a

Re: Loadbalancing....please Help!

2002-05-03 Thread costinm
On Mon, 6 May 2002, Gabriel Maffia wrote: > I thought that Sticky Sessions were a mod_jk feature...not a tomcat feature. > Besides, Its weird that a newer version of Tomcat doesnt handle sticky > sessions There is one small piece that tomcat must do ( when it generates new sessions ). It ha

Re: Log the amount of time taken to complete a request...

2002-05-03 Thread peter lin
Hmm I think it's response time. Here is more access log entries. 127.0.0.1 - - [03/May/2002:12:30:09 -0500] "GET /people.jsp HTTP/1.0" 200 20106 127.0.0.1 - - [03/May/2002:12:30:44 -0500] "GET /people.jsp HTTP/1.0" 200 7168 127.0.0.1 - - [03/May/2002:12:30:44 -0500] "GET /people.jsp HTTP/1.

Re: Upgrading to 4.1.x (I hope)

2002-05-03 Thread Craig R. McClanahan
On Thu, 2 May 2002, Eddie Bush wrote: > Date: Thu, 02 May 2002 11:45:27 -0500 > From: Eddie Bush <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users Mailing List <[EMAIL PROTECTED]> > Subject: Upgrading to 4.1.x (I hope) > > I've been looking on the Tomcat s

RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Christopher Moon
I think that is the size in bytes of the request. If I am wrong that would be excellent! Thanks Chris -Original Message- From: peter lin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 10:59 AM To: Tomcat Users List Subject: Re: Log the amount of time taken to complete a request.

Re: Log the amount of time taken to complete a request...

2002-05-03 Thread peter lin
I thought it already does in the access log. 127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET /test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317 Isn't the number after 200 the response in milliseconds? peter Christopher Moon wrote: > > Good Morning, > > Is it possible for Tomcat to log the am

Re: Loadbalancing....please Help!

2002-05-03 Thread Gabriel Maffia
I thought that Sticky Sessions were a mod_jk feature...not a tomcat feature. Besides, Its weird that a newer version of Tomcat doesnt handle sticky sessions I´m doing loadbalancing now with an application called Pen that works pretty well...though I would like to find out why is Tomcat (or th

RE: Tomcat speed vs Apache-Tomcat

2002-05-03 Thread Carlos Martins
No actual experience here, because i only have a system with Servlets and none to comepare it to. But i stress tested it (with Jakarta's JMeter) and was very happy with the performance i got from it. Why don't you do the same test? Carlos -Original Message- From: Rick Fincher [mailto

Tomcat speed vs Apache-Tomcat

2002-05-03 Thread Rick Fincher
Hi All, Does anybody have any experience with the speed of Tomcat versus an Apache-Tomcat combination? I know Apache has a lot of features not in Tomcat, but just in the area of relative performance, how does Tomcat fare? I know this is also highly dependent on the mix of html and jsp pages,

RE: Tomcat & Apache 2 howto

2002-05-03 Thread Tim Cronin
http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Chris Shen HOTMAIL [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 2:37 AM To: [EMAIL PROTECTED] Subject: Tomcat & Apache 2 howto I've been able to successfully integrate tomcat 3 and 4 with Apache 1.3 using mod_jk. However,

Re: Urgent.. Please help me

2002-05-03 Thread James Williamson
Are you using the WARP connector by any chance? Regards, James Williamson www.nameonthe.net UK Tomcat Hosting > > - Original Message - > From: "Alvin Wang" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, May 03, 2002 4:05 PM > Subject: Urgent.. Please he

Re: Urgent.. Please help me

2002-05-03 Thread Giorgio Ponza
please send some more, like the db JNDI definition, i think is only a name problem GIorgio - Original Message - From: "Alvin Wang" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, May 03, 2002 4:05 PM Subject: Urgent.. Please help me > Hi! I have an urgent q

RE: The Catalina installation path

2002-05-03 Thread John Niven
> -Original Message- > From: Vernon Wu [mailto:[EMAIL PROTECTED]] > Sent: 2 May 2002 09:54 > To: Tomcat Users List > Subject: Re: The Catalina installation path > > > > Thanks, Jake for your input. > > In fact, I had tried using "Apache~1". (Indeed, it is on > Windows). It doesn't wo

Log the amount of time taken to complete a request...

2002-05-03 Thread Christopher Moon
Good Morning, Is it possible for Tomcat to log the amount of taken to complete a request. With Apache you can use %T in your custom log directive. Is there anything similar in Tomcat? Thanks Chris -- To unsubscribe: For additional commands:

Re: The Catalina installation path

2002-05-03 Thread Vernon Wu
Thanks, Jake for your input. In fact, I had tried using "Apache~1". (Indeed, it is on Windows). It doesn't work. If there is not solution, I have to uninstall and reinstall using the zip file format. 5/3/2002 2:17:20 PM, Jacob Kjome <[EMAIL PROTECTED]> wrote: -- To unsubscribe:

iplanet tomcat connector caches worker names

2002-05-03 Thread java guru
Hi., I am trying to setup tomcat connector (4.0.3) for iplanet (6.0 sp2). In the intial testing, connector is caching the worker name previously used (even after worker.properties changed and iplanet restarted). In the jk_log, I see the new worker properties taking effect, but once i try to

Custom Exception pages in tomcat 4.0.4b2

2002-05-03 Thread Douglas, Rory
Hi there 4.0.4b2 appears to be a little erratic in serving up custom error pages that are specified in web.xml. For instance I specify a page Failure.jsp to catch java.lang.Exception as such java.lang.Exception /Failure.jsp I then throw a RuntimeException in one of my Struts action classe

Re: 404 HELP HELP! this is driveing me NUTS

2002-05-03 Thread rsequeira
Try: http://localhost/servlet/servlet/vm.admin.servlet.Login RS Jason Wood <[EMAIL PROTECTED]> on 05/02/2002 12:17:18 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:404 HELP HELP! this is driveing me NUTS i am receiving a 404 error

Re: Invalid virtual host name

2002-05-03 Thread rsequeira
Since you don't have the WeAppConnection and WebAppDeploy encapsulated within a virtual host block, they apply to the main server. So check the main server configuration. Something may be amiss. Check ServerName and other directives. RS "Kaveh" <[EMAIL PROTECTED]> on 05/02/2002 11:21:43 AM

virtual domains in tomcat4.0 standalone mode

2002-05-03 Thread Grondell, Ken
is it possible to have virtual domains in tomcat standalone mode or do you need use apache. if you can have a virtual domain in tomcat how do you do it? all of the documentation I have seen points to using apache. I would like to have www.foo.com go to ROOT/foo/ and www.foo2.com go to ROOT/foo/

Re: Re[4]: Where do I edit /etc/tomcat4/conf/tomcat4.conf in Windows 2000? Want to edit LANG setting

2002-05-03 Thread Tom Bednarz
Jake, Thanks for the link! I will download the stuff. I was already looking into that JNI stuff a couple of months ago and found it quite complicated! Tom - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 02, 20

Urgent.. Please help me

2002-05-03 Thread Alvin Wang
Hi! I have an urgent question. Could any guru help me to diagnosis it? I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it raise the following exception: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingCon

SysV init script RH7.0

2002-05-03 Thread john-paul delaney
Hello list... I've setup tomcat4.01 on RH7.0, on jdk1.3. In order to load tomcat successfully, I need to run the following command: "ulimit -s 2048". I'd also like to load Tomcat as user tc. Does anyone have a suitable script that I can run in /etc/rc.d/init.d/ on startup - or at least send

RE: Help me: URGENT!!!

2002-05-03 Thread Cox, Charlie
you can create a database entry containing server ip and and session id(make one up) and pass the session id to server2, which can then look up the ip, so that you are never putting an ip in the http request. or add a parameter that is only there for server1. Since server1 is most likely going

Re: System properties

2002-05-03 Thread PChaganti
What system properties are you referring to? prabhakar > Is it possible to change system properties from within' a JSP page. -- To unsubscribe: For additional commands: Troubles with the list:

Re: Help me: URGENT!!!

2002-05-03 Thread Christian Bockerman
Hi Laura ! Perhaps I completely misunderstand your problem. On Fri, May 03, 2002 at 11:17:48AM +0200, Laura wrote: > I have a servlet which has to recognize two ip addresses. If the servlet > finds that the request is from the IP1 (server1), it sets a shop login > variable to x, else if th

Re: Help me: URGENT!!!

2002-05-03 Thread Raja Sekhar
Hi, Try using request.getServerName(). If this doesnt work, import java.net.*, in which u use, InetAddress.getHostAddress(). Hope this should solve your problem. ..Raj -- On Fri, 3 May 2002 11:17:48Laura wrote: >Hi all, > >please help me!! I'll explain you my problem. > >I have a servle

RE: mod_webapp.so download

2002-05-03 Thread Donald Tang
Thanks, but those aren't compiled with the Extended API and have been causing problems (I suspect...). I need a binary that has been compiled with the -DEAPI flag. Anyone? don > -Original Message- > From: Raja Sekhar [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 7:39 AM > To

Re: mod_webapp.so download

2002-05-03 Thread Raja Sekhar
Hi, You can download mod_webapp.so from the sepcific tomcat version/bin directory. For ex: for Tomcat 4.0.3, the url is http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/. Under bin, u will find a list of operating systems in which you can find the binary of mod_webapp.so

Problem mod_jk config for Tomcat 4.0.3

2002-05-03 Thread Raja Sekhar
Hi, I am trying to configure Tomact 4.0.3 with mod_jk. For this, I referred the online URL "http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html"; according to which I have put an entry in my server.xml as below :- It generates me a mod_jk.conf, but this is an empty on

System properties

2002-05-03 Thread Richard Wooding
Hi all, Is it possible to change system properties from within' a JSP page. Regards Richard Wooding -- To unsubscribe: For additional commands: Troubles with the list:

Re: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-05-03 Thread Simon Stewart
On Thu, May 02, 2002 at 09:55:29AM -0700, [EMAIL PROTECTED] wrote: > > One of the goals of mod_jk2 is to go further and be able to operate with > only 'standard' apache directives and configuration ( i.e. and > SetHandler ). That'll be much faster and easier to integrate - but even > more verbos

Possible to deploy pre-compiled JSPs with tomcat?

2002-05-03 Thread Dave North
Is it possible to deploy pre-compiled (ie. binary) JSPs with tomcat? We're going to potentially deploying our app to many sites that we don't have full control over where we'd like to keep the source hidden. I did some digging with other engines (specifically oracle) and found this...Just wonderi

Re: cgi-bin

2002-05-03 Thread James Williamson
It all depends what Tomcat/Apache connector you're using, by default you can't stop requests being redirected to Tomcat using mod_webapp, although you can with jk. Regards, James Williamson www.nameonthe.net UK Tomcat Hosting - Original Message - From: Ken Anderson <[EMAIL PROTECTED]>

Re: Help me: URGENT!!!

2002-05-03 Thread Laura
Hi Michael, I presume that the only way solving my problem is introducing an additional parameter in the query string. sigh, sigh, sigh Bye and thanks everybody Laura Alle 12:28, venerdì 3 maggio 2002, Mikael Helbo Kjær ha scritto: > > I have two clients (company A and company

Apache 2.0.35 and Mod_jk 4.0.2-01 on sparc solaris 7 (2.7) linkproblems

2002-05-03 Thread Gary.L.Johnstone
Hello all As I see many others have had the same problems Im having building the mod_jk.so. After trying everything recommended Im still having problems. Quick history - Downloaded and built the apache server v2.0.35 - no problems Downloaded and unpacked jakarta-tomcat-connectors-4.0.2-01-src.

RE: Help me: URGENT!!!

2002-05-03 Thread Mikael Helbo Kjær
> I have two clients (company A and company B): each company > use one interface > and when the user has to pay, the compnay (A or B) calls my > sistem(servlets > with tomcat and apache). I'd like to distinguish A or B by IP > address but > when I call request.getRemoteAddr() in my servlet I take

Fwd: Re: Help me: URGENT!!!

2002-05-03 Thread Laura
But I dont't want my IP. I presume that .getLocalHost() in my servlet gives me my IP. I want the Ip address of the requesting server (and not my IP or IP cost client = user). Thanks Laura Alle 12:03, venerdì 3 maggio 2002, Anton Schoultz ha scritto: > Hi Laura, > > Have a look at the class ja

Re: Help me: URGENT!!!

2002-05-03 Thread Laura
Ok, this is a way. But is there a way without any additional parameter, exspecially in the query string? Bye Laura Alle 12:06, venerdì 3 maggio 2002, Øyvind Vestavik ha scritto: > I'm no expert, but in the request from the e-commerce server you could set > an additional parameter with the IP

Cache

2002-05-03 Thread Reith, Markus
Hello, I am using Tomcat 4.0.3. I have developed a servlet which receives a date value from a html form via the get method, i.e. the value is transmitted in the URL string. The servlet generates a html document from a xml source using XSLT. Since the data does not change very fequently and the XS

  1   2   >