Moin,
habe ein (kleines) Problem mit meinem Programm:
Vom Windows aus funktioniert es ohne Probleme,
auf der AS400 jedoch nicht
nur auf einer AS400 -> Maschinen ist neu,
auf zahlreichen anderen Maschinen gibt es keine Probleme.
Der Job wird auf der AS400 mit dem Benutzer "Hans" ausgeführt.
funktionert alles ohne Probleme.Code:String sUser = "*CURRENT"; // Windows: Hans String sPassword = "*CURRENT"; // Windows: geheim String sSystem = "localhost"; // Windows: 192.168.1.5 AS400 as400 = new AS400(sSystem, sUser, sPassword); as400.validateSignon(sUser, sPassword); as400.disconnectAllServices();
bekomme ich folgende Fehlermeldung:Code:AS400ConnectionPool connectionpool = new AS400ConnectionPool(); connectionpool.setThreadUsed(true); connectionpool.setMaxConnections(-1); connectionpool.setMaxInactivity(-1); connectionpool.setRunMaintenance(false); final SocketProperties sp = new SocketProperties(); sp.setKeepAlive(false); sp.setSoLinger(0); sp.setSoTimeout(0); sp.setTcpNoDelay(true); sp.setReceiveBufferSize(8096); sp.setSendBufferSize(1492); connectionpool.setSocketProperties(sp); AS400 con = connectionpool.getConnection(sSystem, sUser, sPassword, AS400.FILE);
Code:com.ibm.as400.access.ConnectionPoolException: Ein ferner Host antwortete nicht innerhalb des Zeitlimits. at com.ibm.as400.access.AS400ConnectionPool.getConnection( AS400ConnectionPool.java:518)
in der TCP/IP Host Tabelle ist
127.0.0.1 localhost
eingetragen
auch ein ping 'localhost' funktioniert
Was könnte das Problem sein?
Das Programm mit den oben gesetzten Einstellungen läuft so schon seit zahlreichen Jahren.
Danke
TR
![[NEWSboard IBMi Forum]](images/duke/nblogo.gif)

Mit Zitat antworten
Bookmarks