RE: tomcat configuration for a newbie

2002-11-07 Thread ben f
Hari Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed this now to your recommendation of: servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern I then try http://localhost:8080/phpserver/servlet/helloworld but I still get a 404 error. Does

where and how to set session time out to 1 hr?

2002-11-07 Thread Mark Goking
where and how to set session time out to 1 hr? im using jboss-tomcat combo mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002 -- To unsubscribe, e-mail:

Re: tomcat configuration for a newbie

2002-11-07 Thread Kwok Peng Tuck
Make sure your servlets are either in /WEB-INF/lib (if in a jar ) or /WEB-INF/classes/ (if as .class) ben f wrote: Hari Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed this now to your recommendation of: servlet-namehelloworld/servlet-name

Authentication per-container level possible ?

2002-11-07 Thread Iris
Hello, Is it possible to configure Tomcat, that it must check an authentication for all the webapps hosted within the container ? I mean tell Tomcat to send an authentication popup when someone goes to the http://localhost:8080/. whithout configure each webapp hosted in. Iris -- To

testing tomcat 5.0

2002-11-07 Thread yves lambert
Hello the list... Testing 5.0 I can't access to http://localhost:8080/jsp-examples/ 404 error in any version i have downloaded. tomcat 5.0 seems faster than 4 release, but without testing the JSP example it's hard to make comparison. i tried to find what was wrong bit didn't get any idea. i

problems with load balancing using mod_jk2 in Apache 2

2002-11-07 Thread Khamsouk Souvanlasy
Hi, I have been having trouble trying to get load balancing working for Apache 2 and Tomcat (JBoss3.0.3 + Tomcat 4.1.12) using mod_jk2. I have managed to connect them using a 1-1 configuration thanks to Robert Sowder's document, however have been unable to load balance. Here is my

Re: IRIX 6.5 JK Binary Available

2002-11-07 Thread Holger Ebert
Hello John, this is a dead link, maybe you can have a look Thanks to Manuel González Castro, a JK (mod_jk) binary for IRIX 6.5 has been posted. It's for Apache 2.0.43. http://www.johnturner.com/howto - John -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For

Re: testing tomcat 5.0

2002-11-07 Thread Remy Maucherat
yves lambert wrote: Hello the list... Testing 5.0 I can't access to http://localhost:8080/jsp-examples/ 404 error in any version i have downloaded. tomcat 5.0 seems faster than 4 release, but without testing the JSP example it's hard to make comparison. i tried to find what was wrong bit didn't

RE: IRIX 6.5 JK Binary Available

2002-11-07 Thread Ralph Einfeldt
For me the link works... -Original Message- From: Holger Ebert [mailto:holger;media-engineering.de] Sent: Thursday, November 07, 2002 11:09 AM To: Tomcat Users List Subject: Re: IRIX 6.5 JK Binary Available this is a dead link, maybe you can have a look

Re: tomcat configuration for a newbie

2002-11-07 Thread ben f
Kwok Thanks for the reply. I've made some progress since I mailed. I put the servlet HelloWorldExample.class in webapps\phpserver\WEB-INF\classes then opened up http://localhost:8080/phpserver/helloworld (using the web.xml described in my last post). I got the following:

Re: HttpServletRequest.isSecure() fails with Coyote AJP 1.3Connector

2002-11-07 Thread Steinar Bang
Bill Barker [EMAIL PROTECTED]: On Fri, 1 Nov 2002, Steinar Bang wrote: If I use the old AJP 1.3 connector, I can use the HttpServletRequest.isSecure() function to determine if the client used an HTTPS connection to the apache server. With the Coyote AJP 1.3 connector this information is

RE: mod_jk.conf - JkHTTPSIndicator; how to get these environmentvariablesin tomcat ?

2002-11-07 Thread Henri Gomez
You don't have to set the JKSSL vars when using a mod_jk.so with an Apache 1.3 + mod_ssl (or Apache 2.0) since these vars are set by default to mod_ssl internal env vars. JkExtractSSL On JkHTTPSIndicator HTTPS JkSESSIONIndicator SSL_SESSION_ID JkCIPHERIndicator SSL_CIPHER JkCERTSIndicator

