ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Supportpack IA0X -- FTPD Plugin Node

Post new topic  Reply to topic
 Supportpack IA0X -- FTPD Plugin Node « View previous topic :: View next topic » 
Author Message
BineBlue
PostPosted: Sun Apr 24, 2005 9:34 am    Post subject: Supportpack IA0X -- FTPD Plugin Node Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sun Apr 24, 2005 12:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
BineBlue
PostPosted: Mon Apr 25, 2005 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 25, 2005 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
BineBlue
PostPosted: Mon Apr 25, 2005 6:16 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 25, 2005 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
BineBlue
PostPosted: Mon Apr 25, 2005 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
wraymore
PostPosted: Thu Feb 22, 2007 1:11 pm    Post subject: Support Pack IA0X - FTPD Server Input Node Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 22, 2007 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
wraymore
PostPosted: Fri Feb 23, 2007 6:37 am    Post subject: Support Pack IA0X - FTPD Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 23, 2007 2:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
wraymore
PostPosted: Mon Feb 26, 2007 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Supportpack IA0X -- FTPD Plugin Node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.