Unable to read data from AQ

Hi
I am new to BAM and struggling with getting data out of JMS queue into BAM reports.
Followed the steps as mentioned here
The EMS has started successfully, there are messages that are enqueued in the AQ (as a result of inserts into the table) but the final report shows no data, basically the data is NOT pulled out of the JMS Topic.
Am I missing on some steps??
Please Help
Thanks in advance for your time.
-Lalit

Hi,
I have forgot to mention one more thing in the above description.
I have followed all the steps mentioned here. but one exception is that I have not compiled the three mentioned sql files in the sysdba level. I have compiled them as an apps user.
Please tell me if there is any other steps to be followed.
Thanks,
-lalit

Similar Messages

  • TcpListener not working on Azure: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

    Hi Everybody,
    i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
    I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
    Here the ServiceDefinition.csdef file content:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
    <WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    </Imports>
    <Endpoints>
    <InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
    </Endpoints>
    </WorkerRole>
    </ServiceDefinition>
    This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
    namespace TcpListenerWorkerRole
    using System;
    using System.Net;
    using Microsoft.WindowsAzure.ServiceRuntime;
    using System.Net.Sockets;
    using System.Text;
    using Roche.Emac.Infrastructure;
    using System.IO;
    using System.Threading.Tasks;
    using Microsoft.WindowsAzure.Diagnostics;
    using System.Linq;
    public class WorkerRole : RoleEntryPoint
    public override void Run()
    // This is a sample worker implementation. Replace with your logic.
    LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
    TcpListener listener = null;
    try
    listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
    catch (SocketException ex)
    LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
    return;
    while (true)
    Task.Run(async () =>
    TcpClient client = await listener.AcceptTcpClientAsync();
    LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
    NetworkStream networkStream = client.GetStream();
    StreamReader reader = new StreamReader(networkStream);
    StreamWriter writer = new StreamWriter(networkStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    while (true)
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    break;
    catch (Exception ex)
    LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    break;
    }).Wait();
    public override bool OnStart()
    // Set the maximum number of concurrent connections
    ServicePointManager.DefaultConnectionLimit = 12;
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
    RoleEnvironment.Changing += RoleEnvironment_Changing;
    return base.OnStart();
    private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
    // If a configuration setting is changing
    LoggingProvider.Logger.Info("RoleEnvironment is changing....");
    if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
    // Set e.Cancel to true to restart this role instance
    e.Cancel = true;
    As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
    Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
    2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
    2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
    2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
    System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
    at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
    I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
    As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
    For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
    I'm using Windows Azure SDK 2.3
    Any help will be very very welcome!
    Thanks in advance!
    Javier
    En caso de que la respuesta te sirva, porfavor, márcala como válida
    Muchas gracias y suerte!
    Javier Jiménez Roda
    Blog: http://jimenezroda.wordpress.com

    hi Javier,
    I changed your code like this:
    private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
    public override void Run()
    TcpListener listener = null;
    try
    listener = new TcpListener(
    RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    catch (SocketException se)
    return;
    while (true)
    IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
    connectionWaitHandle.WaitOne();
    The HandleAsync method is your "While (true)" code:
    private void HandleAsyncConnection(IAsyncResult result)
    TcpListener listener = (TcpListener)result.AsyncState;
    TcpClient client = listener.EndAcceptTcpClient(result);
    connectionWaitHandle.Set();
    NetworkStream netStream = client.GetStream();
    StreamReader reader = new StreamReader(netStream);
    StreamWriter writer = new StreamWriter(netStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    // LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    // LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    // LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    catch (Exception ex)
    //LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
    ) and this post (http://stackoverflow.com/a/5420788).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to read data from the SAP marketplace

    Hi All,
        These days, certain packages in my download basketball cannot be downloaded, while others can be downloaded normally.
         After serveral redirecting, the SAP download manager keeps informing me that "Unable to read data from the SAP marketplace, check your settings and try again".
         Anyone knows how to solve it?
    Thanks,
    Yining

    Hi Yining,
    You user on SAP MarketPlace is locked.
    You have to unlock it but I do not know the way.
    Check in user data maintenance on SAP MarketPlace who is your responsible and perhaps he wwill be able to solve to unlock our user.
    Regards,
    Ronan

  • Unable to read data from the SAP Service Marketplace issue

    Good morning, experts.
    I´ve just installed the SAP Download Manager, but I can´t get connected to Marketplace.
    First I tried downloading a file I could see in my Basket Download. Then I deleted it from the basket so I could test only the connection. In both situations I got the same error message: "Unable to read data from the SAP Service Marketplace (...)".
    It is probably due to wrong settings, but I can´t figure it out. My settings are:
    Address: https://websmp205.sap-ag.de/
    User name: S0005951541
    Password: (my password)
    Proxy (my proxy settings)
    Any ideas?

    Thanks for your answer.
    I can see my download basket online. I realize I didn´t delete the items so I could test purely the connection. I am going to do it again.
    I found out I dind´t have permission to download those items, and with the right permission I could download them directly online.
    As long as I have more information I am going to repost this issue on a new forum.
    Thanks.

  • Unable to read data from Analog Devices 6b11 module - error code 1240

    Hi everyone,
    I'm trying to read data from a thermocouple with an AD 6B11 module in an AD 6BP16-1 backplane using RS232 serial. I've been following this guide:
    http://digital.ni.com/public.nsf/allkb/8C77E5E52B4A27968625611600559421
    Everything seems to work out well until step 13, where I call the "AD6B Input Module - Read Data.VI". I get an error code 1240 stating something like "invalid parameter or unable to read instrument".
    Has anyone got any experience with this error or suggestions to fixing it?
    Thanks in advance!

    That user guide is 20+ years old. The serial functions from that day used 0 for com 1, 1 for com 2, etc. Make sure you have the correct one selected. Please provide the exact error message instead of 'something like'.

  • Table unable to read data from CSV file

    Dear All,
    I have created a table which have to read data from external CSV file. The table is giving error if the file is not there at the specified location,but when i put the file at that location there is no error but no rows are returned.
    Please suggest what should i do???
    Thanks in advance.

    No version.
    No operating system information.
    No DDL.
    No help is possible.
    I want to drive home the point here to the many people that write posts similar to yours.
    "My car won't start please tell me why" is insuffiicent information. Perhaps it is out of gas. Perhaps the battery is dead. Perhaps you didn't turn the key in the ignition.

  • Unable to read data from previous calls...!

    I am trying to capture data from the previous calls using the following code...
    The program "/irm/sapliparm" has value in the variable "gs_ipar_infocus-x-arhdr-artyp" at runtime. I am able to see this value in debug mode. I need this value in a variable in my routine. Below is the code that I have written, but, this is not working. sy-subrc is 4 at the assign statement.
    data: artyp type /irm/iparhdr-artyp,
             lv_artyp type /irm/iparhdr-artyp,
             g_iparhdr type /irm/iparhdr,
             objky type nast-objky,
             line type string,
             lv_var type string.
    FIELD-SYMBOLS: <lv_artyp> type any. "/irm/iparhdr-artyp.
    move '(/irm/sapliparm)gs_ipar_infocus-x-arhdr-artyp' to line.
    lv_var = line .
    assign (lv_var) to <lv_artyp>.
    if <lv_artyp> is assigned.
       move <lv_artyp> to artyp.
       unassign <lv_artyp>.
    endif.
    I want to capture the value in variable "(/irm/sapliparm)gs_ipar_infocus-x-arhdr-artyp" inside my program.
    Please let me know if you have an idea on how to capture the value.
    Thank you in advance,
    Srinath

    Srinath,
    The trick you are using seems OK to access standard program parameters which are not available in user-exits / BADIs.
    I am also using similar code at some places and is working well for me.
    Is gs_ipar_infocus-x-arhdr-artyp a single variable or a nested structure ?
    Define <lv_artyp> as type of  /irm/iparhdr-artyp and try.
    Define lv_var of chat type and try.
    My sample code which works well is as below :
    constants: prgwa(30) type c value '(SAPMV50A)XVBADR_SAV[]'.
      types: t_sadrvb type table of sadrvb.
      FIELD-SYMBOLS: <prgwa> type t_sadrvb ,
                                   <watab> type SADRVB.
      assign (prgwa) to <prgwa>.
      if <prgwa> is assigned.
        loop at <prgwa> ASSIGNING <watab> .
        endloop.
      endif.
    I hope it helps you find your problem.
    Regards,
    Diwakar

  • Unable to read data from an excel document of 365*24 values ( all rounded to 4 decimal points)

    I have an excel sheet containing data of hourly loads in MW( rounded to 4 decimals) of one year.  So, I have 365*24 values that I want to import to Labview using Read from spreadsheet.vi. However what i get in the output array is 0's and randomly some unit values at very few places. I have checked the array size of the output array and it shows different array sizes for different yearly data.
    I am attaching the four excel spreadsheets .
    Plz help me with the issue I am facing.
    Attachments:
    Load-2012.xlsx ‏95 KB
    Load-2013.xlsx ‏94 KB
    Load-2014.xlsx ‏59 KB

    If you are using LabVIEW 2014, it includes the Report Generation Toolkit (which is also available as an add-on in earlier LabVIEW Versions).  This can read native Excel files, including .xlsx.  With a few functions (3 or 4, I think), you should be able to get the entire Table into a 2D array.
    Bob Schor

  • Unable to read data from Temporary table

    Hello
    Iam calling a stored procedure in java which populates data into a temporary table. This temporary table is reset for each session. The issue is that the procedure is executed successfully but when I run a select query on the temp table, it shows 0 rows.
    When i execute the same procedure from TOAD or MSSQL, the temp table is populated successfully.
    Any Suggestion on what is the possible error
    tnx
    -S-

    Temp table exists for duration of session.
    Make sure you are using the same session.

  • VISUAL STUDIO ONLINE Unable to read data from the transport connection: The connection was closed.

    Can anyone explain why I've suddenly started getting this error on one file in my projects?
    Visual Studio is 2013 Premium Update 4 
    The file that's failing ins 14,140KB in size.

    Hi s6521d,
    For this problem, you can try the following methods to check if the issue can be resolved. And elaborate more details if the issue still exist.
    1. Do a get latest and then have a check if your team project works fine
    2. Clean team foundation cache and sign out your credentials then reconnect to the team project
    3. Have a try on other machines to see if it only occurs on your environment
    4. Confrm whether the workspace you're using is server workspace and the file is locked. If yes, unlock the file. If the file was changed, you can also revert to a former changeset to check if the error still exist
    5. Check event logs to see if there any useful information
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to read data from SAP Service Marketplace.Check your settings.

    Hi,
    When im trying to download from SAP Marketplace using SAP DOWNLOAD MANAGER.it shows the following error.Please let me know how to go about it.
    Thanks,
    Bhargav

    I guess this could be an authorization issue. The S-Id you are using might not be authorized to download.
    Regards
    San

  • Read data from a Stored Procedure in Android

    I have a Stored Procedure say CustOrdersDetail. I have created a MBO for it in the workspace and deployed it on SAP Mobile Server. I am unable to read data from the stored procedure in code of the Android Application. If I pass a default load argument, then I am able to read data using findAll method. How to get the data from the stored procedure by passing it an argument in the Android Code ?
    Message was edited by: Abhijit Kadam

    Currently I am trying to call the stored procedure and retrieve the results. The stored procedure accepts 'orderId' as an argument and fetches the Product and Order Details.

  • How to Read Data from a table (horizontal axsis) in an existing report

    Hi to all,
    I've a question. I must read the data in a table of an existing report. I develope with BO XI 3.0
    I don't know how to reach the table in my report from SDK.
    this is my code:
    reports = document.getReports();
    rep = reports.getItem(0);     
    the report has the title and a table horizontal axsis.
    I must read the column name(header column) of the table and all rows for retrieving values.
    Thank u in advance for your attention.

    hi ChinMay,
    thank u for your answer.
    I would like to ask u if Ireport refers crystal reports, while i mean to read data from a webi report.
    I've tried in many manners to read this data and i've read the SDK, but i'm unable to reach the table of my report for reading its rows. i'm able to export in XML format, i'm able to get reportelement , block, but in the java's example of SDK its not present how to obtain the reportbody and subsequently the section or directly a table. the example that i've seen show that if u create a new report u can create the reportbody, the section, the table and others. But don't show how to obtain this from an existing report.
    Probably i don't understand very well all the SDK structure and i think that is possbile to read a table(with horizantal axis) in a report without section only passing by the ReportBody.
    I know that u don't have so time to spent for things that are in the SDK, but if it's possible to have ten rows of sample about this question i'll be very happy.
    If it's not possibile, thank u very much for your interesting and disponbility and i'll try again and again and again to solve this.
    Matteo

  • Read data from a log file to flex textarea while deploying

    Hi,
    I am new to flex. I am able to read data from a log file that placed in C drive and able to write that data into flex textarea, but I am unable to read the same file while it is deployed into weblogic sever.
    Could anyone please tell me how to solve this problem.
    Thanks,
    Sri.

    Do you have it trying to read that same file on your C drive or is the file actually deployed somewhere on the server?

  • Error in Reading data from a xml file in ESB

    Hi,
    i created a inbound file adapter service which reads data from a xml file and passes it to the routing service and from there updates to the database.....
    (everything created in jdeveloper)
    But i am getting error....it is not getting updated to the database...when i check the database(select * from table) its showing one row selected but i couldnt find the data....
    Transformation mapping also i did...
    i think may be some error in reading the data from the xml file but not so sure.....
    please reply to this mail as soon as possible its very urgent

    Michael R wrote:
    The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
    Option     Value
    CREATE_TARG_TABLE      trueHi Michel,
    This was not my required answer.I am sorry that I was unable to clarify my question.Actually
    +This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
    when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
    I meant to say I am facing this error
    At the10(1010 written) step of
    Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
    wehre it says
    Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
    In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
    Thanks

Maybe you are looking for

  • Changing value in drop-down based on selected value in another drop-down

    Hi, I have two drop-downs - changing value in Combo1, should cause the form to be submitted and values to be populated in Combo 2. Approaches i tried - 1) I am using an ActionListener. I am having a valueChange method which accepts an action event. H

  • How do I get a downloaded book onto my ipad

    I bought a book off iTunes. I downloaded it. After an hour of frustration I found it on my PC. How do I now get it onto my iPad. PLEASE.

  • How can I get my new iphone to connect to server when I am at home?

    My new iphone (5) cannot connect to server when I am at home.  Nothing is available if it requires a server connection-the "wheel" continuously spins.  When I am out of my residential range connections are made and phone seems to operate better.  How

  • Document Object for HELP_OBJECT_SHOW

    Hi Experts, I need to program an F1 help. For this i want to use the FM HELP_OBJECT_SHOW. eg. CALL FUNCTION 'HELP_OBJECT_SHOW'        EXPORTING             dokclass = 'TX'             doklangu = sy-langu             dokname  = 'DEMO_FOR_F1_HELP'     

  • Error: java.lang.NoClassDefFoundError: org/jdom/JDOMException

    Dear Sir/Madam, I have installed Library software “NewGenLib” which support Java. The software is running well in the server as well as some other client pc. When I am trying to install in some other client following error is coming and unable to run