Corrupt message in queue

Hi!
Environment:
Gentoo Linux 1.4 rc2
Sun Java 2 SDK 1.4.1_01 (Sun binaries)
Sun ONE MQ 3.0.1 (Build 64-a) with persistent queues (file)
First, I have to thank you guys for an excellent product!
Ok, the other day I got a weird error in one of the queues. I sent a message from one client, but it didn't arrive at the other end (another client). I use queues with administered objects and JNDI lookups. I shutdown the imq server and both clients.
When I started up again the receiving client tried to read from the queue, but he aborted with an exception:
com.zineup.hirgon.exception.HirgonException: [C4036]: A server error occurred.
at
com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.handleOldApplicationMessages(JMSMessageBrokerConnector.java:545)
at
com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.init(JMSMessageBrokerConnector.java:179)
at
com.zineup.hirgon.broker.MessageBroker.<init>(MessageBroker.java:168)
at
com.zineup.hirgon.broker.MessageBroker.main(MessageBroker.java:680)
Caused by: javax.jms.JMSException: [C4036]: A server error occurred.
at
com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:307)
at
com.sun.messaging.jmq.jmsclient.ProtocolHandler.acknowledge(ProtocolHandler.java:1593)
at
com.sun.messaging.jmq.jmsclient.SessionImpl.doAcknowledge(SessionImpl.java:724)
at
com.sun.messaging.jmq.jmsclient.SessionImpl.transactedAcknowledge(SessionImpl.java:668)
at
com.sun.messaging.jmq.jmsclient.SessionImpl.acknowledge(SessionImpl.java:621)
at
com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.receive(MessageConsumerImpl.java:367)
at
com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.handleOldApplicationMessages(JMSMessageBrokerConnector.java:524)
... 3 more
The JMS server reported at the same time:
[12/Feb/2003:16:27:59 CET] ERROR [B3100]: Unexpected Broker Internal Error :
[-------------------------------------------Internal Error: Invalid
Acknowledge Packet processing
[118-127.0.0.1(af:bc:7a:70:7a:fc)-33004-1045055909040:0:2108233636887484672[conuid:2108233636887484672]]
Reference is null
******** Packet:
ACKNOWLEDGE(24):126-127.0.0.1(ff:68:1d:b7:ef:83)-32801-1045063679308
Magic/Version: 469754818/301 Size: 128 Type: ACKNOWLEDGE(24)
Expiration: 0 Timestamp: 1045063679308
Source IP: 127.0.0.1(ff:68:1d:b7:ef:83) Port: 32801 Sequence:
126
Property Offset: 88 Property Size: 0
Encryption: 0 Priority: 5
Flags: A consumerID: 121
TransactionID: 2108233636887829248
MessageID: 126-127.0.0.1(ff:68:1d:b7:ef:83)-32801-1045063679308
Properties: null
Message Body: 40 bytes
[2108233636887815424:118-127.0.0.1(af:bc:7a:70:7a:fc)-33004-1045055909040]
Internal Buffers (useDirect=false):
Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:298)
at java.nio.ByteBuffer.put(ByteBuffer.java:771)
at com.sun.messaging.jmq.util.PHashMap.put(PHashMap.java:132)
at
com.sun.messaging.jmq.jmsserver.persist.file.TxnAckList.storeAck(TxnAckList.java:107)
at
com.sun.messaging.jmq.jmsserver.persist.file.TidList.storeTransactionAck(TidList.java:380)
at
com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeTransactionAck(FileStore.java:977)
at
com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:179)
at
com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:164)
at
com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:121)
at
com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
at
com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1457)
at
com.sun.messaging.jmq.jmsserver.service.imq.IMQ

Sorry, the message got chopped off somehow...
Here's the trace again:
java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:298)
at java.nio.ByteBuffer.put(ByteBuffer.java:771)
at com.sun.messaging.jmq.util.PHashMap.put(PHashMap.java:132)
at
com.sun.messaging.jmq.jmsserver.persist.file.TxnAckList.storeAck(TxnAckList.java:107)
at
com.sun.messaging.jmq.jmsserver.persist.file.TidList.storeTransactionAck(TidList.java:380)
at
com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeTransactionAck(FileStore.java:977)
at
com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:179)
at
com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:164)
at
com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:121)
at
com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
at
com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1457)
at
com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:546)
at
com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:109)
at
com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:421)
at java.lang.Thread.run(Thread.java:536)
What could have caused this? I haven't fiddled around with any configuration files. I purged the queue, and after that it runs fine again.
Regards

