Cannot allocate servlet instance

2002-08-09 Thread Ryszard Lach
Hi! Since yesterday I receive an error while calling one servlet, which allways has run properly. What is wrong with it ? My configuration: Tomcat 4.0.4, JDK1.3.1. 2002-08-09 08:51:38 StandardWrapper[:org.apache.catalina.INVOKER.]: Marking servlet org.apache.catalina.INVOKER. as unavailable

Re: Cannot allocate servlet instance

2002-08-09 Thread Gabriel Gajdos
This problem happens when Wrapper cannot find servlet class or a class it depends on . Check the classpath, jar files, or some other classes with static {} statements. May be that one of the classes that this server needs cannot be loaded due to problem in its static {} context. One example:

Re: Accessing Mapped Drives

2002-08-09 Thread Gabriel Gajdos
| What permissions do I need to setup for Tomcat to be able to access | shared network drives on win2k? I'm able to access shares through an | IDE of course, but Tomcat returns null for all io calls to these mapped | drives. Tomcat (or its JVM) has nothing to do with accessing some parts of

RE: Accessing Mapped Drives

2002-08-09 Thread Klas Nyman
If you run Tomcat as a service you proberly don't have the same set of shares as an logged in user. /Klas -Original Message- From: Gabriel Gajdos [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 9:11 AM To: Tomcat Users List Subject: Re: Accessing Mapped Drives | What

AW: Missing constructor!??

2002-08-09 Thread Power-Netz \(Schwarz\)
I thought constructors weren't supposed to be marked public? Either way I tried and it made no difference. You have tested your class from a normal java test routine or? If you can use it from normal java code, you can use it from jsp, except you did something wrong in the includes..

RE: silent installation of jakarta-tomcat-4.0.1.exe on win32

2002-08-09 Thread Hubert DELOFFRE
No ideas? -Message d'origine- De : Hubert DELOFFRE Envoyé : mercredi 7 août 2002 14:29 À : [EMAIL PROTECTED] Objet : silent installation of jakarta-tomcat-4.0.1.exe on win32 Hello! I have to install tomcat on a win2k/nt plateform, but i have to do that silently... So, i find a

Help Please... Mod_jk +Manager App

2002-08-09 Thread None None
Hi, I have tomcat 4.03 and apache 1.3, installed and running fine. My issue, is when I deploy a web application using tomcat's manager service, then the conf/auto/mod_jk.conf is not regenerated. How do I configure tomcat to regenerate the mod_jk.conf file when the manager service deploys a new

Re: HP-UX 11 mod_jk error

2002-08-09 Thread John Whitley
Ganesh, The shared library calls dl* are only available on 64-bit HP-UX 11.00. I seem to remember that they are not available on 32-bit HP-UX until 11.11 (11i). We had to rebuild ours for 32-bit use by providing stubs for the calls. This worked in our case because we do not use the

configuring tomcat for 100+ contexts

2002-08-09 Thread B. Duffee
G'day all: How do I tell tomcat that everything under a WEB-INF is a tomcat context? (A colleague said he saw it in the docs somewhere, but neither of us can find it again and I've had no success in my archive and web searches) I've got 3 courses of 100 students, some of which want to use

AW: configuring tomcat for 100+ contexts

