Re: Embedded Tomcat and SSL? [255821:132351]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] > Received: 10/7/2005 5:45 PM > To: "Tomcat Users List" ;" Mark" <[EMAIL > PROTECTED]> > Subject: Re: Embedded Tomcat and SSL? > > I am using Tomcat as standalone and not with Apache. > I got it to work after playing with it for a while. >

Re: Embedded Tomcat and SSL?

2005-10-07 Thread lmuxer-mailinglists
I am using Tomcat as standalone and not with Apache. I got it to work after playing with it for a while. You have to set these undocumented properties to get SSL working properly: if (isSSLEnabled) { IntrospectionUtils.setProperty(httpConnector, "sslProtocol", "TLS"); Introspecti

Re: Embedded Tomcat and SSL?

2005-10-06 Thread Mark
are you using Apace with Tomcat? I have done embedded Tomcat and SSL, but it was Apache sitting in front of Tomcat. On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I am using an embedded tomcat instance within my application. I am > trying to set up a connector using SSL. When

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Mark
I have done something like this. The Factory and Singleton design patters work perfectly for this type of thing. If you create an abstraction layer, then there should be no problems On 9/28/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > still, spring can use the same factory. > If not, use

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Leon Rosenberg
still, spring can use the same factory. If not, use a container that can use factories :-) If nothing works, the hack would be: class MyObjectInstanceHolder{ private static MyObject instance; public set/getInstance... } ? regards leon On 9/28/05, Darryl L. Pierce <[EMAIL PROTECTED]> wrote:

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Darryl L. Pierce
Leon Rosenberg wrote: Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? Because the class in question is created by Spring's application

Re: Embedded Tomcat and shared objects...

2005-09-27 Thread Leon Rosenberg
Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? regards leon On 9/27/05, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > I have embedded T

RE: Embedded Tomcat & SSL

