Garbage added to log file while sending messags to weblogic JMS topic

Hi All,
While I am sending messages to JMS Topic some debug statements are printed to stdout...
which is only happening in production rather than in dev environment, hence I feel this is a configuration issue..
sheding light on this issue is greatly appreciated,
thanks in advance !
regards,
Ambha

Thanks for the replies,
The problem is certainly not with logger settings...
The statements which are getting printed are SSL debugging
The following settings are used by the application which sends messages to the topic :
Dssl.debug=true
Dweblogic.StdoutDebugEnabled=true
These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
in UAT and Production I am not sure...
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
any Ideas... ?
Thanks
Ambha

Similar Messages

  • Garbage added to log while sending message to Weblogic JMS topic

    Hi All,
    Was able to sucessfully send messages to Weblogic JMS topic and also able recieve them.
    But while sending the messages to topic loy of debug statements are printed to the standard output
    This is seen only in production and not in developement, and expecting it due config issue...
    Any ideas on this is greatly appriciatied.
    Thanks in advance !
    Cheers,
    Ambha

    Thanks for the replies,
    The problem is certainly not with logger settings...
    The statements which are getting printed are SSL debugging
    The following settings are used by the application which sends messages to the topic :
    Dssl.debug=true
    Dweblogic.StdoutDebugEnabled=true
    These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
    in UAT and Production I am not sure...
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    any Ideas... ?
    Thanks
    Ambha

  • How to open log file while program is running?

    Hi,
    I am using log4j to generate a log file. The application connects to a remote server and does some updates on a database. Is it possible to view the log file while the program is running? When I click on the log file to open it, I get a message "the document is in use by another application and cannot be accessed".
    Looking for ideas to get around this problem.
    Thanks and Regards,
    Harsha Hegde

    tail.exe -f
    Tail is a Unix program but if you search google you can find a port for Windows. It will show the contents of the file in a cmd prompt and will update as new lines are being added to the file so you can see the most up-to-date version as log4j is writing to it.

  • Error trying to send email -- IOException while sending message

    Email is successful when:
    I run my application through JDeveloper
    or
    when I use a classpath, but if I try to execute app via a jar file, i get the following error message: IOException while sending message.
    The jar file does include mail.jar and activation.jar.
    Below is my email code:
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class JMAR_Mail {
    private String sendTo;
    private String sentFrom;
    private String host;
    private String messageSubject;
    private String messageText;
    private MimeMessage msg;
    public JMAR_Mail() {}
    public JMAR_Mail(String sendTo, String sentFrom, String _host) {
    sendTo = _sendTo;
    sentFrom = _sentFrom;
    host = _host;
    public void setEmailSubject(String _messageSubject) {
    messageSubject = _messageSubject;
    } // end setEmailSubject
    public void setEmailText(String _text) {
    messageText = _text;
    public void sendEmail() throws MessagingException {   
    // create some properties and get the default Session
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    Session session = Session.getInstance(props, null);
    InternetAddress addr = new InternetAddress();
    // parses comma separted list of email addresses
    InternetAddress[] address = addr.parse(sendTo);
    msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(sentFrom));
    msg.setSubject(messageSubject);
    msg.setText(messageText);
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSentDate(new Date());
    Transport.send(msg);
    } // end sendEmail
    }

    You don't want to include those jar files in your jar file,
    you want to reference them:
    http://forum.java.sun.com/thread.jspa?forumID=43&threadID=762763

  • SOAP Receiver- Error While Sending Message: 500 Internal Server Error

    Hello,
    Our scenario: IDoc to SOAP
    I have added a third party system in the SLD and have used the same in my ID configuration.
    An idoc will be triggered from R/3, which will received in PI, PI will transform the IDoc into SOAP message for the third party system.
    I have tested the scenario in ID from Interface Determination and its successful.
    But when i try to try to test it from RWB, using Test Message in Adapter Engine, I get an error,
    "Error while sending message:500 Internal server error"
    If we test it using a testing software like SOAP UI, it works fine but from PI we get the error mentioned above.
    Regards,
    Abhishek

    Hello,
    Since the IDOC adapter resides on the ABAP stack, you can use this URL instead (it will be sent to the integration engine as Venkata suggested)
    http://host:port/sap/xi/engine?type=entry
    Also check your firewall settings from PI to the third-party system.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 7, 2012 11:48 AM

  • Type of error in the log file while using using call transaction mode u2018Eu2019

    Hi Gurus,
    Please Answer for this qusetion urgently
    what type of error exactly  you will be seeing in the log file while using call transaction mode u2018Eu2019?
    Thanks/
    Radha.

    Hi,
    Can you be clear.
    In call transaction , no error logs  are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
    Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
    You can handle the errors in call transaction in the following method.
    create a table using the structure BDCMSGCOLL.
    then
    loop at ......
          CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
    endloop.
      SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
      DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
      LOOP AT I_MESGTAB.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID   = I_MESGTAB-MSGID
            LANG = I_MESGTAB-MSGSPRA
            NO   = I_MESGTAB-MSGNR
            V1   = I_MESGTAB-MSGV1
            V2   = I_MESGTAB-MSGV2
            V3   = I_MESGTAB-MSGV3
            V4   = I_MESGTAB-MSGV4
          IMPORTING
            MSG  = MESG1.
        IF I_MESGTAB-MSGTYP = 'S' .
          WA_SUCCMESG-MESG = MESG1.
          APPEND WA_SUCCMESG TO I_SUCCMESG.
    else     IF I_MESGTAB-MSGTYP = 'E' .
          WA_ERRMESG-MESG = MESG1.
          APPEND WA_ERRMESG TO I_ERRMESG.
        ENDIF.
      ENDLOOP.
    Hope this is clear.
    Thanks and Regards.

  • One or more required office component failed to complete successfully for more information, consult the setup log file. while uninstallation of sharepoint 2013

    One or more required office component failed to complete successfully for more information, consult the setup log file. while uninstallation of sharepoint 2013

    go to start > run > type %temp% > here check for latest file and provide us details in that log file
    If this helped you resolve your issue, please mark it Answered

  • Error while sending message.

    Hi,Could anyone explain the below error message and tell me how can we solve this?
    Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=NDE_CLNT200;TS=;AN=Z_FI_OUTBOUND_SAP_TO_SIP;ANS=urn:sap-com:document:sap:rfc:functions;
    Regards,
    sai.

    Hello,
    I have the same problem here. I already did many times redefine the wohle szenario and also tried out many different adapters. But any time I get the same error message. I checked the agreements and determinations very carefully. The Test in IDR said this:
    Senderagreement
    <not found>
    <Trace level="1" type="B">SENDER AGREEMENT SIMULATION</Trace> <Trace level="1" type="T">Simulating Adapter Engine...</Trace> <Trace level="1" type="T">Simply trying to loolup for the most specific Sender Agreement object</Trace> <Trace level="1" type="T">no objects found</Trace> <Trace level="1" type="T">Note that real results may differ</Trace>
    Receiverdetermination
    | BusSys_A | MI_HTTPtoJDBC_HTTP
    <Trace level="1" type="B">CL_RD_PLSRV-ENTER_PLSRV</Trace>... (4 Zeilen)
    Interface-determination
    | BusSys_A | MI_HTTPtoJDBC_HTTP | | BusSys_B
    <Trace level="1" type="B">CL_ID_PLSRV-ENTER_PLSRV</Trace>... (4 Zeilen)
    Interface-Mapping
    <not found>
    Runtimeerror
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_HTTPtoJDBC_Input_: RuntimeException in Message-Mapping transformatio~
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>... (152 Zeilen)
    I hope you can help me getting it working. thank you

  • " Error while sending message: 500 Internal Server Error" RNIF Adapter

    Hi,
    I have configured B2B integration as   Sender : RNIF adapter &  Receiver: XI Adapter.
    I am  able to test the configuration successfully in ESR and ID. But, whille testing with RWB using same test data, i am getting the following error:
    Error while sending message: 500 Internal Server Errot.
         Could you anybody help me, what could be the reason? Even i am not getting any error messages in SXMB_MONI.
    Thanks
    Laxman

    Hope this helps..
    -Is the 500 internal SErver Error in RWB is only for this issue and the message is successfully processed in SXMB_MONI?
       Could be the PI Service User :PIAFUSER(Adapter framework user) login crendential issue or run out time error.
    Try taking the payload from sxmb_moni and enter  it in RWB > Adater engine> Test Message Tab > give proper sender interface information , enter payload and try sending message.   check what is behaviour

  • Imp: Error while sending message: 500 Internal Server Error

    Hi all
    while testing my scenarios- by sending the message through component monitoring in RWB I get the following error in Integration Server
    <b>"Error while sending message: 500 Internal Server Error "</b>
    It seems that integration server is not picking up the messages.
    Can anyone help me on this?
    thanks
    Abhishek

    Hi Abhishek,
      Check whether the integration url is pointing to correct one something like http://host url:http port/sap/xi/engine?type=entry.
    Please do refer the below blog:
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Regards,
    Prasanthi.

  • TS3899 I am unable to attach any files while sending mail

    Please tell me how to attach any word or pic or audio file while sending a mail using MAIL in my iphone 4.

    Step 1
    Remove "MacKeeper" as follows. First, back up all data.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Don't empty the Trash. Let MacKeeper delete itself.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.
    Step 2
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Detect "end of file" while send n numbers files over a socket?

    Hi!
    I�m trying to find a way to detect "end of file" while send n numbers files over a socket.
    What i'm looking for is how to detect on the client side when the file i�m sending is downloaded.
    Here is the example i�m working on.
    Client side.
    import java.io.*;
    import java.net.*;
    public class fileTransfer {
        private InputStream fromServer;
        public fileTransfer(String fileName) throws FileNotFoundException, IOException {
            Socket socket = new Socket("localhost", 2006);
            fromServer = socket.getInputStream();
            for(int i=0; i<10; i++)
                receive(new File(i+fileName));
        private void receive(File uploadedFile) throws FileNotFoundException, IOException {
            uploadedFile.createNewFile();
            FileOutputStream toFile = new FileOutputStream(uploadedFile);
            byte[] buffer = new byte[4096];
            int bytesRead = 0;
            while ((bytesRead = fromServer.read(buffer)) != -1) {
                toFile.write(buffer, 0, bytesRead);
        public static void main(String[] args) {
            try {
                new fileTransfer("testa.jpg");
            } catch (Exception ex) {ex.printStackTrace();}
    }Server side.
    import java.io.*;
    import java.net.*;
    public class fileTransferSend {
        Socket serv = null;
        OutputStream toClient;
        public fileTransferSend(String fileName) throws FileNotFoundException, IOException {
            StartServer();       
            for(int i =0; i<10; i++)
                send(new File(fileName));
        public void StartServer() throws IOException {
            ServerSocket ssocket = new ServerSocket(2006);
            System.out.println("Waiting for incomming");
            serv = ssocket.accept();
            System.out.println("incomming");
            toClient = serv.getOutputStream();
        private void send(File f) throws FileNotFoundException, IOException {
            if(f.exists() && f.canRead()) {
                FileInputStream fromFile = new FileInputStream(f);
                try {
                    byte[] buffer = new byte[4096]; // 4K
                    int bytesRead = 0;
                    System.out.println("sending: "+f.getName());
                    while ((bytesRead = fromFile.read(buffer)) != -1) {
                        toClient.flush();
                        toClient.write(buffer, 0, bytesRead);
                finally {
                    //toClient.close();
                    fromFile.close();
            } else {
                System.out.println("no files");
        public static void main(String[] args) {
            try {
                new fileTransferSend("test.jpg");
            }catch(Exception e) {e.printStackTrace();}
    I know that the client never reads -1 becuase i doesn�t close the stream.
    Is there anyway to tell the client that the file is downloaded?

    A common (and easy) TCP/IP protocol is to send length, followed by data.
    Because TCP/IP is a stream-oriented protocol, a receiver can never absolutely determine where the first packet ends and the second packet begins. So it is common to send the length of the packet, followed by the packet itself.
    In your case, you could send length of file, followed by file data. It should be fairly easy to obtain file length and send that as a 32-bit (or 64-bit value). Here is an idea (not code) for the receiver:
    receive (4) // where 4 = number bytes to receive
    unsigned length = convert 4 bytes to unsigned integer
    while (length != 0)
    n = receive ( length ) // where n = number bytes actually received, and length = number bytes desired
    Or, you can use the concept of an "Escape" character in the stream. Arbitrarily choose an ESCAPE character of 0x1B (although it could be any 8-bit value). When the receiver detects an ESCAPE char, the next character can be either control or data. So for end of file you might send 0x1B 0x00. If the byte to be sent is 0x1B, then send 0x1B 0x1B. The receiver would look something like this:
    b = read one byte from stream
    if (b == 0x1B)
    b = read one byte from stream
    if (b == 0x00) then end of file
    else place b in buffer
    else
    place b in buffer
    Later.

  • Sending messages concurrently to JMS queue

    Hi,
    I am using Weblogic 10.3 JMS. I have a .NET producer sending messages to a JMS queue using a threadpool. A Java consumer will be consuming the messages. Is it possible to pool the conections/sessions from the producer side to send messages concurrently from the threadpool. Please help.

    You can use standard .NET threading to produce messages in different threads.
    Keep in mind that producers and session instances themselves must not be multi-threaded, although they can all share the same connection.
    When you code, each thread could have a dedicated session and producer.
    Alternately, you could write a very simple pool that the threads share to cache producers. On the other hand, sessions and producers are light-weight once they've been created, so there's often little need to go through this trouble.
    Tom

  • Messages posted to JMS Topic from OSB disappear even when not subscribed

    Hi,
    We are using an OSB service to publish xml messages to a weblogic JMS Topic. Message is persistent. There are no consumers for the Topic. There is no expiration limit set.
    We are able to see the message from OSB reach the Topic. It stays in the Topic for a few seconds and then disappears.
    The State of the message shows up as "send transaction" on the Topic in the weblogic console. And it shows up as Message Pending instead of Message Current.
    Is there a way to ensure that the message stays in the Topic till it is consumed by a subscriber?
    Thanks,
    Senthil

    Hi Senthil,
    The topic persists messages only for subscribers, if there is no subscribers, then it is not necessary to persist the message.
    This is the same case for you as well, as there are no subscribers the message gets deleted.
    So first you need to have atleast one subscriber first (A dummy proxy that is reading from the topic) and then post to the topic (through your OSB service or hermes jms tool, etc .. ) . Then if you try to go and check the topic you will be able to see the message.
    Hope this information helps.
    Thanks,
    Patrick
    Edited by: Patrick Taylor on May 13, 2011 2:40 PM

  • Error encountered while collecting the data from JMS topic bus

    Iam encountering a problem while collecting the data from JMS topic bus and pushing the data to BAM.On the DesignStudio window, after I click on “update” button in the plan window to run the plan I get the following exception messages:
    IMessageSourceReceiver->messageReceive:
    javax.naming.CommunicationException: Connection refused: connect
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at
    iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerS
    tart(JMSMessageSourceReceiverImpl.java:1001)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageRecei
    ve(JMSMessageSourceReceiverImpl.java:326)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at
    java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at java.net.Socket.connect(Socket.java:376)
         at java.net.Socket.<init>(Socket.java:291)
         at java.net.Socket.<init>(Socket.java:147)
         at
    com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnecti
    on.java:682)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSoc
    ketRmiTransport.java:58)
         at
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java
    :78)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTr
    ansport.java:68)
         at
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.ja
    va:646)
         at
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientCon
    nection.java:190)
         at
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.jav
    a:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 5 more
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3A]
    Error during Message Receive operation.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3B]

    The error msg says that your BAM server cannot connect to your JMS provider. Make sure your configs are all ok, in EL DesignStudio, BAMArchitect EMSdefinition, etc. You can refer to the samples and technotes and tutorials to understand these details. If you are following the steps in the technote etc. pl verify your oc4j container is running, and oc4j version and 'jndi path' is ok. Give the doc name, pg number and step where you are getting this error.

Maybe you are looking for

  • Error while deploying swing component to remote machine

    Hi, I have an unsolved query.I have created a simple Swing-frame using Jdeveloper.I have created a deployment profile which creates a jar file for the project. On executing the jar file I get an error of the manifest file which requires to change the

  • Not able to deploy binary file asset

    Hi I am trying to deploy a WWWFileSystem binary file asset, but i am getting an exception while deploying. Message Detail: CONTAINER:atg.deployment.file.DeploymentSourceException: Unable to find VirtualFileSystem component for path /atg/epub/file/WWW

  • MDM ABAP API  ISSUE ( server  is getting down )

    Hi Folks, I am trying to retrieve matching results using MDM ABAP API. I am spiting source and target records into lot of blocks dynamically in program. I am getting output 2 to 3 times if i can run program sequential after that server is getting dow

  • Bandwidth Calculation based on Network IP Address on SNMP Cisco 3750

    Dear All, Instead of getting bandwidth calculation on cisco switch via snmp for total in and out or based on port, is it possible to get the calculation of bandwidth for in and out for the C Class IP on the network ? That mean i can get the calculati

  • Unwanted grey lines when importing into FCP?

    I have a simple lower 3rd in LT that consists of a 600 x 40 px background (rendered in After Effects as a QuickTime) and a static type track. The setup is standard 720x480 DV. When I import this into FCP, there's an unwanted dark grey line on both th