[ mx4j-Bugs-633153 ] bug in ssl http adapter example class

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #633153, was opened at 2002-11-04 09:21
Message generated for change (Settings changed) made by biorn_steedom
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=633153&group_id=47745

>Category: MX4J Tools
>Group: Release 2.0.0
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: superbonbon (superbonbon)
Assigned to: Simone Bordet (biorn_steedom)
Summary: bug in ssl http adapter example class

Initial Comment:
examples.tools.adaptor.http.SSLHttpAdaptor class
has a bug at line 180 in release 1.1.1 :

server.setAttribute(serverName, new Attribute
("SocketFactoryName", sslFactory.toString()));

the attribute SocketFactoryName requires an 
ObjectName and not a string.

server.setAttribute( serverName, new Attribute
("SocketFactoryName", sslFactory ) );

or server.setAttribute(serverName, new Attribute
("SocketFactoryNameString", sslFactory.toString()));

fixes the error.

----------------------------------------------------------------------

Comment By: Simone Bordet (biorn_steedom)
Date: 2003-11-30 16:22

Message:
Logged In: YES 
user_id=128193

Thanks, fixed as you proposed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=633153&group_id=47745


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.