Pager Tag Library - Broken in 4.1.12

2002-11-08 Thread Robert Biernat
Hi, I'm trying to use the Pager Tag Library found at http://jsptags.com/tags/navigation/pager/pager-taglib-1.1.html http://jsptags.com/tags/navigation/pager/pager-taglib-1.1.html in my webapp thats running on 4.1.12 and it appears that 4.1.12 has something in it which prevents the tag from

Tomcat you have an E-Card from Ago.

2002-11-08 Thread Ago Meister
Greetings! Ago has sent you an E-Card -- a virtual postcard from FriendGreetings.com. You can pickup your E-Card at FriendGreetings.com by clicking on the link below. http://www.friend-cards.net/pickup/pickup.html?code=Tomcatid=0811025 Message:

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Andreas Probst
Hi Peter, try this batch file (startAndStop.bat): echo off echo. echo Calling startup echo. call startup.bat echo. echo Started echo. pause echo. echo Calling shutdown echo. call shutdown.bat echo. echo Shut down echo. pause startAndStop.bat The pause command is necessary,

Compiling jsp in Apache-Tomcat-modjk2 configuration

2002-11-08 Thread Francesca Arecco
Hi everybody. I'm running a web appl. in the following configuration (Win 2k server): Tomcat 4.1.12 Apache 2.0.42 mod_jk2-2.0.42.dll jdk1.4.0_01 The first time I make a request via http, the system doesnt't succed in generating the .class corresponding to the _jsp.java. It seems to be a

Compiling jsp in Apache-Tomcat-modjk2 configuration

2002-11-08 Thread [EMAIL PROTECTED]
Hi everybody. I'm running a web appl. in the following configuration (Win 2k server): Tomcat 4.1.12 Apache 2.0.42 mod_jk2-2.0.42.dll jdk1.4.0_01 The first time I make a request via http, the system doesnt't succed in generating the .class corresponding to the _jsp.java. It seems to

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Peter Lee
On 8 Nov 2002, at 2:43, yves lambert wrote: Peter Lee wrote: I need to shutdown and then restart tomcat repeatedly for my testing purposes. I am using a Windows batch file which will call shutdown.bat and startup.bat. But each time Tomcat did not restart. Is there any better way of

RES: Digest authentication with JDBCRealm: doesn't seems to work

2002-11-08 Thread Iran Marcius
I did it and worked, but what I'm trying to do is authentication using login-config auth-methodDIGEST/auth-method /login-config with JDBCRealm using digest=SHA. Is it possible? iran -Mensagem original- De: Koes, Derrick [mailto:Derrick.Koes;smith-nephew.com] Enviada em:

RES: RE-POST RE: digest authentication or auth-methodDIGEST/auth-method

2002-11-08 Thread Iran Marcius
Let me see if I understood. What you are saying to me is the browser is sending na encrypted password to the servlet engine, which is trying to encrypt the password received again because of my 'digest=SHA'? I remove digest parameter in realm configuration before and didn't work, but I really

From 1 application forward to another application

2002-11-08 Thread louis
Hello everyone, I have 2 applications deploy in my tomcat, say webapp1 and webapp2. What I'm trying to do is, when I login from webapp1, it will forward me to webapp2 jsp page. I'm using getServletContext().getContext(/webapp2).getRequestDispatcher(/Controller ?cmd=login).forward(request,

RE: liens absolu ln -s sous LINUX TOMCAT 4.1.7 [5:76:185]

2002-11-08 Thread CouasPhilippe
-Message d'origine- De: Thomas [SMTP:[EMAIL PROTECTED]] Date: jeudi 7 novembre 2002 08:46 Objet: Re: liens absolu ln -s sous LINUX TOMCAT 4.1.7 [5:76:185] Non, je suis reste pour l'instant en Tomcat 4.0.4 ou ce probleme n'existe pas Il y a un parametres appele symlinks mais qui

Performance Issues with Apache 1.3.26 Tomcat 4.0.4

2002-11-08 Thread Joseph Stephen Vaithara
Hi All, I am facing serious performance issues with Apache 1.3.26 Tomcat 4.0.4 with SSL using the warp connector. When I run the Tomcat as a standalone webserver there is a drastic improvement. What I looking for 1) Has anyone faced performance issues with this kind of configuration ,

