Groups > Weblogic > WebLogic Portal > Unable to connect to producer.




Unable to connect to producer.

Unable to connect to producer.
Fri, 9 May 2008 08:40:19 -0700
Hello,

[b]Brief:[/b]
Get an SSL error when I try to create a remote portlet, poinitng to a producer
URL that is local to my network and available on a http.

[b]Details:[/b]

I was experimenting with WSRP and tried to create a remote portlet in the
workshop on my local machine. In my portal project when I try to Add
Portlet>>Select Remote in the Portlet Wizard

On the Find Producer page I provided the URL for the producer (which is local to
my intranet and is accessible through the browser)
"http://server2/p2pd_poc/servlet/dispatch/wsrp/cps4/portlets/nav?wsdl&b
_action=cps.wsdl"

This throws the following error:
!MESSAGE [Portal-ERROR] There was a problem getting the Service Description for
this producer.
Reason = ProducerAgent::javax.net.ssl.SSLException: Unrecognized SSL message,
plaintext connection?

!ENTRY com.bea.wlp.eclipse.common 4 4 2008-05-09 09:29:45.711
!MESSAGE Unrecognized SSL message, plaintext connection?
!STACK 0
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at
com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:52
1)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl
.java:1030)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:105
7)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:104
1)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
	at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDe
legateHttpsURLConnection.java:170)
	at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.ja
va:861)
	at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnec
tionImpl.java:230)
	at
weblogic.wsee.connection.transport.http.HTTPClientTransport.send(HTTPClientTrans
port.java:173)
	at weblogic.wsee.connection.soap.SoapConnection.send(SoapConnection.java:57)


[b]Doubts[/b]
There seems to be a SSL handshake which is failing. If my url for the producer
is http why do we see a SSL error.  Are there any step that I have to take
before I can consume a producer.

[Using the latest Portal 10.2 version]

Thanks.
Post Reply
about | contact