2002-08-09 Thread Power-Netz \(Schwarz\)
student in the servlet.xml. I would _like_ to be able to say for every directory that you find a WEB-INF, such as /var/www/htdocs/$course/$student/WEB-INF Would Context path= docBase=/var/www/htdocs/*/* appBase=/var/www/htdocs/ reloadable=true debug=0/ make any

Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Horn, Rob
Title: Is it possible to include via a directive snippets into the server.xml file Within our project we have an overlap of responsibility between the infrastructure team who are responsible for building the application servers and the development team who are responsible for delivering an

Login problem with reverse proxy

2002-08-09 Thread Barney Hamish
Hi, I'm using tomcat 3.2 with form based login and an apache reverse proxy to filter requests to the webserver. When tomcat issues the redirect to the login page the users are sent directly to the webserver not the reverse proxy. As the webserver is not directly accessable they are unable to

Re: Login problem with reverse proxy

2002-08-09 Thread JensStutte
Barney Hamish Hamish.Barney@ect-teTo: '[EMAIL

Re: IIS 5.0 Help

2002-08-09 Thread @Basebeans.com
Subject: Re: IIS 5.0 Help From: Jean Fotovat [EMAIL PROTECTED] === hello michael, tell me please how do you use tomcat 3.2.1 and iis 5 under windows 2000. thank you jean Michael A. Plett [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] I have a windows 2000 server with IIS 5.0

AW: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Ralph Einfeldt
AFAIK tomcat 4.1 has something like that. (Can't find the pointer to that, but there was a post from Craig about that a while ago in this list) If you have to use 4.0 you could use a preprocessor and an shellscript that create server.xml from seperate files from the two teams: E.g.:

Re: AW: configuring tomcat for 100+ contexts

2002-08-09 Thread B. Duffee
student in the servlet.xml. I would _like_ to be able to say for every directory that you find a WEB-INF, such as /var/www/htdocs/$course/$student/WEB-INF Would Context path= docBase=/var/www/htdocs/*/* appBase=/var/www/htdocs/ reloadable=true debug=0/ make any

Re: Login problem with reverse proxy

2002-08-09 Thread JensStutte
Sorry for the empty mail, i struggled with my Lotus client (who the heck creates a dialog box that defaults to Send when closing a modified mail without sending it ?)... I have a similar configuration here (slightly complicated due to the use of struts). You must follow some rules in your

Problems getting login to work

2002-08-09 Thread Paul Hunnisett
Hello, I'm trying to get users to log in to my app by using login-config in my web.xml. Most of my site is protected using security constraints. For some reason, now whenever I try to log in as a registered user, I get the following error: The request sent by the client was syntactically

RE: Problems getting login to work

2002-08-09 Thread Barney Hamish
The login page shouldn't be referred to directly. The standard states that when a user first tries to access a resource secured by a security constraint then they will be forwarded to the login page. Don't put the login form in you index.jsp.. or have your index.jsp being secure so that the user

RE: forward

2002-08-09 Thread Turner, John
Which tomcat 4 is it? I am using Forte on Win2000 and don't see those errors, but I installed tomcat 4.0.3. I don't use the tomcat that came with Forte. Adding another tomcat install is very, very easy: - download the tomcat you want, (I downloaded the binary for 4.0.3) - put it in a

RE: Login problem with reverse proxy

2002-08-09 Thread Barney Hamish
Thanks Jens. I'm afraid that doesn't help with my specific problem. This is something to do with the forwarding of requests to the login page that Tomcat does internally. I'm not sure how I can avoid that in the way I design my application (if I want to use the built-in authentication method

RE: Apache2 - Tomcat4 Integration

2002-08-09 Thread Turner, John
Aw, shucks. Any comments or suggestions you have towards making my HOWTO work with both apache 1.3 and apache 2.0 would be greatly appreciated. That goes for tomcat 4.1.x beta comments as well. I would be glad to add them to the document. John Turner [EMAIL PROTECTED] -Original

RE: Tomcat 4.1 and IIS

2002-08-09 Thread Turner, John
As far as I know, the Coyote connector is for using tomcat stand-alone. The Coyote connector allows tomcat to behave as a standard HTTP/1.1 web server. I think you want the AJP connector: http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm That's the only URL I have for tomcat+IIS, I hope it

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Horn, Rob
Title: RE: Is it possible to include via a directive snippets into the server.xml file Spot on ! Thanks Rob -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: 09 August 2002 11:28 To: Tomcat Users List Subject: AW: Is it possible to include via a directive

Custom error pages and BASIC authorization

2002-08-09 Thread Joe Tomcat
Hello fellow Tomcat users. I am trying to set up a very simple web app that has only static html pages. I want it to use BASIC authorization for just a few users. Simple stuff, right? I added the user and role that I wanted in the tomcat-users.xml file, and then I put this in the web.xml file

