You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Gavin, Rick" <RG...@vidyah.com> on 2003/11/19 00:24:39 UTC

Tomcat & OpenJMS Design Pattern?

Hi All,
  Just wondering if any could post a working design pattern for using
openJMS or another open 
JMS engine with tomcat, preferably a model using asynchronous queue message
handling.  I 
figured someone around here has done it and I would rather use a tried and
true model.  

Looking for some basics about best intregration method, and or for dealing
with async message
Handling.

I currently have openJMS setup using persistent Database storage, using JNDI
content lookup to
Get the JMS connection factory, is this better looked up once and bound to
servlet context as an 
Application scope variable, etc, etc?

Thanks for you any help,

Rick

Replacing the JCE provider

Posted by Michael Jeffrey Tucker <mt...@eecs.harvard.edu>.
Hi,

  I have gone through the mailing list archives, but I haven't found
anything definitive on how to go about replacing the JCE provider for
Tomcat's version of JSSE. My project requires that extremely large keys be
used for SSL, beyond the size that is supported by the Sun implementation
(I need 4096bit RSA keys), and I haven't had any luck getting Cryptix to
play nicely with Tomcat. I've turned on JSSE debugging, but I don't
understand the results that I am seeing: using Cryptix breaks my ability
to establish client authenticated SSL connections.

With my normal setup, I see the following messages at the end of the SSL
handshake in catalina.out:

HttpProcessor[8443][4], READ: TLSv1 Handshake, length = 134
JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
RSA PreMasterSecret version: TLSv1
 ...

If I add Cryptix as my primary provider in my java.security file, and
update my classpaths appropriately (but leave everything else the same,
including client certificates), I get:

HttpProcessor[8443][4], READ: TLSv1 Handshake, length = 134
JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
RSA PreMasterSecret version: TLSv1
 ...

I have written a small test program that demonstrates that the Cryptix
libraries are working properly (it encrypts and then decrypts a string),
and I have verified that the Cryptix provider is being activated by
varying the key length to values greater than 2048. I am unsure if this is
a JSSE problem or a tomcat problem, but I was hoping that someone on this
list might be able to offer me some guidance in finding the root of the
issue. If you have any suggestions, please let me know!

Thanks,
Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat & OpenJMS Design Pattern?

Posted by Rodrigo Ruiz <rr...@gridsystems.com>.
You could check this article

http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html

HTH,
Rodrigo Ruiz
Gavin, Rick wrote:

>Hi All,
>  Just wondering if any could post a working design pattern for using
>openJMS or another open 
>JMS engine with tomcat, preferably a model using asynchronous queue message
>handling.  I 
>figured someone around here has done it and I would rather use a tried and
>true model.  
>
>Looking for some basics about best intregration method, and or for dealing
>with async message
>Handling.
>
>I currently have openJMS setup using persistent Database storage, using JNDI
>content lookup to
>Get the JMS connection factory, is this better looked up once and bound to
>servlet context as an 
>Application scope variable, etc, etc?
>
>Thanks for you any help,
>
>Rick
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org