[JBoss-user] [Messaging, JMS & JBossMQ] - How to detect if a message is being released more than once
Env: JBoss 3.2.1 is there a way within a MessageDrivenBean to detect whether or not a JMS message has been previously released? We are using ContainerAck in the MDB so in the case of a failure the message is being resent from JMS. But within the MDB, we would like to detect this condition and perform any necessary operations Is that possible? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852258#3852258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852258 --- 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] [HTTPD, Servlets & JSP] - What happened to Jetty beginning with 3.2.3 ?
I am curious as to what the future direction is with respect to Jetty vs. Tomcat? Prior to 3.2.3, JBoss always release 2 separate binaries . It looks like now only Tomcat is the bundled Servlet stack instead of Jetty. Will TC be the defacto servlet for post 3.2.3 ? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831268#3831268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831268 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to limit max number of MDB's that can run simulateou
Look inside the Wiki forum for the FAQ item. In there, it shows you how to setup a singleton MDB by limiting the size of the pool to 1. You can apply the same principle to do what you need. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828883#3828883 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828883 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 'dynamic' message-selector in MDB ?
looks like it's only in 3.2.2 . what would it take to back port to 3.2.1 ? Looks like only the 2 files were changed module: src/main/org/jboss/mq ; files: SpyMessage.java SpyQueueBrowser.java comments: Added the following vendor-specific JMS properties public static final String PROPERTY_SCHEDULED_DELIVERY = "JMS_JBOSS_SCHEDULED_DELIVERY"; public static final String PROPERTY_REDELIVERY_DELAY = "JMS_JBOSS_REDELIVERY_DELAY"; public static final String PROPERTY_REDELIVERY_COUNT = "JMS_JBOSS_REDELIVERY_COUNT"; public static final String PROPERTY_REDELIVERY_LIMIT = "JMS_JBOSS_REDELIVERY_LIMIT"; 1. Scheduled delivery, paused (delayed) re-delivery 2. Track number of delivery attempts of a message 3. Set maximum delivery attempts per message 4. Proactively expire messages, without having to restore the whole message from disk if cached. Also, the same timer thread which handles scheduled messages proactively "reaps" expired messages. Wrote a custom Timer class which is modeled after java.util.Timer, but won't create a thread until tasks are scheduled. It also has a "clear" method for clearing all scheduled messages. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828505#3828505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828505 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 'dynamic' message-selector in MDB ?
Is this extension in JBoss 3.2.1 ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828472#3828472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828472 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 'dynamic' message-selector in MDB ?
sorry for the 3x post.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828425#3828425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828425 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - 'dynamic' message-selector in MDB ?
from the description of message-selector in the EJB spec, it looks like the JMS syntax only allows for static value to be compared. I thought i'd ask to see if JBoss has any extension to allow dynamic comparison ? eg. during submission of a message to be consumed by MDB , i'd set a long value in the message representing current time and in the message-selector , specify a way to compare the submit time vs. the pull-out-of the queue time and only pull the message out if it exceeds a certain limit ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828422#3828422 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828422 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - 'dynamic' message-selector in MDB ?
from the description of message-selector in the EJB spec, it looks like the JMS syntax only allows for static value to be compared. I thought i'd ask to see if JBoss has any extension to allow dynamic comparison ? eg. during submission of a message to be consumed by MDB , i'd set a long value in the message representing current time and in the message-selector , specify a way to compare the submit time vs. the pull-out-of the queue time and only pull the message out if it exceeds a certain limit ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828421#3828421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828421 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - 'dynamic' message-selector in MDB ?
from the description of message-selector in the EJB spec, it looks like the JMS syntax only allows for static value to be compared. I thought i'd ask to see if JBoss has any extension to allow dynamic comparison ? eg. during submission of a message to be consumed by MDB , i'd set a long value in the message representing current time and in the message-selector , specify a way to compare the submit time vs. the pull-out-of the queue time and only pull the message out if it exceeds a certain limit ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828420#3828420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828420 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - assigning java thread priority to MDB ?
We have multiple JMS Queues where each queue is handled by a MessageDrivenBean. Let say there are 2 queues: queue/HighPriority and queue/LowPriority. Is there a way to specify the thread priority for the 2 queues during deployment ? e.g. MDB that handles the queue/LowPriority is assigned a lower java.lang.Thread priority than the other one ? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827111#3827111";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827111>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - FAQ item how do I Configure XXX ForMessageDrivenBean
Env: JBoss 3.2.1 http://jboss.org/wiki/Wiki.jsp?page=ConfigureXXXForMessageDrivenBean I'd like to limit the size of the pool for my MDB to 8 instances. I followed instructions in the wiki page. So my questions are: 1. Once deployed without any error, how do I verify via jmx-console that the pool is properly set ? 2. What's the difference between the 2 MaximumSize element in and ? When I click on the link jndiName=local/FTAMessageDrivenBean,plugin=pool,service=EJB under jboss.j2ee , i am still seeing that the MDB still has a MaxSize of 100 snippets of XML ... | | | MY-BINDING-NAME | default | org.jboss.ejb.plugins.jms.JMSContainerInvoker | | DefaultJMSProvider | StdJMSPool | 8 | 1 | |10 | | queue/DLQ | 10 | 0 | | | | | | | | FTAMessageDrivenBean | | queue/FTA_Queue | | | MY-BINDING-NAME | | | | | | | | MY CUSTOM CONTAINER | false | MY-BINDING-NAME | | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor |org.jboss.ejb.plugins.LogInterceptor | org.jboss.ejb.plugins.RunAsSecurityInterceptor | |org.jboss.ejb.plugins.TxInterceptorCMT |org.jboss.ejb.plugins.MetricsInterceptor |org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor | |org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor |org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT |org.jboss.ejb.plugins.MetricsInterceptor | org.jboss.resource.connectionmanager.CachedConnectionInterceptor | | org.jboss.ejb.plugins.MessageDrivenInstancePool | | | | |8 |true | | | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826056#3826056";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826056>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Oracle store with per server destinations
Just like genman has suggested, you can use the same datasource config file but different table name withing the same Oracle SID or schema eg. JMS_MESSAGES, JMS_TRANSACTIONS vs. NODEX_JMS_MESSAGES , NODEX_JMS_TRANSACTIONS You can specify the table that JMS uses in jboss-mqservice.xml. | | jboss.mq:service=MessageCache | jboss.jca:service=LocalTxCM,name=OracleDS | | BLOB_TYPE=BINARYSTREAM_BLOB | INSERT_TX = INSERT INTO NODEX_JMS_TRANSACTIONS (TXID) values(?) | INSERT_MESSAGE = INSERT INTO NODEX_JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) | SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM NODEX_JMS_TRANSACTIONS | SELECT_MAX_TX = SELECT MAX(TXID) FROM NODEX_JMS_MESSAGES | SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM NODEX_JMS_MESSAGES WHERE DESTINATION=? | SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM NODEX_JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | MARK_MESSAGE = UPDATE NODEX_JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MESSAGE = UPDATE NODEX_JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MARKED_MESSAGES = UPDATE NODEX_JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? | UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE NODEX_JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? | DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM NODEX_JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM NODEX_JMS_TRANSACTIONS) AND TXOP=? | DELETE_TX = DELETE FROM NODEX_JMS_TRANSACTIONS WHERE TXID = ? | DELETE_MARKED_MESSAGES = DELETE FROM NODEX_JMS_MESSAGES WHERE TXID=? AND TXOP=? | DELETE_MESSAGE = DELETE FROM NODEX_JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | CREATE_MESSAGE_TABLE = CREATE TABLE NODEX_JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ |DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ |MESSAGEBLOB LONG RAW, PRIMARY KEY (MESSAGEID, DESTINATION) ) | CREATE_TX_TABLE = CREATE TABLE NODEX_JMS_TRANSACTIONS ( TXID INTEGER ) | CREATE_TABLES_ON_STARTUP = false | | | | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825996#3825996";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825996>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - what's the reason behind 3.2.3 not bundling Jetty anymore?
Why was Tomcat 4.1.x chosen instead? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822815#3822815 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822815 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassLoader woes & getting hard VM Crash on 3.2.1
OK never mind. Just read up on the UnifiedClassLoader3 & UnifiedLoaderRepository3 stuff and it looks like I need to enable HierarchyLoaderRepository3 adding the snippet below to METAINF/jboss-app.xml seems to solve the problem. something.com:loader=EAR01.ear View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822608#3822608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822608 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - ClassLoader woes & getting hard VM Crash on 3.2.1
Env: Win2K , JBoss 3.2.1, JDK 1.4.2 I have 2 ears being deployed. EAR01.ear | + war01.war | + sharedservlet.jar | | | EAR02.ear | + war02.war | + sharedservlet.jar 1. Both ears contained the same servlet.class deployed under different URI. 2. There's a sharedservlet.jar file in both ears which contained a number of EJBs and servlet classes. In theory the 2 jars don't share anything except for classpath stuff correct? I am getting a hard VM crash with the following condition. Deploy any one of the ear on its own, No Crash Deploy EAR02.ear first then EAR01.ear --- OK no crash here Deploy EAR01.ear first then EAR02.ear --- hard VM crash below. Thanks. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at PC=0x81B7DA3 | Function=JVM_RegisterPerfMethods+0x2C4C3 | Library=D:\hawkCVS\Kenya\Install\JDK\jre\bin\server\jvm.dll | | Current Java thread: | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:537) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) | at java.net.URLClassLoader.access$100(URLClassLoader.java:55) | at java.net.URLClassLoader$1.run(URLClassLoader.java:194) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | - locked <0x1243c858> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114) | at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281) | at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:181) | - locked <0x1243c858> (a org.jboss.mx.loading.UnifiedClassLoader3) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) | - locked <0x1243c858> (a org.jboss.mx.loading.UnifiedClassLoader3) | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:537) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) | at java.net.URLClassLoader.access$100(URLClassLoader.java:55) | at java.net.URLClassLoader$1.run(URLClassLoader.java:194) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | - locked <0x1243c858> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114) | at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281) | at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:181) | - locked <0x123715d0> (a org.jboss.mx.loading.UnifiedClassLoader3) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) | - locked <0x123715d0> (a org.jboss.mx.loading.UnifiedClassLoader3) | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:537) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) | at java.net.URLClassLoader.access$100(URLClassLoader.java:55) | at java.net.URLClassLoader$1.run(URLClassLoader.java:194) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:401) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | - locked <0x123715d0> (a org.jboss.mx.loading.UnifiedClassLoader3) | at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:242) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:114) | at org.jboss.mx.loa