Re: SSL in Tomcat

2002-09-02 Thread randie ursal
thanks Tathagat, but i was just wondering why on the keytool documentation the CN is having a value of the subjects full name...and not the web servers name. is this a documentation error on "keytool" on java? Tathagat (London) wrote: >CN is actually taken as the web server's name on which th

RE: SSL in Tomcat

2002-09-02 Thread Tathagat (London)
CN is actually taken as the web server's name on which the site is running. This is kind of a check that the certificate is coming from the same server on which the site is running, because if it is coming from another server then it could be fraud. cheers Tathagat -Original Message- Fro

SSL in Tomcat

2002-09-02 Thread randie ursal
hi, sorry for this off the list topic but i really need some idea. when i created my self-signed certificate using keytool to make SSL available in Tomcat i specify in my certificate information ex. keytool -genkey -dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino,

Re: Tomcat/Mysql/Woody

2002-09-02 Thread Luc Santeramo
At 15:10 03/09/2002 +1000, you wrote: >On Mon, Sep 02, 2002 at 04:36:11PM +0200, Luc Santeramo wrote: >... > > this jsp displays, on the potato box : > > -- > > hé hé hé > > Revue d'histoire consacrée à la période de la Révolution française et de > > l'Empire. > > ... > >

RE: Problems with Tomcat 4.0.4 and IExplorer Pocket PC 2002

2002-09-02 Thread Cor Hofman
Hi, I do not know the examples you are talking about, but I do know that any Html page will not nescecarily render on the pocketpc, since the pocket pc explorer supports (only) HTML 3.2, so any fancy stuff will not work. This might result in pages that are (partially) not rendered on your pocketp

RE: Tomcat and select multiple

2002-09-02 Thread Jay Gardner
On get or post should pass array of values with the name as the array identifier. The array values are loaded in the order in which they are found in your html. You can retrieve the array using Sting[] nameArray = getParameterValues(name); --Jay Gardner -Original Message- From: Josh G [m

Re: Re: Tomcat stops automatically

2002-09-02 Thread Sujoy Ghosh
Hi Jeff, Thanks for your help.As you said I have got only two logs to check jasper & servlet -- where there is no clue for this Tomcat stoppage. Meanwhile I checked the ps axw for java threads & found it more than 100 threads are running -- don't know whether this is causing the problem or no

Re: deploying war file and "Document base ... does not exist"

2002-09-02 Thread Daniel Kehoe
On Sun, 01 Sep 2002 04:09:52 -0500, "Jacob Kjome" <[EMAIL PROTECTED]> said: > Don't put your app inside $TOMCAT_HOME/webapps and use the install > or deploy task to dynamically deploy your app. This can be done through > the ant tasks using something like > url="${manager.url}"

Re: deploying war file and "Document base ... does not exist"

2002-09-02 Thread Daniel Kehoe
On Sun, 01 Sep 2002 16:35:16 -0500, "Jacob Kjome" <[EMAIL PROTECTED]> said: > Yes, but now you are constrained by the fact that the app is running > directly from myapp.war which means that you have no filesystem access to > your webapp. For instance, the following will return null in your > se

Re: TC4.1.10: Can't install new app directly from GUI

2002-09-02 Thread Daniel Kehoe
On 02 Sep 2002 21:12:59 -0700, "David M. Karr" <[EMAIL PROTECTED]> said: > I don't see any documentation on how to use the Manager GUI, > In the "Install:" box, there are three fields... Here's how to install a web app using the Tomcat Web Application Manager for files in a local Windows file sys

Re: Tomcat stops automatically

2002-09-02 Thread Jeff Turner
On Tue, Sep 03, 2002 at 04:50:43AM -, Sujoy Ghosh wrote: > Hi, > > I am running Tomcat 3.2.3 on Linux 6.1 with JDK1.2.2 . Few > websites are configured on this Apache web server. Recently I am > experiencing a peculiar problem. Tomcat suddenly stops working & > have no clue any of the logs

Tomcat stops automatically

2002-09-02 Thread Sujoy Ghosh
Hi, I am running Tomcat 3.2.3 on Linux 6.1 with JDK1.2.2 . Few websites are configured on this Apache web server. Recently I am experiencing a peculiar problem. Tomcat suddenly stops working & have no clue any of the logs for this stoppage. Everytime the server needs to reboot as restarting T

Re: JAVA PROCESS

2002-09-02 Thread Randall R Schulz
Ángel, I assume no other Java programs are running and that all 36 of the entries you're seeing in the "ps" output are from Catalina. This implies that 36 threads have been created by Catalina. Under Linux, each thread shows up separately in the ps listing. On my Windows system (Win 2K, Tomca

Re: Tomcat/Mysql/Woody

2002-09-02 Thread Jeff Turner
On Mon, Sep 02, 2002 at 04:36:11PM +0200, Luc Santeramo wrote: ... > this jsp displays, on the potato box : > -- > hé hé hé > Revue d'histoire consacrée à la période de la Révolution française et de > l'Empire. > ... > -- > > the same jsp displays,

RE: TC4.1.10: Can't install new app directly from GUI

2002-09-02 Thread Nicholas Orr
Hi, I haven't used the gui manager but I have noticed that in your: WAR URL: file:/c:/cygwin/home/dmkarr/java/struts-el/dist/webapps/exercise-taglib You are using file:/ instead of file:/// which is required. You see: "java.net.MalformedURLException: no protocol:". Means it didn't find http://,

TC4.1.10: Can't install new app directly from GUI

2002-09-02 Thread David M. Karr
I very recently upgraded from TC 4.0.4 to TC 4.1.10. I hadn't looked at the manager app before (I don't know when it became a reality). It looks quite convenient. It is very nice once I get an application installed. Then, I can just reload and rerun the app without restarting TC. It appears t

