[JBoss-user] [Messaging, JMS & JBossMQ] - Performance on JbossMQ

2004-09-28 Thread lbtanjitha
Hi,
I have tested both JbossMQ with Jboss and jbossmq minimal configuration with Jboss. 
But JbossMQ with jboss has a better performances than jbossmq minimal configuration 
with Jboss.
Perfomance is as follows: (I'm testing MMS messages)
JbossMQ with Jboss - 39 MMS messages/second

jbossmq minimal configuration with Jboss - 30 MMS messages/second

So , do u know why such thing happen? Is there any way to improve the performance of 
the Jboss server?

Thank you.
Thilina.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849819#3849819

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849819


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta

2004-09-22 Thread lbtanjitha
Hi,
I have tested both JbossMQ with Jboss and jbossmq minimal configuration with Jboss. 
But JbossMQ with jboss has a better performances than jbossmq minimal configuration 
with Jboss. 
Perfomance is as follows: (I'm testing MMS messages)
JbossMQ with Jboss - 39 MMS messages/second

jbossmq minimal configuration with Jboss - 30 MMS messages/second

So , do u know why such thing happen? Is there any way to improve the performance of 
the  Jboss server?

Thank you.
Thilina.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849078#3849078

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849078


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta

2004-09-20 Thread lbtanjitha
Ye, I have added /docs/examples/jmx/* all files into server/jbossmq/deploy/ directory. 
Now It is working properly.

Thanks a lot genman
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384#384

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues in jbossmq-1.0.0Beta

2004-09-20 Thread lbtanjitha
Hi, 
Thanks a lot for your help. Now I again moved into jboss server with minimal 
configuration of Jbossmq. I run the ant build and created a jbossmq minimal 
configuration.  

But how can I add JMX services to create queues at run time?

Thanx 
Thilina.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848746#3848746

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848746


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Creating queues in jbossmq-1.0.0Beta

2004-09-10 Thread lbtanjitha
Hi,
I have work with Jboss and there queue server.  Now I'm developing an application 
which uses a queue server. But we can't use Jboss Application server only as a queue 
server, because our main application is run on a another different application server. 
If I use Jboss as for a queue server then it will become an overhead. Therefore I have 
downloaded jbossmq-1.0.0Beta. Using bossmq-1.0.0Beta I can send and receive messages 
from the queue, but I also need to create queues programatically. For the Jboss thing 
I use following sample code for create queues programaticallty at run time. 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg34635.html

But it uses Mbean server to  create queues at run time which comes with Jboss. But 
with bossmq-1.0.0Beta there is no Mbean server. Then how can I create queues 
programaticallly at run time? 
Can anybody send me any reference site for me? Or any suggestion for this.

Thanks in advanced for any help
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847788#3847788

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847788


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Jboss and Tomcat on same machine

2004-08-26 Thread lbtanjitha
Hi,
I want to run Tomcat and Jboss on same machine. While running these 2 servers i 
encountered a problem. I think the problem arises because, both Tomcat and Jboss use 
same 8080 port. First I run the Jboss and then started the tomcat. At this stage Jboss 
gives following error. 
12:37:56,392 INFO  [Engine] StandardHost[localhost]: MAPPING configuration error

Is there any configuration file in Jboss to change this port numbers or any other way 
to solve my problem? If so what are they and what entries need to be made?

Thanks in advanced
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846261#3846261

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846261


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - persistance messages are deleted after restarting jboss

2004-08-16 Thread lbtanjitha
Hi,
I'm writing an application which needs persistance for messages in a queue. I use both 
file and Rollinglogged persistance managers to acieve this.  Both methods works fine 
and store the messages in a given directory when the jboss server shutdown. But when a 
jboss starts and if I send a new message to a queue, then the stored messages in the 
persistance directory are dissapears. They are also not received by the receiver. 

1) Where are these messages gone? (I use permant "queue/testQueue" to store messages)

2) If the message is persistance, then are we needs to write a program to send it to 
the receiver OR the queue server handle the sending of meessages to receiver? (In the 
case of Jboss shutdown abd restarting)

3) Durable subscriptions are posible for Topics. Is durable subscriptions support for 
queues? If so how can it handle?

4) Temporary queues can't handle persistance. So If I needs to create queues at run 
time, then how can I achiieve the persistance?

Thnaks in advanced for any help,
Thilina.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845154#3845154

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845154


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - URL of creating temporary queues

2004-08-13 Thread lbtanjitha
Hi,
I looked at some JMS tutorials, but they do not have clear way of creating temporary 
queues at run time. Can somebody send me a URL which having, creating temporary queues 
at run time. 

Thnak you
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845029#3845029

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845029


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating a permanant queue

2004-08-13 Thread lbtanjitha
hi,
Changing the cofiguration file at run time gives the following error.
I'm using LB queue to store the messages. Changing any configuration file at run time 
gives errors,


16:43:15,265 INFO  [MessageCache] Stopping jboss.mq:service=MessageCache
16:43:15,265 INFO  [CacheStore] Stopping jboss.mq:service=CacheStore
16:43:15,265 ERROR [LB] Destroying failed
javax.jms.JMSException: The destination is being used.
at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestina
tionManager.java:807)
at org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(Destin
ationMBeanSupport.java:142)
at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java
:284)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy15.destroy(Unknown Source)
at org.jboss.system.ServiceController.destroy(ServiceController.java:531
)
at org.jboss.system.ServiceController.destroy(ServiceController.java:522
)
at org.jboss.system.ServiceController.destroy(ServiceController.java:522
)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.destroy(Unknown Source)
at org.jboss.deployment.SARDeployer.destroy(SARDeployer.java:408)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:522)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:467)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:440)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.undeploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploym
entScanner.java:332)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:452)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
16:43:15,296 INFO  [MainDeployer] Starting deployment of package: file:/C:/jboss
-3.2.2/server/default/deploy/jms/file-pm-service.xml



Can u give a suggesion to correct this?

Thank you.
thilina


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845023#3845023

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845023


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Creating a permanant queue

2004-08-12 Thread lbtanjitha
Hi,
Using the Jmx-console we can create queues at run time, but these are not permanant 
queues. After creating a queue, there is no permanant entry in the 
jbossmq-destinations-service.xml file. So if u stop the Jboss server then the added 
queue no longer exists. Is there any way to create a permanant queue in JbossMQ? 

Is there any Java API exists to create queues at run time? If so what are the java 
methods to create queues?

Thnaks in advanced
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844877#3844877

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844877


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creating queues at run time (within the java program)

2004-08-11 Thread lbtanjitha
Hi,
 
1) Actually I'm new to JMS thing and can you give me a guid lines to write a JMX bean 
to create queue at run  time or send me a URL which includes to do this. 

2) I get cunfused because we need to put an entry in the ejb-jar.xml as well. Is it 
posible to do this using the JMX bean thing? or am I need to deploy the jar file again?

3) Is there any Java API to create these JMX beans at run time?

Thank you
Thilina

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844868#3844868

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844868


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Creating queues at run time (within the java program)

2004-08-11 Thread lbtanjitha
Hi,
I'm writing a JMS application which needs to create queues at run time. This mean I 
have wrote a program to get a name of the queue as a input from the user. Because My 
application needs to deal with lot of queues and need to create these at run time. But 
to create a queue in JbossMQ we need to put an entry in the 
JBOSS_HOME\server\default\deploy\jms\jbossmq-destinations-service.xml
as follows.


jboss.mq:service=DestinationManager
  

Also I'm deploying jar in Jboss, therefore i have to enter a entry in jboss.xml as 
follows

- 
- 
- 
  MessageBean 
  Standard Message Driven Bean 
  queue/thilina 
  
  
  

So.. creating queues dynamically is a dificult task in this case. So any other way to 
achieve this task like createQueue() or createTemporaryQueue() kind of methods exixts 
? Then how can I achieve this task?

Thanks in advanced
Thilina


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844783#3844783

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844783


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user