PI Sender JMS channel not reading data
Hello All,
Scenario is JMS to Proxy. I have configured the JMS PI sender channel as per the details given by legacy team and they validated and confirmed that the channel configuration is correct.
Also PI JMS Sender channel is with green status and no there are no errors observed on PI channel monitoring page. Legacy team said that they placed 2 messages on the Queue for SAP PI to read. But there is no data flow observed into PI (on Adapter Engine/IE).
I have restarted and reactivated the channel also.
Can you please tell me what might be issue here
Thanks,
Hi Naresh,
Are you able to ping the channel from the Java stack? Normally if it is screen it means that is working but try and ping it and see what response you get back.
What are they using? MQSeries? JNDI? SonicQ?
Use the connection details that they gave you and log onto the queue and check if you can see the messages? Download a free JMS viewer and connect and see if you are able to see those messages? It might that they placed it in the wrong queue or that you are looking at the wrong queue.
Regards,
Jannus
Similar Messages
-
PI sender communication channel not reading files from NFS directory
Hello,
I have a sender communication channel configured to read file from NFS directory which is on ECC server. A program in ECC generates the file and puts it on the ECC server in the output directory. PI sender communication channel is supposed to pickup this file and process it. If I give the NFS path as the source directory, I am getting error: Configured source directory '//Server/DIR/OUT' does not exist. I tried putting '
Server\DIR\OUT' too but same error. Do I have to add the NFS path of ECC into PI as logical path?
Any suggestions?
Thanks,
SangitaHello Sangita,
Your ECC server is an external system, therefore you need to activate FTP service in that system and use the transport protocol FTP:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You can use NFS protocol when you have a local directory in XI server.
Best Regards,
.Luis Bernal. -
Zip or unzip a payload in sender JMS channel
Hi,
My scenario is to unzip a payload in sender JMS channel and I have configured the sender JMS module in the below format,
Processing sequence
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
CallSapAdapter Local Enterprise Bean call_AF_MS
Module Configuration
Modulekey Parameter Name Parameter Value
zip zip.mode unzip
I have tried this format also,but it is not working
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
CallSapAdapter Local Enterprise Bean call_AF_MS
(or)
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
CallSapAdapter Local Enterprise Bean call_AF_MS
While performing testing,it throws the below error in sender JMS channel,
The detailed error (if any) is : com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable pattern: NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'pattern'at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:185)
Can someone help me on how to extract a payload in sender JMS channel.
Also please guide me on how to extract a multiple payloads in one zip file in sender JMS channel.Hi,
Your module sequence seems to be incorrect.
Try like this,
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
CallSapAdapter Local Enterprise Bean call_AF_MS
(or)
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
CallSapAdapter Local Enterprise Bean call_AF_MS
Regards,
Praveen Gujjeti -
Sender JMS Connectivity not working
Hi All,
We have developed a scenario where we have to pick messages from DTS JMS queue and we are using JMS provider with JNDI as the sender transport protocol. We have deployed the jar files given by the DTS team successfully in our XI 3.0 system and we have configured the sender JMS channel. Since this queue is in another NWDS sever, we have also set Additional JMS parameters: JNDI.InitialContext.property.5=java.lang.String force_remote, java.lang.String true.
But when we are testing, I am getting the below error in Adapter monitoring :
Sender channel. Details: com/sap/jms/client/connection/RemoteConnectionFactoryInterface (Unsupported major.minor version 49.0)
Please let me know if I have missed any parameters or any suggestions to solve the issue.
Thanks,
LaawanyaHello Stefan - Thanks for response.
Here are the Parameters.......
Adapter Type: JMS
Sender Type Clicked
Transport protocol:WebSphereMQ (non-JMS)
Message protocol:JMS 1.x
Adapter Engine:Integration Server
Queue ConnectionFactory Java Class:com.ibm.mq.jms.MQQueueConnectionFactory
Queue Java Class:com.ibm.mq.jms.MQQueue
IP Address or Server Name:10.9.48.154
Server Port:1414
Queue Manager Name:WBIDEV
Channel Name:WBI.XI.SVRCONN
JMS Queue:XI_REQUEST
Transport/Network Protocol:TCP/IP
JMS-Compliant:JMS-Compliant
Transactional JMS Session:Check box Set
JMS Queue User:XIUSER
JMS Queue Password:********
Set XI message ID(MessageID) to:GUID(recommended value)
Set XI cenversation ID(conversationID) to:No value
Mapping of Message:Message Payload=JMS Payload
Quality of Service:Exactly Once
Time Period for duplicate check for EO(IO)(secs):86400
Wait After Message Error(msecs):1000
Wait before Reconnect(msecs):1000
Status:Active
The Error Message I see in the Adapter Monitor is "Sender Channel. Details: (No detail information set.)
Pls advice If I am missing anything ?
Thanks....
Amrish. -
Hi all,
I have been facing with this problem with sender JMS channel, any pointers as to where can be the solution for it
The error details are as follows
JMS and XI identifiers for the message are ID:414d512056515933444e41575445202048aa8802235bad01 and a2d32e30-7aae-11dd-ae1c-001125cc0c0c respectively. The JMS adapter will rollback the database and JMS session transactions. If the session is transacted, the message is not lost and will be retried later. The exception stack trace is java.lang.Exception
at com.sap.aii.af.service.jms.WorkerJMSReceiver.onMessage(WorkerJMSReceiver.java:963)
at com.ibm.mq.jms.MQMessageConsumer.receiveAsyncQ(MQMessageConsumer.java:2539)
at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4262)
Messages are not being placed in the Queue. the Queues are newly created is there something which has been missed out during the creation of the Queues
Rgds
AdityaHi Aditya
Try this way:
1. uncheck JMS transactional session check box in JMS sender communication channel.
2. Once it is done, insert new message in JMS queue.
Thanks
Sai -
Server Socket does not read data input stream
Hi all,
I am very newbie to Java Network programming with sockets and multi-threading.
But I am obliged to develop a chat system written in Applets which can be placed on the website and used by visitors who come to my website.
In order to understand this, I have tested a basic web chat program I downloaded from the Internet which use sockets and multi-threadings. The program work fine, no bugs at all at both compilation and run time. I noticed that all three streams for Client side (i.e. first one is input stream used receiving data from User; the second one is socket input stream used for receiving data from Server socket, and the third is socket output stream used for writing data to server socket) were established. And the same, two socket streams (input & output) for Server side were also connected when running program giving right port number and IP address of the server.
The problem is both server and client sockets do not read data using the following stream classes:
1. DataStreamInput: I use input.readUTF() method
2. or BufferedReader: I use input.readLine() method
The example of the codes are below:
private BufferedReader input = null;
private PrintWriter output = null;
private Socket socket = null;
public void open() throws IOException
{ input = new BufferedReader(new
InputStreamReader(socket.getInputStream()));
System.out.println("Server socket input stream was created, and");
output = new PrintWriter(socket.getOutputStream());
System.out.println("Server socket output stream was created");
public void run()
{ System.out.println("Server Thread " + clientPort + " running.");
while (true)
{ try
System.out.println("Server is reading data from Client, wait...");
String fromClient = input.readLine();
System.out.println("Server received a message on " + clientPort + ".");
catch(IOException ioe)
{ System.out.println(clientPort + " ERROR reading: " + ioe.getMessage());
server.remove(clientPort);
stop();
The problem is at the line: String fromClient = input.readLine(); in the run() method? What is wrong with the codes above?
Note: I also try to use original codes which use readUTF() method in DataStreamInput class instead using readLine() in BufferedReader. Both methods dont read data from inputstream socket?
I very appreciate any help/advice from experienced developers.
Best regardsHi,
Yes. The readLine() method hangs! After the test, the execuation of the program is stopped at the line of readLine() method; it does not pass it?
There is no problem with writing to Server socket. After the test, the program pass through flush() method. Here is the code for writing to sever socket within ChatClient (client side socket) class:
private BufferedReader input = null;
private PrintWriter output = null;
public ChatClient(String serverName, int serverPort)
{ System.out.println("Establishing connection. Please wait ...");
try
{ socket = new Socket(serverName, serverPort);
System.out.println("Connected: " + socket);
start();
catch(UnknownHostException uhe)
{ System.out.println("Host unknown: " + uhe.getMessage()); }
catch(IOException ioe)
{ System.out.println("Unexpected exception: " + ioe.getMessage()); }
public void start() throws IOException
{ input = new BufferedReader (new
InputStreamReader(System.in));
System.out.println("Client User input stream was created,");
output = new PrintWriter(socket.getOutputStream());
System.out.println("Client Socket output stream was established, and");
if (thread == null)
{ client = new ChatClientThread(this, socket);
thread = new Thread(this);
thread.start();
public void run()
while (thread != null) {
String fromUser;
try{
while((fromUser = input.readLine())!= null)
System.out.println("Client wasreading a data from User, and");
output.println(fromUser);
output.flush();
System.out.println("Client has written a data to Server");
catch(IOException ioe)
{ System.out.println("Sending to server error: " + ioe.getMessage());
stop();
etc.
Here is a piece of codes for reading data from the Client Socket in the ChatServer Class (Server Side socket):
public void run()
{ System.out.println("Server Thread " + clientPort + " running.");
while (true)
{ try
{ //server.handle(clientPort, input.readLine());
System.out.println("Server is reading data from Client, wait...");
String fromUser = input.readLine();
//while((fromUser = input.readLine()) != null)
System.out.println("Server received a message on " + clientPort + ".");
catch(IOException ioe)
{ System.out.println(clientPort + " ERROR reading: " + ioe.getMessage());
server.remove(clientPort);
stop();
etc. Please advice why the readLine() method hangs; does not read data from the input stream received from the CLIENT? -
when I was talking on phone, suddenly the phone was switched off.
i tried to switch it on but it gave the message....connect to itunes for set up.
when I connected it to itunes...it gave the message, itunes can not read data from this iphone, restore it to factory settings. It also said while restoring ypu will lose all media data but you can restore the contacts.
I restored the factory settings....the phone was on recovery mode...it was verified by itunes and all that..but in the end it again said that iphone has some problem and can not function right now.
after that when ever i connect it with itunes, it gives the message, it can not activate the iphone further, try again later or contact customer service.
What to do now?????? Customer service people say..it is hardware problemIf it's a hardware problem, then the phone will need to be replaced.
There is no magic that can fix a hardware problem. -
Unzip a payload in sender JMS channel
Hi,
My scenario is to unzip a payload in sender JMS channel and I have configured the sender JMS module in the below format,
Processing sequence
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
CallSapAdapter Local Enterprise Bean call_AF_MS
Module Configuration
Modulekey Parameter Name Parameter Value
zip zip.mode unzip
While performing testing,it throws the below error in sender JMS channel,
The detailed error (if any) is : com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable pattern: NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'pattern'at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:185)
Can someone help me on how to extract a payload in sender JMS channel.
Also please guide me on how to extract a multiple payloads in one zip file in sender JMS channel.Hi,
Your module sequence seems to be incorrect.
Try like this,
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
CallSapAdapter Local Enterprise Bean call_AF_MS
(or)
SAP XI JMS Adapter/ConvertJMSMessageToBinary Local Enterprise Bean convert_JMS2Bin
AF_Modules/PayloadZipBean Local Enterprise Bean Local Enterprise Bean zip
SAP XI JMS Adapter/ConvertBinaryToXMBMessage Local Enterprise Bean convert_Bin2XI
CallSapAdapter Local Enterprise Bean call_AF_MS
Regards,
Praveen Gujjeti -
My JournE Touch tablet is not reading data on USB
Hi!
when I plug in my usb with games and open it i don't see anything, Like tablet is not reading data on usb.
Can someone help me?
Guide me a little.Journ.E touch handles and supports SDHC up to 32GB.
The supported file formats are:
*Image* file format JPEG
*Audio* file format - MP3, WMA, AAC and WAV
*Video* file format - AVI, MP4, 3GP, FLV and WMV
Other files formats are not supported. -
GUI_UPLOAD NOT READING DATA FROM PRESENTATION SERVER
H HI IN MY APPLICATION I HAVE USED GUI _UPLOAD TO READ DATA FROM PRESENTATION SERVER IT WAS WORKING FINE BUT NOW I HAVE SCHEDULED IT IN BACK BACKGROUND WHEN I DEBUGGED IT GUI _UPLOADI NOT READING DATA FROM PRESENTATION SERVER
Edited by: ravikumar1006 on Mar 10, 2012 1:18 PM
Moderator message: FAQ, please search before posting, do not write in all upper case.
Edited by: Thomas Zloch on Mar 10, 2012 3:17 PMThe issue is that, when you schedule a program as background job runs on application server not on local pc for that program use the application server resurces and its not possible to read files from pc. You can find a lot of answers in forum for this
-
DVDRAM will not read data disks
I have a A215-S4697 with a HL-DT-ST GSA T20n DVDRAM. The drive will read CD and DVD audio and video disks. It will not read data disks. The driver says it is a CD-ROM. Is there a better driver I need? Has anyone had the same problem and found a solution?
ThanksCory K wrote:
Is the file open in Excel, or is it open because your VI is writing data to it somewhere in your code?
If the latter case is true, you can use a semaphore to ensure that a read and write operation are not trying to occur simultaneously.
The file is open in Excel. -
IgnoreRecordsetName not working in Sender JMS channel- PI 7.1
Hello All,
In Sender JMS content conversion I have used xml.ignoreRecordsetName=true
ignoreRecordsetName=TRUE
But still I am getting "Recordset" in the XML due to which message mapping is getting failed.
Can you please tell me what is the correct syntax for this parameter in JMS channel
Regards,
MoorthyHi
ignorerecordset parameter dont support using the message transform bean. -
Sender JMS Adapter - NOT Working
Hello Everybody - We are on SP13, also installed JMS Driver files on the system. We are running, Central Adapter Engine.
We configured the Sender JMS Adapter for WBI MQ->XI->SAP scenario. We need to JMS Adapter to be configured to connect to WBI from XI. Everything looks great in configuration but in the Adpater Monitoring, JMS Adapter is with Error Status and Message says "Sender channel. Details: (No detail information set.)".
Does anybody has any idea about this error ?
I checked SAP Help link as well on this. Based on this link http://help.sap.com/saphelp_nw04/helpdata/en/ca/e7673c86d19b35e10000000a11402f/frameset.htm. Do we need to configure this JMS Adapter somewhere on teh server as well ? If yes, then where ? Pls respond if you have any clue about it.
Thanks in anticipation...Hello Stefan - Thanks for response.
Here are the Parameters.......
Adapter Type: JMS
Sender Type Clicked
Transport protocol:WebSphereMQ (non-JMS)
Message protocol:JMS 1.x
Adapter Engine:Integration Server
Queue ConnectionFactory Java Class:com.ibm.mq.jms.MQQueueConnectionFactory
Queue Java Class:com.ibm.mq.jms.MQQueue
IP Address or Server Name:10.9.48.154
Server Port:1414
Queue Manager Name:WBIDEV
Channel Name:WBI.XI.SVRCONN
JMS Queue:XI_REQUEST
Transport/Network Protocol:TCP/IP
JMS-Compliant:JMS-Compliant
Transactional JMS Session:Check box Set
JMS Queue User:XIUSER
JMS Queue Password:********
Set XI message ID(MessageID) to:GUID(recommended value)
Set XI cenversation ID(conversationID) to:No value
Mapping of Message:Message Payload=JMS Payload
Quality of Service:Exactly Once
Time Period for duplicate check for EO(IO)(secs):86400
Wait After Message Error(msecs):1000
Wait before Reconnect(msecs):1000
Status:Active
The Error Message I see in the Adapter Monitor is "Sender Channel. Details: (No detail information set.)
Pls advice If I am missing anything ?
Thanks....
Amrish. -
Why is a sender communication channel not required for IDOC and PROXY ?
Hello,
In case of IDOCs, metadata will be available in PI for the IDOCs used both at inbound and outbound.
Why is a sender communication channel is not required in case of IDOC and PROXY outbound scenarios (i.e. IDOC to File or PROXY to file ..) when a receiver channel is required for scenarios like file to IDOC or file to PROXY.
Though this might be a regular question, I am not able to find a proper reason.
Please let me know the reason for the above request.
Thanks & Regards.You will create RFC destination in ECC , it will have details about PI system details, when ever you send IDoc, ECC will use Port and RFC destination to connect PI Integratiion engine to deliver data to PI.
But when receiver side you will create RFC destination in PI with ECC details, but to call RFC destination and Port we need medium that was the reason we create IDoc communication channel.
Even the same case for Proxy also, but HTTP deastination establish the conection between ECC and PI, but receiver side you have to create XI channel with PI integratioin engine adress to post data.
Regards,
Raj -
Can not read data from URL!
Hello,
I want to read data from URL (http://84.100.130.82:8000/;stream.nsv). But can not do it. Because when try to call function openDataInputStream() shows this error: java.io.IOException: response does not start with HTTP it starts with: ICY. How I can fix this bug?
HttpConnection c = null;
InputStream is = null;
OutputStream os = null;
StringBuffer b = new StringBuffer();
String response,
responseLitle;
c = (HttpConnection)Connector.open(“http://84.100.130.82:8000/;stream.nsv”);
os = c.openOutputStream();
os.flush();
is = c.openDataInputStream(); // ERROR CODE HERE
int ch;
// receive output
while ((ch = is.read()) != -1)
b.append((char) ch);
response = b.toString();Regards, RamunasHi, I�m trying to do the same as above, get MP3 from a Shoutcast server.
I got the same fault ("response does not start with HTTP it starts with: ICY") when I tried to open an HttpConnection as bellow:
============================================
HttpConnection conn = (HttpConnection) Connector.open("http://64.236.34.196/stream/1074");
Then I tried to open a socket connection as bellow:
======================================
SocketConnection conn = (SocketConnection) Connector.open("socket://64.236.34.196:80");
String get = "GET /stream/1074 HTTP/1.1";
DataOutputStream os = conn.openDataOutputStream();
os.writeUTF(get);
InputStream is = conn.openInputStream();
But then I got the following error:
=========================
java.lang.SecurityException: Target port denied to untrusted applications
Could someone help me to find out what is going on?
Thanks a lot!
Maybe you are looking for
-
Hi guys! I have a new Macbook Pro purchased from Best Buy yesterday. I had the Geek Squad upgrade the RAM to 8 gigs (They only had PNY brand, I was concerned but went with it anyway). I had them install Boot Camp Windows 7 Ultimate. Today I picked it
-
How to use JDBC Appender of log4j using a properties file
Hi, I am trying to implement the Log4j JDBC Appender to log the messages to Database(oracle).Can anyone provide me with a sample code along with the properties file used. need urgent help. Thanks in advance
-
Sync with only one iTune/iPod account and have EVERYTHING EARSED
I've up dated to 7.11 and when I plug my iPod 40G photo in, I get message that you can only have one iTune/iPod per computer account...trouble is that THIS IS THE COMPUTER I started my iPod with!! Now it wants to sync and earse all my songs but bette
-
I'm trying to move my data from my N95-1 to N96. I have a lot of SMS in the "My Folders" section. I've done a backup using Ovi, which is pretty small because my SMS is stored on the Micro SD card in the N95. So I restore the data onto the N96 which h
-
Http logs flooded with Account Notice: close unauthenticated
Hi, In the http log file there is a flood of error messages on that logs an entriy eveytime someone clicks on something in it logs an entry is there any specific reason why this is happening? iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004) l