Similar Messages

  • Error 554-5.6.0 Corrupt message content... when sending emails to other users on same exchange server

    Hello
    I have a very strange problem at a customer from our company.
    The problem happens to only one user on the Exchange 2010 organization (SP3, no additional patches installed, Server is 2008 r2).
    When this specific user sends an email to one or more users on the same Exchange organization, he gets sometimes (not always) the following error back:
    554-5.6.0 Corrupt message content 554 5.6.0 STOREDRV.Deliver.Exception:ConversionFailedException; Failed to process message due to a permanent exception with message Inhaltskonvertierung: Fehlerhafter TNEF-Zusammenfassungsinhalt. ConversionFailedException:
    Inhaltskonvertierung: Fehlerhafter TNEF-Zusammenfassungsinhalt. [Stage: CreateReplay]
    So - TNEF, corrupt message Content... I googled the error and checked all the recommended Solutions. The Outlook Client is ok, I have doublechecked it and everything is configured like it has to be.
    The Problems happens as above described only for one user when he writes emails to users from one specific Domain on the same Exchange organization (example
    [email protected]).
    He has this specific contacts in a SharePoint contact list which is connected to his Outlook Client.
    Thanks for any help or Information!
    Regards

    Hi,
    According to your description, I understand that one user cannot send message with error “554-5.6.0 Corrupt message content 554 5.6.0”.
    If I misunderstand your concern, please do not hesitate to let me know.
    I want to double confirm whether it works or not when send message to external address, how about the OWA?
    It seems that message has corrupt content. Is there any 3rd prevent software or Anti-Virus software in Exchange 2010?
    Regarding this issue, firstly I would like to explain that content conversion occurs in two places, that are the Store Driver and the Content Conversion stage of Categorization. Since the issue exists in the delivery mail of internal user, the agent that was
    used in the process of handling by Store Driver may cause this issue.
    Please try to enable pipeline tracing and content conversion tracing to get more details about this error, for your reference:
    Content conversion tracing:
    http://technet.microsoft.com/en-us/library/bb397226.aspx
    Pipeline tracing:
    http://technet.microsoft.com/en-us/library/bb125018.aspx
    Best Regards,
    Allen Wang

  • Issue while posting message to queue

    Hi ,
    I am getting following exception while posting message into queue.For every new build I am getting this exception and after 2 or 3 times of restart of corresponding OBPM related weblogic server,Issue is getting resolved
    A component failed while executing activity '/COM/OU/UserlProcess#Default-3.0/ComponentExecution[PreProcessor]' (BP-method preProcessor) over instance '/COM/OU/UserlProcess#Default-3.0/15141/0'.
    Details:
    The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    Detail:Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1091)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1277)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.runCil(ComponentExecutionMicroActivity.java:126)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.execute(ComponentExecutionMicroActivity.java:84)
         at fuego.server.execution.microactivity.MicroActivityEngineExecutionHandler.executeActivity(MicroActivityEngineExecutionHandler.java:57)
         at fuego.server.execution.ImmediateActivity.execute(ImmediateActivity.java:42)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:251)
         at fuego.ejbengine.ItemExecutionBean$1.execute(ItemExecutionBean.java:217)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:203)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:115)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4123)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4013)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4541)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
         at fuego.connector.JMSHelper.getSession(JMSHelper.java:75)
         at fuegoblock.msg.DynamicJMS.sendMessage(DynamicJMS.java:145)
         at xobject.Utility.JMSService.writeToAppQueue(JMSService.xcdl:11)
         at xobject.Utility.Notification.sendAuditNotification(Notification.xcdl:19)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl:20)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1082)
         ... 31 more
    Please help how can I resolve this issue
    Thanks
    Sailendra

    I am also getting the same issue. Sailendra, did you resolve the issue?
    If not could anyone help us to resolve this issue.
    I am using Tibco JMS for queue and I have set 'ConnectionFactory' as Connection Factory Lookup Name value in the external resourse.
    Thanks in advance.
    Regards,
    Ramanan

  • ITunes 10.6.3 corruption message on App downloads

    iTunes 10.6.3 corruption message on App downloads
    I have recently udated to iTunes 10.6.3 on my Macbook, which is using Mac OSX 10.7.4.
    When I try to update my Apps or Download a new song or App the following error message appears: ‘Part of the file seems to be corrupted’. 
    I have downloaded iTunes 10.6.3 again, but it has not resolved the issue.
    Further, in the ‘My App Updates’ page in iTunes all the Apps waiting to be updated have a broken link icon next to them.
    Still further, iPhone or iPad 2 will not download the Apps either - I get the same error message.
    Has anyone got any ideas how to resolve this issue please?

    I have this issue too, and I also have Mac OS X 10.7.4.  It will partially download, but then I receive an error showing the file is corrupt:
    "The update could not be verified. It may have been corrupted during downloading. The update will be downloaded and checked again the next time that Software Update runs."
    Any help would be appreciated.
    Thanks!

  • I am getting an 'iTunes has detected an iPod that appears to be corrupted" message from my 80GB iPod Classic.

    I am getting an 'iTunes has detected an iPod that appears to be corrupted" message from my 80GB iPod Classic. It plays music fine and has 2.5 GB of space left. I get the message on multiple PC's and USB ports. I have tried resetting it and using Disk Mode. Any advice?

    In my Computer folder
    Right Click the iPod
    Select properties->tools->error check
    tick both fix filesystem error and surface scan.
    Press  OK
    May take about 2 hours to complete.
    PS: dont be in a hurry to disconnect your iPod, as future recurrence will come, as the HD is almost full, do back up your iTunes library, before your iPod HD gives the dreaded fatal Red X sign.
    Good Luck!

  • NOT PRINTING FROM WINDOWS 7 TO MY PHOTOSMART c7180 ALL-IN-ONE (I CAN SEE MESSAGES IN QUEUE)?

    CANNOT PRINTING FROM WINDOWS 7 TO MY PHOTOSMART c7180 ALL-IN-ONE (I CAN SEE MESSAGES IN QUEUE)?

    Hi,
    I think you need to remove the queue. Please try:
        hold down the Windows key and press R.
        from the Run window, type services.msc and hit enter.
        if the machine asks for Admin you have to accept this,
        look down to the print spooler service, right click it and select properties
        click on the Stop button,
        browse to C:\Windows\System32\Spool\printers
        delete the job inside this folder
        reboot the machine
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Configure Monitoring of a MSMQ private queue Messages in Queue counter

    Hi
    I have a workgroup server that is not part of my local domain.
    I have contented the server to my local SCOM 2012 R2 server and it is working fine.
    My SCOM server has MSMQ 6.0 & 6.3  MP's installed.
    On the remote servers I have some MSMQ 6.0 private queues.
    When I am trying to monitor one counter in 1 queue , when the threshold is reached I am getting error message on al the queues.
    On the performance counter tab I have :
    Object: MSMQ Queue
    Counter : Messages In Queue
    Instance :[server name'\private$\error
    There were 1207 messages in this queue .
    I Got about 30 messages and error on all queues.
    What did I do wrong ?
    Itamar
    Itamar

    Hi
    This is the alert email I got :
    Alert: Notification Queue
    Source: maasw1\private$\maas.backend.scheduler.timeoutsdispatcher
    Path: MAASW1.xxx.com
    Last modified by: System
    Last modified time: 2/18/2014 2:45:49 PM Alert description: Instance Computer Queues
    Object MSMQ Queue
    Counter Messages in Queue
    Has a value 19
    At time 2014-02-18T14:45:35.0000000+02:00
    I did not place a monitor on this queue but on 2 other queues.
    one with threshold of 500 and on with 1 .
    I have made some change in the monitor and will test it now.
    Thanks
    Itamar 
    Itamar

  • Get information about Subscribed Consumer and messages in queue

    Hi,
    I use a library that allow to set a set of consumers. They read messages I send. I check if the consumers are subscribed through "Open Message Queue Administration Console". Through Broker->Destinations I found the consumer under the correct destination I find the consumers with the message in queue, state and other information. I would like to obtain these information programmatically.
    Could someone link me an example?
    Thanks, bye bye.

    Hi,
    I'm reading the page but I cannot find the jar file that contains this package:
    import com.sun.messaging.jms.management.server
    and the classes:
    -MQObjectName
    -DestinationAttributes
    -DestinationType
    What is the jar file for the class above?
    Moreover, I cannot find the class:com/sun/messaging/jmq/management/JMXMQAddress
    when I try to use the code I wrote I receive this error:
    >
    java.lang.NoClassDefFoundError: com/sun/messaging/jmq/management/JMXMQAddress
         at com.sun.messaging.AdminConnectionFactory.getJMXServiceURL(AdminConnectionFactory.java:257)
         at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:207)
         at testcase.eventManager.DPCTRMSEVENTMANAGER.message(DPCTRMSEVENTMANAGER.java:123)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jmq.management.JMXMQAddress
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 23 more
    Where can I found this class?
    Thanks, bye bye.
    Edited by: PiotreUgrumov on May 13, 2010 8:29 AM

  • Net.Msmq Binding Not Picking Up Messages in Queue as soon as the application pool gets recycled

    Hi,
    We are trying to implement a wcf service that exposes a net.msmq endpoint.  We are running windows server 2008 R2/IIS 7.5 running on a DOMAIN mode.
    1. Our service is called service.svc and it is deployed under an application called Test in the default website (application pool running under network service)
    2. The url to reach the service webpage is http://machinename/Test/service.svc.
    3. We created a private queue called Test/service.svc and we configured permissions for network service to full control.
    Now, when the application pool is "alive" the service picks up the messages correctly, but as soon as the application pool gets recycled (because of timeout or any other reason), the service stops picking up the messages, that just sit in the queue until the service starts again by browsing to the service webpage (http://machinename/Test/service.svc)
    I know this is a popular question, but I already tried several solutions with no luck (for example, we triedhttp://keithelder.net/blog/archive/2009/06/03/fix-for-wcf-netmsmqbinding-not-picking-up-messages-in-queue.aspx,http://www.codewrecks.com/blog/index.php/2009/03/17/hosting-a-wcf-service-based-on-msmq-in-iis7/,http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/a1df55c4-e642-442a-9057-f0aec278d10c/ and other ones)
    Any Help?
    If this post is helpful, please mark it as such
    Alessandro Cardoso
    MVP | Microsoft Heroes | MCT
    blog: http://itaustralia.spaces.live.com
    http://cardosoalessandro.spaces.live.com

    Hi Steven,
    I am Alessandro's colleague, I am working with him on these net.msmq issues. 
    Our configuration includes a transactional queue called Test/Service.svc (unauthenticated,
    we shut down all security for the moment...does it matter?) and these attributes on the service:
    [ServiceContract]
    public interface IService
    [OperationContract(IsOneWay=true)]
    void ProcessMyMessage(MyClass parameter);
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, TransactionIsolationLevel = IsolationLevel.Serializable, TransactionTimeout = "00:03:00")]
    public class Service: IService
    [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
    public void ProcessMyMessage(MyClass parameter)
    //Do some stuff here
    The service is hosted on IIS 7.5 under an application called Test (so that the full http address of the service is http://machine/Test/Service.svc).
    In the configuration (for both client and service) we specified None for the security mode, "true" value in durable and exactlyOnce
    The Net.msmq Listener Adapter windows service is running fine under the Network Service account (the same as our application pool)
    Is there something we are missing?
    Also, can you explain how a transaction not configured properly can create this behaviour? In my understanding the process of delivering a message happens in 3 steps (I remember a nice picture of this the Juval Lowy book):
    1) Transaction 1: client delivers message to local instance of msmq. The transaction rolls back if the message does not get delivered.
    2) Transaction 2: the local instance of msmq delivers the message to the remote (service) instance of msmq. The transaction rolls back if the message does not get delivered.
    3) Transaction 3: wcf activates my service which picks up the message and process it. The transaction rolls back if the service fails to pick up the message or does not complete the transaction (for example, because of an unhandled exception).
    The message gets delivered to the service machine successfully, so I am assuming that steps 1 and 2 are executed correctly. If my service was not configured to handle transaction properly, wcf should still activate it and do something with it. Or at least,
    if it doesn't get activated at all, this should be the case even when the application pool is well alive and awake, because it should be a configuration problem. Instead, the service works great if the appPool is alive and it never gets activated when the
    appPool is sleeping (absolute nothing in the .svclog trace file generated by the service). Am I saying something wrong?

  • Drop messages in queue that have a blank sender

    I'm getting hundreds of messages in the Queue where the From Address is < >. 
    Do I just let these build up or is there a setting somewhere that would just drop the message if it has a blank sender?
    Here is an example of one that I've received;
    Identity: Pebbles\512\21474838371
    Subject: Undeliverable: MUST READ: Vehicle's Below Kelly-Blue-Book*
    Internet Message ID: <[email protected]>
    From Address: <>
    Status: Ready
    Size (KB): 10
    Message Source Name: DSN
    Source IP: 255.255.255.255
    SCL: -1
    Date Received: 5/27/2014 11:51:09 AM
    Expiration Time: 5/29/2014 11:51:09 AM
    Last Error: 400 4.4.7 Message delayed
    Queue ID: Pebbles\512
    Recipients:  [email protected];2;2;[{LRT=};{LED=400 4.4.7 Message delayed};{FQDN=};{IP=}];0;CN=outbound,CN=Connections,CN=Exchange Routing Group (DWBGZMFD01QNBJR),CN=Routing Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT)....
    1 email server in domain; Exchange 2013 sp1/Win2012 Standard
    PennyM

    On Exchange 2010 you have antispam agents that can help you discard such messages.
    Sender filtering has a check box called drop messages with blank senders select that and restart the transport service on the servers to get that updated quickly.
    In 2013 server, you have sender filtering as well.

  • Prosecced messages in queue

    Hello!
    Came across puzzle when do dequeue messages:
    We want to dequeue all messages for particular consumer.
    We do dequeue with no_wait, first_message, consumer_name.
    It works all right.
    All messages for specified consumer is dequeued.
    Immediately querying view AQ$QUEUE_T_QUEUE_x - we can see that dequeued messages are in 'PROCESSED' status
    and in 'READY' status in table QUEUE_T_QUEUE_x.
    Wait some Time - query view/table again - and we dont see them any more in the queue.
    Queue retention is set to 25 hours. So messages deleted from queue much more fast.
    The main question is - what does the
    Time between message is in 'PROCESSED' state after dequeue
    and
    time it disappears from queue
    depend on?
    We see different Time on different instances.
    AQ_TM_PROCESSES=10
    We guess that may be it's Queue Monitor that responsible for that?
    Does anybody know what is going on and how to control it?
    Any help is appreciated!
    Thanks in advance!

    Hi maha,
    Yes, queue monitor has responsible for post-process of dequeued messages in queue table.
    In 10gR2, Queue Monitor processes deqeueud messages every 30 seconds.
    If queue retention time are already expired when a queue monitor checks qtable, then a Queue Monitor removes messages from qtable. Otherwise, Queue Monitor update "deq_time" column in qtable. (deq_timestamp column in view is differ from deq_time in qtable.)
    However, I don't know why your messages are removed from qtables even though you set queue retention to 25 hours. And I have no idea to control Queue Monitor cycle, behavior, and so on,

  • JMS adapter transaction. Rollback message to queue.

    Hi all !
    A have question about jms adapter transaction. My composite application has 3 steps : JMS adapter (listener), mediator, WS adapter. JMS adapter listen queue push message to mediator, mediator invoke web service. If ws not available (server down), mediator try recovery 5 times. After 5 times, reject message from queue. I wont rollback message to queue. I saw examples with JMS + BPEL, but it not help me. Anybody can help me.

    Hi,
    You don’t need to catch a mediator fault – you can let it rollback to the JMS Queue and let the Queue do the retries.
    To get the retries working, log in to the weblogic console and navigate to JMS Modules -> Your Module -> Your Queue -> Configuration -> Delivery Failure
    Here you will find options for Redelivery Limit. Set this to the number of retries you need.
    Then navigate to the connection factory you want and set the redelivery delay.
    This should get your desired behaviour, but once the message has failed it will be discarded. If you prefer to put it on an error queue you can create an error queue, and in the original queue’s, goto Delivery Failure, change the expireation policy and set the Error Destination to be your error queue.
    Hope that helps!
    Robert

  • How to send message to Queue using JMS

    Hai Friends,
    I have written one program, which sends one seriablizable object to the queue. At
    queuesender.send(objectmessage) statement
    i am getting the following exception, but message is going to queue. The next statement is not executing. Next statements is simple debug statement.
    i.e.,System.out.println("Message has been send");
    why this is not working let me know plzz
    HERE is EXception
    <May 15, 2006 11:02:46 AM IST> <Alert> <JMS> <BEA-040049> <JMSServer "cgJMSServer" store failure occurred while writing message for queue ACMQueue, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: flush failed
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequest(...).

    Hai Friends,
    Previously i didn't give full stack trace. now i am sending the exact stack trace and little bit code. Plz help me
    CaseQuerySearchResult cqsr = new CaseQuerySearchResult();
    ObjectMessage obj = qsession.createObjectMessage();
    while(rs.next())
         // I am getting 10 fields from DB and setting those values like the following,
         cqsr.children.setLoan(rs.getString(1));
    obj.setObject(cqsr);
    qconnection.start();
    System.out.println("----B4 qsender----");
    qsender.send(obj);
    System.out.println("----After qsender----");
    <May 15, 2006 12:05:47 PM IST> <Alert> <JMS> <BEA-040095> <JMSServer "cgJMSServer". Store I/O failure, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1318)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • Code to Retrieve the message from Queue in Oracle BPEL

    Actually I am placing the Message into JMS Queue using JMS Adapter.After Placing the message,I need to retrieve the placed message from same queue.
    Right now I am using the Receive Activity and the JMS Adapter to retrieve the message from Queue.But my receive activity is always in the waiting state itself and I am not able to retrieve the message from queue.What might be the issue????
    Can anybody give me a better suggestion so that I can go ahead??
    Thanks in advance for your help.

    Hi Raja,
    Is the process a empty bpel process which is used to get the message from the MQ?
    Regards
    Surya

  • Large Message Payload - Queue selection

    Hi,
        I have one message with payload size around 105MB when I am trying to send through XI this message gets failed in the queue (inbound) of integration engine saying some memory problem to process the message. I have seen the queue it is picking up some XBT09_000 but I want to use the queue XBTL* as this queue is for large messages. The whole thing is that when my message is around 100MB I want it route large message processing queue i.e XBTL*. Is there anyway to do this? Any help on this greatly appreciated.
    Thanks.,
    Daniel.LA

    There is a way to defer large messages from the rest and process them using a job in a specific queue.
    Please check this configuration :
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm</a><a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/14/8024">Message Selection Filter</a>
    in this path:
    Under Runtime - > Integration engin ->
    Prioritized Message Processing
    Queues for Prioritized Message
    Good luck
    Nimrod

