Guest
(Guest)
July 18, 2008, 7:49pm
1
Hello,
I’m trying to connect to webMethods Integration server on an external customer network. The server is running ssh. I need to create an ssh tunnel from my desktop to the server and then connect webMethods Developer 6.5 to the server via the ssh tunnel.
I can connect via ssh to the customer server and create an ssh tunnel. However when I try to connect to the listening port (5505) on my local desktop, the connection dies with the error :
Could not open session to host ‘localhost:5505’
java.net.SocketException: Connection reset
Any ideas?
wmnewby
Guest
(Guest)
July 21, 2008, 7:37pm
2
When I turn on debug for webMethods developer the following trace is returned:
look and feel is > class com.webmethods.caffeine.plaf.CaffeineLookAndFeelII
Developer 6.5 Build 394
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.pkg.art.ui.plugin.Conn
ectionDataNodePlugIn
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.pkg.art.ui.plugin.List
enerPlugIn
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.ff.ui.FFNodePlugIn
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.ff.ui.FFDictionaryPlug
In
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.ff.ui.wizard.NewFFSche
maWizard
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.wm.ff.ui.wizard.NewFFDict
ionary
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.webmethods.client.develop
er.xslt.XSLTEditorPreferences
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.webmethods.client.develop
er.xslt.XSLTEditorPlugin
2008-07-21 15:04:53 IST [ISU.0000.9999D] Developer: Registered plug-in com.webmethods.client.develop
er.xslt.NewXSLTServiceWizard
2008-07-21 15:04:53 IST [ISU.0000.9999V1] Developer: Warning: The following plug-ins are running loc
alized versions even though Developer is not:
XSLT Service Wizard
2008-07-21 15:05:14 IST [ISC.0064.0015V2] Opening Socket [URL="http://localhost:5555/wm-message"]http://localhost:5505/wm-message[/URL]
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> POST /wm-message HTTP/1.0
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> User-Agent: webMethods
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Accept: image/gif, */*
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Host: localhost:5505
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Authorization: Basic ZGFtaWVuLm9sb3VnaGxpbjpQYTU1d29yZ
A==
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Content-Type: application/x-wmidatabin
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Accept-Language: en-IE
2008-07-21 15:05:14 IST [ISC.0038.0002V3] --> Content-Length: 294
Each time I try the connection the following is returned:
2008-07-21 15:06:51 IST [ISC.0064.0015V2] Opening Socket [URL="http://localhost:5555/wm-message"]http://localhost:5505/wm-message[/URL]
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> POST /wm-message HTTP/1.0
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> User-Agent: webMethods
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Accept: image/gif, */*
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Host: localhost:5505
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Authorization: Basic ZGFtaWVuLm9sb3VnaGxpbjpQYTU1d29yZ
A==
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Content-Type: application/x-wmidatabin
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Accept-Language: en-IE
2008-07-21 15:06:51 IST [ISC.0038.0002V3] --> Content-Length: 294
reamon
(reamon)
July 21, 2008, 10:00pm
3
Can you post the ssh command you’re using (substitute or mask the hostname if needed for privacy)?
Guest
(Guest)
July 22, 2008, 7:15pm
4
From my desktop I’m creating the ssh tunnel using the following command:
ssh -L 54321:integrationserver:5505 administrator@sshserver
I can reach sshserver from desktop. integrationserver is the ip of the Integration Server relative to sshserver.
The tunnel is created successfuly once I authenticate with sshserver.
I then connect webMethods developer to localhost:54321.
Unfortunately when I try to connect I get the ‘connection reset’ error.
reamon
(reamon)
July 22, 2008, 9:16pm
5
Give this a try:
ssh -g -L 54321:integrationserver:5505 administrator@sshserver
The g option “allows remote hosts to connect to local forwarded ports.”