Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread jerome moliere
Davi Leal wrote: jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified

Re: MultipartRequest class with Tomcat 3.2.1

2003-10-09 Thread jerome moliere
Fausto Zorzi wrote: Hi, I have a problem using the com.oreilly.servlet.MultipartRequest class by Jason Hunter (documentation at http://www.servlets.com/cos/index.html) with Tomcat 3.2.1 and Apache 1.3.20. The configuration I'm using is the following: - RedHat 7.3 - JDK 1.4.1_01 - Apache 1.3.20 -

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-09 Thread jerome moliere
Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm filip hanik could answer with more details (or remy maucherat) but as far as I know new Tomcat 5 code (backported to 4.1) use

RE: Tomcat, Jonas and Valves.

2003-10-09 Thread Steven Perry
I figured out the problem. I had installed the valve, in my org.apache.catalina.valves, in catalina.jar in tomcat. I expected that jonas would also run the tomcat scripts, when starting up tomcat. But, instead, jonas runs its version of server.xml and web.xml (in preference to the ones defined

Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread Equipment Lamp
Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API

CLIENT-CERT and custom username?

2003-10-09 Thread Bud P. Bruegger
hello everyone, looked for this all over but couldn't find an answer... So I would like to ask a question about the auth-method CLIENT-CERT. It seems that the username resulting from an authentication is the CN component of the subject's DN (as it appears in the client certificate). Is

Class problem

2003-10-09 Thread mas suhaila
Hi, I have Tomcat 4.1.27 and j2sdk1.4.2 installed. I'm using Win 2000. I have tried to create a form and I use a java class(UserData.java) to store the information collected from the form. My form page and Display.jsp page is in TOMCAT_HOME\webapps\ROOT\. The UserData.java is stored in

blocking connections

2003-10-09 Thread Roman Bednarek
Hi. I want to block connections from some hosts, I was reading about Filters and Valves, but I think they cannot do what I want to achive. The goals are: - block connection very early, immediately after connection, before reading and parsing any data from the client (to save the bandwith) -

Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread Equipment Lamp
Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API

RE: Tomcat4.1, jk2, and apache 1.3

2003-10-09 Thread Curley, Thomas
Fully agree - the connector tomcat/apache doc is a mess - can't understand why the connector developers cannot write a simple doc as part of release procedure or ask for help in documenting this. I'm alo trying to integrate Apache 1.3, TC 4.1.27 using jk2 on RH7.3 From what I see you need

Re: error-page directive

2003-10-09 Thread Carlos Pereira
Which versions of IE is that applicable to? (Graham Reeds) Sorry for the delay. IE v 6.0.2600 Regards, Carlos Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What LDAP servers does JNDI realm support? -

2003-10-09 Thread jerome moliere
Equipment Lamp wrote: Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded

W2K service stops when logging off

2003-10-09 Thread Glyn Walters
Hi. I am running Tomcat 3 as a W2K service using jk_nt_service.exe as a wrapper. When the W2K server is booted up the Tomcat service (Local System) runs fine with no user logged in. But if I log in as a user and then log out the service stops. Could anyone help me with this? Thanks Glyn

HOW TO CREATE VIRTUAL HOST IN APACHE

2003-10-09 Thread ABDUL BASIT
hi all.. Can any one tell me how to create virtual hosts in apache2.0.47. please, if any one can help me. tell me the step by step procedure to create a virtual host in apache2. Thanks mail me at [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping -

RE: HOW TO CREATE VIRTUAL HOST IN APACHE

2003-10-09 Thread Morgan Pyne
This would be more appropriate in an Apache forum - not a Tomcat portion to this question in sight. The documentation which comes free with Apache explains this in very good detail. You can also read these docs online at: http://httpd.apache.org/docs-2.0/vhosts/ Google for examples if still

Re: HOW TO CREATE VIRTUAL HOST IN APACHE

2003-10-09 Thread Johan Louwers
Edit your httpd.conf and make it look like something like this: VirtualHost 10.99.1.114 ServerAdmin [EMAIL PROTECTED] DocumentRoot /export/home/www.someserver2.com ServerName www.someserver2.com ErrorLog /export/home3/system_logs/error-log_www.someserver2.com

JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
Hi, I'm trying to setup my web app to use JDBC Realm. I am using SQL Server 2000. Here is the script to create tables: CREATE TABLE [dbo].[t_Role] ( [RoleId] [int] IDENTITY (1, 1) NOT NULL , [role] [varchar] (12) ) CREATE TABLE [dbo].[t_Usr] ( [UsrId] [int] IDENTITY

Re: JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
Hi again, I'm using version 4.1.27 of tomcat, and my login page is taking forever to load. I'm not actually getting any error messages. Thanks again, Rudi Hi, I'm trying to setup my web app to use JDBC Realm. I am using SQL Server 2000. Here is the script to create tables: CREATE

Re: JDBC Realm not working with - Please help

2003-10-09 Thread rudidoku
I have also placed the following files in D:\Tomcat 4.1\common\lib: msutil.jar, mssqlserver.jar, and msbase.jar, and restarted tomat, but still no joy. Hi again, I'm using version 4.1.27 of tomcat, and my login page is taking forever to load. I'm not actually getting any error messages.

Getting exception running examples

2003-10-09 Thread Artin Modaresi
Hi, I wanted to install a war file from cfdev activedit when I noticed most of their jsp files doesnt work on my tomcat. I have a tomacat 5.0.7 haven't used it so much, I then tried to run the examples see if they work, well most of them do, so it can compile jsp at least but, one doesnt and

Tomcat vs Bea WebLogic - (was: Re: What LDAP servers does JNDI realm support?)

2003-10-09 Thread David Diaz
Davi Leal wrote: jerome moliere wrote: As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i Know, like any other microsoft product, partially... :) I have been told the LDAP protocol is

Re: Could Not Start The Tomcat Server After Commenting Out Realm in the server.xml For Using JDBCRealm

2003-10-09 Thread Tim Funk
Tomcat won't start up if the Realm can't start up. Since you didn't replace your connection information with the dummy JDBCRealm placeholder, the connection failed to the database. As for the , in your connection string in your older email had:

Re: Class problem

2003-10-09 Thread Tim Funk
Its your JSP (Display.jsp) which is bad cand can't be compiled. -Tim mas suhaila wrote: Hi, I have Tomcat 4.1.27 and j2sdk1.4.2 installed. I'm using Win 2000. I have tried to create a form and I use a java class(UserData.java) to store the information collected from the form. My form page

Re: blocking connections

2003-10-09 Thread Tim Funk
There is already valves which do this. See Remote Address Filter in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html -Tim Roman Bednarek wrote: Hi. I want to block connections from some hosts, I was reading about Filters and Valves, but I think they cannot do what I want to

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-09 Thread Andy Eastham
Have you never run into a problem when multiple developers are working on the same server, and someone crashes the server, overwrites someone else's code, breaks something that someone else was relying on, or restarts the server when someone was in the middle of testing a long running batch job?

register/remove HttpSessionListener after context startup?

2003-10-09 Thread Martin Grüneberg
Hi all, Is it possible to register/remove a class which implements HttpSessionListener after startup without changing web.xml and reloading the context? Martin Grüneberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

xerces version used by Tomcat 4.1.27

2003-10-09 Thread Agarwal, Naresh
Hi Could any one please tell what version of xerces-j is used by Tomcat 4.1.27. Also since xerces libraries are available in common/ directory, my web app don't need to have another copy of xerces jar files and can use the one lying in the common/ directory of Tomcat? thanks, Naresh

how to write file download program

2003-10-09 Thread bin cai
Hi, I am afraid to ask some instruction for my work. I am thinking to write a program to help client to download some sound file from server. Client send request to download a file in server. The request includes the file name and directory he want the file to be loaded onto. the request invokes

Re: StackOverflow

2003-10-09 Thread Adam Hardy
OK so I took the SetCharacterEncodingFilter out of the equation, but the stack overflow still occurs: StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.StackOverflowError I presume [action] refers to struts, which I'm running. Any ideas anyone? On

AW: how to write file download program

2003-10-09 Thread Nitschke Michael
You know that you are on a java oriented list, and i assume that not much of the members are php-experienced. Mike -Ursprüngliche Nachricht- Von: bin cai [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 09. Oktober 2003 12:08 An: Tomcat Users List Betreff: how to write file download

Re: StackOverflow

2003-10-09 Thread Adam Hardy
OK can someone answer a simple question here: if tomcat gives me a StackOverflowError, does that mean that there is no way of getting a stack trace? Or am I making 2 + 2 = 5? Adam On 10/09/2003 01:45 PM Adam Hardy wrote: OK so I took the SetCharacterEncodingFilter out of the equation, but

Re: Overhead of having a WAR file in docPath

2003-10-09 Thread Morten
I found that basically Tomcat doesn't auto-deploy when one explicitly declares a context. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment Morten - To unsubscribe, e-mail:

Cannot view pages in frame

2003-10-09 Thread rudidoku
Hello, My welcome page has the following: [EMAIL PROTECTED] contentType=text/html% html head base href=http://localhost:8081/mosaic/welcome.jsp; / titleMosaic Admin Welcome/title /head frameset noresize=noresize cols=210, * frame noresize=noresize src=/dbs.jsp name=listframe frame

Re: Cannot view pages in frame

2003-10-09 Thread Jon Wingfield
They won't unless they have localhost mapped to your ip address ;) [EMAIL PROTECTED] wrote: Hello, My welcome page has the following: [EMAIL PROTECTED] contentType=text/html% html head base href=http://localhost:8081/mosaic/welcome.jsp; / titleMosaic Admin Welcome/title /head frameset

Re: StackOverflow

2003-10-09 Thread Adam Hardy
For all those out there hanging on every msg in this thread, it seems it was just an infinite loop. Personally I think it was gremlins that came in last night and coded it. Remarkable how their coding style is so similar to my own. ;) At least there's one positive point, I'm learning to listen

RE: Getting exception running examples

2003-10-09 Thread Shapira, Yoav
Howdy, Do you have the JDK installed on your system? If so, what version, and is JAVA_HOME set correctly? Do you have more than one version of tomcat installed on your system, or more than one jasper jar in your tomcat installation? Yoav Shapira Millennium ChemInformatics -Original

RE: not getting a stacktrace on an exception

2003-10-09 Thread Shapira, Yoav
Howdy, As you know a StackOverflowError is usually caused due to an infinite loop. Look for that in your code: chances are it happens on requests to specific URLs and not to other URLs. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL

RE: Overhead of having a WAR file in docPath

2003-10-09 Thread Shapira, Yoav
Howdy, Yup, by design, and that's why I said you were trying too many things at once ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten Sent: Thursday, October 09, 2003 8:14 AM To: [EMAIL PROTECTED] Subject: Re:

RE: StackOverflow

2003-10-09 Thread Shapira, Yoav
Howdy, You usually don't get stack traces on StackOverflowErrors. In fact, many times you won't get a stack trace for an Error at all (as opposd to an exception). It's not a tomcat issue: I've seen the same behavior on Weblogic and Websphere. The reason is simple: there's no room on the stack

Re: not getting a stacktrace on an exception

2003-10-09 Thread Adam Hardy
Actually I didn't know until now - but see my other message please, the bit at the end. On 10/09/2003 02:48 PM Shapira, Yoav wrote: Howdy, As you know a StackOverflowError is usually caused due to an infinite loop. Look for that in your code: chances are it happens on requests to specific URLs

Re: Cannot view pages in frame

2003-10-09 Thread rudidoku
Thanks a million. Problem solved in a matter os seconds. They won't unless they have localhost mapped to your ip address ;) [EMAIL PROTECTED] wrote: Hello, My welcome page has the following: [EMAIL PROTECTED] contentType=text/html% html head base

Re: StackOverflow

2003-10-09 Thread Adam Hardy
Fiendishly logical. But thanks for the info Yoav. On 10/09/2003 02:52 PM Shapira, Yoav wrote: Howdy, You usually don't get stack traces on StackOverflowErrors. In fact, many times you won't get a stack trace for an Error at all (as opposd to an exception). It's not a tomcat issue: I've seen

RE: xerces version used by Tomcat 4.1.27

2003-10-09 Thread Shapira, Yoav
Howdy, It's Xerces 2.4.0 for tomcat 4.1.27. You can use the parser in $CATALINA_HOME/conf/endorsed, you don't need another copy. It's automatically on your webapp's classpath, which you'd know if you read any of the classloader docs. Could any one please tell me if they think looking into a

RE: register/remove HttpSessionListener after context startup?

2003-10-09 Thread Shapira, Yoav
Howdy, Only in a container-specific, non-portable way: navigate down the tomcat classes starting with Server to get the Context (org.apache.catalina.Context) for your webapp, call addApplicationListener on it with the class name of your listener. Call removeApplicationListener to remove your

RE: StackOverflow

2003-10-09 Thread Edson Alves Pereira
Hello Adam, we got here StackOverflow or OutOfMemory errors it s because our servlets consumed too much resources from JVM. when you run Tomcat with just you in your machine everything seems fine and quick, but with more then 100 or 200 users from production server, history is different as

Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, help me please. i am using DBCP 1.0 to make connection pool avaiable. My question can be easy: since DBCP 1.0 doesnt create a singleton object ( just a datasource object), what should i do whenever my sql queries are done? Should i close the connection after each sql command is

Re: xerces version used by Tomcat 4.1.27

2003-10-09 Thread Adam Hardy
Yoav, in the xerces bundled with tomcat 5.0.12, there is nothing of use in the manifest. You have to run something like: java -cp xercesImpl.jar org.apache.xerces.impl.Version to get the version. Not exactly intuitive. Adam On 10/09/2003 03:01 PM Shapira, Yoav wrote: Howdy, It's Xerces 2.4.0

AW: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Nitschke Michael
I could remember that there was a mail today that answered your question. The pool provides an wrapper for the connection object that you receive, this means you call getConnection and you do not get the real connection instead you recive an object implementing the Connection functionality with

RE: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Arnaud HERITIER
You should close your pool connection because the pool doesn't close the real connection. this doc can help you : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Random%20Connection%20Closed%20Exceptions Arnaud -Message d'origine- De : Jose Euclides

RE: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Edson Alves Pereira
Usually you should return every connection to your Persistence mechanism, you cannot close the connection, because if do that other process won´t use it. -- De: Jose Euclides da Silva Junior - DATAPREVRJ[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada:

RE: xerces version used by Tomcat 4.1.27

2003-10-09 Thread Shapira, Yoav
Howdy, He didn't ask about 5.0.12, as the subject says. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:28 AM To: Tomcat Users List Subject: Re: xerces version used by Tomcat 4.1.27 Yoav, in the

Re: AW: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Adam Hardy
I think he must be having problems with his email because he send more or less the same msg 12 hours ago but didn't respond to any of the replies. On 10/09/2003 03:27 PM Nitschke Michael wrote: I could remember that there was a mail today that answered your question. The pool provides an wrapper

Charset encoding issue (again :-))

2003-10-09 Thread Daniel H A Lima
Hi, everybody. I've some doubts about html form charset encoding. I will be glad if someone could answer questions above. 1 ) We have jsp files with directive %@ page language=java pageEncoding=utf-8 contentType=text/html;charset=utf-8 % and some classes with the following working code :

RE: Charset encoding issue (again :-))

2003-10-09 Thread Edson Alves Pereira
The best way to solve that is to set -Dfile.encoding=ISO-8859-1 in JAVA_OPTS, with this you ensure that your JVM is using the encoding that you want. -- De: Daniel H A Lima[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quinta-feira, 9 de outubro de

RES: AW: Urgent help, please!Best practices using Connection Pool

2003-10-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Good! Its enough to me! So, i always can use the 'close()' method whenever the query statement ends since my connection pool will stand 'alive', still. Of course, my pool wraps the connection object... My email service was down yesterday... Thanks at all, Euclides. -Mensagem original- De:

bind tomcat to specific ip

2003-10-09 Thread harm
Hi all, Is it possible to bind Tomcat to a specific IP? I'm asking because I have one single machine which runs 2 webservers (Lotus Domino and Tomcat), both on port 80. My machine has two IP's. I'm using tomcat 4.1.27 (integrated in JBoss 3.2.2RC4). Thanks, Harm de Laat Informatiefabriek

Re: bind tomcat to specific ip

2003-10-09 Thread Tim Funk
add address=myip to your connector declaration. -Tim [EMAIL PROTECTED] wrote: Hi all, Is it possible to bind Tomcat to a specific IP? I'm asking because I have one single machine which runs 2 webservers (Lotus Domino and Tomcat), both on port 80. My machine has two IP's. I'm using tomcat

Strange tomcat behavior

2003-10-09 Thread ralf.bechtel
Hi everybody on the list! We observed a strange tomcat behavior (tomcat 4.1.24) while running a servlet: Everything works fine some days or even weeks. Suddenly (and at random time) tomcat throws the following exceptions: 2003-10-08 11:44:48 CoyoteAdapter An exception or error occurred in the

RE: Where does system.out go?

2003-10-09 Thread Wade Chandler
TOMCAT_HOME/logs/catalina.out Wade -Original Message- From: Ben Ricker [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 4:46 PM To: Tomcat Users List Subject: Re: Where does system.out go? I usually get system.out and/or system.err in the catalina.log file. Ben Ricker

RE: Tomcat4.1, jk2, and apache 1.3

2003-10-09 Thread Mark Claassen
What are the two lines that you mean? These two in the http.conf? LoadModule jk2_module libexec/mod_jk2.so Include tomcat/conf/auto/mod_jk.conf What goes in the mod_jk.conf file? -Original Message- From: Curley, Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09,

Re: Charset encoding issue (again :-))

2003-10-09 Thread Daniel H A Lima
But with this approach, all web apps running under the same JVM will use this encoding. We want to avoid this... Edson Alves Pereira wrote: The best way to solve that is to set -Dfile.encoding=ISO-8859-1 in JAVA_OPTS, with this you ensure that your JVM is using the encoding that you

RE: Trying to get past java.net.ConnectException

2003-10-09 Thread Wade Chandler
An applet isn't affected by your server settings. What is your applet trying to connect to? What port. Also what servlet or jsp is it connecting to on your server. The applet will be affected by the client system it is running on. Send the link to the url you need the applet to connect to.

RE: W2K service stops when logging off

2003-10-09 Thread Larry Isaacs
See the JVM Options comment near the bottom of: http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-tomcat/src/etc/jk/wrapper.properties?rev=1.4 which mention the -Xrs option. HTH, Larry -Original Message- From: Glyn Walters [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003

Tomcat 4 + ssl + client authentication

2003-10-09 Thread Kenneth Westelinck
Hi all, I've been searching the internet for 2 days now and still haven't found a solution for my problem. I am trying to set up a Tomcat 4 server running in HTTPS mode, contacted by a client written in Java. The client is using HTTPClient from apache. I have done everything the document at

RE: Charset encoding issue (again :-))

2003-10-09 Thread Edson Alves Pereira
Then, you could create a class that would convert strings from some encoding that you don´t known and transform to UTF-8 and that class load its configuration from a local .properties file to make it flexible, for example: public String getParameter( String stName_ ) {

Re: Strange tomcat behavior

2003-10-09 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi everybody on the list! We observed a strange tomcat behavior (tomcat 4.1.24) while running a servlet: Everything works fine some days or even weeks. Suddenly (and at random time) tomcat throws the following exceptions: 2003-10-08 11:44:48 CoyoteAdapter An exception or

One solution to the problem with IIS and Tomcat 4.1.24 config

2003-10-09 Thread erlis
Hi all I got problem trying to configure tomcat4 and IIS. The problem was: When I configure steep by steep just like the iis-tomcat-howto explain to, the redirector sent itself like the resource to the tomcat container and as the result I got the ERROR 404 /Jakarta/isapi_redirect.dll is

RE: Strange tomcat behavior

2003-10-09 Thread Shapira, Yoav
Howdy, I recall having the charAt NPE -- it went away during an upgrade of the JDK (to 1.4.2) and tomcat (to 4.1.27). At that time I also had them update all the Solaris OS patches required by the JDK. So I don't know which was the deciding factor in the charAt NPE you're getting, but doing

Re: Charset encoding issue (again :-))

2003-10-09 Thread Daniel H A Lima
But to do byte[ ]b = request.getParameter( MyParam ).getBytes( UTF-8 ); you must know the charset encoding of the form paramaters (utf-8 in this case) which leads us to original question. Edson Alves Pereira wrote: Then, you could create a class that would convert strings from some

mod_jk (Apache + Tomcat)

2003-10-09 Thread Mariano Cristóbal
I have configured apache 2.0.47 + tomcat 4.1.27 with mod_jk 2.0.2 on a Red Hat 6.2 distribution. It seems to work fine but in the error_log file I obtain the following message: [error] mod_jk child init 1 0 I dont know what is the problem. Thanks

DeleteWorkDirs under Jboss 3.2.1/Tomcat4.1.24 Bundle

2003-10-09 Thread Uhlig, Stefan
Hello, does anybody have an idea how I can make this property work, so that Tomcat does not recompile all JSPs after a restart of Jboss? I previously used Jboss 3.0.7/Tomcat 4.1.24, and it was no problem to set this parameter in the tomcat configuration xml. In the new version, the parameter

String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
Hi, I created a session object and added a string (username) to it. Systemout.println shows the username from the request. My page is then forwarded to another as follows: RequestDispatcher disp = ctx.getRequestDispatcher(target); disp.forward(request, response); On this jsp

Re: blocking connections

2003-10-09 Thread Roman Bednarek
Hi. I thought that a valve can be used only after the request object is created(maybe I am wrong), so at that time the data from client is already read and processed, and it is too late. Thanks Roman Bednarek On Thu, 9 Oct 2003, Tim Funk wrote: There is already valves which do this.

RE: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
Can you please show how are you creating the session object??? Sincerely Lic. Computer Science Erlis Vidal Santos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:44 AM To: [EMAIL PROTECTED] Subject: String added to session in

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Shapira, Yoav
Howdy, If you display the session ID before adding the user name, and then in your JSP as you already do, are they the same session? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:44 AM

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
Can you please show how are you creating the session object??? No worries, here it is: HttpSession session = request.getSession(true); session.setAttribute(usr, request.getParameter(username)); Sincerely Lic. Computer Science Erlis Vidal Santos -Original Message-

RE: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
And how you get the session in your JSP?? Try this HttpSession session = request.getSession(true); String username = ( request.getParameter(username) != null ? request.getParameter(username) : ) ; session.setAttribute(usr, username); Sincerely Lic. Computer Science Erlis Vidal Santos

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
Yoav, Very good point. The sessionid from the servlet is different to the one in the browser, as shown below. Ser: 1DFADA80613F3BE01C86A5C6DE2501A8 jsp: AEAE6C4879702A3CF4254FF85B778D81 Rudi Howdy, If you display the session ID before adding the user name, and then in your JSP as you

can tomcat give me page loadtime stats?

2003-10-09 Thread Glanville, Jay
Is there a way for tomcat to give me information on how long it takes to load a page? I have a web application upon which I wish to improve it's performance. Before I can do any attempts at improvement, I need a way to measure its performance. One of the ways that I was considering measuring

FW: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
I really sorry the last message I sent it by mistake, is difficult to me write code in outlook ;) well Try this HttpSession session = request.getSession(true); String username = request.getParameter(username) if ( username == null ) username = noParameter; if ( .equals( username ) )

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Edson Alves Pereira
When i need to get session variables or objects i use Taglibs, its do a good job. -- De: [EMAIL PROTECTED]:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quinta-feira, 9 de outubro de 2003 12:01 Para: Tomcat Users List Assunto: RE: String

Re: can tomcat give me page loadtime stats?

2003-10-09 Thread Tim Funk
See the AccessLogValve javadocs. -Tim Glanville, Jay wrote: Is there a way for tomcat to give me information on how long it takes to load a page? I have a web application upon which I wish to improve it's performance. Before I can do any attempts at improvement, I need a way to measure its

Tomcat and NT Authentication

2003-10-09 Thread Turansky, Mark
Can someone please point me in the right direction for integratin NT authentication with my application running on Tomcat? I am working on a government project that requires that users be authenticated against their domain. When a user tries to access the web application at, for example,

Re: Tomcat and NT Authentication

2003-10-09 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/windows.html#ntlm -Tim Turansky, Mark wrote: Can someone please point me in the right direction for integratin NT authentication with my application running on Tomcat? I am working on a government project that requires that users be authenticated against

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
Sorry, not entirely sure what you meant. I have copied your code and placed it in my servlet as follows: HttpSession session = request.getSession(true); String username = ( request.getParameter(username) != null ? request.getParameter(username) : ) ;

RE: Tomcat and NT Authentication

2003-10-09 Thread Turansky, Mark
Thanks, and I should have gone and read the FAQ *before* posting mark -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:18 AM To: Tomcat Users List Subject: Re: Tomcat and NT Authentication

Re: Tomcat vs Bea WebLogic -

2003-10-09 Thread Tim Funk
I have gotten JNDIRealm to work against iPlanet. I have heard others get it working against: - Active Directory (I personally had problems due to some IT policies) - Novell - OpenLDAP But in the worst case - the code is open for change so creating a custom Realm should be simple if one

Re: FW: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
No worries. I added the following to doPost in my servlet: HttpSession session = request.getSession(true); String username = request.getParameter(username); if ( username == null ) username = noParameter; if ( .equals( username ) ) username = noParameter;

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Shapira, Yoav
Howdy, That's your answer ;( Your code for getting the session is fine. Is the RequestDispatcher forwarding to a different webapp? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:01 AM

RE: can tomcat give me page loadtime stats?

2003-10-09 Thread Jay Glanville
Good. Thanks. Now, a little help is requested in how to use AccessLogValue. (and now that I read the first answer, I realize that I might not have phrased my question as unambiguously as possible). I'd like to have the following information logged: page x took y milliseconds to create (or

Re: can tomcat give me page loadtime stats?

2003-10-09 Thread Tim Funk
D'oh! The catalina javadocs are out of date (but not by much) on the website. In your local version of the javadoc, there should be the following: %D - Time taken to process the request, in millis %T - Time taken to process the request, in seconds -Tim Jay Glanville wrote: Good. Thanks. Now,

Thread problem

2003-10-09 Thread rwheeler
I am currently running Tomcat 4.1.18 with a 1Gig heap and Max Processors is set to 2000. I keeping getting a java.lang.OutOfMemoryError: unable to create new native thread. I checked my garbage collection log but I never use more then 850mb of memory and this is with about 500 concurrent

RE: can tomcat give me page loadtime stats?

2003-10-09 Thread Shapira, Yoav
Howdy, And so, you probably want pattern=page %U took %D milliseconds to serve in server.xml. Be very careful with your terminology in this area, because people draw conclusions about performance from this log file. The time to create a page can be defined in many different ways. The time to

RE: Thread problem

2003-10-09 Thread Shapira, Yoav
Howdy, Does the word native strike a chord? Check ulimmit and similar OS parameters that limit how many OS-level threads your user account may open at one time. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday,

Loadballacing with Apache 1.3.2x, mod_jk2 on solaris FAQ

2003-10-09 Thread Greg_Cope
Hi All, Can anyone recommend an FAQ or quide for this on mod_jk2? Many thanks, Greg Cope GCS Ltd Assign to: CIT, Sandwich - ISG Phone: (44) 01304 642040 Fax: (44) 01304 652118 LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is

RE: Trying to get past java.net.ConnectException

2003-10-09 Thread jon yeargers
I guess Im confused as it worked fine when run against the same server code runnning in my IDE. I assumed that Tomcat would have more security to prevent hostile apps from doing damage. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 2:48 PM

RE: W2K service stops when logging off

2003-10-09 Thread Glyn Walters
Thanks. -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 15:16 To: Tomcat Users List Subject: RE: W2K service stops when logging off See the JVM Options comment near the bottom of:

RE: Loadballacing with Apache 1.3.2x, mod_jk2 on solaris FAQ

2003-10-09 Thread Nathan Christiansen
Although this is for Linux, here is an Article that might help you get started: http://raibledesigns.com/tomcat/index.html -- Nathan Christiansen Tahitian Noni International http://www.tahitiannoni.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Re: Tomcat vs Bea WebLogic -

2003-10-09 Thread David Diaz
Thanks Tim for this useful information. I have gotten JNDIRealm to work against iPlanet. I have heard others get it working against: - Active Directory (I personally had problems due to some IT policies) - Novell - OpenLDAP But in the worst case - the code is open for change so creating a

RE: can tomcat give me page loadtime stats?

2003-10-09 Thread Jay Glanville
I have a feeling that these variables (%D and %T) are not available in 4.1.12 as they don't actually resolve to anything in the access log. I can determine that they were added in AccessLogValue (ver 1.3), but I don't know what the CVS tag is for version 4.1.12 (ver 1.3 has these tags: s1ap8_i3,

  1   2   >