I have requirement that my java server program to be running from within weblogic server.
I created a java Server program which is created as a thread.This thread is started when weblogic starts.
Here is the code for actual request handler
When I run the third party client which talks to ths server program I get socket exception saying connection reset.
If I run this server as an independent program it works fine. Running from within gives socket exception.
Has anyone faced this problem?I would appreciate your reply since I already spent couple of days on this.
Regards Robert sk
Joined: Jul 17, 2008
This is the exception i get..
java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168 at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299)Inside if if(message.isOneLiner() && message.isHeader()) at java.io.BufferedReader.readLine(BufferedReader.java:362)Entering sendMessage at com.fapd.lpi.mlpi.util.MLPIRequestHandler.handleRequest(MLPIRequestHandler.java:119) at com.fapd.lpi.mlpi.util.MLPIRequestHandler.run(MLPIRequestHandler.java:190) at java.lang.Thread.run()V(Unknown Source)