RE: using SSL on standalone Tomcat - Urgent !

2000-11-17 Thread Lacerda, Wellington (AFIS)
Craig, Can you send me a piece of example of the configuration ? I can't see what I'm doing wrong. I've already tested both suggestions and I didn't get that message back in any case. Thanks, Wellington -Original Message- From: Craig R. McClanahan

HTTP PUT

2000-11-17 Thread arne . haarseth
Hi! Does Tomcat support HTTP PUT? How? Arne

RE: monitoring memory in Tomcat

2000-11-17 Thread Christian Mallwitz
Hi, 1) How can I encourage or unfetter Tomcat so that it will allocate itself more memory for my Java process (what is the restriction and where is it handled). You can increase the heap size of the VM running tomcat. This can be done by adding the appropriated command line option to

RE: Multiple Tomcats with SSL?

2000-11-17 Thread Stefán F. Stefánsson
I don't think you can do that with Tomcat 3.1 (running standalone it doesn't support SSL and I haven't tried connecting it to an SSL Apache). So I think your best bet would be to get Tomcat 3.2b7. I know... it's still beta but everyone around here seem to be saying that it's much better than

Re: servlets problem is still there

2000-11-17 Thread miki
Hi, I've got the same problem as yours. So if you get the solution can you teach me how to make it work. Many thanks in advance. Thanks, Miki - Original Message - From: Rasika To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 2:41 PM Subject: servlets

tomcat virtual hosts configuration

2000-11-17 Thread Ruberl Michele
Hi everybody, I'm on my way to configuring Tomcat on a RedHat7-Apache1.3.14 machine. I've got 2 Apache Virtual hosts and my httpd.conf file seems like the following: - User bla Group bla ServerRoot /bla Listen 1.2.3.4:80 Listen 1.2.3.5:80 DirectoryIndex index.html index.htm index.jsp

more mod_jserv.so goodness

2000-11-17 Thread Danijel Pajur
I have a problem getting apache + tomcat to work.. I've tried using mod_jserv.so from the binary build but then my apache won't start reporting error: Loaded DSO libexec/mod_jserv.so uses plain Apa che 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) So I've

JSP and automatic session id URL rewriting

2000-11-17 Thread Christian Mallwitz
Hi, Is it possible to - force all JSP generated URLS to include a session id without having to wrap them in encodeURL() - disable generatation of session cookies Thanks for your help Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineerphone: +49 3641

redirection

2000-11-17 Thread mike niemaz
Hi, What's the best way to redirect a web page content (String) into a jsp file? I suppose I could use the getAttribute way include the result in a jsp squeleton but isn't there any better way to do that? Thanx, --mike nb: sorry for the off-topic ;-(

RE: jsdk2.0

2000-11-17 Thread Burgess, Jay
Title: jsdk2.0 It's at: http://www.javasoft.com/products/servlet/archive.html Jay -Original Message-From: Borgenstrand, Magnus [mailto:[EMAIL PROTECTED]]Sent: Friday, November 17, 2000 6:22 AMTo: '[EMAIL PROTECTED]'Subject: jsdk2.0 Hi From where can I get JSDK2.0???

AW: JSP and automatic session id URL rewriting

2000-11-17 Thread Ralph Einfeldt
Even if it is possible, but I wouldn't do it. You would have to parse your output after it is generated and before you really send it to the requesting client. The parsing has to be quite flexible to recognise links to external site as it is not a good practice to include the session id in links

Re: mod_jserv.so problem

2000-11-17 Thread Michael J. Suzio
I believe the two files uncompress into two different directories when unpacked. Even if you expand them to the same tree, there should not be any conflicts. -- Michael J. Suzio Lead Software Engineer -- ISS Southfield [EMAIL PROTECTED]

Re: System properties

2000-11-17 Thread Rachel Greenham
On Friday 17 November 2000 14:27, you wrote: Hi, I was wondering if it is possible to pass properties to Tomcat. I have some classes which read various system properties in their static initializers, and this works fine when using these classes on the command line using "java

Re: HTTP PUT

2000-11-17 Thread Charles Forsythe
[EMAIL PROTECTED] wrote: Does Tomcat support HTTP PUT? Yes. How? The same way all Servlet containers support HTTP PUT. Try reading a book on Servlet programming. I recommed Jason Hunter's "Java Servlet Programming" from O'Reilly. -- Charles

RE: System properties

2000-11-17 Thread Stuart Farnan
Rachel, Thanks for that, about the static initializers... The classes that use them are not servlets, merely utility classes are used in the web application and also elsewhere. For instance, a class, or series of classes that deal with database connection pooling, could conceiveably have a

install problem - where is mod_jserv

2000-11-17 Thread Steve Elliott
I've downloaded tomcat. I've got to the bit in the install guide about mod_jserv. Instructions say to find it in jakarta-tomcat/src/native/apache/jserv Did I do something silly? I can't find that directory in either v4, v3.2 or v3.1 downloads! Steve Elliott

Tomcat + JNI

2000-11-17 Thread Michael Cohen (ETL)
Hi, I have just installed Apache1.3.14 + modssl + tomcat 3.2b5 on Solaris 2.6 and am trying to call a native method from my servlet (this worked fine under JavaWebServer2.0). The shared library is definitely being loaded (ie no exception is thrown when I tried to load it separately, the lib

Re: install problem - where is mod_jserv

2000-11-17 Thread Michael J. Suzio
This is a FAQ. You must download the *src* package to get these classes! Just download the binary, use that to install tomcat, then download the src package and get the jserv or jk adapters from there... On a side note, I installed JRun yesterday to benchmark some things against Tomcat (I need

Re: NoClassDefFoundError in Tomcat installation

2000-11-17 Thread Rama Venkata Kunapuli
Hi: I got similar error while trying to execute build.bat file to compile my servlets. I have solved is by making sure that the following are in the CLASSPATH. jdk's tools.jar -- (needed if you running ant) jaxp.jar -- (needed if you are running ant) parser.jar -- server.jar -- servlet.jar

RE: System properties

2000-11-17 Thread Stuart Farnan
OK marvellous, I get all that, TOMCAT_OPTS is not my first choice if it is just basically the command line. On the subject of using a startup servlet to do the work of reading the info and passing it on to the utility classes that need it, this is an option, but would mean writing a servlet for

ROOT-Servlets not found

2000-11-17 Thread Maik Wiege
Hello, this is the problem I have: I'm using Tomcat with Apache. All my static-files I put into the path TOMCAT_HOME\webapps\ROOT. The Servlets into this web-inf\classes. The static files should be served by apache. Into the httpd.conf I wrote: ... DocumentRoot

How do I turn off generation of Directory Indexes?

2000-11-17 Thread ChazinD
Is there a way in tomcat to turn off the automated generation of directory indexes? I removed the "Indexes" option from my directory entries in web.xml but this seems to have no effect. -- David Chazin

Session handling

2000-11-17 Thread Drasko Kokic
Hello again just trying to make sure that I get the most acurate response ... hence the repost :-) I would need to find out if Tomcat 3.1 have any known bugs in session management area. The problem we are facing at the moment is that our application is some times presenting information

Install apache1.3.12 tomcat3.1 cocoon1.7 and php4.0.1pl2

2000-11-17 Thread Stamaths
I have tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2 in a Solaris2.8. Those who have tried to install cocoon in Solaris must know that it's not easy at all, but at last guided by the install.case.solaris in the docs/ directory of cocoon1.8 I made it.What I can't make work is

installing apache1.3.12,tomcat3.1,cocoon1.7 and php4.0.1pl2

2000-11-17 Thread Stamaths Karvounarakhs
I have tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2 in a Solaris2.8.Those who have tried to install cocoon in Solaris must know that it's not easy at all, but at last guided by the install.case.solaris in the docs/ directory of cocoon1.8 I made it.What I can't make work is

RE: System properties

2000-11-17 Thread Stuart Farnan
John Thanks for that, will look into further and let you know. Stuart -Original Message- From: John Ellis [mailto:[EMAIL PROTECTED]] Sent: 17 November 2000 17:44 To: [EMAIL PROTECTED] Subject: Re: System properties According to the dtd: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd

Install apache. tomcat, cocoon, php

2000-11-17 Thread Stamaths
Ihave tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2 in a Solaris2.8. Those who have tried to install cocoon in Solaris must know that it's not easy at all, but at last guided by the install.case.solaris in the docs/ directory of cocoon1.8 I made it.What I can't make work is

Re: System properties

2000-11-17 Thread Craig R. McClanahan
John Ellis wrote: According to the dtd: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd There is an "env-entry" tag that has name-value pairs like you mentioned. The version of tomcat that I am using (3.1) did not seem to being doing anything with this entry. It does seem like it would be

Tomcat not receiving POST requests with IIS

2000-11-17 Thread Guibert Englebienne
Hi, I've followed the "Tomcat IIS HowTo" to make Tomcat collaborate with IIS. Everything went fine when I send GET requests. When the request are POST the servlet doesn't get the parameters. In order to test this I created a simple servlet that prints a parameter I sent. When I call the

RE: headers, cookies, redirect

2000-11-17 Thread rwaldhof
Title: RE: headers, cookies, redirect Flip it around, try % response.sendRedirect(bar.jsp); response.addCookie(new Cookie(baz,quux)); % it seems like sendRedirect resets the HTTP headers. -Original Message- From: Michael McCormick [mailto:[EMAIL PROTECTED]] Sent: Friday,

re: headers, cookies, redirect

2000-11-17 Thread Michael McCormick
I'm not particularly grounded in web development, so this may not be specific to Tomcat. I'm hoping someone can explain how this works. I can get cookies sent back to the browser when performing a redirect if I set them _after_ I issue the redirect. That is, if I write: %

RE: headers, cookies, redirect

2000-11-17 Thread Michael McCormick
Thanks, I figured it out by blind luck just a few minutes earlier. Any idea why? On 2000.11.17, government thugs made [EMAIL PROTECTED] write: Flip it around, try % response.sendRedirect("bar.jsp"); response.addCookie(new Cookie("baz","quux")); % it seems like sendRedirect resets the

Can't remove Tomcat 3.1 NT Service

2000-11-17 Thread Joseph Laughlin
Title: Can't remove Tomcat 3.1 NT Service Hello everyone, I added Tomcat 3.1 as a service (supposedly sucessfully, but it wouldn't serv servlets) and then removed it (supposedly sucessfully also). Now whenever I try to start Tomcat via the startup.bat file in the bin dir, it tells me I have

Re: headers, cookies, redirect

2000-11-17 Thread Craig R. McClanahan
Michael McCormick wrote: I'm not particularly grounded in web development, so this may not be specific to Tomcat. I'm hoping someone can explain how this works. I can get cookies sent back to the browser when performing a redirect if I set them _after_ I issue the redirect. That is, if I

Tomcat ServerSocket Dies

2000-11-17 Thread Steve McIntyre
Hi, We are running some heavy load testing using Tomcat 3.1, JDK 1.2.1.04 on Solaris with Apache and Jserv. As our tests ramp up, we invariably get the error below. We have changed our file descriptors from 64 to 256, but this did not appear to change the results. Per below, we are using

Log File Sizes and Growth

2000-11-17 Thread Julia (Hyunjoo) Walker
I read through all the documentation pages more than once but couldn't find any comments about how log files are managed. For example, if there are any size limits on the TomCat log files (i.e., jasper.log, servlet.log, etc.); or, if there are limits, whether or not Tomcat will create a series

Re: Log File Sizes and Growth

2000-11-17 Thread Craig R. McClanahan
"Julia (Hyunjoo) Walker" wrote: I read through all the documentation pages more than once but couldn't find any comments about how log files are managed. For example, if there are any size limits on the TomCat log files (i.e., jasper.log, servlet.log, etc.); or, if there are limits, whether

Re: Log File Sizes and Growth

2000-11-17 Thread Julia (Hyunjoo) Walker
"Craig R. McClanahan" wrote: You are correct on your guess ... Tomcat has no built-in limits on how big the log files will get. However, you have indirect control over this by what kinds of debugging detail you request in your logger configurations in server.xml. For Tomcat 3.x, all of

precompiling jsps

2000-11-17 Thread Stéphane Laurière
Using Tomcat, is there a way like in RESIN, to precompile all jsps ? Regards, Stephane

Re: Servlet invoker woes - servlet-mapping /servlets/* to invoker fails on 3.2

2000-11-17 Thread Craig R. McClanahan
As of Tomcat 3.2-b8 (to be created on Monday), you will be able to set a parameter in the server.xml file to override the prefix used by the invoker servlet. There is an entry that looks like this: RequestInterceptor className="org.apache.tomcat.request.InvokerInterceptor"

Re: Sessions don't work without cookies since 3.2beta6

2000-11-17 Thread Craig R. McClanahan
"Stubenrauch,Andreas" wrote: Hi Folks any comments are welcome: If Cookies are turned off in a browser the session-management by url-rewriting does not work. This bug was introduced by 3.2 beta6 and is still around in beta7 Just turn cookies off and try any of the session-examples in the

Requesting / hangs Tomcat with no static interceptor?

2000-11-17 Thread Jon Skeet
I'm using Tomcat 3.2b7 (also happens under 3.2b6) and I'm trying to run a slightly cut-down version. In particular, I don't want to serve any static files, show any directories etc. I thought that to do this, I could remove the line: RequestInterceptor

Re: Requesting / hangs Tomcat with no static interceptor?

2000-11-17 Thread Craig R. McClanahan
Jon Skeet wrote: I'm using Tomcat 3.2b7 (also happens under 3.2b6) and I'm trying to run a slightly cut-down version. In particular, I don't want to serve any static files, show any directories etc. I thought that to do this, I could remove the line: RequestInterceptor

enquiry about Apache-Tomcat

2000-11-17 Thread rinku saxena
Hi, I am facing problems in Installig Tomcat 1. i have windows95 so in setting up environment variables instead of saying "apache group\jakarta-tomcat\bin" i used "apache~1\jakart~3\bin" so will that aeefect .bat file execution 2. Trying with either of above option in first case : on saying

Re: precompiling jsps

2000-11-17 Thread Wyn Easton
Check out the jspc.bat file shipped with Tomcat. --- Stéphane_Laurière [EMAIL PROTECTED] wrote: Using Tomcat, is there a way like in RESIN, to precompile all jsps ? Regards, Stephane = Wyn Easton [EMAIL PROTECTED] __ Do You Yahoo!?

Re: using SSL on standalone Tomcat - Urgent !

2000-11-17 Thread Craig R. McClanahan
"Lacerda, Wellington (AFIS)" wrote: Craig, Can you send me a piece of example of the configuration ? I can't see what I'm doing wrong. I've already tested both suggestions and I didn't get that message back in any case. Thanks, Wellington Attached is the simplest web-app I can create

Antigen found CorruptedCompressedFile virus

2000-11-17 Thread ANTIGEN_NAVMAILS01
Antigen virus protection for Exchange found secure-only.war infected with CorruptedCompressedFile virus. The file is currently Deleted. The message, "Re: using SSL on standalone Tomcat - Urgent !", was sent from Craig R. McClanahan and was discovered in IMC Queues\Inbound located at Genelco.

Re: Antigen found CorruptedCompressedFile virus

2000-11-17 Thread Craig R. McClanahan
ANTIGEN_NAVMAILS01 wrote: Antigen virus protection for Exchange found secure-only.war infected with CorruptedCompressedFile virus. The file is currently Deleted. The message, "Re: using SSL on standalone Tomcat - Urgent !", was sent from Craig R. McClanahan and was discovered in IMC

Re: Performance testing anyone?

2000-11-17 Thread Aleksey Tsalolikhin
On Wed, Nov 15, 2000 at 11:17:06AM -0600, Mike La Budde wrote: How are people doing performance testing? What tools are out there to aid in this process? Dear Mike, We're using e-Test Suite from RSW, http://www.rswsoftware.com/products/etest-suite_index.shtml It's

[Basic] JSP help!

2000-11-17 Thread Winnie Cheung
1. How do you "redirect" a page? I have code that if string == a then forward to page 1 else forward to page 2 Unlike ASP, the forward tag just sort of INCLUDES the file! The file name in the browser is the same..not that of the file that I am forwarding to! What is the command to

RE: [Basic] JSP help!

2000-11-17 Thread CPC Livelink Admin
1. In a jsp you can use response.sendRedirect("URL") to send the browser an instruction to open another page. Forward does like you say - totally a server thing. 2. I believe it is request.getContextPath 3. Go to the Java site (www.javasoft.com) and go to their tutorial or

can't get tomcat to compile...servlets.

2000-11-17 Thread Parvez Rishi
hi, i'm new to servlets and tomcat. i've installed tomcat with apache 1.3.12. it serves servlets and jsp's but it does not compile them. i have to precompile them everytime i make changes. i'm using jdk1.2.2 for linux (redhat 6.2). where do i have to specify the compiler path. i have set the

RE: can't get tomcat to compile...servlets.

2000-11-17 Thread CPC Livelink Admin
Not positive, but this may be that you did not specify tools.jar on your command line. I beleive I saw sometime a long time ago on this list that this was required to compile anything in-process. You probably will need to update the startup script to get it correctly (since it didn't get it

File manipulation code sample?

2000-11-17 Thread Winnie Cheung
Hello, I would appreciate if someone could pass me a sample code for opening files and manipulating strings? Thanks a lot, Winnie

Problem with startup

2000-11-17 Thread Devendra Gera
I get this out put when I run "tomcat run" from the dos promt - "org\apache\tomcat\service\http\HttpConnectionHandle java.lang.ClassnotFound Exception. I am running Windows 95 with JDK1.2 (defined java_home tomcat_home directories) Please answer my query at [EMAIL PROTECTED] Thanx, Devendra

Splitting a string?

2000-11-17 Thread Winnie Cheung
Hi, how can I split a string in JSP using Tomcat? Is there a split function? Thanks!

JSP -- getting multiple list values?

2000-11-17 Thread Winnie Cheung
Hello, When I use get.Parameter with a LIST (SELECT) in my form, it only collects the first item selected! Is there a reason to this why? Thanks

Re: can't get tomcat to compile...servlets.

2000-11-17 Thread Parvez Rishi
thanks Paul. yes, i have the tools.jar in the tomcat.sh rightly pointed. but still cant get it to compile. parvez And Then CPC Livelink Admin wrote . Not positive, but this may be that you did not specify tools.jar on your command line. I beleive I saw sometime a long

IIS and client certificates

2000-11-17 Thread Barbara Nelson
I am using Tomcat 3.2 beta7 with an IIS web server. My servlet needs the client certificate. I have configured the redirector, and in my servlet I can see the following request attributes: HTTPS_SERVER_SUBJECT HTTPS_SERVER_ISSUER CERT_ISSUER HTTPS_KEYSIZE HTTPS_SECRETKEYSIZE CERT_SERIALNUMBER