[Mc4j-development] [ mc4j-Bugs-1516475 ] Unable to connect to Websphere 5.1
Brought to you by:
ghinkl
From: SourceForge.net <no...@so...> - 2006-07-03 17:47:48
|
Bugs item #1516475, was opened at 2006-07-03 17:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1516475&group_id=60228 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Connections Group: MC4J 1.2b9 Status: Open Resolution: None Priority: 5 Submitted By: Brennan Spies (bspies) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to connect to Websphere 5.1 Initial Comment: The WebsphereConnectionProvider class assumes that security is turned off. This obviously causes a connection problem with the default setup for Websphere 5.1's JMX SOAP connector. I can see you are using the AdminClient to connect. You should check/set the additional security-related properties and the connection should work fine. >From the Websphere documentation: An exmample to make a secure SOAP based AdminClient: Properties props = new Properties(); props.setProperty(AdminClient.CONNECTOR_HOST, "localhost"); props.setProperty(AdminClient.CONNECTOR_PORT, "8880"); props.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP); props.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true"); props.setProperty(AdminClient.USERNAME, "test2"); props.setProperty(AdminClient.PASSWORD, "user24test"); props.setProperty("javax.net.ssl.trustStore", "C:/WebSphere/AppServer/etc/DummyClientTrustFile.jks"); props.setProperty("javax.net.ssl.keyStore", "C:/WebSphere/AppServer/etc/DummyClientKeyFile.jks"); props.setProperty("javax.net.ssl.trustStorePassword", "WebAS"); props.setProperty("javax.net.ssl.keyStorePassword", "WebAS"); AdminClient client = AdminClientFactory.createAdminClient(props); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=1516475&group_id=60228 |