Re: BASIC authentication in Tomcat 5.5.x vs. 5.0.x?

2007-07-13 Thread Bill Barker
"Thomas Hicks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a web application which uses BASIC authentication. > > In Tomcat 5.0.28 (under Java 1.5 and Fedora Core 4) accessing > the protected webapp causes the browser to popup a login box > where username and password are

Maybe a POJO container will help you

2007-07-13 Thread Johnny Kewl
Here is something I think anyone that loves tomcat and wishes it had a lite pojo container, may like. http://coolese.100free.com/files/quick_tutorial.htm Its a little something I being playing with and slowly developing for Tomcat, and its rather radical it a POJO container. Its really just

RE: BASIC authentication in Tomcat 5.5.x vs. 5.0.x?

2007-07-13 Thread Caldarale, Charles R
> From: Thomas Hicks [mailto:[EMAIL PROTECTED] > Subject: BASIC authentication in Tomcat 5.5.x vs. 5.0.x? > > The web.xml file for the web application contains the > following security configuration portion, which enables > password access in 5.0.x but doesn't work in 5.5.x: The problem is very

PORTLETS On Tomcat...

2007-07-13 Thread Johnny Kewl
Done a little more research on portlets but still havnt got the things running on my dev environment If you wondering what a portlet is here are two very interesting flash video's http://portalpack.netbeans.org/files/documents/212/1236/plugindemo_deployment_management.htm https://portlet

BASIC authentication in Tomcat 5.5.x vs. 5.0.x?

2007-07-13 Thread Thomas Hicks
I have a web application which uses BASIC authentication. In Tomcat 5.0.28 (under Java 1.5 and Fedora Core 4) accessing the protected webapp causes the browser to popup a login box where username and password are entered. This works well, no matter whether passwords are plain or SHA digested and

RE: JavaMail SMTP authentication in JSP

2007-07-13 Thread Propes, Barry L
I'll send you some offline. Although I basically gave up on it here because we couldn't get the email admins to allow relaying. -Original Message- From: Lyallex [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 10:21 AM To: Tomcat Users List Subject: Re: JavaMail SMTP authentication

RE: SMTP

2007-07-13 Thread Propes, Barry L
depends...you might still have relay problems, as per incumbent upon restrictions by your provider. -Original Message- From: Mike Peremsky [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 2:15 PM To: users@tomcat.apache.org Subject: SMTP Does anything special need to be set up on m

Re: SMTP

2007-07-13 Thread Edoardo Panfili
Mike Peremsky ha scritto: Does anything special need to be set up on my local machine (Windows XP) to get SMTP working with Tomcat and JavaMail? Mike I am using java mail, I have two jars in the tomcat lib directory: mail.jar activation.jar take a look at http://java.sun.com/products/j

SMTP

2007-07-13 Thread Mike Peremsky
Does anything special need to be set up on my local machine (Windows XP) to get SMTP working with Tomcat and JavaMail? Mike - Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.

RE: Tomcat thread management like Apache mpm-worker

2007-07-13 Thread Caldarale, Charles R
> From: Miguel Angel Tormo [mailto:[EMAIL PROTECTED] > Subject: Tomcat thread management like Apache mpm-worker > > I ask that question because I am using Tomcat 5.5 with JDK > 1.4 in Linux 2.6 and I have only one process running, so it > is using only one CPU for all the threads. Am I wrong her

Tomcat thread management like Apache mpm-worker

2007-07-13 Thread Miguel Angel Tormo
Hi all, I have a few questions regarding the process and thread management with Tomcat: Is there a way to achieve some sort of process-threads handling such as that of the mpm-worker of Apache http server? I ask that question because I am using Tomcat 5.5 with JDK 1.4 in Linux 2.6 and I have on

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Mark H. Wood
If you *do* get it working with TLS, I'd appreciate hearing how. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. pgpvqA6KJOlKV.pgp Description: PGP signature

tomcat 6 upgrade problems.

2007-07-13 Thread Alex Jalali
Hello, I've upgraded from tomcat 5.5 to 6. There are some problems that I need help. 1. I compiled the native .libs and added it to catalina. the startup indicated no errors and loaded with Apr. but looking at the cpu usage it was taking 99% of it. even though there was no errors and the webapp w

RE: axis - tomcat "loader constraint violation"

2007-07-13 Thread E Koutsoudaki
Hi, the library was required to be in the Tomcat\common\lib, so I have removed it from the Tomcat\webapps\axis\WEB-INF\lib as you said and now it works fine! Thank you very much for your help, Elisavet Quoting "Reich, Matthias" <[EMAIL PROTECTED]>: Hi, it looks as if class javax/xml/rpc/Se

RE: Running tomcat under root user

2007-07-13 Thread Peter Crowther
> From: Sridhar Kulkarni [mailto:[EMAIL PROTECTED] > I want to run the tomcat server as root usser... I am not > able to find the > documentation for running tomcat under root user on Ubuntu. > Please any one has any idea? su cd /bin ./startup.sh Or am I missing something obvious?

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Lyallex
properties.put("mail.smtp.auth", "true"); ... transport.connect(host, user, pass); possibly ? rgds Duncan On 7/13/07, Garthfield Carter <[EMAIL PROTECTED]> wrote: Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMa

Running tomcat under root user

2007-07-13 Thread Sridhar Kulkarni
Hi, I want to run the tomcat server as root usser... I am not able to find the documentation for running tomcat under root user on Ubuntu. Please any one has any idea? -S _ Shaadi.com Matrimonials. Register FREE! http://www.sha

Problem with Tomcat 5.5 clustering

2007-07-13 Thread Thomas Gaudin
Hi, I Have two Tomcat Cluster (version 5.5 and jdk 1.5) I've configured my Tomcat with Cluster TAG and when I start Tomcat server, I have this message in the log file : WARNING: Manager [/Exemple], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://127.0.0.1:40

RE: axis - tomcat "loader constraint violation"

2007-07-13 Thread Reich, Matthias
Hi, it looks as if class javax/xml/rpc/Service was as well found in common/lib as in the WEB-INF/lib folder of your webapp. If the webapp classloader looks for this class, it will first look in webapps private resources. However, the class had been loaded and resolved before via the common clas

axis - tomcat "loader constraint violation"

2007-07-13 Thread E Koutsoudaki
Dear all, as part of a project I am working on I have to add to an existent Java based web application the functionality of retrieving information from the NCBI web service. I have generated the Java source files by following the instructions in the NCBI website at: http://www.ncbi.nlm.nih.gov/ent

Re: Tomcat cannot access the resources in an HTTPS webapp

2007-07-13 Thread Mark Thomas
Dimitris Mouchritsas wrote: > > HTTPS > ORA Examples > There is no such authentication method defined in the spec. If you want client certificate authentication then the correct value is CLIENT-CERT. Mark - To star

Re: Tomcat 5.5.x: Null component

2007-07-13 Thread Mark Thomas
hezjing wrote: > The dummy\WEB-INF\classes\log4j.properties contains the following, > > log4j.rootLogger=ALL, stdout > log4j.appender.stdout=org.apache.log4j.ConsoleAppender > log4j.appender.stdout.layout=org.apache.log4j.PatternLayout > log4j.appender.stdout.layout.ConversionPattern=%d{/MM/dd

Re: problem with Tomcat 5.5.17, Axis 2, MySQL 3.1.12, JNDI

2007-07-13 Thread albert quinn
Hi again David !!! : Many thanks again. I've checked the mysql driver was in Tomcat's "common/lib" directory... it was. So, i've been reading again the Tomcat docs a lot of time, trying this, trying that... and finally i've solved the problem!!!. The problem was the "name" atribute in t

Tomcat cannot access the resources in an HTTPS webapp

2007-07-13 Thread Dimitris Mouchritsas
Hi, I'm running Tomcat 6.0.13 in Windows XP SP2. I've configured Tomcat to use SSL through the documentation instructions and it works, since I can access the ROOT webapp from https. The problem is a book example I'm trying. I've set up web.xml like this: search /ch13/search/*

Re: Undeploying war application

2007-07-13 Thread David Smith
The manager webapp will undeploy a web application completely deleting all the app's files under webapps as well as it's context.xml file. As I understand there is a small chance the classloader may be held on to slowly increasing the memory consumption. That dependents on the specific librar

Log4j errors on Tomcat6 startup

2007-07-13 Thread Mark Faircloth
Hi, We are in the process of migrating from 5.5 to 6 under Win32/64 and need to alter the locations of some of our jars files because of the changes to the directory structure and the class loading. Under 5.5 we have commons-logging.jar and log4j.jar in WEB-INF\lib and that works fine. For

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Mildly embarrasing, but the below example works. Please ignore this thread. Really ought to have tested my last change sorry. Garthfield Garthfield Carter wrote: Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMa

JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMail? I've been trying unsuccessfully for two days trying to get something working. I'm just trying in plain text at the moment, I don't need SSL or anything. Below

Undeploying war application

2007-07-13 Thread Prashant Thakkar
Hello, I am new to tomcat. I would like to know how to undeployee any war application from tomcat without stoping or restarting tomcat. Do tomcat manager account will undeployee war files and its configuration files properly? or is there any other way to do this job. -- Prashant Thakkar

Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova
And it's possible to know what threads are really doing? And I don't understand why having the following 3 connectors maxThreads="400" minSpareThreads="25" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" I

Re: Tomcat - All threads (200) are currently busy

2007-07-13 Thread André Vila Cova
1 . no 2 . lot of users On 7/12/07, Leon Rosenberg <[EMAIL PROTECTED]> wrote: Stupid question: 1. are you using keep alive? 2. how many users are actually on? regards Leon On 7/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > Ingo, > > Ingo Krabbe wrote: > > Am Donnerstag, 12. Juli 200