This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes How to create Thread Pool in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

How to create Thread Pool in Jboss

vijay sachin
Greenhorn

Joined: Jan 18, 2011
Posts: 23
Hi,

I am new to JBOSS 5.1.0 can any body tell me how to configure thread pool in JBOSS. Which config files need to be modified. I don't have any idea.

I gone through so many links, but cannot find any good materials. Please explains me if any body knows.

It would be great if any Sample code provided.

This link show how to configure thread pool in jboss : http://community.jboss.org/wiki/ConfigBasicThreadPool

But they have not given which xml file I need to add and in java code how can I use it?

Configuration of a BasicThreadPool
The basic thread pool provides a simple thread pooling service
Example Configuration

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9343
    
111

vijay sachin wrote:Hi,

I am new to JBOSS 5.1.0 can any body tell me how to configure thread pool in JBOSS. Which config files need to be modified. I don't have any idea.



Isn't this the same question which you asked and got an answer here http://www.coderanch.com/t/528949/JBoss/configure-Thread-pool-JBOSS


[My Blog] [JavaRanch Journal]
vijay sachin
Greenhorn

Joined: Jan 18, 2011
Posts: 23
But the above link shows how to creates MDB pool.
But I need to know how can we creat normal Thread pool in jboss

While googling I got to see this one link http://community.jboss.org/wiki/ConfigBasicThreadPool

But below they had not specified which xml file I need to change. And also I need to know how can I use this Java code


Configuration of a BasicThreadPool
The basic thread pool provides a simple thread pooling service
Example Configuration
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

It would help if you didn't ask this same question in multiple locations because having multiple conversations only leads to confusion. Locking.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create Thread Pool in Jboss
 
Similar Threads
Jboss XADataSourceLoader configuration
getting errors while running duke's bank application
How to create Thread Pooling In Jboss?
jboss, datasource naming and lookup error
JBoss performance decrease