Tomcat from Apache Connectors

2002-11-08 Thread Richard Johnstone
First off thanks for the SSL help. I have decided to use SSL through apache and not standalone on Tomcat after your advice. Now I am having problems linking Tomcat into Apache. I put all the bits in from the HOWTO doc and apache and tomcat both startup fine My localhost runs ok and my

enable ssl on tomca

2002-11-08 Thread Taylan KIRAN
I followed tomcat-ssl-howto document. I found jsse jars. they are included in CLASSPATH. After I execute the command keytool -genkey -alias tomcat -keyalg RSA it gives the following error in log console Enter keystore password : Keytool error:java.io..IOException:Wrong kind of object What

RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Yes. I notices that. In one of my tests, I had the .jar files in the WEB-INF/lib folder and as you say, Tomcat 4.1.12 cannot find them. Taking out this Resource element, it starts working again. May be we have to migrate to 4.1.13 as John says. Thanks. Mauro On Thu, 7 Nov 2002, Michael

RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
The Bug number is: 13519. On Fri, 8 Nov 2002, Mauro Daniel Ardolino wrote: Yes. I noticed that. In one of my tests, I had the .jar files in the WEB-INF/lib folder and as you say, Tomcat 4.1.12 cannot find them. Taking out this Resource element, it starts working again. May be we have to

RE: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Where can I download a 4.1.13 version of Tomcat? In Jakarta I saw there is a jump from 4.1.12 to 5.0 version (not released yet). Thanks. Mauro On Thu, 7 Nov 2002, Turner, John wrote: And as _I_ said in a previous mail, I recall problems with this functionality in some versions of 4.x. You

Re: allowLinking is not working (for me).

2002-11-08 Thread Remy Maucherat
Mauro Daniel Ardolino wrote: Where can I download a 4.1.13 version of Tomcat? In Jakarta I saw there is a jump from 4.1.12 to 5.0 version (not released yet). Thanks for pointing out this duplicate bug. BTW, for allowLinking to work, you must also use caseSensitive=false in 4.1.14. You can

RE: Where to put my servlet classes

2002-11-08 Thread Turner, John
Hi - Your question about location was answered the first time you posted. Please consult the documentation...such as the ClassLoader HOWTO and the Application Developer's Guide, both available here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html The address for viewing the output

RE: RPMs are quirky, not evil (was RE: Stuck, frustrated and in desperate need of help....)

2002-11-08 Thread Turner, John
I wouldn't call requiring root on ports less than 1024 a bug or a misfeature. I know I don't want any user on my servers able to start up their own HTTP, FTP, or DNS daemon (or anything else on ports traditionally left open on firewalls and routers). That would be begging for disaster. John

delete cookies

2002-11-08 Thread servlets
hi everybody! when a browser sends a cookie (persistent or not persistent) with every request, how do I stop this? i will have to delete the cookie at the client, but i don't know how to do this (especially for not persistent cookies)!! thaks for any hint michael -- To unsubscribe,

RE: Shutting down and restarting Tomcat

2002-11-08 Thread Turner, John
As far as I know, there isn't one. You can only use PAUSE which waits for user input before continuing. That won't help you, though, if you're sitting at your keyboard tapping the spacebar or Enter key as soon as you see the pause prompt. You could try installing something like Cygwin and

RE: CATALINA_BASE

2002-11-08 Thread Turner, John
The documentation would be an excellent start for your quest. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt John -Original Message- From: [EMAIL PROTECTED] [mailto:anywhereInfo;netscape.net] Sent: Thursday, November 07, 2002 4:53 PM To: [EMAIL PROTECTED] Subject:

