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. >

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" <[EMA

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 Mes

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

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 Nachric

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 (th

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

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 whe

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 pag

RE: Catalina: cannot generate configuration for Apache

2002-02-06 Thread Jarecsni János
HI, afaik TC402b is not available for download in binary form, isn't it? Cheers, János |-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: 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

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 th

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: 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): http://java.sun.com/produ

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 m

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

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:

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 clas

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: > >

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

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: For additional commands: Troubles with the list:

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

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 N

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. > --

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: 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 0

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
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:

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 [We

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 th

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: 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 12.54

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 out

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

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

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 Net

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 1bigthi

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 (

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 ven

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 th

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: "

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. ./keytoo

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: > > ht

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 direc

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

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 Tomcat

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

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 unsubs

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: 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 > c

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- > F

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; > ... > > response.setHeader("Con

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: Init method of servlet called twice?

2002-02-06 Thread Donie Kelly
Yes, Randy, you're right I have two mappings for the same servlet. Can you tell me how to search the archives. Where are they? I only receive this list by mail and have just deleted last weeks list. Thanks for the help Donie -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED

Re: web hosting

2002-02-06 Thread Micael Padraig Og mac Grene
Why does the use of Apache preclude installing and so on web apps? At 12:54 PM 2/6/02 -0700, you wrote: >I have a friend that is hosting a apache/tomcat machine for a couple of >people. > >We are running apache and tomcat 4.0.1 > >Does anyone know a resource for information on how to set this e

Re: Mapping multiple hosts to single Host

2002-02-06 Thread August Detlefsen
In httpd.conf, inside each VirtualHost, you can set the ServerAlias directive - it will allow the same VirtualHost to recognize multiple domain names: NameVirtualHost 12.34.56.78 ServerName myCompany.com ServerAlias myCompany.net myCompany.org myOtherCompany.com #deploy webapps fo

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

2002-02-06 Thread Michel
This seems to work! Thank you very much. gr. Michel > -Original Message- > From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 19:05 > To: Tomcat Users List > Subject: RE: WarpConnector: how to enable static content below dynamic > content? > > >

RE: Init method of servlet called twice?

2002-02-06 Thread Donie Kelly
Thanks Dean but I'm not using IE or Netscape. I'm using a different client which we wrote ourselves. The client hasn't changed but I've done something to cause this behaviour as is didn't do it yesterday Thanks Donie -Original Message- From: Dean Hiller [mailto:[EMAIL PROTECTED]] Se

RE: Init method of servlet called twice?

2002-02-06 Thread Randy Layman
Craig posted a technical explanation of this about two weeks ago, so search the archives for that, but the short version is that for every unique address that your servlet responds to the init method will be called. Having an alias for your servlet (so you can pass parameters) and using t

RE: Tomcat as an NT service

2002-02-06 Thread Randy Layman
This would indicate that Tomcat can't read the server.xml file because its missing the XML parser. Check your wrapper.properties file and make sure that all the TOMCAT_HOME\lib jar files are mentioned where it builds the classpath. Randy > -Original Message- > From: Ke

web hosting

2002-02-06 Thread Mark Gordon
I have a friend that is hosting a apache/tomcat machine for a couple of people. We are running apache and tomcat 4.0.1 Does anyone know a resource for information on how to set this environment up so that each user can manage his/her webapps within tomcat. We cannot restart tomcat (no passw

Re: Init method of servlet called twice?

2002-02-06 Thread Dean Hiller
I remember dealing with problems like that before but they are vague in my head. Your problem is better posted on the java forum I think. I am trying to recall what happened. It was something like I would hit back in my browser and then forward so IE would call init again. I remember having

Init method of servlet called twice?

2002-02-06 Thread Donie Kelly
Hi all Can anybody tell me why the init method can be called twice in a servlet. I am loading the servlet on startup and init is first called there. The first request to the servlet then calls the same init method again? Please help. I cannot init twice. Thanks Donie -- To unsubscribe:

Tomcat 4.0 & Apache 2.0

2002-02-06 Thread Lajos Moczar
Hi all - Has anyone been successful in getting Tomcat 4.0 to work with Apache 2.0? I downloaded the mod_webapp source code (the 1.0.1 tarball as well as the latest from cvs) and compiled it, but libtool would not build a dynamic library. I have no idea why - it complains about something not b

Re: AW: SendMailServlet.class

2002-02-06 Thread Nancy Crisostomo Martinez
Hi again Chad! your problem with classpath sounds strange, and about it I only have a simple question: ¿How did you name your variable, CLASS_PATH or CLASSPATH (without _ )? On the .profile file I have a CLASSPATH varible not CLASS_PATH and everything I add in it, is loaded perfect! greetings!

RE: Tomcat as an NT service

2002-02-06 Thread Ken Sanderson
Nothing in my system logs and the only change to the other log files in the logs folder of tomcat is to jvm.stderr. The message added is: javax.xml.parsers.FactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.SAXParserFactoryImpl at javax.xml.parsers.SAXPar

Tomcat 4.0 Servlet not recognized

2002-02-06 Thread Stefan Langer
Hello I'm using Tomcat 4.0 standalone for developement under Eclipse. I have an application that uses a single Servlet named Dispatcher as a request dispatcher. The Servlet extends HttpServlet. When I start tomcat as an Application in Eclipse Tomcat starts up and trys to load the Servlet. The loa

RE: Tomcat as an NT service

2002-02-06 Thread Alex Perez
Have you got anything in the log for the service? Alex -Original Message- From: Ken Sanderson [mailto:[EMAIL PROTECTED]] Sent: 06 February 2002 19:16 To: Tomcat Users List Subject: Tomcat as an NT service Thanks for the help I recieved early, found out why I couldnt get it to work wit

Verisign CSR generation for Tomcat

2002-02-06 Thread Garske, Tom
I've been trying to locate any documentation on how generate an SSL certificate(CSR)that can be submitted to Verisign via tomcat, however I've been unsuccessful in doing so. The link below, only shows how to create a keystore and this obviously cannot be submitted to a CA. If someone could fo

Tomcat as an NT service

2002-02-06 Thread Ken Sanderson
Thanks for the help I recieved early, found out why I couldnt get it to work with JDK and it would work with JRE. Turns out the software sent the Enterprise Edition not the Standard Edition which has all the bin files I needed, at any rate, all working. I can now run tomcat using the startup comma

Re: SendMailServlet.class

2002-02-06 Thread RSEQUEIRA
Shouldn't it be CLASSPATH instead of CLASS_PATH chad kellerman <[EMAIL PROTECTED]> on 02/06/2002 09:09:15 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject: Re: SendMailServlet.class Sorry to have to write again but I

Re: getParameterMap() question

2002-02-06 Thread Steven Elliott
Never mind. I should know an array when I see one 8§. Apologies for the extra traffic Steven -- To unsubscribe: For additional commands: Troubles with the list:

getParameterMap() question

2002-02-06 Thread Steven Elliott
Sorry if this is somewhat offtopic but maybe some experts here can help clear this up for me. I would like to use the ServletRequest.getParameterMap() in a JSP page using the request object. I post a form in the previous page using the POST method and the request in processed with the following

standardContext.namingInitFailed

2002-02-06 Thread Jack Lauman
I'm getting the following error in my log files after each webapp is loaded: StandardContext[/soap]: Cannot find message associated with key standardContext.namingInitFailed I assume this has something to do with JNDI... how can I fix it? Jack -- To unsubscribe: Fo

Re: AW: SendMailServlet.class

2002-02-06 Thread chad kellerman
Ok, Got it. Geesh, computers really get on my nerves. ;^) I saw that SendMailServlet.java needed two jar files to compile. And since no matter what I did to set the CLASS_PATH it would not work. So I added the jar files in the line: /usr/java/jdk1.3.1_01/bin/javac -classpath ../../../../c

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

2002-02-06 Thread Cressatti, Dominique
What about something like: WebAppDeploy mywebsite warpConnection /*.jsp Dom -Original Message- From: Michel [mailto:[EMAIL PROTECTED]] Sent: 06 February 2002 16:10 To: Tomcat Users List Subject: WarpConnector: how to enable static content below dynamic content? Howdy! I'm Usin

enforce clientAuth

2002-02-06 Thread Sasvari, Zsolt
I'm using Tomcat 3.3 and I configured an SSL connection. It works. Then I set clientAuth="true" for the http connector but nothing changed. Tomcat didn't require a client cert or anything when I access from browser. How can I enforce the client authentication? Any idea? Thanks, Zsolt Sasvari --

Re: SendMailServlet.class

2002-02-06 Thread chad kellerman
Nancy, Actually, for some reason when I ran, ant dist, all the class files were created except the class file for SendMailServlet.java. I tried the create the class file by hand and that's where I ran into trouble I have tried a few things. I am thinking I am going to keep at it today.

Catalina: cannot generate configuration for Apache

2002-02-06 Thread Jarecsni János
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:

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

2002-02-06 Thread Mike Millson
In my experience, this isn't possible. If someone knows how to do it, I sure would like to know also. Mike -Original Message- From: Michel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 11:10 AM To: Tomcat Users List Subject: WarpConnector: how to enable static content be

Re: apache + mod_SSL + tomcat

2002-02-06 Thread Dean Hiller
thanks for the xml Anton that is much better than putting the code in the servlet, and is easy to expand to a per servlet/html page basis. thanks, Dean -- To unsubscribe: For additional commands: Troubles with the list:

Re: apache + mod_SSL + tomcat

2002-02-06 Thread Dean Hiller
In my app, we don't need everything to run over SSL and we are not using apache so we only have ports 80 and 8443. I changed the default 8080 to 80 and should have probably changed 8443 to 443. When SSL is not necessary, we don't use it as it slows down the downloading of the pages. Dean --

AW: SendMailServlet.class

2002-02-06 Thread Ralph Einfeldt
That not his problem, he can't even compile the classes. Saw your previous posts, but I can't help you as we didn't have any problems with JavaMail. > -Ursprüngliche Nachricht- > Von: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 6. Februar 2002 17:02 > An:

RE: SendMailServlet.class

2002-02-06 Thread John Wadkin
A quick rummage on the net turned this up... http://java.sun.com/products/javamail/FAQ.html#securityManager Just type the exception "javax.mail.NoSuchProviderException" into Google and it turns up loads of stuff! John Quote for the week: Experience is not what happens to a man; it is what a

Re: SendMailServlet.class

2002-02-06 Thread Markus Colombo
Hi, Seems like you did not specify a correct host. I specify the host like this: Properties props = new Properties(); props.put("mail.host", "mail.domain.ch"); Session session = Session.getDefaultInstance(props, null); Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress((Stri

RE: SendMailServlet.class

2002-02-06 Thread Loïc Lefèvre
Could you send the e-mail address for recipient(s) and sender that you are using? -Message d'origine- De : Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 6 février 2002 17:02 À : Tomcat Users List Objet : Re: SendMailServlet.class Chad, Although I have added the

WarpConnector: how to enable static content below dynamic content?

2002-02-06 Thread Michel
Howdy! I'm Using Tomcat 4 with Apache 1.3 using the WarpConnector on RH7.2 Because the index page of my website is a JSP, I mapped the root of my website to a tomcat webapp using: WebAppDeploy mywebsite warpConnection / Now I can't use any of the static pages from Apache, like /usage, /

Can I use Form based Authentication to secure my html pages

2002-02-06 Thread Satish Reddy
Hi, I am trying to secure some of my web pages using the Form based Authentication provided by tomcat. I am using tomcat3.3a with Apache 1.3.12. I am able to restrict the jsp pages but not the html pages. Is this the way it works? If there is anything i need to set for html pages. I will a

RE: apache + mod_SSL + tomcat

2002-02-06 Thread Anton Brazhnyk
Hi, > -Original Message- > From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 4:00 PM > To: Tomcat Users List > Subject: RE: apache + mod_SSL + tomcat > > > Anton Brazhnyk answered it. > I followed his advice. > I basically commented out the "Http

Re: SendMailServlet.class

2002-02-06 Thread Nancy Crisostomo Martinez
Chad, Although I have added the activation, mail and pop3 JAR files to the CLASSPATH, TOMCAT_HOME/lib, $TOMCAT_HOME/common/lib, $TOMCAT_HOME/webapps/app/WEB-INF/lib I could run my application, but when I press a button to send the mail, I got an error message on the console and the mail is not

AW: SendMailServlet.class

2002-02-06 Thread Ralph Einfeldt
I guess that's still the same error, you get just a different message with the other jdk. mail.jar in probaly not in the classpath when you call javac. > -Ursprüngliche Nachricht- > Von: chad kellerman [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 6. Februar 2002 16:42 > An: Tomcat U

RE: Squeezing performance out of Tomcat

2002-02-06 Thread Amit Kelkar
One thing that is totally off left field, but may help... We had a similar lag problem, - on one of our clients 100mb network with a HP switch, we were getting lags on images etc. The problem was that it would go to the central server to resolve all IP's and especially domain names. Thus we simp

Error 200?

2002-02-06 Thread Gary Lawrence Murphy
I have a client who wrote a bunch of JSP pages that all return a tomcat "Error 200" in the middle of the headers; because the error message is wrapped in blank lines, the message terminates the HTTP headers causing itself and any subsequent headers to be printed on the html page. I search the ar

Re: SendMailServlet.class

2002-02-06 Thread chad kellerman
Boy, ever had on of those days. I was using the wrong javac. Not the one with the JDK. I used the correct one and now I am getting SendMailServlet.java:7: cannot resolve symbol symbol : class Message location: package mail import javax.mail.Message; For just about every import. I t

RE: [JBoss244-Tomcat401] compatibility issue

2002-02-06 Thread Jarecsni János
Well, it seems I've sent my question too early on the list, sorry for that! The solution is to include request.getServletPath() in the resource name. So now I issue: request.getRequestDispatcher(request.getServletPath()+"/"+dynamicResourceID) Cheers, János -- Jarecsni, János MORGAN HILL CONSULT

RE: SendMailServlet.class

2002-02-06 Thread Mark Meany
Ok, on the index page for JavaMail is a link to the Javabeans Activation Framework, you need that as well: http://java.sun.com/beans/glasgow/jaf.html. mail.jar is available in the JavaMail /lib directory, copy this to your: activation.jar is available in the Javabeans Activation Framework (Jaf

RE: SendMailServlet.class

2002-02-06 Thread Michel
I believe you also need the activation.jar from Sun? Did you get that? gr. Michel > -Original Message- > From: chad kellerman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 16:09 > To: Tomcat Users List > Subject: Re: SendMailServlet.class > > > Sorry to have to write

[JBoss244-Tomcat401] compatibility issue (2)

2002-02-06 Thread Jarecsni János
Hi, a bit of additional info to the previous e-mail: getRequestDispatcher works with static resources (html pages, JSP pages). It only doesn't work with those "dynamic" resources (like screens, request processors). Cheers, János PS: btw, now I don't even see clearly how on earth should getReques

Re: SendMailServlet.class

2002-02-06 Thread chad kellerman
Sorry to have to write again but I am lost. I set the CLASS_PATH. That did not work, I downloaded the javamail, and moved allthe jar file to /usr/local/jakarta-tomcat-4.0/dist/common/lib/ which should have done it. But not. Still same error. I open up SendMailServlet.java and looked: imp

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

2002-02-06 Thread WIPPERT,MAX (HP-Germany,ex1)
Hi Remy, thanx for you answer. Using the Manager App with start&stop or with reload reloads my Servlet, destroy() and init() are processed. Unfortunatly this does NOT force TC4.0 to reload the web.xml. I think I will have a look at the nighly build... Regards, Max -Original Message- F

  1   2   >