Problems with JMS: Error JMS BEA-040368

Hi,
I have run into a problem using JMS on BEA. It appears to happen when we run huge amounts of messages through the queue (100 000+).
Once this error occurs, we cant get rid of it. Restarting server, re-dployment, nothing works. Every subsequent message sent to the JMS produces this error.
According to the error message, we have exceeded the maximum allowed transactions for the server, but how do we reset the transactions? And what is causing the error to appear in the first place? Somthing I forget to close or flush?
I have QueueConnection, QueueSession and QueueRecevier objects open for all transactions, and close them when the bean is destroyed. Should I rather create and close them for each transaction?
Here is the exception:
<15.jun.2005 kl 14.55 CEST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
java.lang.RuntimeException: [EJB:010166]Error occurred while starting transaction: javax.transaction.SystemException: Exceeded maximum allowed transactions on server 'myserver'.
at weblogic.ejb20.internal.MDListener.perhapsBeginTransaction()V(MDListener.java:325)
at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread; )V(MDListener.java:339)
at weblogic.ejb20.internal.MDListener.onMessage(Ljavax.jms.Message; )V(MDListener.java:262)
at weblogic.jms.client.JMSSession.onMessage(Ljavax.jms.MessageListener;Lweblogic.jms.common.MessageImpl; )V(JMSSession.java:2678)
at weblogic.jms.client.JMSSession.execute(Lweblogic.kernel.ExecuteThread; )V(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
>

Developments
It turned out that my "client" used: this.queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
While the "server" used: this.queueSession = queueConnection.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
Now changing both sessions to use transactions (createQueueSession(true, Session.AUTO_ACKNOWLEDGE)) and fortifying the use of QueueSession.commit() when sending and receiving messages seemed to solve the problem... for a while.
After a few new tests the problem appeared again, this time on the "client" side. It is obvious that transaction are somehow not commited correctly even though Session.commit() is called after each and every message is sent and received.
Btw. To make the app "clean up" hanging transactions faster you can change the value in the console at:
Mydomain --> Services --> JTA --> Abandon Timeout Seconds
weblogic.jms.common.TransactionRolledBackException: Exceeded maximum allowed transactions on server 'myserver':error beginning transacted session's internal transaction
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
at weblogic.jms.dispatcher.DispatcherImpl_814_WLStub.dispatchSyncNoTranFuture(Unknown Source)
at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:472)
at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:391)
at weblogic.jms.client.JMSProducer.send(JMSProducer.java:186)
at no.nrk.returia.test.TestSMSInAdapter.send(TestSMSInAdapter.java:133)
at no.nrk.returia.test.TestSMSInAdapter.main(TestSMSInAdapter.java:206)