RE: altering the request URI in a filter

2002-09-02 Thread Martin Cooper
> -Original Message- > From: jfc [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 02, 2002 1:51 AM > To: Tomcat Users List > Subject: Re: altering the request URI in a filter > > [snip] > Hi, > > Thanks for the reply. How can I actually set the new value/s on the > request? I d

RE: Tomcat and select multiple

2002-09-02 Thread Martin Cooper
> -Original Message- > From: Josh G [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 02, 2002 6:02 PM > To: Tomcat Users List > Subject: Tomcat and select multiple > > > Quick question, what's tomcat do when multiple form values > are posted under > the same name, like in a selec

RE: Servlets are not executing init() **Resolved**

2002-09-02 Thread Nicholas Orr
Found out the problem, there was a ClassNotFoundException Error, fixed and all is working, forgot to install a database driver. Nicholas Orr -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 September 2002 10:42 AM To: Tomcat Mailing List Subject: Servlet

Tomcat 5 Connectors

2002-09-02 Thread Trevor Nielsen
Hi all, I was wondering if the eventual Tomcat 5 release is going to include a connector which allows different SSL implementations to be specified, ala support for PureTLS in Tomcat 3.3 ? This is one of the best security features I have come across so far since it allows you to choose your SS

Tomcat and select multiple

2002-09-02 Thread Josh G
Quick question, what's tomcat do when multiple form values are posted under the same name, like in a select multiple, or two checkboxes with the same name? -- -Josh And can you tell me, doctor, why I still can't get to sleep? And why the Channel Seven chopper chills me to my feet? And what's

Servlets are not executing init()

2002-09-02 Thread Nicholas Orr
Hi, I have just reinstalled my computer, fdisk, format install. I have packaged up my webapp into a war and deployed it to Tomcat. But when I go to the servlet I get null pointer exception errors, because somethings have not been executed in the init() methods. What would be the reason for the

JAVA PROCESS

2002-09-02 Thread Ángel Carrasco
Hi all: When I start catalina in Linux, I type: ps aux |grep java And The system has 36 java process but the java process grows... Can you help me, please? Is it normal? Thank you very much. Ángel -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Adding HTTPS to Tomcat/Apache/mod_jk install on NT

2002-09-02 Thread Mathew Pole
For those people who want binaries of Apache with SSL for win32, the urls: - http://www.gknw.de/development/apache/ - http://www.pcp-computer.de/gkn/apache/httpd-2.0/win32/ (mirror?) provide pre-compiled binaries. Make sure you get version 2.0.40, because 2.0.39 has a nasty bug with serving pdfs

Need to restart tomcat when beans are updated (Tomcat 4.04)

2002-09-02 Thread Raj
Have just completed upgrade from tomcat-3.2.1 to tomcat-4.0.4. this works good, but has problem when a java beans is updated - the tomcat server need to be restarted before the change is visible. I didn't have this problem with tc 3.2.1, but need to upgrade to support new application. Has anyon

Re: Connection pool examples

2002-09-02 Thread Nancy Crisostomo Martinez
One more question about this: Is it possible to implement a pool connection using Jakarta commons in Tomcat 3.3 or do I have to upgrade to 4.x? This is because I found a couple of examples but they are implemented in Tomcat 4.x. If I have to upgrade, which version do you recomend me? Thanks, Nan

compilation error of Tomcat by tyrex

2002-09-02 Thread Andres Hernandez
this appear while i compile tomcat 4.0 -- build-main: [echo] - Java-utils - [echo] -- puretls.present = ${puretls.present} [echo] -- jsse.present = true [echo] -- commons-logging = true [echo] -- jmx = true

Re: Tomcat Clustering.

2002-09-02 Thread Luminous Heart
Ok. I made the modifications you suggested. As you saw in my workers file I have 3 tcs; tc13, extra13, and intra13. I turned cookies on with IE. When I go to http://mySite.com I see a cookie being set by let us say tc13. Then I click on the link to my application on the front page and sometimes I

Re: Tomcat 4.0.4 under Windows NT crashes: "memory cannot be read"

2002-09-02 Thread Jocelyn Paine
Randall, I installed the 1.3.1 JSDK in place of 1.2, and this error _seems_ to have gone away. Since it wasn't 100% repeatable, I can't be sure, and will have to test it on my colleague's machine (which always tended to manifest the fault more often), but I may be lucky. You suggested I install

mod_jk for IBM AIX System....?

2002-09-02 Thread Manoj Kithany
Hi Experts! I am havig problems in Integrating my Apache(1.3) with Tomcat(4.0.4) on IBM AIX (5.1) System. It seems that it needs mod_jk.so file which is very difficult to get for IBM AIX System. Does anyone know how and from where to get that file? Can anyone forward me the file and the instr

[Re: mod webapps make fails]

2002-09-02 Thread Bernhard Blasen
Hello all, found the solution of my problem. you have to use apr_APACHE_2_0_35.tar.gz and jakarta-tomcat-connectors-4.0.4-src.tar.gz instead of webapp-module-1.0.1-tc401.tar.gz Then everything works fine. Thanx anyway Bernhard Blasen Hello all, perhaps someone solved the following pr

mod webapps make fails

2002-09-02 Thread Bernhard Blasen
Hello all, perhaps someone solved the following problem apache 1.3.26 working fine tomcat 4.0.4 working fine try to build mod_webapp out of webapp-module-1.0.1-tc401.tar.gz everything goes well until make. make stops with the following exception report: make[4]: Leaving directory `/luna_2/to

NullPointerException on Netscape 6.2

2002-09-02 Thread Luminous Heart
I get this exception everytime I try to login into my application, running on tc4.0.4, on Netscape 6.2. However that the application works fine with all versions of IE. I am sure it is a Netscape issue, but has anyone experienced anything like that? It seems that my username and password are not

Re: Data Base Connection

2002-09-02 Thread Rosdi bin Kasim
Search the archives. I posted an example how to setup a datasource for oracle database (but it was using tomcat 4.1.9). Btw, try to upgrade to tomcat 4.1.9, it has some bug fixes regarding JNDI and datasource. - Original Message - From: "Isabel Lameda" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: Connection pool examples

2002-09-02 Thread Rosdi bin Kasim
Search the archives.. I posted a guide/example regarding this not so long ago. Try to search for keywords like, datasource, JNDI, Oracle, connection pool, etc... - Original Message - From: "Nancy Crisostomo Martinez" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: M

Data Base Connection

2002-09-02 Thread Isabel Lameda
Hi all! I have 2 web applications that runs in my Tomcat 4.1.8 server. Every thing works fine if i run only one of the two applications. If i run one application and then the other i get this exception org.apache.jasper.JasperException: Native Library C:\oracle\ora81\bin\ocijdbc8.dll already loa

RE: A question about jni used in tomcat!

2002-09-02 Thread Lance Smith
yes, tomcat does support it. Can you get it to work outside of Tomcat. Once that is done try moving it into Tomcat. If you still have trouble we need more information, maybe the error you are getting. Lance -Original Message- From: Struts [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30

RE: How to keep track of sessions

2002-09-02 Thread Chaudhuri, Hiran
Hi, Mark. To give my own 2 cents, I use a session listener for exactly the same issue: Get information how many sessions are active, who is logged on etc. Currently my application struggles with a memory leak, and I suspect the vector not being cleaned up thoroughly (my problem :-( ). Hiran ---

Re: Tomcat Clustering.

2002-09-02 Thread David Cassidy
helps only good if it works ... let us know if it does ! you might want to see what jsessionid gets set to. if the loadbalancer is working correctly it'll append the servers name to the jsessionid cookie. If you've got mozilla you can examine the cookies easily D Luminous Heart wrote: >I w

Re: Tomcat Clustering.

2002-09-02 Thread Luminous Heart
I will try your suggestion and hope it works for me. Thanks a million for your help. --- David Cassidy <[EMAIL PROTECTED]> wrote: > I think i can see what it is :) > > Your workers.list defines for mod_jk what servers to > use. > > In the case below it will use tc13 until it doesn't > work / to

Re: Server memory usage

2002-09-02 Thread David Cassidy
if you use the ps command with the 'f' switch you will see how the processes are related to each other D Tim Funk wrote: > In linux - threaded processes show up multiple times in top (or ps). > Once entry for each thread. Summing the entries in top will yield an > incorrect memory usage. Ju

Re: Tomcat Clustering.

2002-09-02 Thread David Cassidy
I think i can see what it is :) Your workers.list defines for mod_jk what servers to use. In the case below it will use tc13 until it doesn't work / too overworked. Change the line so it's worker.list=loadbalancer Now your balanced_workers will work as the loadbalancer is in control. worker.

[OT] Re: Server memory usage

2002-09-02 Thread Tim Funk
I do not use GUI tools so I have no expertise in this area. Mihai Gheorghiu wrote: > I checked with ps -Al and I understand what you wrote. > I used Gnome System Monitor - Memory usage (resident). > Is it making the same mistake? > > -Original Message- > From: Tim Funk <[EMAIL PROTECTED]

Re: Server memory usage

2002-09-02 Thread Mihai Gheorghiu
I checked with ps -Al and I understand what you wrote. I used Gnome System Monitor - Memory usage (resident). Is it making the same mistake? -Original Message- From: Tim Funk <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Date: Monday, September 02, 2002 11:07 AM Subject: R

Re: Server memory usage

2002-09-02 Thread Tim Funk
In linux - threaded processes show up multiple times in top (or ps). Once entry for each thread. Summing the entries in top will yield an incorrect memory usage. Just take one of the entries to get the amount of memory used by java. (Unless you have multiple real java processes running, in whi

Connection pool examples

2002-09-02 Thread Nancy Crisostomo Martinez
Hi everyone! I would like to know if there are some practical examples about how to implement the Data Base Connection Pool API. (Tomcat, Oracle) Could you please give me some references? Thanks in advance Nancy. -- To unsubscribe, e-mail: For additional commands,

Re: Tomcat Clustering.

2002-09-02 Thread Luminous Heart
Here is my workers file. Please notice that I mounting tomcat context as such in my mod_jk.conf file: JkMount /* loadbalancer JkMount /servlet/* loadbalancer loadbalancer is defined in the following workers file. Thank you in advance. === workers.properties = worke

Tomcat/Mysql/Woody

2002-09-02 Thread Luc Santeramo
Hi, I'm sorry, I'm new to this mailing list, and I didn't find any post in the archive about this subjector I don't know how to search. I've got a problem since I upgraded from debian potato to debian woody. the following jsp file doesn't display the same thing on the different debian dist

TR: Using Packages for Bean Classes

2002-09-02 Thread Nicolas S i l b e r z a h n
for your information... N i c o l a s S i l b e r z a h n <100% Java, Mobile, Offline aware>Wapaka Browser for mobile development (XHTML, WML) www.Wapaka.com -Message d'origine- De : A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]De la pa

Problems with Tomcat 4.0.4 and IExplorer Pocket PC 2002

2002-09-02 Thread Alexandre de la Torre
Hi Jakarta addicts, I'm working with an IIS 5.0 and Tomcat 4.0.4 with the Isapi_redirector well configured. I can access to the examples of Tomcat with Internet Explorer and Netscape Navigator right but I can't see them on my PDA HP Jornada 568 with the Pocket IExplorer. Who can help me? Thanks!!

Server memory usage

2002-09-02 Thread Mihai Gheorghiu
TC4.0.4, jdk1.4.0_01, RH7.3 on P3-633MHz, 256MB RAM When I start TC, I find 28 Java processes for a total of 829MB used. Is there a way to make it use less memory, so that it runs only out of RAM? Thank you all. -- To unsubscribe, e-mail: For additional commands, e-

eliminating the stickiness in mod_jk

2002-09-02 Thread Adar Wesley
Hi Group ! Does anyone know if it's possible to eliminate the stickiness feature of mod_jk module ? I have 2 tomcats operating with 1 apache and I'd like each request to be directed to adifferent tomcat each time. It seems that mod_jk keeps bringing the same session to the same tomcat :( Any i

problems with fitlers in chain

2002-09-02 Thread ARvils Freipics
Hi, I try to write three filters in chain, where each filter can modify request and finaly give request to jsp page, but it isn`t work so. Each filter gets only new request, not that from previous filter :( For example: 1auth filter (request, response){ out.println("filter1"); request.addAttri

Tomcat + Apache, it works!!!

2002-09-02 Thread I. Schrey
Hi all, I am so very glad because this weekend I got a self-compiled Apache 1.3.26 and a self-compiled tomcat 4.0.4 working together with mod_jk.so (on a self-compiled linux btw). It was a bit hard to get started (the manuals, umm..), but yes... Open Source kicks asses!! You developers rock!! R

Re: How does Tomcat and/or servlets handle HTTP chunked reads?

2002-09-02 Thread Joe Schiavone
Saw your post on tomcat list. Im gettin ready to do similiar activity. I wanna do imagemaping, some of which include pdf files. Im using Tomcat 4.1.7 standalone - no apache httpd. I had some pages that used imagemaps and found that they dont seem to work with the coyote http in Standalone Tom

Re: getConnection() returning a NULL JDBC driver

2002-09-02 Thread Rosdi bin Kasim
Try this: DataSource ds = (DataSource) envCtx.lookup("jdbc/Transhub"); and for your ResourceLink, try I dont know if that would make any difference.. but it works for me.. - Original Message - From: "Robert Dunn" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sen

Re: mod_jk2 - error on tomcat4.0.4 side?

2002-09-02 Thread Thomas Sandor
hi, I've checked the responses yet, set to root user and group my apache2 and tomcat4.0.4 home dirs recursively, and checked and confirmed that tomcat4.0.4/lib/ really has the libjkjni.so, however still got the same error in catalina.out, and nothing listens for me on port 8080. Those who said c

RE: Tomcat and JSP problem

2002-09-02 Thread admin
The problem as you no doubt know is that the jsp compile is not finding MechanicBean.class. You need to make sure that MechanicBean is in a package as otherwise the jsp compiler will look for classes in the default package which for the jsp compiler is org.apache.jsp.  Just add (I'll use your emai

Re: Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

2002-09-02 Thread Kilian
Tim Funk wrote: > 1) A java process in linux shows up many times with ps or top (because > of multiple threads) > 2) See logs/catalina.out for an error message. There is propably a > misconfig in server.xml or another run time error the tomcat cannot > recover from. In any case the logs/catalin

AW: how to avoid the directory list without any index.html/jsp

2002-09-02 Thread Holger Klein-Altstedde
You can force tomcat not to index your directories: Edit your web.xml and change the listings parameter. default org.apache.catalina.servlets.DefaultServlet debug 0 listings false 1 Now tomcat will not show the dirs. You can configure

how to avoid the directory list without any index.html/jsp

2002-09-02 Thread micheal lau
hi all, i am using tomcat 4.0.4 how to avoid the directory list without any index.html or index.jsp by redirect to 403 forbidden error instead of any welcome page but how to config? thanks for any help micheal _ Join the world’s la

CRL in Tomcat

2002-09-02 Thread Mario Klaver
I asked this question last week, but I didn't receive any answers so far: I'm using Tomcat 4.0.2 (stand-alone) with SSL on Solaris 8, but I can't figure out how I can setup a Certificate Revocation List (CRL) in tomcat? Is it possible to store certificates that are revoked in a Revocation List

4.0.4 digest.sh - NoClassDefFoundError: org/apache/catalina/startup/Tool

2002-09-02 Thread Michal Jacykiewicz
Any idea? BTW: In which jar is located org/apache/catalina/startup/Tool class? -- To unsubscribe, e-mail: For additional commands, e-mail:

Application configuration is destroyed when making "undeploy" in Tomcat 4.1

2002-09-02 Thread Andrei Svirida
Hello tomcat users, I'm using a "deploytool" from JWSDP (or Ant tasks) to remotely deploy my application. My development cycle has the following steps: 1: Write code 2: Undeploy an application 3: Deploy an application 4: GOTO 1 The problem is, at step 2 all the configuration for my application

Re: Tomcat Clustering.

2002-09-02 Thread David Cassidy
Would you like to post your workers file D Luminous Heart wrote: >Greetings, > >I have a cluster of 3 tomcats running on linux box. I >have the three tc4.0.4 instances in a loadbalancing >mode. The problem is when one fails none of the others >pick up and my app wont serve any requests untill

Re: altering the request URI in a filter

2002-09-02 Thread jfc
Bill Barker wrote: >"jfc" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>Hi, >> >>Tomcat 404, jdk1.3: >> >>Is it possible to alter the request's URI after authentication but >>before the request is delegated to a Struts action mapping? >> > >The beauty of F