2005-06-23 Thread Caldarale, Charles R
> From: Diarmuid McDonald [mailto:[EMAIL PROTECTED] > Subject: RE: Embedded Tomcat & SSL > > Unfortunately I havent found a solution. If anyone has done > Java Embedded Tomcat using SSL, could they post a simple test program. Can't really comment about how it's do

RE: Embedded Tomcat & SSL

2005-06-23 Thread Diarmuid McDonald
ne 2005 14:40 >To: Tomcat Users List >Subject: RE: Embedded Tomcat & SSL > > >Hi Mark, > >thanks for your replies. Is there any chance you could mail your complete >code, for getting embedded Tomcat and SSL working. > >I Implemented creating a Connector this way howe

RE: Embedded Tomcat & SSL

2005-06-21 Thread Freddie Willis
List Subject: RE: Embedded Tomcat & SSL Hi Mark, thanks for your replies. Is there any chance you could mail your complete code, for getting embedded Tomcat and SSL working. I Implemented creating a Connector this way however, I was unsuccessful and got the following Error. I have no idea

RE: Embedded Tomcat & SSL

2005-06-09 Thread Diarmuid McDonald
: 08 June 2005 19:09 To: Tomcat Users List Subject: Re: Embedded Tomcat & SSL I followed very closely the Embedded.java found in the tomcat source code... Here is the createConnector method --START-- public Connector createConnector( String protocol) { Connector connector = null;

Re: Embedded Tomcat & SSL

2005-06-08 Thread Mark
-Original Message- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: 08 June 2005 16:12 > To: Tomcat Users List > Subject: Re: Embedded Tomcat & SSL > > > I do not think that you need an SSL connector. I have an embedded > tomcat working using mutual authenticated SSL

RE: Embedded Tomcat & SSL

2005-06-08 Thread Diarmuid McDonald
Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: 08 June 2005 16:12 To: Tomcat Users List Subject: Re: Embedded Tomcat & SSL I do not think that you need an SSL connector. I have an embedded tomcat working using mutual authenticated SSL and the connector is not SSL enabled. On 6/

Re: Embedded Tomcat & SSL

2005-06-08 Thread Atul
Hi Mark, On a similar note, would you be able to point me on how to get CRL validator invoked by tomcat 5.x for ssl/mutual. thnks On 6/8/05, Mark <[EMAIL PROTECTED]> wrote: > I do not think that you need an SSL connector. I have an embedded > tomcat working using mutual authenticated SSL and t

Re: Embedded Tomcat & SSL

2005-06-08 Thread Mark
I do not think that you need an SSL connector. I have an embedded tomcat working using mutual authenticated SSL and the connector is not SSL enabled. On 6/8/05, Diarmuid McDonald <[EMAIL PROTECTED]> wrote: > Hi, > > Can anyone help me with regard to running Embedded Tomcat 5.5.9 with SSL. I > f

Re: Embedded Tomcat & SSL

2005-05-31 Thread tom ONeill
From: Aleksandar Valchev <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: Embedded Tomcat & SSL Date: Tue, 31 May 2005 13:14:14 +0300 On Tuesday 31 May 2005 12:39, tom ONeill wrote: You see tomcat home page on http://localhost:

Re: Embedded Tomcat & SSL

2005-05-31 Thread Aleksandar Valchev
embedded.addConnector( httpConnector ); > >embedded.start(); > > > > /////////// >/// > > > Any ideas what I am doing wrong (I forgot to mention that I am us

Re: Embedded Tomcat & SSL

2005-05-31 Thread tom ONeill
embedded.addConnector( httpConnector ); embedded.start(); // Any ideas what I am doing wrong (I forgot to mention that I am using embedded Tomcat 5.5.9). Cheers, Tom From: Aleksandar Valchev <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List"

Re: Embedded Tomcat & SSL

2005-05-31 Thread tom ONeill
embedded.addConnector( httpConnector ); embedded.start(); // Any ideas what I am doing wrong (I forgot to mention that I am using embedded Tomcat 5.5.9). Cheers, Tom From: Aleksandar Valchev <[EMAIL PROTECTED]> Reply-To: "Tomcat Users

Re: Embedded Tomcat & SSL

2005-05-31 Thread Aleksandar Valchev
You have to tell tomcat where to find keystore file: IntrospectionUtils.setProperty(connector, "sslProtocol", "TLS"); IntrospectionUtils.setProperty(connector, "keypass", "keystore-password"); IntrospectionUtils.setProperty(connector, "keystore", "path-to-keystore"); Hope this helps Aleksandar -

Re: Embedded tomcat ussage

2005-03-31 Thread QM
On Thu, Mar 31, 2005 at 03:18:30PM +0200, Renat Zubairov wrote: : I have a question concerning embedded tomcat. : How to make it even more embedded as it is? : I.e. do not extract war file somewhere but getting a files from it directly? : Is there any standart way to acomplish it? It depends on wh

Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Remy Maucherat
On Tue, 23 Nov 2004 10:31:07 -0500, Shapira, Yoav <[EMAIL PROTECTED]> wrote: > > Hi, > > >I think the > >problem with developers is lack of concrete documentation on this area. > > As always, your (and anyone else's) help is welcome. Feel free to > submit documentation and code patches to your

RE: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Shapira, Yoav
Hi, >I think the >problem with developers is lack of concrete documentation on this area. As always, your (and anyone else's) help is welcome. Feel free to submit documentation and code patches to your heart's content. Or alternatively, feel free to pay people to write documentation for you ;)

Re: Embedded Tomcat error (tomcat 5.5.4)

2004-11-23 Thread Vy Ho
Yes, I see this error before myself, and did the same tracing. Instead of patching the code, I just created the connector externally (instead of calling createConnector). That may not be the right thing to do though. Strangely that so many things that works with the version 5.028 is broken in

RE: Embedded Tomcat deploying WAR with URL of type jar:

2004-11-17 Thread Shapira, Yoav
Hi, Or the Manager webapp docs, which show example WAR URLs. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Ben Souther [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 16, 2004 6:34 PM >To: Tomcat Users List >Subject: Re: Embedded Tomcat deploying

Re: Embedded Tomcat deploying WAR with URL of type jar:

2004-11-16 Thread Ben Souther
Hi Joe, >URL warFile = new URL("jar:C:/source/ROOT.war"); Take a look at the syntax for the JarURLConnection class. http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html -Ben Souther F.W. Davison & Co, Inc. ;-) On Tue, 2004-11-16 at 17:59, Joe Reger, Jr. wrote: > Hi. > > I

RE: Embedded Tomcat + JMX

2004-10-22 Thread sven morales
The attached minmgr.xml clearly shows no other Realm other than MemoryRealm is set. And the web.xml of the stock /manager webapp set the authentication to BASIC. So please if you can check the attached minmgr.xml file and see how it possibly uses JAASRealm? I restarted again and see these lo

RE: Embedded Tomcat + JMX

2004-10-22 Thread Shapira, Yoav
Hi, Maybe ask the book's author ;) Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: sven morales [mailto:[EMAIL PROTECTED] >Sent: Friday, October 22, 2004 3:12 PM >To: [EMAIL PROTECTED] >Subject: Embedded Tomcat + JMX > > I tried the Embedded class to work with Tomca

RE: Embedded tomcat

2004-10-22 Thread Shapira, Yoav
Hi, See the Embedded class itself: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s hare/org/apache/catalina/startup/Embedded.java?rev=1.24&view=markup. It's fairly self-evident. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Steffen Heil [mai

RE: Embedded Tomcat with no war or webapps

2004-07-20 Thread Shapira, Yoav
Hi, Yeah, you'd use StandardContext#createWrapper, set the class on the Wrapper object, and StandardContext#addServletMapping. There might also be a JMX way to do this. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Michael Banks [mailto:[EMAIL PROTECTED] >Sent:

Re: Embedded Tomcat and SSL

2004-05-21 Thread Jeanfrancois Arcand
Sander Smith wrote: I have a problem that I'm unfortunately finding little documentation to help. I'm writing a servlet and embedding it in a larger Java program by using the org.apache.catalina.startup.Embedded class. Things have been working fine up until now. I'm currently trying to add SSL

Re: embedded tomcat 5

2003-10-21 Thread Remy Maucherat
Mark W. Webb wrote: could you please give more information on the "JMX way". thanks http://apache.crihan.fr/dist/jakarta/tomcat-5/v5.0.12-beta/bin/jakarta-tomcat-5.0.12-embed.tar.gz -- x Rémy Maucherat Senior Developer & Consultant JBoss Group (Europe) SàRL xxx

Re: embedded tomcat 5

2003-10-21 Thread Mark W. Webb
could you please give more information on the "JMX way". thanks Jean-Francois Arcand wrote: Shapira, Yoav wrote: Howdy, The docs are in the Embedded class' javadoc: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap ache/catalina/startup/Embedded.html It's largely the s

Re: embedded tomcat 5

2003-10-21 Thread Jean-Francois Arcand
Shapira, Yoav wrote: Howdy, The docs are in the Embedded class' javadoc: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap ache/catalina/startup/Embedded.html It's largely the same for tomcat 5 as tomcat 4. There are several articles, references, etc online for using embe

RE: embedded tomcat 5

2003-10-21 Thread Shapira, Yoav
Howdy, The standard distribution should be fine. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mark W. Webb [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 21, 2003 2:50 PM >To: Tomcat Users List >Subject: Re: embedded tomcat 5 > >loo

Re: embedded tomcat 5

2003-10-21 Thread Mark W. Webb
looking at the directory: http://ftp.epix.net/apache/jakarta/tomcat-5/v5.0.12-beta/bin/ there is more than one binary distribution. You have deployer, embed and standard. thank you for the help Shapira, Yoav wrote: Howdy, The docs are in the Embedded class' javadoc: http://jakarta.apache.org

RE: embedded tomcat 5

2003-10-21 Thread Shapira, Yoav
Howdy, The docs are in the Embedded class' javadoc: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap ache/catalina/startup/Embedded.html It's largely the same for tomcat 5 as tomcat 4. There are several articles, references, etc online for using embedded tomcat 4: google.

Re: Embedded Tomcat Problem

2002-11-26 Thread Lee Peik Feng
CTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 1:27 AM Subject: Re: Embedded Tomcat Problem > > > On Tue, 26 Nov 2002, Lee Peik Feng wrote: > > > Date: Tue, 26 Nov 2002 18:27:11 +0800 > > From: Lee Peik Feng <[EMA

Re: Embedded Tomcat Problem

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Lee Peik Feng wrote: > Date: Tue, 26 Nov 2002 18:27:11 +0800 > From: Lee Peik Feng <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Embedded Tomcat Problem > > Hi all, > I am running on WinMe platfor

Re: Embedded Tomcat Problem

2002-11-26 Thread Andreas Probst
Hi, try to set the complete path like CLASSPATH=.;"c:\path\to\lib\bootstrap.jar" etc. Maybe also without quotes. In a message today it was suggested not to mix forward and back slashes as you did. Subject was: Re: Problems running Tomcat from command line I hope this helps. I can't help you wit