Author |
Message
|
BineBlue |
Posted: Sun Apr 24, 2005 9:34 am Post subject: Supportpack IA0X -- FTPD Plugin Node |
|
|
Novice
Joined: 12 Nov 2003 Posts: 17
|
Hallo,
i've installed supportpack ia0x on a Window Messagebroker 5.0, CSD5
I could sucessfully deploy a messageflow with the DTPD Input Node on portnumber 1060. This portnumber is free on my local machine.
I use differant ftp client to connect to localhost, port 1060. The connection was allways refused.
Does anybody have some tips, what I might did wrong?
Thanks a lot for your help
Sabine |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Apr 24, 2005 12:33 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you deploy the node to the broker as well as the tooling?
Does netstat show that the port is open?
Do your system/network admins know that you want to open that port on that machine - so they can ensure that it can be reached? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
BineBlue |
Posted: Mon Apr 25, 2005 5:57 am Post subject: |
|
|
Novice
Joined: 12 Nov 2003 Posts: 17
|
I deployed the FTPD Node on my local Windows XP machine and with the standard ftp client from microsoft I can put messages via the FTPD node into a Queue.
As soon as I use a grafical FTP CLient, my connection get down and I have to redeploy the messageflow, otherwhise the Port is closed and no connection will be established.
We deployed the FTPD node on An AIX machine and no connection from a Windows maschine can be made. I have the following messagees in my log:
Apr 25 15:09:05 m103en0 MQSIv500[45184]: (BRKD.M103.01.JH_Debug)[5398]BIP2230E: Error detected whilst processing a message in node 'nur.so.test.FTPD'. : BRKD.M103.01.447b2817-0301-0000-0080-ec6911bc8ceb: /build/S500_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp: 1367: ImbJniNode::dispatcher: ComIbmJniNode: nur/so/test#FCMComposite_1_1
Apr 25 15:09:05 m103en0 MQSIv500[45184]: (BRKD.M103.01.JH_Debug)[5398]BIP4367E: The method 'run' in Java node 'FTPD' has thrown the following exception: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.. : BRKD.M103.01.447b2817-0301-0000-0080-ec6911bc8ceb: /build/S500
Does anybody have some hints? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 25, 2005 5:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The graphical client is probably trying to do an ls after login.
I suspect that the FTP node doesn't support any sort of directory listing. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
BineBlue |
Posted: Mon Apr 25, 2005 6:16 am Post subject: |
|
|
Novice
Joined: 12 Nov 2003 Posts: 17
|
you are right, a ls command is not supported by the FTPD Node.
DO you have any hints about the AIX problem? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 25, 2005 6:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
BineBlue wrote: |
DO you have any hints about the AIX problem? |
I can't imagine why the FTPD node would be trying to connect to an XWindows server, but that's what it's complaining about...
Also, confirm that the plug-in has opened the FTP port it's supposed to on the AIX box. And again, check that the port is available for connection from the Windows machine (no firewalls or OS level blocking going on). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
BineBlue |
Posted: Mon Apr 25, 2005 6:41 am Post subject: |
|
|
Novice
Joined: 12 Nov 2003 Posts: 17
|
Theire is noe firewall problem, because I can connect to the port on the AIX machine. Here is my ftp output:
ftp> open m103serv.mgi.de 20000
Connected to aix.machine.de.
220 Welcome to WMQI FTP Server
Supported commands are USER PWD CDWD and STOR
User (aix.machine.de:(none)): mqsi
331 Enter password for 'mqsi' to set userid/password attributes in message local
environment.
Password:
230 user mqsi and password stored for message properties.
ftp> put hello.txt
Connection closed by remote host.
ftp> bye
The error I'll get as soon as I do a put. |
|
Back to top |
|
 |