Maybe you are looking for

  • Re : Error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDrive

    Hello All, I am writing this simple program which connects to Oracle DB ( 10.2 ). The Java version I have is 1.5.0_13 . I do have oracle client installed. When I run the below code ...I get error java.lang.ClassNotFoundException: oracle.jdbc.driver.O

  • Autofill problem, Please Help!!

    I recently had to purchase a new MacBook Pro. Never had this problem before. My personal email starts with PS. I have a contract that everything starts with PS and each time I type this letter combo it autofills my email address. Sometimes a bubble a

  • Modify the output medium log for SRM Purchase order

    Hi, I'm using a FM BBP_ECS_PO_OUT_BADI to modify the output medium of the SRM purchase order. Though it is displaying it in the header level output medium ( radio buttons ) the document output log holds the old value. Is there a way to modify/update

  • Re: Auto Save lags considerably, any reasons why?

    With the new feature of auto saving/cataloguing my document routinely lags when I start to type after sitting for a short period of time. Then the saving bar appears and eventually, completes. We are not talking about after I insert massive amounts o

  • Is there a better way of doing this? (multifileupload/forms/mysql)

    Hi all. I've managed to cobble together a page that will let me upload three files paths and three text boxes to a mysql database. the the files also go to specific directories depending on conditions. what im looking for is to see if there is a more