> > I have the following line in my code:
> >
> > context=new InitialContext(ht);
> >
> > where context is an instance of Context and ht is an instance of
> > Hashtable.
> > Running the above line on
> > a P2/366 with Win2000 takes up to 40(!) seconds so I wondered if
> > there's
> > anything wrong. Do you
> > have any ideas ?? (btw. I'm running SMQ 1.2c with SSL - an JSSE
> > listener is
> > running and I changed the
> > default socket factory to the JSSE one - and authentication enabled.
>
> JSSE must generated a seed at the beginning for SSL encryption. The seed
> is generated once per app and it will be re-used. But it takes some
> secs...
>
Tried it. Seems to be the problem. How re-usable is that context, as in, can
I have a global
one and just use it from multiple threads ? Does it need to be sync'd ?
S. Zwedler
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/