wraymore |
Posted: Thu Feb 22, 2007 1:11 pm Post subject: Support Pack IA0X - FTPD Server Input Node |
|
|
Centurion
Joined: 16 Aug 2005 Posts: 114 Location: Burlington, NC USA
|
I have this installed on an AIX server running WBIMB 5.0 CSD9. I am getting the same errors as BineBlue was back in April 2005.
We are still running Java 1.3.1 since we have a message flow that incorporates the SCADA Input Node and the software levels on the field devices are frozen. The CLASSPATH is: /usr/java131/lib/dt.jar:/usr/java131/lib/tools.jar:/home/bkrdaa/sqllib/function:
/home/bkrdaa/sqllib/java/db2java.zip:/home/bkrdaa/sqllib/java/runtime.zip:.
The broker is breaking the FTP connection after the put command and the following BIP messages are in the user.log:
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP2628E: Exception condition detected on input node 'FTPServerInputNodePOC.FTPD'. : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp: 1320: ImbJniNode::dispatcher: ComIbmJniNode: FTPServerInputNodePOC#FCMComposite_1_1
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP4367E: The method 'run' in Java node 'FTPD' has thrown the following exception: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.. : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp: 1588: ImbJavaExceptionUtils::throwableToNativeException: :
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP4395E: Java exception: 'java.lang.InternalError'; thrown from class name: 'sun.awt.X11GraphicsEnvironment', method name: '<clinit>', file: 'X11GraphicsEnvironment.java', line: '77' : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp: 1606: ImbJavaExceptionUtils::throwableToNativeException: :
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP2628E: Exception condition detected on input node 'FTPServerInputNodePOC.FTPD'. : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp: 1509: ImbJniNode::dispatcher: ComIbmJniNode: FTPServerInputNodePOC#FCMComposite_1_1
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP2230E: Error detected whilst processing a message in node 'FTPServerInputNodePOC.FTPD'. : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp: 1367: ImbJniNode::dispatcher: ComIbmJniNode: FTPServerInputNodePOC#FCMComposite_1_1
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP4367E: The method 'run' in Java node 'FTPD' has thrown the following exception: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.. : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp: 1588: ImbJavaExceptionUtils::throwableToNativeException: :
Feb 8 08:29:28 bnxmqsda MQSIv500[28866]: (BKRDAA.default)[5403]BIP4395E: Java exception: 'java.lang.InternalError'; thrown from class name: 'sun.awt.X11GraphicsEnvironment', method name: '<clinit>', file: 'X11GraphicsEnvironment.java', line: '77' : BKRDAA.34f1696b-0a01-0000-0080-eaddd9dcf82d: /build/S500_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp: 1606: ImbJavaExceptionUtils::throwableToNativeException: :
When searching this forum for the key X11, came across this posting along with a few others. In some of the other posting where a CLASSPATH was listed, I saw an entry for /usr/bin/X11. Could this be what is missing from my CLASSPATH? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 22, 2007 1:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Don't know what is missing from your classpath but: X11 is the protocol used by XWindows.
Typically the target of the output is a window on an XWindows server (your pc?) located where the DISPLAY environment variable points to:
export DISPLAY=yourhostnameorip.domain:0
Now this is highly suspect as the operation should be scripted and not require the display of any windows... I would just stick with the non graphical ftp as it seems to be working.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wraymore |
Posted: Fri Feb 23, 2007 6:37 am Post subject: Support Pack IA0X - FTPD |
|
|
Centurion
Joined: 16 Aug 2005 Posts: 114 Location: Burlington, NC USA
|
I am executing the ftp from a command prompt on my desktop:
ftp> open bnxmqsda 2221
Connected to bnxmqsda.labcorp.com.
220 Welcome to WMQI FTP Server
Supported commands are USER PWD CDWD and STOR
User (bnxmqsda.labcorp.com:(none)): gizmo
331 Enter password for 'gizmo' to set userid/password attributes in message localenvironment.
Password:
230 user gizmo and password stored for message properties.
ftp> binary
200 Type set to BINARY
ftp> cd /BLOB
250 CWD command changed message attributes to: Domain='BLOB'
ftp> put univ2_mrr_report.dat
Connection closed by remote host.
ftp> bye
 |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 23, 2007 2:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Is your message flow trying to create a graphical window for user display or input? (JCN)
If this is the case you have a design problem...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wraymore |
Posted: Mon Feb 26, 2007 6:03 am Post subject: |
|
|
Centurion
Joined: 16 Aug 2005 Posts: 114 Location: Burlington, NC USA
|
The message flow is only:
FTPD Input node --> CN to add MQMD --> MQOutput
The FTPD Input Node is out of the box IA0X Support Pac with the CWDCommand.java modified to accept the change directory structure on an AIX OS server ("/" instead of "\"). |
|
Back to top |
|
 |
|