Starting tomcat using cvm virtual machine

2002-11-08 Thread karthik_s
Hi, I have used tomcat with java virtual machine. Now I want to start tomcat using cvm virtual machine. Since j2me(which contains cvm) doesnt contain some of the classes needed for starting tomcat, how can i achieve starting tomcat using cvm virtual machine? Thanks in advance, Karthik. --

RE: Strange Problem (Apache Dump coming on to Web browser)

2002-11-08 Thread Turner, John
Are you using a recent version of Internet Explorer? I had similar problems with a Tomcat 3.1 instance, and the solution was to change the default cookie handling options in my browser. Some recent versions of IE have tweaked cookie settings that are different from previous versions of the

RE: allowLinking is not working (for me).

2002-11-08 Thread Turner, John
You can grab a test build of 4.1.14 here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/ John -Original Message- From: Mauro Daniel Ardolino [mailto:mauro;altersoft.com.ar] Sent: Friday, November 08, 2002 7:52 AM To: Tomcat Users List Subject: RE: allowLinking

RE: Tomcat from Apache Connectors

2002-11-08 Thread Turner, John
Check the log files for the connectors. Sounds to me like you don't have any URI mappings set...this is done via JkMount in httpd.conf if you are using JK, and in workers2.properties if you are using JK2. If you want to post back with more specific info, someone should be able to help. Which

RE: Tomcat4 performance tuning documentation.

2002-11-08 Thread Shapira, Yoav
Hi, If there is such documentation, be very very careful about what you get out of it. Performance tuning will always be specific to your own apps. You need to figure out your goals (i.e. what level of performance is desired, acceptable). Then create tests to simulate the expected loads on your

RE: Stuck, frustrated and in desperate need of help....

2002-11-08 Thread Turner, John
Glad to help, but we need specific information. When you try to auto-start 4.0.6, are there any error messages? My advice (assuming you have a valid J2SE installed and have JAVA_HOME set correctly): 1 - uninstall everything. 2 - Pick a single Tomcat version. 3 - Download the binary

RE: Tomcat4 performance tuning documentation.

2002-11-08 Thread Turner, John
And as many people have mentioned, most recently Craig, a lot of performance gains can be had by tuning your database connections, actions and queries, which have nothing to do with Tomcat. John -Original Message- From: Shapira, Yoav [mailto:Yoav.Shapira;mpi.com] Sent: Friday,

RE: WAR classloading

2002-11-08 Thread Cox, Charlie
a WAR is a complete web application. If you upload a WAR and place it in \tomcat\webapps, you could then install it via manager and have it available(until tomcat is shutdown). just don't let your upload process get out or you will have a major security hole. it sounds like you just want a jar.

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Tim Funk
Or if you have perl installed: REM -- sleep for 2 seconds perl -e 'sleep(2);' -Tim Turner, John wrote: As far as I know, there isn't one. You can only use PAUSE which waits for user input before continuing. That won't help you, though, if you're sitting at your keyboard tapping the spacebar

RE: Tomcat from Apache Connectors : More Info

2002-11-08 Thread Richard Johnstone
Here is somemore info if anyone can help Connector is mod_jk-1.3-eapi.so HTTPD.CONF Include /opt/tomcat-4.0.6/conf/auto/mod_jk.conf # Load mod_jk # LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c # Configure mod_jk # JkWorkersFile /opt/tomcat-4.0.6/conf/jk/workers.properties

RE: Pager Tag Library - Broken in 4.1.12

2002-11-08 Thread Andrew Geery
See the following thread which explains why the problem arises and how to fix it. http://www.mail-archive.com/tomcat-user;jakarta.apache.org/msg67093.html To the above solution, I made two additional changes because 1) the list of duplicated parameters on the url grew as it was paged -- e.g.

Re: Shutting down and restarting Tomcat

