[jboss-user] [JBoss Messaging] - Piling thread count when it polls the queue.

2007-05-30 Thread apk2072
For every 10 seconds my code calls the below method to poll for new messages, but the problem is, JBoss messaging implementation is internally creating a new thread whenever it executes the session.createConsumer(queue) statement. And thread count grows continuously as it polls, after some time

[jboss-user] [JBoss Messaging] - Re: Piling thread count when it polls the queue.

2007-05-30 Thread apk2072
Tim, Sorry I forgot to give the JBM version, it is jboss-messaging-1.2.0.GA version. Use case is simple: Our application creates the messages (Emails, Web services and some application tasks which can be executed asynchronously) using the JBM 1.2.0 version JMS API. Other side, I wrote a

[jboss-user] [JBoss Messaging] - Re: Piling thread count when it polls the queue.

2007-05-30 Thread apk2072
timfox wrote : 1.2.0.GA is not the latest version. | | Can you try 1.2.0.SP2? (Current latest version) | | Better still you could wait until tomorrow when I release 1.3.0. Tim, I was going through the 1.3.0 documentation and it is mentioned that 1.3.0 works better with JBoss-4.2.0.GA

[jboss-user] [Installation, Configuration Deployment] - Problem with uuid-key-generator.sar

2007-05-15 Thread apk2072
We are using jboss-4.0.4.GA as our application server, the default installation contains uuid-key-generator.sar in the default/deploy folder. uuid-key-generator.sar uses DefaultDS data source inside their its implementation. My issues is, I changed the DefaultDS to our database which is

[jboss-user] [Installation, Configuration Deployment] - Hot deployment, changes in class files are not identified

2007-05-03 Thread apk2072
Any changes in JSPs are getting loaded in JBoss app server without restart but any changes in the class files are not getting loaded. Is there any flag I am missing out to set it. Thanks in advance, APK View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: Hot deployment, changes in class files are not identifie

2007-05-03 Thread apk2072
I just found one more way of reloading it. Under tomcat sar, add the reloadable flag to true in context.xml That also does the job. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042886#4042886 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: Hot deployment, changes in class files are not identifie

2007-05-03 Thread apk2072
apk2072 wrote : I just found one more way of reloading it. | | Under tomcat sar, add the reloadable flag to true in context.xml | | Context cookies=true reloadable=true crossContext=true | | That also does the job. View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Messaging] - Cannot create timer table

2007-05-01 Thread apk2072
During start up of JBoss application server with JBoss messaging, I do see the following exception. I would like to understand what is this error and how to fix it. Please help. main 2007-04-30 17:23:29,591 ERROR

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread apk2072
Thanks for the information... DefaultDS datasource is configured correctly, in fact, it created rest of the Messaging tables during start up, except this one. Since we are not using any EJBs I think I can turn off this table creation. View the original post :

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread apk2072
I tried but I couldn't figure out how to turn it off, can you please provide some guidance? -APK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042090#4042090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042090

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread apk2072
It worked in both cases: 1. As Madhu wrote, commenting out the org.jboss.ejb.txtimer.DatabasePersistencePolicy did work. 2. As Peter wrote, I gave the Oracle9i database type it worked. However, in my case our database is Oracle10g and there is no entry for Oracle10g in

[jboss-user] [JBoss Messaging] - Re: Programmaticaly create queue

2007-03-26 Thread apk2072
I also have the same requirement in creating the Queues programatically instead of maintaining the JBoss deploy folder. I maintain my queue name in one of my configuration table, while starting up the server reads these queue names and deploys using following code. MBeanServerConnection

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
[EMAIL PROTECTED] wrote : *I guess * it would be nice if the next JMS spec version could add an Admin API. Tim, Thanks for the feedback, do you have any such samples? -APK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020589#4020589 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
apk2072 wrote : [EMAIL PROTECTED] wrote : *I guess * it would be nice if the next JMS spec version could add an Admin API. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020591#4020591 Reply to the post : http://www.jboss.com/index.html?module=bbop

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
timfox wrote : You can create destinations programmatically using the ServerPeer MBean interface. | | So I guess you could write a program that read the data from the database and called the mbean server to create the destinations. Tim, Thanks for the feedback, do you have any such

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
I found some sample in examples folder. Here is the piece of java code, which works good. public static void deployQueue(String jndiName) throws Exception { System.out.println(Deploying the queue - + jndiName); MBeanServerConnection