How to log message size ?

Hi,
How can message size be logged in ALSB ? I mean "logged" in a general way, not specifically through a Log Action:
-using a Report Action ?
-using the JMX monitoring API ? In that case, is it possible to add a new statistic "Message Size" to the ressource type SERVICE ?
Thanks in advance.

Message size is not typically provided by service bus and this is an expensive operation. I believe there is an xquery function to determine the size of a variable. You can then save this value either using a pipeline alert, a logging action or a javacallout where you can write your own logging logic. If you use java callout you can also determine the message size from there.
Gregory Haardt
ALSB Prg. Manager
[email protected]

Similar Messages

  • How to log messages in Java class

    How to get interface to logger in a Java class? I need to access a log method that is available for a PageBean.

    log from java objectsI'm assuming you mean from your POJO's, not the managed beans from Creator.
    Why not just put a writeToLog(String myString) function in your SessionBean? Then, when you create your POJO's, put a reference to your SessionBean in there (or in the service object that uses your POJO) and just call it from there.
    'Course, that now makes your POJO dependent on the framework, which I assume you're trying to avoid.
    MyBean
    SessionBean1 mySession;
    MyBean(Session theSession) {
    this.mySession = theSession;
    private DoSomething {
    do_something();
    do_something(else);
    mySession.writeToLog("Log *this*, dude");
    }

  • PL/SQL log messages are not printing from Java concurrent program

    Hi,
    I have a strange issue while submitting the Java concurrent program through PL/SQL.
    I have a PL/SQL concurrent program which will invoke the Java concurrent program inside the package by use of "FND_GLOBAL.SUBMIT_REQUEST". It worked and submitted successfully. From that Java concurrent program we are calling some other PL/SQL packages and printing some log messages over there. But problem here is the request is only printing the Java log messages in view log but not the PL/SQL log messages.  But if I submit the Java concurrent program directly from SRS form at that it is printing both Java and PL/SQL log messages.
    I am just wondering how the log messages has not printed. Please provide your inputs to solve this problem.
    Thanks
    Suriya

    I'm adding log messages in the package body , but these messages are not printing after completion of concurrent prog.
    Any suggestions.
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Data Test :');Do you have COMMIT in your code?
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27FND_FILE.PUT_LINE%27+AND+commit&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Incoming message size exceeds the configured maximum size for protocol t3

    Hi All,
    I've encountered an error as follow:
    weblogic.socket.MaxMessageSizeExceededException: Incoming message of size 50004000 bytes exceeds the configured maximum of 50000000 bytes of protocol t3.
    But the request message is only 3MB, why it is enlarged to over 50M?
    There is a For Each loop section in main flow, is it because for one loop, there will be a copy of request message?
    How to enlarge message size for protocol t3?
    Go to server/protocol and change 'Maximum Message Size' for AdminServer, OSB Servers and SOA servers?
    Thanks and Regards,
    Bruce

    Hi,
    1) After setting -Dweblogic.MaxMessageSize to 25000000
    <BEA-000403> <IOException occurred on socket: Socket[addr=ac-sync-webserver1/172.24.128.8,port=9040,localport=36285]
    weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '25002240' bytes exceeds the configured maximum of: '25000000' bytes for protocol: 't3'
    at weblogic.socket.BaseAbstractMuxableSocket.incrementBufferOffset(BaseAbstractMuxableSocket.java:174)
    2) After setting -Dweblogic.MaxMessageSize to 50000000
    <BEA-000403> <IOException occurred on socket: Socket[addr=ac-sync-webserver2/172.24.128.9,port=9040,localport=59925]
    weblogic.socket.MaxMessageSizeExceededException: Incoming message of size: '50000400' bytes exceeds the configured maximum of: '50000000' bytes for protocol:
    't3'.
    And even after setting various values for -Dweblogic.MaxMessageSize , issue weblogic.socket.MaxMessageSizeExceededException was observed.
    To overcome the issue set Manual Service Migration Only as after several experiments and replicating the issue it was found out that in case of no available pinned services, must set the migration policies of the migratable targets on "Manual Service Migration Only".
    And once it is corrected; it was noticed that weblogic.socket.MaxMessageSizeExceededException issue also resolved.
    WebLogic Server can fail over most services transparently, but it's unable to do the same when dealing with pinned services.
    Pinned Services : JMS and JTA are considered as pinned services. They're hosted on individual members of a cluster and not on all server instances.
    You can have high availability only if the cluster can ensure that these pinned services are always running somewhere in the cluster.
    When a WebLogic Server instance hosting these critical pinned services fails, WebLogic Server can't support their continuous availability and uses migration instead of failover to ensure that they are always available.
    Regards,
    Kal

  • How to set up PopProxy* log file size ?

    Dear All,
    Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?
    ./imsimta version
    Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)
    libimta.so 7.0-3.01 64bit (built 09:24:13, Dec 9 2008)
    Steve

    SteveHibox wrote:
    Does anybody know how to set up MMP PopProxy* log file size and rollovertime ?Details on these settings are available here:
    http://wikis.sun.com/display/CommSuite6U1/Communications+Suite+6+Update+1+What%27s+New#CommunicationsSuite6Update1What%27sNew-MMPLogging
    Regards,
    Shane.

  • How to log in to Service Desk to create sample message to SAP?

    Dear all,
    How to log in to Service Desk under my Solution Manager server to create sample message to SAP under Component: SV-SMG-SUP?
    Regards
    GN

    Hi GN,
    You have different options to create messages in test component SV-SMG-SUP-TST:
    1. if you are on 7.1 you can create message using CRM_UI
    2. If you are using lower vrsion then either you can create message using Workcenter or using transaction NOTIF_CREATE or using menu --> Help --> Create support message.
    Thanks
    Regards,
    Vikram

  • How to add log messages in the sever/webui objects?

    Hi,
    I am new to the OA Framework.
    Can any one share any information in how to add log messages in the sever/webui objects?
    What are the beans I need to use to show in the diagnostic page?
    Can I get sample code for this log staments?
    Thanks in advance,
    Padma

    Hello. This forum is for reporting problems with the published Oracle documentation. You have a better change of getting a reply if you post your question on the Database - General forum.
    Regards,
    Diana

  • How to Write log messages in a text file located in another machine

    Basically My application is distributed across two or more tomcat servers running in multiple machines.And I get a log4j logs in the respective machines.
    But I want a consolidated log message in a single machine.
    How do i get that done??
    Any samples?? Any clues??
    Any specific technoliges??

    Create an RMI application (for example) that writes the log, and let all logging calls call that remote application.
    Something like that is the only feasible way that doesn't require you to have a drive on the remote machine mapped to the local one (which causes its own problems as you could have multiple simultaneous write attempts...).

  • How to log Synchornous Messages in XI

    Hi,
    how to log Synchornous Messages in XI ?

    Michal has explained it clearly .....with screen shots
    Check the below blog
    The specified item was not found.
    Thanks,
    Karthik

  • How to conrol the size of Node Manager error logs

    How to control the size of Node manger error.logs in Weblogic 8.1?

    Log rotation is disabled by default, but can be enabled by setting LogLimit and LogCount in nodemanager.properties
    For more information check [http://download.oracle.com/docs/cd/E11035_01/wls100/nodemgr/java_nodemgr.html]
    I hope this helps

  • How to increase font size in Java script alert message

    Is anybody know how to increase font size in Java script alert message
    THanks in Advance ....

    Hi,
    You can NOT do it with Javascript.
    You need an alternative solution: http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/popup-box_84.html
    Tobias

  • How the Payload Message and Logs are stored in the B1i Database Table: BZSTDOC

    I would appreciate it if someone could provide any documentation regarding B1i database further maintenance.
    for example:
    I want to know how the payload message and logs are stored in the table BZSTDOC, and how can we retrieve the payload message directly from the column DOCDATA.
    As described in the B1iSNGuide05 3.2 LogGarbageCollection:
    to avoid the overload of the B1i Database, I set the Backup Buffer to 90 days : so this means Message Logs from the last 90 days will always be available, but is there some way we can save those old messages to a disk so that I can retrieve the payload message anytime?
    in addition, let’s assume the worst, the B1iSN server or the B1i database damaged, Can we just simply restore the B1i database from a latest backup DB then it can work automatically after the B1iSN server is up and running again?
    BR/Jim

    Dear SAP,
    Two weeks passed, I still haven't received any feedback from you guys.
    Could you please have a look at my question?
    How is this Question going? Is it Untouched/Solving/Reassigned ?

  • The letter in composed message are to small - how to increase the size

    The letters in message composed are too small.
    How to increase the size of letters?

    if you hold control button on keyboard and scroll the mouse wheel, it zooms in and out on webpages.

  • How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?

    How to find the size of the pipe. I mean the total number of bytes/messages available in the named pipe?
    NAVEEN

    I'm afraid this forum for Microsoft Project Customization and Programming  is not the correct forum for your question. Please Choose correct forum in order
    to get help from experts. I think your question is more relevant to SQL server
    kirtesh

  • Alert SID .log file size too big ,How to keep it under control

    alert<SID>.log file size too big ,How to keep it under control?
    -rw-r--r-- 1 oracle dba 182032983 Aug 29 07:14 alert_g54nha.log

    Metalink Note:296354.1

Maybe you are looking for

  • Songs cut off on iPod and on iTunes

    I've seen this asked before but no one can seem to help when it comes to the Windows iTunes: Songs on my iPod are not only being randomly cut off, but the +song length+ is being changed right before my eyes for no discernable reason. For example, I h

  • Cable Modem Selection

    I have Mediacom as my isp.  I am about to purchase a cable modem.  I recently purchase an iMac with and i7 processor. I am a recent Apple convert ..... and, not a techie.  However, I still have an old windows system in the house which I will still be

  • HELP!!! Internet Explorer 8 wont download Flash 10.1

    Hello I am using the IE 8 32 bit browser...i go to get.adobe.com/flashplayer to get the new version...I have uninstalled the previous version first. when i go to download the yellow bar that says AGREE AND DOWNLOAD will not launch the download...I ha

  • Using pim anf ile interface on motorola i760

    There is a problem using pim and file interface on motorola i760 (maybe other devices olso). I wrote an application that shows the content of the phone, and it is works great on the emulator (shows the gallery). When I execute it on motorola i760, it

  • Script help - IPCC 7.5 CVP 7.0

    I have been trying to find a script that will work with CVP 7.0 and IPCC 7.5 allowing us to mimic a setup we have with IPCCX.  I have offices that want to be able to do the following: 1.  Dial a number and get a prompt to record a new closed message