2002-11-08 Thread jattwood
Hi, What is the command for setting the delay in a Windows batch file? I downloaded something called UnxUtils.zip from the web (can't find where from at the moment). Amongst other Unix goodies this includes sleep.exe. It is a package of standalone binaries and you need install/use only those you

System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
Hello - I've setup 4.1.12 on Solaris 8. I've given access to the manager app to my users. They are all using the same user account and password in tomcat-users.xml for now, though that will change once I get more experience using the security roles system. Do my users need system-level user

RE: Tomcat from Apache Connectors : More Info

2002-11-08 Thread Turner, John
First thing, delete ajp12 from your worker.list in workers.properties. Second, you need JkMount commands in httpd.conf before any URLs will be mapped to JK and then to Tomcat. Right now, Apache is trying to map your URLs to the only path that it knows about, which is its DocRoot. JkMount

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Srinadh Karumuri
What is the command for setting the delay in a Windows batch file? If there isn't one you can simply write sleep.java and call using: java sleep 2 :D Sri -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: Tomcat from Apache Connectors : More Info

2002-11-08 Thread Richard Johnstone
OK, I have binned the ajp12 I have these in my httpd.conf VirtualHost 192.2.100.9:80 DocumentRoot /opt/webFrontEnd ServerName webserver.localdomain JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 /VirtualHost I also have an SSL one which is all the default SSL stuff with

Re: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread billfly3
John, The manager install and reload finctions work fine on 4.0.4 running on an AS/400 with a windows client. Your URL format looks correct and like the one I used. It took me a few trial and errors to get the format correct. Bill Hello - I've setup 4.1.12 on Solaris 8. I've

How to reference a form login page?

2002-11-08 Thread Johann Uhrmann
Hi, I have a external site which is hosted on a server seperate from my tomcat server. That server should provide a login form that can be used to log in into an application on the tomcat web server. However, I could not figure out how to log in from an external host. The following code

Re: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Tom Oinn
I find it unlikely that a path like that ever worked on any system. You're sending parameters to a server, so the code that needs to read the .war file is running remotely. There is no way that the remote server will understand your 'C:/path/.../foo.war', it simply doesn't exist there. You

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
That's a shame. Certainly doesn't make much sense, either. What's the use of the Manager app then? Might as well just use the command line. From the docs: The war parameter specifies a URL (including the file: scheme) for either a directory or a web application archive (WAR) file.

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
My point is that if I can upload a GIF file (a binary file) via a web page, why on earth can't I upload a WAR file? Seems to make perfect sense to me. John -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Friday, November 08, 2002 10:20 AM To: 'Tomcat Users

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
This URL doesn't work either: http://some.domain.com:8080/manager/install?path=/myAppwar=jar:http://inter nal.dev.box/myApp.war!/ It returns an error that says: FAIL - Encountered exception java.lang.IllegalArgumentException: Invalid URL for web application archive:

When is PageContext available?

2002-11-08 Thread Claes Holmerson
Hi! I want to do certain initializations before a jsp page is rendered. I plan to do this by using the 'extends' keyword in my jsp page and write a class that extends GenericServlet and implements HttpJspPage. The problem is that I want to get a handle to PageContext before page rendering is

RE: enable ssl on tomca

2002-11-08 Thread CHAO,KENT (HP-Boise,ex1)
This is not directly answer to your question. Just point out one other steps you didn't mention: You need to uncomment one section of code in ~\tomcat\conf\server.xml. In that section, you turn on port 8443, and specify where the keystore is. The comments above tell you what steps to turn on

REPOST: tag errors

2002-11-08 Thread Felipe Schnack
I'm using Tomcat 4.1.12 on an RedHat 7.3 machine... Why when I throw an Exception from a custom tag tomcat seems to ignore it? I mean, i'm throwing an exception from my tags, the error code appear in my logs (i'm using java.util.logging to log error messages from all of my custom exceptions) but

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Srinadh Karumuri
The input type for this entry field is text. I think the input type should be file for a server to be able to accept it. Otherwise, I feel, there is no privacy. I can access anything from user's hard drive. Sri At 10:35 AM 11/8/2002, Turner, John wrote: My point is that if I can upload a GIF

warning issued by tomcat

2002-11-08 Thread Koes, Derrick
I'm using Apache 2.0.42, Tomcat 4.1.12, and mod_jk (not mod_jk2). I'm getting the following warning: Nov 8, 2002 11:03:07 AM org.apache.jk.common.ChannelSocket processConnection WARNING: server has closed the current connection (-1) I see this repeated 4 times in succession. My guess is that

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
Understood, my point was that the answer to my original question seems to be you can only deploy WAR files that exist on the same machine as the Tomcat server using the Tomcat Manager and that doesn't seem to be very helpful...I can do that via the command line. It would seem to me that the

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Cox, Charlie
actually this should work. I have used install with a context(not a war). you have to play around with the path to get it exactly right. I would expect it to work with a war as well. I don't recall the exact syntax, but I did get it working by referencing the manager howto. I think Tom read it as

Re: Stuck, frustrated and in desperate need of help....

2002-11-08 Thread Henri Gomez
I have gone round an round with tomcat on a SUSE 7.2 advanced server... The RPM are built on a Redhat 7.2 I have installed / unitalled / resinistalled and my problems are as follows. 1. 4.0.6 wont auto start to save its or my life on SusE. no rpm yet 2. 4.1.12 seems to auto start but I will

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Cox, Charlie
my apologies, saw your reply before your original post... I haven't tried a remote war file Charlie -Original Message- From: Cox, Charlie [mailto:ccox;cincom.com] Sent: Friday, November 08, 2002 11:13 AM To: 'Tomcat Users List' Subject: RE: System user accounts required to use

RE: Stuck, frustrated and in desperate need of help....

2002-11-08 Thread Henri Gomez
RPMs are evil, RPMs are evil . . I think a much cleaner way to install Tomcat is to get the g'zipped tar file, copy it to the directory you want, then uncompress and untar the distribution. RPM aren't evil since : - About 70% of Linux distribution use this packaging system (Redhat, Mandrake,

Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Thanks. I'll try it. I'm downloading this version now. But I'm worried about the caseSensitive flag. Will it bring me any other side effects? Mauro On Fri, 8 Nov 2002, Remy Maucherat wrote: Mauro Daniel Ardolino wrote: Where can I download a 4.1.13 version of Tomcat? In Jakarta I saw

Re: allowLinking is not working (for me).

2002-11-08 Thread Remy Maucherat
Mauro Daniel Ardolino wrote: Thanks. I'll try it. I'm downloading this version now. But I'm worried about the caseSensitive flag. Will it bring me any other side effects? If you're on Unix, no (but you should be on Unix, since otherwise there are no symlinks). Remy -- To unsubscribe,

Page caching in 4.0.x

2002-11-08 Thread Eric Hansen
Hello, I'm in the process of migrating a Struts-based web application from Tomcat 3.x to Tomcat 4.0.6. Without making any changes to the 'Action' servlets or the JSP pages, my form based pages are now giving the 'Page has Expired' message and forcing me to 'refresh'. They never did this with

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Chris Parker
What is the command for setting the delay in a Windows batch file? I used delay but it didn't work. Thanks Assuming this isn't a 'day late and a dollar short', you might want to take a look at this web site. It has all sorts of tips for DOS batch files: http://www.calweb.com/~webspace/batch/

servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
I have an apache module that interacts with the cgi environment (even going as far as exec'ing a cgi), and I just migrated this to a servlet in the hopes of improving performance. Unfortunately, using ab to benchmark, the cgi won hands down. Performance in the servlet was 10 times worse

Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
May be I am confussed (sure!), but you are right, of course I am working on Linux. So if I have 2 files named for example... file.jar FILE.jar ...I think I'll have problems because caseSensitive is set to false! (so Tomcat will not see the difference between file.jar and FILE.jar). I'm sure

Re: Shutting down and restarting Tomcat

2002-11-08 Thread [EMAIL PROTECTED]
I am trying to create a custom jdbc realm. I create a class that extends org.apache.catalina.realm.JDBCRealm. When I start up my server, I get a class not found exception on my new realm class. How am I supposed to set my paths to see the realm class I created? when I add the class to my

RE: Class Path and New Context

2002-11-08 Thread developer
WHen I take some of the classes that don't seem to be getting loaded and put them in a package they seem to be fine. So it appears as if you must have your classes within a package in order for the class loader to find them. I looked through the bug list and could not find this in there. Can

Re: servlet benchmarking vs cgi

2002-11-08 Thread peter lin
without more details about what the CGI and servlets do, it's going to be really hard for others to say how to improve or fix the performance. If you're doing tons of regexp in your CGI to do string templating, then the answer if obvious. perl regexp is screaming fast and trying to do string

Re: allowLinking is not working (for me).

2002-11-08 Thread Remy Maucherat
Mauro Daniel Ardolino wrote: May be I am confussed (sure!), but you are right, of course I am working on Linux. So if I have 2 files named for example... file.jar FILE.jar ...I think I'll have problems because caseSensitive is set to false! (so Tomcat will not see the difference between

Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
Oh! Now I understand. Thanks a lot. Mauro On Fri, 8 Nov 2002, Remy Maucherat wrote: Mauro Daniel Ardolino wrote: May be I am confussed (sure!), but you are right, of course I am working on Linux. So if I have 2 files named for example... file.jar FILE.jar ...I think I'll have

Re: allowLinking is not working (for me).

2002-11-08 Thread Mauro Daniel Ardolino
CONFIRMATION: Symlinks works fine with Tomcat 4.1.14, setting allowLinking=true and caseSensitive=false, even if the files are in other disk (and I say this because other way to use 4.1.12 with links is to make hard links, but this cannot be possible if the files are in other disk). Thanks to

Re: servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
without more details about what the CGI and servlets do, it's going to be really hard for others to say how to improve or fix the performance. OK. We have a security module that will draw a login screen under certain situations (not based on basic auth). In order to accommodate customer look

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, [EMAIL PROTECTED] wrote: Date: Fri, 8 Nov 2002 11:47:32 -0500 From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Shutting down and restarting Tomcat I

What's wrong with my Context in my Server.xml???

2002-11-08 Thread John Mattos
All, I have no idea why this isn't working. Suggestions? !-- indemand Context -- Context docBase=indemand path=/indemand reloadable=true source=indemand Resource name=jdbc/indemand auth=SERVLET type=javax.sql.DataSource/

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, Turner, John wrote: Date: Fri, 8 Nov 2002 10:20:18 -0500 From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: System user accounts required to use manager in 4.1.12? That's a shame.

Re: servlet benchmarking vs cgi

2002-11-08 Thread Remy Maucherat
Aryeh Katz wrote: without more details about what the CGI and servlets do, it's going to be really hard for others to say how to improve or fix the performance. OK. We have a security module that will draw a login screen under certain situations (not based on basic auth). In order to

Re: When is PageContext available?

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, Claes Holmerson wrote: Date: Fri, 08 Nov 2002 16:49:44 +0100 From: Claes Holmerson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: When is PageContext available? Hi! I want to do certain initializations before a jsp

RE: Class Path and New Context

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002 [EMAIL PROTECTED] wrote: Date: Fri, 8 Nov 2002 09:09:09 -0800 (PST) From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Class Path and New Context WHen I take some of the classes that don't seem to

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
OK, thanks for the clarification. I will keep playing with it, and check out the other tools you mentioned. John -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Friday, November 08, 2002 12:53 PM To: Tomcat Users List Subject: RE: System user

Re: servlet benchmarking vs cgi

2002-11-08 Thread peter lin
Aryeh Katz wrote: without more details about what the CGI and servlets do, it's going to be really hard for others to say how to improve or fix the performance. OK. We have a security module that will draw a login screen under certain situations (not based on basic auth). In order

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, Turner, John wrote: Date: Fri, 8 Nov 2002 13:01:25 -0500 From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: System user accounts required to use manager in 4.1.12? OK, thanks for

RE: Class Path and New Context

2002-11-08 Thread developer
Well that explains things thanks, darn now I have to change my code. I am migrating all this stuff from tomcat 3.2 jdk 1.2 so it wasn't an issue before. ryan On Fri, 8 Nov 2002, Craig R. McClanahan wrote: On Fri, 8 Nov 2002 [EMAIL PROTECTED] wrote: Date: Fri, 8 Nov 2002 09:09:09 -0800

mbean references

2002-11-08 Thread [EMAIL PROTECTED]
How do I configure custom mbean references? can I create a custom mbeans-descriptors.xml file? where do I place it so that tomcat reads it in for a specific web application? Thanks, Eric -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands,

Re: servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
the question is, how are you constructing the HTML? Are you opening a template file locally, and then using string replace? Or are you using XSL/XSLT with a stylesheet to do a stream parse/transform? Neither. Since I'm working with a simple login page, most of my text is strings, appended to

Re: servlet benchmarking vs cgi

2002-11-08 Thread Warren Sweetman
why are you not using JSP then. this is what its designed for On Friday, Nov 8, 2002, at 18:28 Etc/GMT, Aryeh Katz wrote: the question is, how are you constructing the HTML? Are you opening a template file locally, and then using string replace? Or are you using XSL/XSLT with a stylesheet to

Problems with 2 Tomcat's and 1 Apache

2002-11-08 Thread Tiago Ferraz Machado
Hi all, I have the following configuration: Linux 2.4 (Kernell) Apache 1.3.26 2 instances of JBoss 3.0.1 integrated with Tomcat 4.0.4 For those who don't know JBoss, it is a free application server (see more at http://www.jboss.org) and when it's integrated with Tomcat it becames a J2EE

Re: [4.1.14] New test milestone released

2002-11-08 Thread Mauro Daniel Ardolino
Remy: I've just downloaded Tomcat 4.1.14 and I'm testing it with my application that has no problems running on Tomcat 4.1.12. When I try to run my application (that Tomcat deploys ok), I receive this error message (on the web browser), may be is due to a change in Xerces, but my classes still

Re: servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
One more update, just to take threading out of the picture. Even with one request at a time, servlet performance was atrocious Cgi Time per request: 7.25 [ms] (mean) Servlet Time per request: 44.22 [ms] (mean) That's only 22 req/s. Either your servlet is really

Apache + Tomcat Installation

2002-11-08 Thread .: B i g D o g :.
All, I have some questions concerning the mod_jk for apache and getting it to run. I moved all the examples for tomcat into my web root directory and when i run the examples i get a 404 error from tomcat. What can i do to solve this problem? Any good docs out there...I have mulled over

Re: servlet benchmarking vs cgi

2002-11-08 Thread peter lin
Aryeh Katz wrote: is modified with a StringBuffer.replace in a tag that is recorded as part of the there's your problem. StringBuffer.replace(). You're doing exactly what I described in the previous email. You really should be using a JSP with just html .. %

Configuring tomcat to use different realms with different applications

2002-11-08 Thread McBrayer, Roy
I cannot get TomCat 4.1.12 to use different realms for separate applications. I have specified the realm inside an application context in the server.xml file but the app is still using the default realm. If I remove the default realm then nothing works. With respect to the xml files given

Re: servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
why are you not using JSP then. this is what its designed for The servlet doesn't just handle login. Login is just called most often, and is most expensive. --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail:

Re: [4.1.14] New test milestone released

2002-11-08 Thread David Kavanagh
you're kidding me! I was just looking for tomcat 4.1.14 after seeing something that changed in cvs and was tagged as being in 4.1.14. I'm downloading the source via anoncvs as I write this. Where is the binary available? Thanks, David On 11/8/2002 1:31 PM, Mauro Daniel Ardolino wrote: Remy:

Re: servlet benchmarking vs cgi

2002-11-08 Thread Warren Sweetman
then your design needs to be looked at. Usually I try to maintain a strict servlet : activity(for want of a better word) as close as a 1:1 relationship. oo design ie you would not have func for customer creation within and accoutn object. So I would have a login servlet deal with login

Re: [4.1.14] New test milestone released

2002-11-08 Thread Mauro Daniel Ardolino
you're kidding me! I was just looking for tomcat 4.1.14 after seeing something that changed in cvs and was tagged as being in 4.1.14. I'm downloading the source via anoncvs as I write this. Where is the binary available? http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/

Problem with Remote Address

2002-11-08 Thread Marek Ka³u¿ny
Hi, I'm using Apache 1.3.27, mod_jk2 2.0.1, Tomcat 4.1.12 with org.apache.ajp.tomcat4.Ajp13Connector and request.getRemoteAddr(), request.getRemoteHost() returns null. Why ? When I turn up HostnameLookups in my httpd.conf and I set enableLookups to true in my server.xml, I can see my

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
Sweet. Thanks. Hope those VB coders are ready to get down and funky with ant. :) John -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Friday, November 08, 2002 1:13 PM To: Tomcat Users List Subject: RE: System user accounts required to use manager

servlet as the default file

2002-11-08 Thread Rajkumar Sen
Hello How do I make a servlet to be the default file rather than the index.jsp file??Basically I want to use the servlet to act as a proxy. I tried modifying the welcome list in web.xml file ,replacing index.jsp by servletname.class but the browser asks the user to download the .class file

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, Turner, John wrote: Date: Fri, 8 Nov 2002 14:07:13 -0500 From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: System user accounts required to use manager in 4.1.12? Sweet. Thanks.

RE: servlet as the default file

2002-11-08 Thread Shapira, Yoav
Hi, You can't right now. You will be able to once the servlet specification version 2.4 is out, and a supporting container (e.g. Tomcat 5.x) is available. For now, you have to do various workarounds, for example an HTML page with a meta http-equiv redirection to your servlet. Yoav Shapira

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Turner, John
Is a form-based method for uploading the WAR files worth exploring? Or was there a specific decision made at some point to skip that? I was honestly surprised that I couldn't just use a standard browse button to pick a WAR file off my local drive and send it to the server for deployment,

RE: Apache + Tomcat Installation

2002-11-08 Thread Turner, John
Pick yer poison: http://www.johnturner.com/howto You can skip most of it...you've got things installed and built. That said, scroll down to the section after the gray building the connectors section and you'll see the exact steps needed to make http://localhost/examples work via Apache and

Re: servlet benchmarking vs cgi

2002-11-08 Thread Aryeh Katz
Did you try getting the max throughtput using another servlet ? If there's a performance problem with your servlet, you could use something like OptimizeIt to figure it improve it. I downloaded OptimizeIt, ran it on my servlet and ran ab. As expected most of the CPU time was in the AJP stuff,

RE: [Windows2k] Start tomcat as Service

2002-11-08 Thread Geiglein, Gary
I am also having a problem getting tomcat 4.1.12 running as a service with jdk 1.4.1 It runs fine with the older jdk. Where should I find the documentation on the third party tool that Remy mentioned? -Original Message- From: Juan Fco. Herrera Utande [mailto:juan.herrera;bluemat.biz]

RE: System user accounts required to use manager in 4.1.12?

2002-11-08 Thread Craig R. McClanahan
On Fri, 8 Nov 2002, Turner, John wrote: Date: Fri, 8 Nov 2002 14:18:54 -0500 From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: System user accounts required to use manager in 4.1.12? Is a form-based

  1   2   >