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
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
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
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
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 :
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 :
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
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
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 :
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
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
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
[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 :
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
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
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
16 matches
Mail list logo