codebase not accepted - Security Manager - catalina.policy

2002-08-09 Thread Juraj Lenharcik
Hi, I use the Security Manager in my Webapps. Everythink works fine, until I write the codeBase parameter to the grant in my catalina.policy. Then I get some security Exceptions, which are not when I use only grant standalone. I use this entry in my catalina.policy: grant codeBase

Problems with class loader

2002-08-09 Thread Juergen . Praska
Hello, we have problems with the tomcat class loaders. scenario: Tomcat 4.0.4, jdk1.3 2 Applications App1:webapps/App1/WEB-INF/lib/x.jar App2:webapps/App2/WEB-INF/lib/x.jar (the same .jar-file) x.jar: a.class, b.class, c.class b.class has a Hashtable (com.sun.java.util.collections.Hashtable)

Re: Accessing Mapped Drives

2002-08-09 Thread David Kavanagh
I saw this problem with a java2 applet running with the plugin The file dialog could not see mapped drives. I only saw it on Win 98. Windows 2000 worked fine. What OS are you running? David Jacob Hookom wrote: What permissions do I need to setup for Tomcat to be able to access shared network

RE: Problems with class loader

2002-08-09 Thread Cox, Charlie
see intermixed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: Problems with class loader Hello, we have problems with the tomcat class loaders. scenario: Tomcat 4.0.4, jdk1.3 2

RE: RE: Problems with class loader

2002-08-09 Thread Juergen . Praska
see intermixed, too From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri, 9 Aug 2002 08:42:05 -0400 Subject: RE: Problems with class loader see intermixed Hello, we have problems with the tomcat class loaders. scenario: Tomcat 4.0.4, jdk1.3 2 Applications

RE: Stop Tomcat

2002-08-09 Thread Shapira, Yoav
Hi, Get tomcat 4.0.2 or later. It doesn't do a System.exit() when done, your application can stop it safely. For more information, search the archives for System.exit and embedded tomcat usage. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vijay [mailto:[EMAIL

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Andrew
in Tomcat 4.1.x you can put XML files containing context information into your webapps directory and TC adds them as contexts. this is how the admin and manager apps are added. - Andrew -Original Message- From: Horn, Rob [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 5:19

SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi I have been working with tomcat with a web site. There is a initial login page which sends the username and password to a servlet that checks them against a database. I want to have the informatin sent over ssl but then i want the user to be sent back to a none ssl page for the rest of the

RE: Accessing Mapped Drives

2002-08-09 Thread Andrew
When tomcat is installed as service, it uses the System account. Try changing the account to something else. Also, verify that when you log on as that account, that the drives are mapped during logon. - Andrew -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent:

Re: Exception

2002-08-09 Thread ChinHo Tan
Thanks guy .. I reinstall the tomcat again and now it works. I guess I didn't install it correctly the first time. - Original Message - From: Robert L Sowders [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, August 09, 2002

RE: Missing constructor!??

2002-08-09 Thread Andrew
You should mark it public if you want to use it outside your package. - Andrew -Original Message- From: Josh [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:38 AM To: Tomcat Users List Subject: Re: Missing constructor!?? I thought constructors weren't supposed to

RES: Apache2 - Tomcat4 Integration

2002-08-09 Thread Tiago Ferraz Machado
Hi, I found this tutorial about Tomcat and Apache integration using the mod_webapp.so that explains each of the parameters that you have to set. I hope that will help you if you're not going to do a default instalation. See ya, Tiago -Mensagem original- De: Turner, John

Persistence in Tomact

2002-08-09 Thread Ujwal Oswal
Hi, Has anyone out there implemented Persistence Session using JDBC Based Store in Tomcat. If yes can you please let us know of the procedure. I tried modifing the Server.xml file but I am getting SQLException. Here are the exception 2002-08-08 15:50:42 JDBCStore[/examples]: The database

using INCLUDE with crossContext

2002-08-09 Thread Christian J. Dechery
I'm trying to use the crossContext feature to include a file that is in a context (that I call /global/) in other contexts... /global is is configured in server.xml with crossContext=true, but when I do %@include file=/global/includes/file.jsp% it gives me an error message with file not

Classpath problem

2002-08-09 Thread Julie Jordan
I have a problem with Tomcat finding my Java.I've have Apache 1.3.9 working fine. Then loaded JSDK2.0 with my existing JDK 1.1.7B. Am running UnixWare. I loaded Tomcat and config'ed it (correctly I hope) and when I try to start it I get the following: Using classpath: ./../lib/tomcat.jar Using

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
Don't do it. It has been pointed out several times that it is not recommanded to switch from https to http and stay in the same session. That would open a !!!BIG!!! security hole. If you really know what you are doing, you can write a filter that redirects every request that came in over

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi I am not am expert in the security of the web at the moment. Could you explain to me why this would open such a big secuirty hole from swapping from https to https. I was suggesting this because it read this i a 'professional j2ee' book?!! The problem i have is that i need the username

Re: SSL just for a login page

2002-08-09 Thread peter lin
the problem is your own encryption isn't signed by a third party, which means if someone hack into your server, they could compromise the security. Hackers are smart and have tons of free time. If there's a hole, it will be found and exploited. Most big e-comm sites use hardware acceleration

Tomcat, JAXB and SecurityManager

2002-08-09 Thread Cédric Viaud
Hi, i'm using JAXB and Tomcat 4.0.3 on NT 4. I've got an application which generate HTML pages with XML and XSL-T. For some particular point i use classes generated by JAXB. If i test my code as a standard Java application (class with a main method), it works perfectly. If i launch it from a

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Why don't you just build your redirect after they log in. response.sendRedirect(http://; + request.getHostName() + /myApp/home.jsp); -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 8:52 AM To: 'Tomcat Users List'

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Horn, Rob
Title: RE: Is it possible to include via a directive snippets into the server.xml file Thanks Andrew, is there a naming convention that must be followed or do you know where I can get further info on this. Cheers Rob -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]]

