I have a number of MDBs running on Glassfish 3.1.2.2. Due to the nature of work on one of the MDBs I need to make it single threaded. I looked at the Tuning Guide, and while setting the maximum pool size to 1 does resolve the problem, it also means all the other MDBs are single threaded. What I'd really like to do achieve is for the specific MDB to be single threaded, whilst allowing the others to be multi-threaded.
Single Threaded MDB on Glassfish
1.2k Views Asked by M21B8 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in MULTITHREADING
- new thread blocks main thread
- WPF MessageBox Cancel checkbox check
- How to avoid concurrent access to a resource?
- run oncomplete event in async
- Threading Segfault when reading members
- Function timeouts in C and thread
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Acumatica perfomance with threads
- Wait and Notify in Java threads for a given interval
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to return blocking queue to the right object?
- background thread using Task.Run
- deletion and cleanup of worker thread in Qt crashes
- Pipeline-like operation using TChan
- implementing in app purchase on android
Related Questions in GLASSFISH
- Simple JavaEE HTML GET/POST application
- Access roles from multiple applications
- GlassFish sometimes doesn't load my web apps
- How to configure custom access-log format for Glassfish-4.1 (worked in v3.1.2.2, ignored in v4.1)
- File upload via h:inputfile (prettyfaces) does not work
- java 8 with Glassfish 4.1 Artifact HelloWorld:war exploded: Server is not connected. Deploy is not available
- Why won't my JSF app deploy to GlassFish?
- Best way redirect REST service request on glassfish + JAX-RS to https URL?
- JCA Glassfish to JBoss/Wildfly
- Ajax h:link doesn't call listener function
- JPA Bidirectionnal Uknown column
- Glassfish Closing JDBC Connection
- How to get other properties from an LDAP principal (user) after login using Glassfish's LDAPRealm?
- Deploying two applications in GlassFish's root context
- Starting Java EE Application on Glassfish
Related Questions in MESSAGE-DRIVEN-BEAN
- How to install WebSphere MQ resource adapter (wmq.jmsra.rar) in JBoss 6.2 EAP?
- Out of order messages in Jboss
- where is messageSelector applied in message-driven beans?
- Configuring MDB (on Glassfish) to listen to a shared topic subscription
- Message selector on MDBean not working properly
- Mdb vs EJB 3.1 async method
- Sharded parallelisation in Java EE
- Dynamic messageSelector in Glassfish 2.1
- JMS messages moving to DLQ
- Inteceptors doesn't work in Message Driven Bean
- Single Threaded MDB on Glassfish
- What is the bean scope and context holder for Spring Cloud Stream?
- How to configure Wildfly to connect to RabbitMQ?
- Changing Activation Config of Topic reading MDB at deploy time
- Which is the best way to handle exception in java MDB?
Related Questions in SINGLE-THREADED
- When NOT to use database connection pooling in Java?
- How can CPU usage max out at 50% but not use one CPU effectively?
- How does JavaScript's Single Threaded Model handle time consuming tasks?
- Single Threaded MDB on Glassfish
- Single- vs. multi-threaded programming on a single core processor
- RabbitMQ in scalable nodejs Apps, How make a build well scalable app?
- Run all tests in same thread NUnit
- Corda FlowLogic Behaviour in a scenario - What is the relevance of threads here?
- Number of threads created is 12 but still runs only on one core of 12 core-CPU
- Get User info in WCF-service with [STAOperationBehavior] attribute
- Wcf Singleton with Single Thread
- Can we consider an requestAnimFrame a 'yield' on the application loop to allow the event loop to process?
- netty 4; how to initialize client's connection from same thread synchronously
- Does Tokio have run_until_stalled equivalent?
- How to Capture Each New Millisecond Without Overwhelming the CPU
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
That's easy to achieve via the glassfish-ejb-jar.xml deployment descriptor:
The above section will limit the number of processing beans to strictly 1, regardless of what the global poolsize says. That way you can easily finetune the system setup.