question on multi -user performance

2002-11-07 Thread Tak
I'm performing a testing on the performance of tomcat 4.0.4 against the number of concurrent user. So I start from 1 request to call a servlet to do a certain task and record the time elapsed. Then I start 2 requests at the same time to call the same servlet and do the same task again and record

Re: testing tomcat 5.0

2002-11-07 Thread yves lambert
The examples are fixed in the CVS version (which is extermely easy to build). http://jakarta.apache.org/tomcat/building.html on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/BUILDING.txt the build process is somewhat different. which one is the most general? Thak you Remy. i should read :-)

RE: mod_jk build problems

2002-11-07 Thread Henri Gomez
-Original Message- From: Veniamin Fichin [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 01, 2002 10:27 AM To: Tomcat Users List Subject: Re: mod_jk build problems Madere, Colin wrote: The docs at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html dont' quite seem

Re: testing tomcat 5.0

2002-11-07 Thread Remy Maucherat
yves lambert wrote: The examples are fixed in the CVS version (which is extermely easy to build). http://jakarta.apache.org/tomcat/building.html on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/BUILDING.txt the build process is somewhat different. which one is the most general? Thak you

Setting up aliases (Maybe?)

2002-11-07 Thread Richard Johnstone
Hi I have managed to get things pretty much set up except for one thing. I have the DocumentRoot in my apache conf to webapps\myweb\html This is fine and runs my html pages. But when I try and access my servlets (in webapps\myweb\WEB-INF\classes\myclasses) I get bumped off. Looking at the logs it

jakarta-tomcat-4.1.12 doesnt start

2002-11-07 Thread akheel hasan
Hello all, I'm using jakarta-tomcat-4.1.12 version for linux OS, after extracting the file if i try to start it the following error occurs, can anyone plz suggest me the reason solution for this problem. Note:I've changed port 8080 to 8099

iis_redirect.log

2002-11-07 Thread Varley, Roger
Hi I'm using Tomcat 3.2 as a servlet engine for Microsofts IIS. Is there anyway that I can either force the iis_redirect.log to rotate on a regular basis, or stop/reduce the volume of data that's getting spat into the log file. Regards Roger -- To unsubscribe, e-mail:

Re: tomcat configuration for a newbie

2002-11-07 Thread karthik_s
In order to access your helloworld servlet using the url pattern: try with the following request: http://localhost:8080/phpserver/helloworld with regards, karthik. - Original Message - From: ben f [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 07,

Running Tomcat 4.1.12 as Win2K Service with Security Manager enabled...

2002-11-07 Thread Volker Schmelich
Hi, I have installed Tomcat 4.1.12 under Windows 2000 as service and it runs fine. Now I want to enable the Security Manager. This works when I start the server with startup.bat -security. But I want to start it as service. Does anyone has ideas how to do it? I tried the following things without

Re: IRIX 6.5 JK Binary Available

2002-11-07 Thread Holger Ebert
sorry, a misunderstanding: the link for the new irix binary didn't work http://www.johnturner.com/howto/modjk/mod_jk-irix-6.5.so For me the link works... -Original Message- From: Holger Ebert [mailto:holger;media-engineering.de] Sent: Thursday, November 07, 2002 11:09 AM To: Tomcat

RE: JkMount only *jsp but include index.jsp?

2002-11-07 Thread Turner, John
I'm definitely not a person known for elegance. :) John -Original Message- From: Oliver Meyn [mailto:oliver;mineallmeyn.com] Sent: Wednesday, November 06, 2002 10:08 PM To: Tomcat Users List Subject: RE: JkMount only *jsp but include index.jsp? Thanks, John. Turns out I had

RE: tomcat configuration for a newbie

2002-11-07 Thread Turner, John
Have you checked the docs? How to install servlets is covered there. Might save you some time vs. trial-and-error. There is the Application Develpoer's Guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html ... and the ClassLoader HOWTO:

RE: Access log - single file, or multi day files

2002-11-07 Thread Turner, John
It's not the default. Some people need to use Apache for various reasons, and setting up the Apache connectors can be problematic, so that generates a lot of traffic. Tomcat stand-alone is just fine if it suits your purposes and your ISP/sys-admin is cognizant of the issues with running a

RE: IRIX 6.5 JK Binary Available

2002-11-07 Thread Turner, John
Definitely not dead. John -Original Message- From: Holger Ebert [mailto:holger;media-engineering.de] Sent: Thursday, November 07, 2002 5:09 AM To: Tomcat Users List Subject: Re: IRIX 6.5 JK Binary Available Hello John, this is a dead link, maybe you can have a look

RE: IRIX 6.5 JK Binary Available

2002-11-07 Thread Turner, John
Sorry about that. Damn Windows and it's case-insensitivity. It works now, I apologize for the confusion. John -Original Message- From: Holger Ebert [mailto:holger;media-engineering.de] Sent: Thursday, November 07, 2002 7:49 AM To: Tomcat Users List Subject: Re: IRIX 6.5 JK

RE: WEB.XML and TOMCAT v.4.0.6 reading error

2002-11-07 Thread Cox, Charlie
try adding a leading / to your filter-mapping: url-pattern/ca/servlet/*/url-pattern Charlie -Original Message- From: jjnfg [mailto:jjnfg;yahoo.com] Sent: Wednesday, November 06, 2002 8:42 PM To: [EMAIL PROTECTED] Subject: WEB.XML and TOMCAT v.4.0.6 reading error

REPOST: tag errors

2002-11-07 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

a simple way? Interface?

2002-11-07 Thread kathee
Is there a simple way to have tomcat running twice on one system with multiple NICs and have each one bind to a different nic?? thanks Kat -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: compiling mod_jk under AIX (or any other OS it wasn't develop ed on)

2002-11-07 Thread Turner, John
I have had no problems on Red Hat 7.2 7.3, and I got an email from someone who didn't have any major problems on Red Hat 8. Likewise SuSe and Mandrake. I had no problems whatsoever the other day with JK on Solaris 8, but had problems with JK2 on Solaris 8. I still need to search bugzilla to

RE: installation problems with Tomcat 4.1, mod_jk2 connectors

2002-11-07 Thread Turner, John
Nope. From my 4.1.12 binary install package: !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443

RE: a simple way? Interface?

2002-11-07 Thread Turner, John
You will need two separate server.xml files, two separate work areas, and you will need to understand how to deal with docBase appBase in server.xml, and CATALINA_BASE in addition to CATALINA_HOME. John -Original Message- From: kathee [mailto:kat;ezunx.com] Sent: Thursday, November

RE: where and how to set session time out to 1 hr?

2002-11-07 Thread Turner, John
The documentation is your friend. If the documentation fails you, Google is always there for you. web-app display-namemyApp/display-name servlet servlet-nameindex/servlet-name display-nameindex/display-name jsp-file/index.jsp/jsp-file /servlet session-config

RE: mapping URLs

2002-11-07 Thread Panos Konstantinidis
Just tried it but it still does not work. Maybe there is no way I can do it with import files. I will look again though. Thank you for your time and effort everybody. --- Donie Kelly [EMAIL PROTECTED] wrote: Try putting http: in front of the path... Donie -Original Message-

RE: USing JAVA_OPTS -Xmx

2002-11-07 Thread Shapira, Yoav
Howdy, It is so difficult to scale this. using vmstat, I can see my free memory shrinking and shrinking . It is really a case of suck and see. The free memory will keep going down until the VM feels it has to garbage-collect. You can tune this behavior using other non-standard options, for

RE: compiling mod_jk under AIX (or any other OS it wasn't develop ed on)

2002-11-07 Thread Kajen, Michael
Hi, Some months ago, I built mod_jk for HPUX and AIX with some difficulty. (The Solaris build was postponed indefinitely.) I read all the posted documentation, and nothing compiled 'out of the box'. I found that many people posted identical errors that I encountered. The basic problem, as I see

worker2.properties

2002-11-07 Thread Thébault, Médérick
Hello, In setting up Tomcat 4.1.12 and Apache 2.0.42, I did the following for worker2.properties: [shm] file=c:/shm.file size=1048576 [channel.socket:myhost1.com:8009] port=8009 host=127.0.0.1 [channel.socket:myhost2.com:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:myhost1:8009]

RE: question on multi -user performance

2002-11-07 Thread Ralph Einfeldt
Whether multithreaded will speed this up, depends on the fact where the time is spent. If 90% of the time is spent in the cpu then this will not help much as long as you don't put additional cpu's in the server. Optimisation without profiling is worthless. If you don't know where the time is

apache/tomcat performance

2002-11-07 Thread Jan Agermose
I guess the reason to have apache in front of tomcat is that apache serves html and images faster than tomcat? But what is the perfomance cost of having apache commmunicate with tomcat using JK? Has anyone ever testet this? I would think that most browsers cache html and images and therefor the

RE: compiling mod_jk under AIX (or any other OS it wasn't develop ed on)

2002-11-07 Thread Brzezinski, Paul J
: -Original Message- : From: Turner, John [mailto:JTurner;AAS.com] : Sent: Thursday, November 07, 2002 8:40 AM : To: 'Tomcat Users List' : Subject: RE: compiling mod_jk under AIX (or any other OS it : wasn't develop ed on) : : : : I have had no problems on Red Hat 7.2 7.3, and I

RE: compiling mod_jk under AIX (or any other OS it wasn't develop ed on)

2002-11-07 Thread Turner, John
Thanks! :) John -Original Message- From: Brzezinski, Paul J [mailto:paul.brzezinski;eds.com] Sent: Thursday, November 07, 2002 9:52 AM To: Tomcat Users List Subject: RE: compiling mod_jk under AIX (or any other OS it wasn't develop ed on) : -Original Message- :

Re: MBeans exception and mod_jk

2002-11-07 Thread Mark Diana
No, the MBeans exception is still there, I just commented out that part of the server.xml. I don't really know enough about what it does to know if I should try to fix it or not. Any thoughts? Take care, Mark On Wednesday, November 6, 2002, at 03:08 PM, Turner, John wrote: No problem, glad

RE: apache/tomcat performance

2002-11-07 Thread Turner, John
There are many, many, many reasons why you would want to use Apache in addition to Tomcat. Serving static content is just one of them. Some other reasons include: - you don't want to run Tomcat as root (it has to run as root to run on port 80) - you need CGI - you need SSI - you need any one

RE: MBeans exception and mod_jk

2002-11-07 Thread Turner, John
It has come up before on the list, recently. I don't remember how to fix it, though. John -Original Message- From: Mark Diana [mailto:mldiana;vcu.edu] Sent: Thursday, November 07, 2002 9:57 AM To: Tomcat Users List Subject: Re: MBeans exception and mod_jk No, the MBeans

Avoiding YYYY-MM-DD in log file names (tomcat 4.1.12)

2002-11-07 Thread Steinar Bang
Is it possible to avoid the -MM-DD in the log file names of tomcat 4.1.12? I would prefer to just let linux logrotate handle the rotation of log files. According to URL:http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/logger.html there is no possibility to configure it away, but

Tomcat-Apache SSL

2002-11-07 Thread Richard Johnstone
After reading the installing SSL doc for tomcat it says you don't need it on Tomcat, just have it on apache and you are ok. I have an apache SSL port (443) and this is working ok. I have my tomcat application on 8080, also works ok. What I don't understand is the link between these 2. Do I have to

RE: Tomcat-Apache SSL

2002-11-07 Thread Turner, John
Nope. The communication between Apache and Tomcat happens on a connector, like JK or JK2. The default JK port is 8009. The communication between Apache and Tomcat via JK or JK2 is not encrypted. John -Original Message- From: Richard Johnstone

Re: apache/tomcat performance

2002-11-07 Thread Jan Agermose
Well, yes, of cause, if you need apache, you need apache... I was of couse only thinking about the case where you could manage without apache? Would I gain anything when looking only at performance? One related (?) question. One use of appache is to do loadbalancing but requesting from different

RE: apache/tomcat performance

2002-11-07 Thread Turner, John
I think the general consensus is that you'll be just fine with Tomcat stand-alone if you don't need features that are Apache's strengths. John -Original Message- From: Jan Agermose [mailto:jan;agermose.dk] Sent: Thursday, November 07, 2002 10:13 AM To: Tomcat Users List Subject:

Re: USing JAVA_OPTS -Xmx :-)

2002-11-07 Thread achana
Shapira, Yoav wrote: Thanks -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: compiling mod_jk under AIX (or any other OS it wasn't developed on)

2002-11-07 Thread Henri Gomez
Fix (BSD_COMP) commited JK2 2.0.2 will include it Thanks :) -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: [Win2000pro] mod_jk2 crash

2002-11-07 Thread M. Hockings
For me that meant that I had some bad stuff in one of the config files (forget which it was now). Review the changes that you have in your server.xml, worker2.properties http.conf wrt to tomcat. Maybe back out your changes and put them in a piece at a time to determine what the culprit is.

testing tomcat 5.0

2002-11-07 Thread Yves Lambert
Hello the list... Testing 5.0 I can't access to http://localhost:8080/jsp-examples/ 404 error in any version i have downloaded. tomcat 5.0 seems faster than 4 release, but without testing the JSP example it's hard to make comparison. i tried to find what was wrong bit didn't get any idea. i

RE: How MySQL Works?

2002-11-07 Thread Andy Eastham
Han Lin, I don't know the answer, but if I wanted to find out, I'd download the source code and take a look. That's why we use open source isn't it? Andy -Original Message- From: Unidux (S) - Han Lin [mailto:hanlim;unidux.com.sg] Sent: 07 November 2002 03:31 To: [EMAIL PROTECTED]

running an applet using tomcat

2002-11-07 Thread Eds RR Mail
I am a relatively new Tomcat user. I am having trouble getting an applet to run because I don't seem to be getting the files in the right place or path references correct. Here is the html: html head titletest java map Applet/title /head body Java Map Applet : P APPLET

Re: Tomcat-Apache SSL

2002-11-07 Thread Milt Epstein
On Thu, 7 Nov 2002, Richard Johnstone wrote: After reading the installing SSL doc for tomcat it says you don't need it on Tomcat, just have it on apache and you are ok. I have an apache SSL port (443) and this is working ok. I have my tomcat application on 8080, also works ok. What I don't

RE: MBeans exception and mod_jk

2002-11-07 Thread Jeff Tulley
The AJP13 connector was never JMX-enabled. I have a patch for the XML file that will do so, if anybody wants it, but the AJP13 connector is deprecated, so the committers weren't really interested in the patch. Also, the Coyote JK2 handler works well with mod_jk, so it is reccommended that you

Re: running an applet using tomcat

2002-11-07 Thread ContestAdmin
Eds RR Mail wrote: I am a relatively new Tomcat user. I am having trouble getting an applet to run because I don't seem to be getting the files in the right place or path references correct. Here is the html: html head titletest java map Applet/title /head body Java Map Applet : P

RE: mod_jk build problems

2002-11-07 Thread Madere, Colin
There is something wrong with the build system (at least for solaris) as I had to go into the apache-2.0 directory and manually do a make mod_jk.so and then it built it. Now looking it is also in the .libs dir, but with the same timestamp and size as the .so NOT in the .libs dir. shrug As for

Re: apache/tomcat performance

2002-11-07 Thread Milt Epstein
On Thu, 7 Nov 2002, Jan Agermose wrote: Well, yes, of cause, if you need apache, you need apache... I was of couse only thinking about the case where you could manage without apache? Would I gain anything when looking only at performance? One related (?) question. One use of appache is to do

RE: mod_jk build problems

2002-11-07 Thread Henri Gomez
There is something wrong with the build system (at least for solaris) as I had to go into the apache-2.0 directory and manually do a make mod_jk.so and then it built it. Now looking it is also in the .libs dir, but with the same timestamp and size as the .so NOT in the .libs dir. shrug As

IllegalStateException.... Current state = FLUSHED, new state =

2002-11-07 Thread conrad . crampton
Hi, I have this peculiar problem on my production version of Tomcat 3.1 and sadly I can't replicate this on my test server ;-( I keep getting this error 2002-11-06 14:35:45 - Ctx( /transformer ): IllegalStateException in: R( /transformer + /servlet/transformer + null) Current state =

Startup.sh problems with JAVA_OPTS = Xmx ?

2002-11-07 Thread achana
Hi. I had some problems with insufficient memory and added the following line to catalina.sh (somewhere after the comment# --- execute and between 2 blocks of if-fi): JAVA_OPTS=-Xmx128m When I startup with startup.sh I get the following errors ... If I don't use JAVA_OPTS, no errors on startup,

Re: Access log - single file, or multi day files

2002-11-07 Thread Ben Ricker
How about running a merge? Someone on the Apache list mentioned that Multisort http://www.xach.com/multisort/ it's a nice tool for merging logs.Would help in archiving also: merge, then compress, then backup. Ben Ricker Wellinx.com On Thu, 2002-11-07 at 07:13, neal wrote: My ISP admin is

RE: Why does Tomcat not set HTTP_Referer?

2002-11-07 Thread Shapira, Yoav
Hi, You're wrong ;) From RFC 2616, the HTTP specification, section 14.36: 14.36 Referer The Referer[sic] request-header field allows the client to specify, for the server's benefit snip Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED]

RE: mod_jk build problems

2002-11-07 Thread Brzezinski, Paul J
-- mailto:Paul.Brzezinski;EDS.com Enterprise Distributed Capabilities EDS Corporation 248-265-8283 : -Original Message- : From: Turner, John [mailto:JTurner;AAS.com] : Sent: Thursday, November 07, 2002 11:24 AM : To: 'Tomcat Users List' : Subject: RE: mod_jk build problems : : : :

RE: mod_jk build problems

2002-11-07 Thread Madere, Colin
Damn I hate using Outlook (my apologies for formatting stupidity as I have no choice but to use Outlook at work). ild problems Madere, Colin wrote: The docs at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html dont' quite seem to cover everything (you know what I

RE: mod_jk build problems

2002-11-07 Thread Turner, John
Off the top of my head, you might want to step down your GNU make. I had problems on Solaris 8 with 3.80. I'm currently using the 2.95.3 version. John -Original Message- From: Madere, Colin [mailto:colin.madere;ieminc.com] Sent: Thursday, November 07, 2002 11:53 AM To: 'Tomcat

RE: mod_jk build problems

2002-11-07 Thread Madere, Colin
I will have to try again from scratch to see if this was the issue. I must have missed something on sunfreeware since I didn't see all those build tools listed when I searched so I went to gnu.org for them. I have also incrementally installed build tools as I came across problems that asked for

Can I use Tomcat with a JRE ?

2002-11-07 Thread Ashwin Desai
Hi, In my application, I use pre-compiled jsps and package the webapplication as a WAR file. I would like to use JRE 1.3.1 with Tomcat 4.0. Since I am using the JRE, there will be no jar executable available. Will Tomcat be able to extract the WAR file without the 'jar' executable ? Thanks a

RE: mod_jk build problems

2002-11-07 Thread Turner, John
Well, you're on x86, there's a very good chance that sunfreeware.com doesn't have all of the packages on x86 that they do for SPARC, so you might be stuck with using tools direct from GNU. I don't know how the Solaris linker works, I have to admit I was crossing my fingers and praying to various

RE: mod_jk build problems

2002-11-07 Thread Madere, Colin
Critisize all you like! My situation is this: Customer requires Solaris 7 (and will likely jump to 9 when it's out). I only have an x86 box where I have root to muck around with all this and get it working. Dev and Prototype box will be SPARC. Anyway, I've got JK built and working, now I need

Re: worker2.properties

2002-11-07 Thread Robert L Sowders
What you think your seeing vs what is really happening in a set up like this is tough to see. In the default section of the httpd.conf at the Listener line do you have an IP address with a port 80 are do you just have a port 80. If the latter is true then apache will gladly answer every request

RE: mod_jk build problems

2002-11-07 Thread Madere, Colin
Paul, FYI, the Sun compiler was installed and the Sys Admin alerted me to the Sun doesn't ship the OS with a compiler anymore situation. :) -Original Message- From: Brzezinski, Paul J [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 07, 2002 10:50 AM To: Tomcat Users List Subject:

Re: Tomcat-Apache SSL - Extension Question

2002-11-07 Thread Chris Parker
[reply] You need to understand the difference between running Tomcat standalone and integrated with a web server (such as Apache). .. [snip] [/reply] Knowing all this, is there a way for a servlet to reliably know whether Apache is currently replying to http or https? The Apache connector

RE: Tomcat-Apache SSL - Extension Question

2002-11-07 Thread Turner, John
This came up a week or so ago. Check here for a very comprehensive reply from Milt Epstein. In short, isSecure is exactly the method you should use, and it does know if the original request is SSL or not. If it is always returning 'false', something else is going on.

RE: apache/tomcat performance

2002-11-07 Thread neal
This is a common topic I suppose ... whether to use Tomcat as standalone or not. I have seen the argument that Apache is a lot faster for static content pop up a few times ... but I don't really understand why that is. Why is Apache so much faster with static content? Does is have a better

RE: mod_jk build problems

2002-11-07 Thread Brzezinski, Paul J
-- mailto:Paul.Brzezinski;EDS.com Enterprise Distributed Capabilities EDS Corporation 248-265-8283 : -Original Message- : From: Madere, Colin [mailto:colin.madere;ieminc.com] : Sent: Thursday, November 07, 2002 12:19 PM : To: 'Tomcat Users List' : Subject: RE: mod_jk build problems :

Re: Tomcat-Apache SSL - Extension Question

2002-11-07 Thread Chris Parker
This came up a week or so ago. Check here for a very comprehensive reply from Milt Epstein. In short, isSecure is exactly the method you should use, and it does know if the original request is SSL or not. If it is always returning 'false', something else is going on.

RE: Why does Tomcat not set HTTP_Referer?

2002-11-07 Thread JStanczak
Yes, your correct. It does set it. But if you have a popup window then it will not be set. Thanks for the info. I just thought it was the whole header thing because I've never had to mess with this before. I've used the refer system for servlets for login stuff, but never really looked at that

Re: Tomcat-Apache SSL - Extension Question

2002-11-07 Thread Milt Epstein
On Thu, 7 Nov 2002, Chris Parker wrote: This came up a week or so ago. Check here for a very comprehensive reply from Milt Epstein. In short, isSecure is exactly the method you should use, and it does know if the original request is SSL or not. If it is always returning 'false',

Re: apache/tomcat performance

2002-11-07 Thread Craig R. McClanahan
On Thu, 7 Nov 2002, Jan Agermose wrote: Date: Thu, 7 Nov 2002 15:49:32 +0100 From: Jan Agermose [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users tomcat [EMAIL PROTECTED] Subject: apache/tomcat performance I guess the reason to have apache in front of

init method not called on Servlet load

2002-11-07 Thread pkrishnaswami
I am having a strange problem in Tomcat 4.1. When one of my servlets loads\reloads, I expect the init() method to be called. For some reason, this is not happening. I put a print statement in the init method and don't see it being printed in the Server console. Has anybody encountered this

RE: apache/tomcat performance

2002-11-07 Thread Milt Epstein
On Wed, 6 Nov 2002, neal wrote: This is a common topic I suppose ... whether to use Tomcat as standalone or not. I have seen the argument that Apache is a lot faster for static content pop up a few times ... but I don't really understand why that is. Why is Apache so much faster with static

Re: Can I use Tomcat with a JRE ?

2002-11-07 Thread Craig R. McClanahan
On Thu, 7 Nov 2002, Ashwin Desai wrote: Date: Thu, 7 Nov 2002 09:06:03 -0800 (PST) From: Ashwin Desai [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Can I use Tomcat with a JRE ? Hi, In my application, I use pre-compiled jsps and package

Digest authentication with JDBCRealm: doesn't seems to work

2002-11-07 Thread Iran Marcius
Hi. I'm trying to use digest authentication with JDBCRealm and SHA algorithm, but it doesn't seems to work. Here is my context: Context docBase=permission path=/permission reloadable=true privileged=true ResourceLink name=jdbc/global global=jdbc/global type=javax.sql.DataSource/

Servlet action is currently unavailable

2002-11-07 Thread Nick Gilliam
I have just install Tomcat 4.1.12 and receive an error when attempting to run any of the actions on the left side of the Admin page. I followed the instructions. The examples and the manager app work. Any help is greatly appreciated. Here is the error: Servlet action is currently unavailable

Re: Tomcat-Apache SSL - Extension Question

2002-11-07 Thread Chris Parker
Just a couple of things to add: 1. I suspect, but don't know for sure, that isSecure() (and getScheme()) should work correctly even with forwards/redirects as well. Of course, if you found that isSecure() doesn't work with basic https, as apparently is the case above, the problem

Resources configuration problem

2002-11-07 Thread Michael Roberts
Hello. I am using Tomcat 4.1.12 under Solaris 7. I need to be able to server static files (PDFs, GIFs) from across a symbolic link. I have a context defined similar to this: Context path=/abc docBase=/usr/local/abc Resources allowLinking=true/ /Context There is a valid webapp at

Tomcat and symbolic links

2002-11-07 Thread Mauro Daniel Ardolino
Hi all! I have a question about Tomcat and linux symbolic links. I'm working with cocoon jars and they are too big, so I put them on a directory and then in the WEB-INF/lib directory I made a set of links like this: e.g.: The .jar files are in /usr/java/morelibs/cocoon/. My application is in

RE: apache/tomcat performance

2002-11-07 Thread neal
Cool thanks. Good info to know. I agree - fast enough is good enough for me right now. And, in fact I chose to go with Tomcat standalone on the project I am just about to launch. Nonetheless, I just wanted to know the basis for the argument to go the Apache route. Thanks for the info. Neal

Using -Xmx128m cause BindException Error ???

2002-11-07 Thread achana
Hi all. I am trying to use JAVA_OPTS=-Xmx128m and it causes these erros on starting Tomcat. If I remove that line, Tomcat starts without errors again. Can someone tell me where I might have erred please ? Starting service Default Tomcat-Apache-mod_jk Apache Tomcat/4.0.4 java.net.BindException:

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

2002-11-07 Thread Koes, Derrick
Change login-config auth-methodDIGEST/auth-method /login-config to login-config auth-methodBASIC/auth-method /login-config -Original Message- From: Iran Marcius [mailto:iran;isic.com.br] Sent: Thursday, November 07, 2002 1:29 PM To: [EMAIL PROTECTED] Subject: Digest

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

2002-11-07 Thread Koes, Derrick
-Original Message- From: Koes, Derrick Sent: Tuesday, November 05, 2002 6:43 PM To: 'Tomcat Users List' Subject: RE: digest authentication or auth-methodDIGEST/auth-method I think what is really happening is that the realm is handling the digesting to do the password match. Setting

RE: Using -Xmx128m cause BindException Error ???

2002-11-07 Thread Shapira, Yoav
Howdy, Your error is in putting JAVA_OPTS in the wrong place. They shouldn't be inside any of the commands in Catalina.sh, e.g. start / run / stop. Post your whole Catalina.sh... Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED]

Shutting down and restarting Tomcat

2002-11-07 Thread Peter Lee
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 doing this? Thanks -- To unsubscribe, e-mail:

Does tomcat support name based virtual hosting?

2002-11-07 Thread GreatOne
Does tomcat support name based virtual hosting? -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: Startup.sh problems with JAVA_OPTS = Xmx ?

2002-11-07 Thread Carlos Rodríguez Colino
Hi. That's because the port Tomcat is trying to open is already occupied by your previous Tomcat starting. Look at: $ netstat -na | grep port where port is the one set in server.xml to http connections. Repeat this for the SSL port (if you have

RE: Does tomcat support name based virtual hosting?

2002-11-07 Thread Reynir Hübner
Yes Just add a host with the DNS name you need, in server.xml. You can also have different aliases for that host. hope it helps -reynir -Original Message- From: GreatOne [mailto:dave-;pacbell.net] Sent: 7. nóvember 2002 19:09 To: tomcat-user Subject: Does tomcat support name

  1   2   >