RE: Tomcat, JAXB and SecurityManager

2002-08-09 Thread Shapira, Yoav
Bonjour! ;) If i launch it from a servlet, i failed. Can you please provide more details? The stack trace would be helpful. Any suspicious or error messages in the tomcat logs? One more point, if the same code is run under Tomcat 4.0.1, it work !!! Then I would look at the release notes

Re: error in jsp??? Response has already been committed

2002-08-09 Thread Ashish Kulkarni
Hi I had this problem with tomcat so was verifying with jrun, and got the same error, i have increades the buffer size to 128k, so i guess buffer is not filled, when u say response has send back to client, does this mean that i have started writing html from jsp, and half way down i get the

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Hi Let me reply to a few of the emails. the problem is your own encryption isn't signed by a third party, which means if someone hack into your server, they could compromise the security. wouldn't this still be a problem if my public key was signed by a CA?? isn't the cert. for the client to

Re: filters

2002-08-09 Thread Cédric Viaud
Hi, according to the spec, i think it is normal. It is written that you can have these mappings : - begining with '/' and ending with '/*' is for path mapping (not your case) - begining with '*.' is for extension mapping (not your case) - only '/' indicate defaut servlet of the

Re: SSL just for a login page

2002-08-09 Thread peter lin
Drinkwater, GJ (Glen) wrote: Hi Let me reply to a few of the emails. the problem is your own encryption isn't signed by a third party, which means if someone hack into your server, they could compromise the security. wouldn't this still be a problem if my public key was signed by

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Well, obviously the only thing being protected here is the login and password, user activity after the login will be open to snooping, hijacking, etc. So here's what I think you should do. 1) User logs in through ssl. 2) After a successful login, (still ssl, don't put anything session yet)

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
That's no solution, as now the oneway hash can be snooped and hijacked. You win absolutly nothing but wasted efford. -Ursprüngliche Nachricht- Von: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 9. August 2002 16:30 An: Tomcat Users List Betreff: RE: SSL

apache tomcat and ssl

