LongReach iSeries Jobs Not Running

Use this Forum to post your technical support questions. The LongReach Support Team at LANSA will monitor this Forum and provide answers to your questions and corrections or work-arounds for product malfunctions (where applicable). LANSA cannot guarantee the accuracy of any information posted by customers.
Post Reply
nic.hall@lansa.com
Posts: 1
Joined: Tue Feb 02, 2016 1:44 am

LongReach iSeries Jobs Not Running

Post by nic.hall@lansa.com » Tue Feb 02, 2016 1:46 am

LongReach jobs JSMJOB01 and STRLONG are ending immediately when the subsystem is started.
The trace file STDERR.txt contains the following messages;

java.net.BindException: The socket name is already in use.
at java.net.PlainSocketImpl.socketBind(PlainSocketImpl.java:587)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:444)
at java.net.ServerSocket.bind(ServerSocket.java:337)
at com.lansa.jsm.k.char(Unknown Source)
at com.lansa.jsm.w.<init>(Unknown Source)
at com.lansa.jsm.JSMManager.else(Unknown Source)
at com.lansa.jsm.JSMManager.do(Unknown Source)
at com.lansa.jsm.JSMManager.new(Unknown Source)
at com.lansa.jsm.JSMManager.main(Unknown Source)

LongReach uses port 6563 which the customer has monitored and states "We have been checking port 6563 on the iSeries and have not seen any t raffic on that port."

alick
Posts: 67
Joined: Fri Dec 09, 2011 7:52 am

Re: LongRrach iSeries Jobs Not Running

Post by alick » Tue May 03, 2016 9:04 am

java.net.BindException: The socket name is already in use.

This error occurs because another Socket Server listener is using the same port.

The ports reserved for LONGREACH are:

6560 JSM
6561 Studio/COnsole
6562
6563 HTTP
6564 HTTPS

A default install, normally uses 6560, 6561 and 6563.

Determine the ports being used by the LONGREACH server, refer to system/manager.properties.

tcp.port
console.tcp.port

Determine the port being used by the LONGREACH server, refer to system/httpd.xml

<listen port="6563" sslport="6564" interface="*ALL" secure="false" .... />

Use the NETSTAT command to view current connections and find if the these ports are being used.

Post Reply