[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.
>
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
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
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
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:
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
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
> 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
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
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
: 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;
-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
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/
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
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
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:
embedded.addConnector( httpConnector );
>
>embedded.start();
>
>
>
> ///////////
>///
>
>
> Any ideas what I am doing wrong (I forgot to mention that I am us
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"
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
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
-
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
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
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 ;)
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
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
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
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
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
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
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:
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
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
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
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
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
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
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.
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
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
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
40 matches
Mail list logo