2002-08-09 Thread Vincent Kerr
I have apache and tomcat working with mod_jk on Windows NT and can access my tomcat apps through apache. I have installed ssl support and can access apache's htdocs over https. However I cannot access my Tomcat webapps over https. Could someone tell me how to configure apache so that tomcat apps

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
If you switch from HTTPs to HTTP and keep the session, that means that now the sessionid is send unencrypted (either as cookie or as part of the url). So now everybody who can listen to your traffic, can take that data and steel the session and act as the owner of the session, and there is

AW: SSL just for a login page

2002-08-09 Thread Ralph Einfeldt
Yes, I know, if you spend some more effort, you get a bit more security. (- define a time window where the code is valid) (- make the client IP part of the hashcode) But in the end all variants are less secure than https. -Ursprüngliche Nachricht- Von: Ralph Einfeldt Gesendet:

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Like I said, you're session is open to snooping and hijacking, but your password is not revealed. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 9:38 AM To: Tomcat Users List Subject: AW: SSL just for a login page That's no

Re: error in jsp??? Response has already been committed

2002-08-09 Thread Tim Funk
If that is how your page is programmed - then yes. In a nutshell - try to ensure your JSP is doing display things only. Or if it needs to perform logic which may invoke errors (getting/checking data) - try to perform that logic at the very beginning of the JSP so a minimal amount of info is

Re: SSL just for a login page

2002-08-09 Thread peter lin
what's to stop a hacker from stealing the session, then going to the user profile page and looking at the password? Of course if you do pass the user to http from https, you can still require profile management go through https, or simply never print the password to the browser. I personally

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
Yes, you are probably right, I will have to use ssl. Does anybody know of some good stress testing free software??? How does this sound. 1)User logs on and username and password send over ssl. password md5 hashed and compared against users on a database. 2)If valid user logs on, if not user

Re: SSL just for a login page

2002-08-09 Thread Jose Francisco Junior
And what happens with the user session ??? Every single page a verify if the user session is Ok, if not I have to redirect him to the login page. But if I do what you are saying I will lost the user session. Junior On Fri, 9 Aug 2002 09:08:22 -0500 Durham David Cntr 805CSS/SCBE [EMAIL

migrating from gnuJSP to tomcat 4/apache 2

2002-08-09 Thread Steve Prior
I have happily been serving JSP pages from Apache 1.3/jserv/gnuJSP for over a year now, and am starting to become motivated to move to Apache2/Tomcat. With GnuJSP I could have JSP files anywhere I wanted under the htdocs directory for Apache and they would be passed to GnuJSP, but all other

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
jmeter, available from jakarta.apache.org -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 9:59 AM To: 'Tomcat Users List' Subject: RE: SSL just for a login page Yes, you are probably right, I will have to use ssl. Does

Re: SSL just for a login page

2002-08-09 Thread Richard Plukker
For stress testing use Apache JMeter. good luck Richard Drinkwater, GJ (Glen) wrote: Yes, you are probably right, I will have to use ssl. Does anybody know of some good stress testing free software??? How does this sound. 1)User logs on and username and password send over ssl. password md5

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
just downloaded it version 1.7 using it with java 1.4 beta installation says that you dont need to do anything (already got JAVA_HOME), when i run it it just pulls up errors?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

??? Bug in Tomcat Response Headers ???

2002-08-09 Thread Tony LaPaso
Hello all, I posted this a few days ago but received no responseIf someone intimately familiar with Tomcat internals (liek Craig M.) could comment I'd appreciate it. I'm not 100% sure about this but I think I found a problem with the way Tomcat encodes characters. First I'll explain what I

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
post this on the jmeter-user list -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 10:26 AM To: 'Tomcat Users List' Subject: RE: SSL just for a login page just downloaded it version 1.7 using it with java 1.4 beta

AW: migrating from gnuJSP to tomcat 4/apache 2

2002-08-09 Thread Ralph Einfeldt
As I'm on the same road, here are my thoughts (I didn't start trying it, that will not be so soon as we feel not pressure to do the switch): If you have just one context (that what we will have) you can do the following: - Keep your htdoc as it is. - Define a default context: Context

