RE: Tomcat as an NT service

2002-02-06 Thread Larry Isaacs
I recall that parser.jar (JAXP 1.0.1) was replaced by crimson.jar (JAXP 1.1) in Tomcat 3.2.4. It is likely that some files may not have been updated to account for that change. I wouldn't be supprised if wrapper.properties still had parser.jar. Cheers, Larry -Original Message- From:

Re: CSV File

2002-02-06 Thread Gary Helmling
On Tue, 2002-02-05 at 18:57, Jason Webber wrote: I want the browser to download the file and not display a CSV file that I have created. Right now I issue the following commands, but it doesn't seem to work.. Any ideas are appreciated. String file; ...

RE: Init method of servlet called twice?

2002-02-06 Thread Randy Layman
Do you remember the web page that you signed up to the list from (http://jakarta.apache.org/mail.html)? If you follow the link to the second page, there is a section labeled Archives and Searching that should address all of these questions. Randy -Original Message-

Re: getParameterMap() question

2002-02-06 Thread August Detlefsen
All request parameters are Strings: public java.lang.String getParameter(java.lang.String name) Try casting entry.getValue() to (String): (String)(entry.getValue()) --- Steven Elliott [EMAIL PROTECTED] wrote: Sorry if this is somewhat offtopic but maybe some experts here can help clear

A Classpath problem

2002-02-06 Thread Jeff Self
I'm trying to run a jsp which requires a class called UserData. I put the UserData.class file in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes and restarted Tomcat. But I get an error that tells me it doesn't know what UserData is. I notice that when I start up Tomcat it says Using CLASSPATH:

Re: Database Pooling

2002-02-06 Thread Patrick Lacson
Don't know if anybody answered this yet but try PoolMan at sourceforge.net -Patrick Jason Webber [EMAIL PROTECTED] wrote: Does anyone know of a database pooling bean or soemthing that will aloow me to share connections among many jsp pages. Preferably something that is free. -- To

Re: TOMCAT 4.X - mod_jk

2002-02-06 Thread Pascal Forget
This is the info you need: http://www.ubeans.com/tomcat Kevin Passey wrote: Hi, I am somewhat confused.. I have TOMCAT 4 running quite happily on my Linux (SuSE 7.3) server - no problem. I also have the apache 1.3 distribution with my 7.3 running - no problem. What I want to do is run

Location of Content-type: text/html

2002-02-06 Thread Kirby Vandivort
I am trying to track down a big in the way that some HTML is getting displayed, and I've noticed a small difference between apache and tomcat and I was wondering if it is important.. Tomcat returns: HTTP/1.1 200 OK Content-Type: text/html Date: Wed, 06 Feb 2002 20:31:22 GMT Server: Apache

RE: WarpConnector: how to enable static content below dynamic content?

2002-02-06 Thread Michel
No, it doesn't! It just means that no requests are 'warped' at all, so Apache is just returning JSP code as if it were HTML, leaving the JSP tags untouched. I'll try further. gr. Michel -Original Message- From: Michel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002

Problem with FORM POST data on Windows

2002-02-06 Thread Byron Frank
Hi: I'm having a problem reading forms data using POST through Apache. Setup: Apache 1.3.23 / Tomcat 3.2.2 / mod_jk / Win 2000 mod_jk setup to use ajp13 Summary: A form with method=POST is action'ed to a JSP. The forms data should be in the request object. When I hit the jsp

Re: TOMCAT 4.X - mod_jk

2002-02-06 Thread Dave Hollar
Are there similar instructions for the windows platforms?thanks- - Original Message - From: Pascal Forget [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 3:37 PM Subject: Re: TOMCAT 4.X - mod_jk This is the info you need:

Please Help - Tomcat serves HTTPS with self-signed cert, but not Thawte cert!

2002-02-06 Thread Paul Morrow
This is a rather strange problem that I'm hoping someone can assist with. In a nutshell, Tomcat serves HTTPS pages when a self-signed cert is installed, but not when a Thawte cert is installed. I'm running Tomcat 4.0.1 on Solaris 8. I used keytool to create a self-signed cert, i.e.

Re: TOMCAT 4.X - mod_jk

2002-02-06 Thread Emerson
yes you can use the 3.3 mod_jk so, although tomcat 4 doesn't generate (AFAIK) the config file. (TC 3.3 does) At 15:56 6/2/2002 -0500, you wrote: Are there similar instructions for the windows platforms?thanks- - Original Message - From: Pascal Forget [EMAIL PROTECTED] To: Tomcat

Problem running RMI Server on Tomcat4.0, Apache1.3.22

2002-02-06 Thread Sucharitha Panthika
CASE I: 1. I tried working with a RMI tutorial example. I wrote a Server TransportObject, ServerImpl TransportObjectImpl and a Client named Transport Client. 2. I made sure to run the rmi registry on a window where class file or stubs are not available. 3. I am trying to start the Server using

RE: Please Help - Tomcat serves HTTPS with self-signed cert, but not Thawte cert!

2002-02-06 Thread Richard S. Huntrods
Paul, It is not strange - just very, very convoluted. I have spent 2 months getting this stuff to work, and am about to order my cert from Thawte. There are a couple of problems. First, all certs in your keystore must have the 'tomcat' alias. Second, the type of certificate ordered from a

Problem with session when Tomcat started from priviledged port(80)

2002-02-06 Thread Rahul Pathak
Hi, I am having a problem when i start Tomcat from the privilidged port on Solaris machinces(port 80).Everything works fine except the session. When i disable the cookies on the browser the website dosent work.But when i start the same tomcat (with all the java files same) on port above 8000

How to start Tomcat 4.0 in debug mode

2002-02-06 Thread Nagender Taalla
Hi, I am using an external debugger and need to have tomcat running its JVM with these parameters : -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server= y,suspend=n,address=5000 where do I set these parameters for the JVM that tomcat starts with. Nagender Taalla

uploading non-ascii files

2002-02-06 Thread Durham David Cntr 805CSS/SCBE
I have a serlvet that accepts a multipart form submission. Inside the request is a file that is to be decoded and stored on the server. My problem is that it doesn't work with binary (non-ascii) data but does work with ascii data. I'm using JSPSmartUpload, which works fine on IIS, but with

Re: getParameterMap() question

2002-02-06 Thread Steven Elliott
From: August Detlefsen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 6 Feb 2002 12:25:25 -0800 (PST) To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: getParameterMap() question All request parameters are Strings: public java.lang.String getParameter(java.lang.String

Re: How to start Tomcat 4.0 in debug mode

2002-02-06 Thread Dave Whitla
The start script in the bin directory of the binary distribution. - Original Message - From: Nagender Taalla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 8:09 AM Subject: How to start Tomcat 4.0 in debug mode Hi, I am using an external

RE: Servlet as default file (welcome-file)

2002-02-06 Thread Clay Mitchell
4.0.1 or whatever the current stable release is -Original Message- From: Joel Rees [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 12:44 AM To: Tomcat Users List Subject: Re: Servlet as default file (welcome-file) I think this varies from version to version. I figured

Re: web hosting

2002-02-06 Thread Eli Spizzichino
I have the same problem on the opposite side. I want to consent external user to deploy their webapp without restarting the server. Is it useful to run multiple JVM? If yes how... I want also to avoid insecure code to being executed. What type of restriction I have to make? Thanks Eli At

Multi-user problem

2002-02-06 Thread gilmoresp
I developed a system for reviewing scanned image quality. The system worked like a champ during development and on launch day. The next day, we went from 1 user to 2. The system is 100% intolerant of simultaneous requests. Anytime the second user makes a request before the first user's request is

Re: Multi-user problem

2002-02-06 Thread Tom Drake
See my comments below. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 3:23 PM Subject: Multi-user problem ... snip ... | Apache 1.3 is a service on Windows 2000 running Tomcat 4 on the same server, with SQL server 2000 SP1 on the

tomcat 4.0 + apache 1.3.12 + mod_jk

2002-02-06 Thread Gearoid Coughlan
Hi I am getting the following error reported in mod_jk.log when executing servlets -- [Wed Feb 06 23:14:56 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [Wed Feb 06 23:14:56 2002] [jk_ajp13_worker.c (196)]: In jk_endpoint_t::connect_to_tomcat, failed errno = 146

RE: session between tomcat and IIS

2002-02-06 Thread colin . madere
Since I just ran into the problem of sharing cookies between IIS and Tomcat, I noticed this trait: Tomcat can read cookies set by IIS/ASP, but IIS/ASP can NOT read cookies set by Tomcat. (sorry for the not including original message, just subscribed) -- To unsubscribe: mailto:[EMAIL

Multi-user problem

2002-02-06 Thread gilmoresp
Tom Drake [EMAIL PROTECTED] wrote: As suggested, I will try to find a different driver (instead of the odbc/jdbc bridge) to connect to MSSQL2k. In the meantime.. I reflect on your other thoughts... See my comments below. ... snip ... | | The NEXTIMAGE servlet looks something like this

RE: session between tomcat and IIS

2002-02-06 Thread colin . madere
I should have listed versions and such. The below situation was found running: NT 4.0 SP6, IIS 4, Tomcat 3.3a with NS6 / IE 5.5/6 as client on NT 4 SP6. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Tomcat Users List Sent: Wednesday, February 06,

RMI remote Method which returns File object.

2002-02-06 Thread Sucharitha Panthika
Hey I have a qution using RMI to return files . If I have a a remote method public File getFile(); method in a Server and I implemented this method to return one file from my local drive C:\. When the remote Client from different system calls this method should it return the my File to that

RE: Verisign CSR generation for Tomcat

2002-02-06 Thread Artigas, Ricardo Y.
See sun's documentation on keytool (included in jdk's): http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/keytool.html Hope this helps. :~) Ricky Y. Artigas Database Administrator / Analyst/Programmer Information Technology Division Easycall Communications Phils., Inc.

Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Richard P
I currently develop a large set of webapps I inherited, all written in VBScript (ASP). I'd like to move to JSP (99% of the bugs I encounter are due to VBScript's terrible type checking/handling). I've got Tomcat 4.0.1 integrated with IIS, reading the /examples context just fine (VERY IMPORTANT

Re: Multi-user problem

2002-02-06 Thread August Detlefsen
In the past I have had good luck with the SQL Server JDBC drivers from iNet software: http://www.inetsoftware.de/English/Produkte/JDBC_Overview/ms.htm Though I wouldn't really recommend SQL Server for anything if you do not have to use it... --- [EMAIL PROTECTED] wrote: Tom Drake [EMAIL

Default servlet

2002-02-06 Thread Odo
How force Tomcat4 to call default page from index.jsp to index.class(Servlet)? Any settings in web.xml?If so how? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Default servlet

2002-02-06 Thread Galbayar
index.jsp redirect to your servlet - Original Message - From: "Odo" [EMAIL PROTECTED] To: "Tomcat Users List" [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 10:06 Subject: Default servlet How force Tomcat4 to call default page from index.jsp to index.class(Servlet)? Any

Re: Catalina: cannot generate configuration for Apache

2002-02-06 Thread Remy Maucherat
Hi, The Tomcat 4.0.1 documentation at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html suggest one wanting to integrate TC401 with Apache the following: [...] To generate the global Apache directives (e.g. LoadModule, JkLogFile), you define a Server Listener: Server

Re: Multi-user problem

2002-02-06 Thread Jason Koeninger
On Wed, 06 Feb 2002 19:55:40 -0500, [EMAIL PROTECTED] wrote: I'm not sure I understand what you mean by keeping class data, so I've copied the 3 methods here. In an attempt to answer your question... Is con a class variable? For instance, is it declared something like this: public class

Is the Memory Leak bug in mod_jk fixed??

2002-02-06 Thread Steve Wong
I am using the most current tomcat3.3a source to build the mod_jk in Solaris8 with -DEAPI option. However, I still find that if I use Ajp13 Connection. The allocated memory in tomcat continuously increases. Thx. and Regards. Steve. -- To unsubscribe: mailto:[EMAIL

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Daniel Parnell
Currently, the /secure directory on the server automatically requires SSL and authentication for ASP pages. I'd like to be able to just drop my JSP pages right along side the ASP pages that are there. I've read through the docs, and they all seem to assume that one's JSP pages are going to be

Re: Mapping multiple hosts to single Host

2002-02-06 Thread tomcat
Correct. We're currently using the host settings in server.xml which match virtual hosts in Apache. I've done some testing with Apache aliases, but the host passed in is the alias which is not in server.xml - tested using RequestHeaderExample. What we need to do is to add additional domain

RE: Verisign CSR generation for Tomcat

2002-02-06 Thread Garske, Tom
Thanks for your help -Original Message- From: Artigas, Ricardo Y. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 7:40 PM To: Tomcat Users List Subject: RE: Verisign CSR generation for Tomcat See sun's documentation on keytool (included in jdk's):

remote JNDI Example in Tomcat 4

2002-02-06 Thread Frans Thamura
Dear All, I create a EJB in JBoss, and i access it remotely using JNDI, do you know how to init context in JNDI so, i can remote Tomcat from my Swing application.. concept: i create a class and put in tomcat, and i will execute in my client application and call that class and the output will

Re: RMI remote Method which returns File object.

2002-02-06 Thread Tom Drake
Sucharitha: A File object represents a files name (and location). It does not represent or store the contents of a file. Therefore, using RMI to pass a File object around doesn't make much sense. It is likely that a File object that points to a valid file on the client is completely invalid on

Re: Default servlet

2002-02-06 Thread Odo
Is it possible without redirecting and doing any settings in server.xml? Is there any trcicks to be java servlet as default "welcome" file instead of index.jsp? Galbayar wrote: index.jsp redirect to your servlet - Original Message - From: "Odo" [EMAIL PROTECTED] To: "Tomcat Users

RE: Catalina: cannot generate configuration for Apache

2002-02-06 Thread Jarecsni Jnos
HI, afaik TC402b is not available for download in binary form, isn't it? Cheers, Jnos |-Original Message- |From: Remy Maucherat [mailto:[EMAIL PROTECTED]] |Sent: Thursday, February 07, 2002 3:42 AM |To: Tomcat Users List |Subject: Re: Catalina: cannot generate configuration for Apache

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Richard P
What exactly is your solution? I don't understand. --- Daniel Parnell [EMAIL PROTECTED] wrote: Currently, the /secure directory on the server automatically requires SSL and authentication for ASP pages. I'd like to be able to just drop my JSP pages right along side the ASP pages that are

Tomcat hangs when multiple users making calls

2002-02-06 Thread amohammad
Hi, Iam using tomcat4.0.1 and apache 1.3.I configure mod_webapp.I was able to make a call to examples webapplication.but then moment more than one user makes call server hangs and what i found is number processes created by tomcat got doubled (i checked it using ps -f).I just want to know

RE: remote JNDI Example in Tomcat 4

2002-02-06 Thread Al Caponi
I'm still experimenting with EJBs and I was trying out the following: Calling an EJB in JBoss from a servlet in Tomcat (Tomcat and JBoss running separately) and I followed the example from there: http://jboss.org/online-manual/HTML/ch01s15.html I managed to call the bean on JBoss.. (Still stuck

Can a servlet exit?

2002-02-06 Thread Gary Lawrence Murphy
can a servlet remove itself? I have a situation where a servlet's configuration file may require on-the-fly edits, but the site runs dozens of servlets and we don't want to restart tomcat just to restart one webapp. Long term, we plan to re-write the servlet to include a reload function (the

AW: Multi-user problem

2002-02-06 Thread Ralph Einfeldt
Apart from using a 'real' driver you should use a connection pool to access the database. Opening the connection on every db access is very inefficient. Further you should explicitly close the Statements (see below) Are query and con instance or class variables ? -Ursprüngliche

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Daniel Parnell
What you do is go to the web site and download the warpconduit program. This program allows JSP files to be associated with it under IIS. When a JSP is requested by a browser, the request gets forwarded on to Tomcat using the warp protocol. There is no need for the redirector DLL. The practical

RE: Is the Memory Leak bug in mod_jk fixed??

2002-02-06 Thread Steve Wong
Indeed I find that if I compile mod_jk with -DEAPI option, the bug exists there. However if I compile it without -DEAPI option, the bug seems fixed. That means I can't use mod_ssl in apache and need to implement SSL in tomcat?? Thx. and Regards. Steve. -Original

Re: CSV File

2002-02-06 Thread Attila Szegedi
IE ignores the Content-Type and makes a guess on content type based on the content itself. If it recognizes a plain text content, it will display it as such no matter what the Content-Type. However, Content-Disposition should help. Attila. - Original Message - From: "Gary Helmling"

RE: Tomcat 3.3 and 4.0, different behaviour when reloading the web.xml

2002-02-06 Thread Anton Brazhnyk
Hi, -Original Message- From: WIPPERT,MAX (HP-Germany,ex1) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 5:06 PM To: 'Tomcat Users List' Subject: RE: Tomcat 3.3 and 4.0, different behaviour when reloading the web.xml Hi Remy, thanx for you answer. Using the

<    1   2