Similar Messages

  • Hello ! I'm using iphone 5 running ios 7.1.1 I have problem with Appstore error and also Safari don't work too. What can I do to fix this problem ?

    Hello ! I'm using iphone 5 running ios 7.1.1 and I have problem with appstore error and also Safari doesn't work. what can do I fix this problem ? I need help now my iphone can't do nothing

    Need more details. What is your appstore error exactly? and what happens when you try to use Safari?

  • Problem with JMS in a Cluster

    In summary I am having a problem with my application when it is running on the server that does not contain the JMS.
              Setup:
              2 machines:- Server 1 with the Admin Server and a Managed Server with JMS and a Distributed Queue. Second machine (Server 2) with a managed server. The two managed servers are in a Cluster.
              The connection factory has xa enabled.
              The queue is a distributed queue, with one member queue - on server 1.
              Scenario 1 (works):
              Deploy my application on Server 1 only
              Scenario 2 (works):
              Deploy my application on Server 1 and Server 2
              When the application puts messages on the JMS queue, the messages are processed round robin by the MDB on both Server 1 and Server 2 - as expected.
              Scenario 3 - Does not work
              Deploy my application on Server 2 only
              The application successfully sends a message to the queue - I can see it in queue through the console.
              However the MDB never processes the message. On the queue, I can see 0 consumers.
              Essentially the MDB appears to deploy correctly from the server log but never appears as a consumer on the queue.
              I know the above information is very brief, however I can provide more configuration details and detailed logging if required.

    On a further look through the logs, I have found the following Warning message which may point to the reason why my MDB is not receiving messages from JMS:
              <25-Apr-2005 17:26:01 o'clock IST> <Warning> <EJB> <BEA-010220> <The jms destination 'AsyncMessageQueue' is a distributed destination and it has no physical destination(s) on the current weblogic server. As per distributed destination co-location rules, no pool was creted for the MDB 'AsyncMessage(Application: m3-j2ee_Weblogic21apr_2, EJBComponent: ejb_framework.jar)' on this weblogic server. Hence the MDB 'AsyncMessage(Application: m3-j2ee_Weblogic21apr_2, EJBComponent: ejb_framework.jar)' cannot receive any messages on this server.>
              I have created a Destination on the JMS Server ("Replicate JNDI Name In Cluster" is set), and I have created a Distributed Destination, which has as its member the Destination associated with the JMS Server.
              If the JMS is not on the same server as the deployed application, how do I get the MDB to connect to the physical destination?
              Do I always need a Physical Destination on the the same server as my deployed application? If so, how do I create a Physical Destination on the server that does not have the JMS?
              Any help appreciated.

  • Problem with JMS Dispatcher in 10.1.3

    When we try to set up the JMS Dispatcher in Oracle SES 10.1.3, we always get an error while starting the SES:
    Missing class: oracle.edge.impl.dispatcher.JMSEventDispatcher
    Any ideas how to make JMS Dispatcher working under 10.1.3? It is quite urgent...
    Thank you!!!
    DM

    Hi DM,
    We had some problems with the new JMS framework.
    We are working on it.
    I'll post any news once we have them.
    Regards,
    Ron

  • Problem with JMS migration when using Ctrl+C to stop the managed server in cluster

              Hi,
              I am having a clustered weblogic application running on Weblogic 7.0 SP5. My application
              uses JMS as a asynchrous communication. We have MDB which listens to these JMS
              messages.
              If something is being processed on Managed Server 1 and while the request is in
              process, i am stopping the the MAnaged SErver 1 using Ctrl+C.
              After this, i go to admin console and migrate teh JTA and JMS. After this, i am
              expecting other running Managed Server should restart the incomplete transaction.
              But this is not happening. The Managed Serve2 doesn't process the requst.
              But when i restart teh MAnaged SErver 1 again, it takes up the same request and
              processes it.
              Is this a known problem with Weblogic that it doesn't support Ctlr+C case?
              Please note that the same thing is working fine when i stop the server using Admin
              console(Normal shutdown OR forced shutdown).
              Any comments in this regards are apprecciated.
              Thanks,
              Naresh
              

              Hi,
              I am having a clustered weblogic application running on Weblogic 7.0 SP5. My application
              uses JMS as a asynchrous communication. We have MDB which listens to these JMS
              messages.
              If something is being processed on Managed Server 1 and while the request is in
              process, i am stopping the the MAnaged SErver 1 using Ctrl+C.
              After this, i go to admin console and migrate teh JTA and JMS. After this, i am
              expecting other running Managed Server should restart the incomplete transaction.
              But this is not happening. The Managed Serve2 doesn't process the requst.
              But when i restart teh MAnaged SErver 1 again, it takes up the same request and
              processes it.
              Is this a known problem with Weblogic that it doesn't support Ctlr+C case?
              Please note that the same thing is working fine when i stop the server using Admin
              console(Normal shutdown OR forced shutdown).
              Any comments in this regards are apprecciated.
              Thanks,
              Naresh
              

  • Is there a problem with JMS and Weblogic?

              Hi,
              I am using JMS and Weblogic (Not Message Driven bean).
              My problem is that after some time my listeners disappears.
              I am sending them a message and instead of 6 listeners
              I get only 4 messages.
              So, My question is: Is there any problem working with JMS
              and Weblogic???
              Thanks,
              Tal.
              

    Too little information and a very vague question. Need more info.
              "Tal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hi,
              > I am using JMS and Weblogic (Not Message Driven bean).
              > My problem is that after some time my listeners disappears.
              > I am sending them a message and instead of 6 listeners
              > I get only 4 messages.
              > So, My question is: Is there any problem working with JMS
              > and Weblogic???
              > Thanks,
              > Tal.
              

  • After installing firefox 4.0 I've been having problems with rundll error on startup. Norton scan is finding a high risk malware.

    Last week I installed firefox 4.0 beta & the next time the computer was restarted a rundll error window appeared that said windows cannot locate file. This file showed up in the startup programs. When norton finds this which is every 1 or 2 days it removes it after a restart but the error & malware comes back. I went back to firefox 3.6 but still have this problem. Can you help?
    Thanks, Dennis

    It seems unusual that Norton should block and remove firefox updates. Having said that I was posting in a thread about problems with Norton a few days ago see [https://support.mozilla.com/en-US/questions/789617#answer-143767 thread] ''"I down loaded fromFFox the latest down - norton 360 - stopped the down load - stated not to use it - asked to stop running the program - I click yes thinking a problem now on my other computer I cant use FFox as a Browers -"''
    I use Norton (NIS) and received only a mild advisory on one Firefox update. I have Windows XP with Firefox3.6.15 & 4RC installed

  • Problem with call error / call restart

    If during a call with the Bluetooth car speakerphone on and - due to loss of signal, or anything else - I get a call error, in the lock screen there is a message of error with black color font and (!) icon, and until there is nothing strange, right? But next, if I try to unlock the iPhone the lost call restart automatically even if I would not to do it..
    Is there anyone with such a problem? Any solutions?

    I encounter a similar problem with 9.1.1.
    My problem is link to this bug ID : CSCtq10477.
    Mathieu

  • Problem with repair error 1311, and trouble reinstalling.

    I am having problems with reader, so I tried to do a repair but got error 1311. I uninstalled not im having trouble reinstalling...

    Error 1311, 1335, or 2350 "Source file not found...data1.cab" |Install Adobe products | Windows

  • Iphone problem with itunes error 1603 on restore

    I allowed my iphone battery to fully discharge and upon recharging got the error message with a large exclamation mark “please connect to itunes”. When I connected to itunes I was told that the phone was in recovery mode and needed to be reloaded. Itunes went out and downloaded the new firmware and began the install process after I approved the input screen that said it would wipe out all my data. 1/3 of the way through the process I received a message box that told me the process had failed to restore the iphone for an unknown error (number 1603).
    After looking online and calling ATT as well as Apple the best solution I received was to send the iphone in for replacement (i am 5 hours from an apple store). After fiddling around I have managed to solve the problem on my own.
    After trying everything else with no results, I pulled the SIM card out of the iphone and plugged the iphone into my computer. Itunes then reloaded the software and firmware successfully. I then put the SIM card back in and synced it up with itunes and it asked me to confirm the resync. Afterwards it just worked fine.
    My iphone works again!

    "1- suddenly my iPhone 5 lost mobile company signal and word searching appears instead but no signal for the hole day so I changed the sim with other provider and since it gave me the same result I searched the web and the seems no solution other than restore.
    I did restore and update to iOS 7.0.4 but at the restore takes at the last 1% in the last moment of restore it will take loooong time then gave me error 3. And now for more than a month the iPhone stuck with recovery logo. Almost I tried every trick in the book . Change USB cable, port, PC. PC with other OS . Even freezing the iPhone as I read here noooooo result the same happened again and again."
    I have exactly the same problem with my iPhone 5s!

  • Latest iTunes update problems with repeated error messages every 65 seconds??

    After this mornings' update of iTunes.  Problems with Applemobiledeviceservices.exe.  Error message every 65 seconds - software exception (oxc06d007e) occurred in the application at location 0x7c812fd3.
    How do I stop this?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • TS3694 what is a problem with this error (3194)

    I have a problem with my iphone. I want to update my version 5.0.1 to 6.0.1 and we see this error 3194. What I need to do?

    I'd start here
    http://support.apple.com/kb/TS3694

  • Problem with ipad error 9

    I'm having problems with restoring my ipad. Error 9

    Have you had a look at http://support.apple.com/kb/TS1275? It suggests Error 9 is a USB issue, so you can try other USB ports, perhaps a different cable, or even trying to restore on another computer, if you have one to hand.
    Hope that helps,

  • Problem with Imovie : error -50 when exporting

    I have a problem with Imovie, I am trying to export my video but i receive a message: error -50 .
    What should I do ?

    I have a problem with Imovie, I am trying to export my video but i receive a message: error -50 .
    What should I do ?

  • IF YOU HAVE PROBLEMS WITH INSTALLATION ERRORS, REMOVE YOUR NON FACTORY RAM

    I was having all kinds of errors with the installation of 10.5, I read about removing non factory ram. I did this and the installation worked just fine with no errors.
    Except now I have a new problem where it won't recognize my user name and password. Apple has a post on how to correct this problem. I have done what they said and it does now work.
    Now I am on the phone support hold line.....

    polatfromfairfax wrote:
    my friend, I hate to do this; all the possible variables are eliminated..if you really pay attention to my main point,
    Mh friend, forgive me for asking something you didn't mention, "just to be sure."
    it is high time for everyone to accept that this is not a end-user error...this is simply a firmware issue Apple engineers choose to ignore
    Posting here is extremely unlikely to get Apple's attention.
    Have you reported it?  To an Apple Store, AppleCare, a Bug Report, or the Feedback site?  If not, please do so.  See Reporting a Problem to Apple if you're not sure how.

Maybe you are looking for