RE: SSL just for a login page

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i'm using j2sdk1.4.0_01 for linux, and you have to set JAVA_HOME in your PATH. now i do know that javac automatically sets the classpath to the location of the tools.jar file located in /lib -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August

Error 500 need help

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main;

Re: AW: configuring tomcat for 100+ contexts

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, B. Duffee wrote: Date: Fri, 9 Aug 2002 11:59:48 +0100 (BST) From: B. Duffee [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], B. Duffee [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: AW: configuring tomcat for 100+ contexts

Re: Is it possible to include via a directive snippets into theserve r.xml file

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Horn, Rob wrote: Date: Fri, 9 Aug 2002 10:18:50 +0100 From: Horn, Rob [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Is it possible to include via a directive snippets into the serve r.xml file

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Horn, Rob wrote: Date: Fri, 9 Aug 2002 15:12:22 +0100 From: Horn, Rob [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Is it possible to include via a directive snippets into the s erver.xml

Authentication: Use Tomcat and Apache

2002-08-09 Thread Kevin Andryc
I have an application that currently uses Apache's authentication. In order for this to work with Tomcat I had to specify it in my server.xml, like so: Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75

RE: SSL just for a login page

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Drinkwater, GJ (Glen) wrote: Date: Fri, 9 Aug 2002 14:51:32 +0100 From: Drinkwater, GJ (Glen) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: SSL just for a login page Hi I am not am expert in

jsp:forward revisited

2002-08-09 Thread Carl
Thank all for your responses but I am still in deep doodoo as nothing has worked. On the suggestion that the location of the page to be forwarded to was incorrectly specified, I have tried all combinations of means of specifying the page and nothing helps, does not change the error. On the

jsp include question

2002-08-09 Thread Ashish Kulkarni
Hi I am developing a web application and came accross this problem. when in my jsp page i have jsp:include runtime include and then later in the code when i have response.sendRedirect or request.getRequestDispatcher() to forward the jsp page i get error saying the

Re: jsp include question

2002-08-09 Thread Jose Francisco Junior
If you want to redirect the request you have to do it before printing any other thing on the page. Example: it works: redirect code here html head ... /head ... it does not work: html head ... /head redirect code here ... On Fri, 9 Aug 2002 09:38:32 -0700 (PDT) Ashish Kulkarni [EMAIL

Servlet to JDBC connection

2002-08-09 Thread Peter O
What's wrong with this string? I can't get this string to connect to the database, I'm trying to connect on a RH 7.2 system. protected String dbURL = jdbc:interbase://66.18.29.95:8089/opt/jakarta-tomcat-4.0.4/webapps/ROOT/database/MAIN.GDB; The servlet dir is working, there's no error

Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I'm attempting to configure Tomcat for a test environment to handle a high number of transactions per second (TPS) and would like any advice others may like to contribute. The machine is a fairly powerful dual processor machine (1+ GHz) running WinNT. I'm using a tool to send requests, where I

RE: Configuration for High TPS

2002-08-09 Thread Sullivan, Mark E
what version of tomcat are you running? In the 4+ versions the Coyote HTTP connector is supposed to perform better. -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:23 PM To: Tomcat Users List Subject: Configuration for High TPS

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I knew I forgot a detail Running Tomcat 4.0.3 (or 4.0.4, I'll likely upgrade to that version soon). Quick follow up on this. I'm testing a servlet I've written that does some caching, and is very quick once it has cached all of its data. During the first run, I test it going 40 TPS (over

Re: Error 500 need help

2002-08-09 Thread Carlos Ferreira
it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info.

Re: Configuration for High TPS

2002-08-09 Thread Jose Francisco Junior
Please, I know it is a bit off-topic but I am trying to get a IP address from an URL like this: new URL(http://java.sun.com;); //this is the URL How can I get the IP address from this URL? Any idea ?? Thanks in advance, Junior Don't E-Mail,

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
Where can I find documentation on the Coyote connector (such as the exact class name)? What is really bothering me (currently), is once I start getting connection errors, my CPU usage (roughly) doubles, and I get connection errors much more easily (as if acceptCount was reduced somehow). Any

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
Come on...RTFM: java.net.InetAddress.getByName(); Sheesh. John Turner [EMAIL PROTECTED] -Original Message- From: Jose Francisco Junior [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 1:44 PM To: Tomcat Users List Subject: Re: Configuration for High TPS Please, I know it

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html John Turner [EMAIL PROTECTED] -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 1:50 PM To: 'Tomcat Users List' Subject: RE: Configuration for High TPS Where can I find

java.endorsed.dirs

2002-08-09 Thread Neo
How can I configure my custom instance of the Tomcat service to append my endorsed.dir? I tried adding the flag (-Djava.endorsed.dirs='') to my tomcat service installation script but the value is ignored by tomcat once it starts up. I stumbled across a couple web pages that lead me to believe

RequestDispatcher question

2002-08-09 Thread Scott Purcell
Hello, I am trying to send a (request, response) object to a server that lives at another IP (or URL). I have the need to pass parameters that are in the request object, but I cannot seem to forward the request to the other servlet. I keep getting a error: java.lang.IllegalArgumentException:

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I have been looking through those online docs looking for any configuration info that might be useful, but I'm using 4.0.3, so I've been reading the 4.0 docs. It doesn't appear this is available in 4.0 (as it is under the 4.1 docs). Thanks for the link though! -Original Message- From:

RE: Configuration for High TPS

2002-08-09 Thread Sullivan, Mark E
I'm pretty sure that you can in fact use it with 4.0.*. You may have to compile the connector distro in order to get it, but once you have the necessary classes it should drop in with no problem. -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
As far as I know, the connectors aren't tied to specific tomcat versions (separate projects). If memory serves, that resource is the same resource that has always been posted under the 4.0 docs. John Turner [EMAIL PROTECTED] -Original Message- From: Marinko, Jeff [mailto:[EMAIL

RE: Configuration for High TPS

2002-08-09 Thread Sexton, George
You might want to set enableLookups=false. You realize, that's doing a reverse DNS lookup for every connection don't you? -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 09 August, 2002 11:23 AM To: Tomcat Users List Subject: Configuration for High TPS I'm

RE: Error 500 need help

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i tried the trick and it didn't work. i still get the same error message. it looked more like a java issue to me. have any more suggestions? what i doing here is building tomcat straight from source and i have the most recent src version off the jakarta website. -Original Message-

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I was aware of that, but I thought I might want to leave that on for others using Tomcat. I'll turn it off for the tests, thanks. -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:01 AM To: Tomcat Users List Subject: RE: Configuration

RE: Configuration for High TPS

2002-08-09 Thread Sexton, George
Can your DNS server handle 200 reverse lookups per second? -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 09 August, 2002 12:04 PM To: 'Tomcat Users List' Subject: RE: Configuration for High TPS I was aware of that, but I thought I might want to leave that on

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
It can do at least 150... :-) -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:07 AM To: Tomcat Users List Subject: RE: Configuration for High TPS Can your DNS server handle 200 reverse lookups per second? -Original Message-

error compiling mod_jk

2002-08-09 Thread Aaron
Hi- I'm trying to build mod_jk on Mac OS X. I am using libtool-1.4.2 and I see the -arch_only option in the documentation. Does anyone know how to fix this? Thanks, Aaron [mobile:local/jakarta-tomcat-connectors/jk] mobile# ant native Buildfile: build.xml jkant: [javac] Compiling

Precompiling JSPs for Tomcat

2002-08-09 Thread Sean LeBlanc
Hi all, I'm having some issues with using Ant's jspc task (I have a thread going on the Ant mailing list), is there any way to manually call the compilation for Tomcat's build? Somehow, Tomcat must do it, so I figure there has to be a way to kluge something together that does the same thing?

RE: Configuration for High TPS

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
You can set up an event listener to cache this data when the context is initialized. That's probably better than making the initial unlucky users wait. -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:43 PM To: 'Tomcat Users List'

  1   2   >