[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] How to use HTTPS within WebLogic Application Server





Here is my problem.
I created a stateless session bean which is deployed on WebLogic
Application Server (5.1).
The stateless session uses IAIK's SSL to post a request to a third party
web site and recieves
a response back. The posting is fine but the problem timesout when it tries
to retry the InputStream
from URLConnection object.
Here is the stack trace for the exception on the App Server side:

Error org.w3c.www.protocol.http.HttpException: java.net.SocketException:
Connect
ion shutdown: JVM_recv in socket input stream read:
https://clienttest.elightbri
dge.com/xmlpostorg.w3c.www.protocol.http.HttpException:
java.net.SocketException
: Connection shutdown: JVM_recv in socket input stream read:
https://clienttest.
elightbridge.com/xmlpost
        at com.lightbridge.webpost.LbWebPost.receive(LbWebPost.java,
Compiled Co
de)
        at
com.lightbridge.ejb.HttpPostBean.doTransaction(HttpPostBean.java:84)
        at
com.lightbridge.ejb.HttpPostBeanEOImpl.doTransaction(HttpPostBeanEOIm
pl.java:56)
        at
com.lightbridge.ejb.HttpPostBeanEOImpl_WLSkel.invoke(HttpPostBeanEOIm
pl_WLSkel.java:94)
        at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java, Compiled Code)
        at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:69)
        at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:15)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Fri Jan 05 16:37:29 EST 2001:<E> <ConMan> Attempt to sendMsg using a closed
 conn
ection
Fri Jan 05 16:37:29 EST 2001:<E> <RJVM> Exception on send :
weblogic.rmi.Connect
Exception: Attempt to sendMsg using a closed connection

I am use a test problem which works fine outside the app server.

The program blows up at the following line:

InputStream miStream = urlConnection.getInputStream();

Any ideas how to get it to work??
Thanks a lot.
-- Lei


--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce