[jboss-user] [JBoss Messaging] - Re: Messaging DLQ not clustering correctly

2008-09-27 Thread tnine
Unfortunately not. The only way we got around it was to make sure that prodjboss1 starts before prodjboss2. It seems that the first node in the cluster receives messages that fall into the DLQ. While this is a hack, it does seem to work for us. Unfortunately it kills the whole point of messa

[jboss-user] [JBoss Messaging] - Messaging DLQ not clustering correctly

2008-08-04 Thread tnine
Hi All, I have an old EJB 2 MDB that listens from a queue and processes messages. When a message fails, it goes to the default DLQ. I have 2 nodes in my cluster, prodjboss1, and prodjboss2. We have a process that runs on a timer and wakes up every 30 seconds to check the DLQ for failed mess

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Help with pojo client connection pooling in HA MQ enviro

2008-05-16 Thread tnine
You are correct. I upgrade to spring 2.5, which provides a JMS connection pool. I was able to successfully create a JMS connection pool that has the same size as my thread pool for my file reader. After I changed this my error no longer occurs, and I have a significant performance boost. Vie

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-05-02 Thread tnine
Thanks for the help. I found this post, and it really helped me understand how I can best utilize the changes in JBoss Messaging. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71350 Basically, all I did was change 2 things in my code. I now have my connection object created and ope

[jboss-user] [JBoss Tools (users)] - Crash on opening plain text file

2008-05-01 Thread tnine
Hi all, I have just downloaded a fresh installation of WTP Eclipse and installed JBoss tools via the "links" file. Every time I open a text file I receive this error. The file is only 1.5 megs. Any idea why this is happening? Everything has been running great until today. I have over 1 GB

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-05-01 Thread tnine
One quick note, I only get this when running in a cluster with 2 nodes. Both nodes share a DB, and I have set the ServerPeerID to 0 and 1 for nodes 1 and 2 respectively. I have also changed the queue/DLQ definition to the following. | | | jbo

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-05-01 Thread tnine
I haven't forgotten about this, but I have had to put it off while working on production issues. I'm now reading from the DLQ, however I'm getting very erratic behavior. Somtimes a read with "receiveNoWait" will return messages on the DLQ, other times I'll have to call it 4 or 5 times before I

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-22 Thread tnine
One last quick question before I start. I want to make sure I'm not misunderstanding the J2EE 1.4 implementation details of an MDB. What I expect My MDB reads from the StatementInput queue. It fails to process the message, and the transaction is rolled back. After 2 failed read attempts on a

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-21 Thread tnine
Sure thing. Do you have an existing test you would prefer I use as a template for connections, set up etc? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145664#4145664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-18 Thread tnine
Great! I'm looking forward to deploying it. Check out the 2 queue definitions in my last post, StatementInput and StatementOutput. Statement output never fails, it just dumps data to disk, so I'm not worried that worried about its DLQ. In the event of a read failure, the program halts immedi

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-18 Thread tnine
I have one final question regarding Dead Letter Queues. I have configured both my statement input and statement output queues to use a specific DLQ. Sometimes our MDBs are given invalid data, usually due to file charset issues, and I'd like to be notified processing fails so we can fix the inp

[jboss-user] [EJB/JBoss] - Re: Integrating java:/TransactionManager and Spring with MDB

2008-04-18 Thread tnine
You're correct! I had to include the hibernate-search jar to override the versions that are present in JBoss's class loader. When I did the jta jar was included as a transitive dependency. I excluded it and it worked. Thanks for you help! View the original post : http://www.jboss.com/index

[jboss-user] [EJB/JBoss] - Integrating java:/TransactionManager and Spring with MDB on

2008-04-17 Thread tnine
Hi all, I'm getting a very strange problem with Jboss 4.2.2GA and Spring 2.5.3. I have the following in my spring context. | | Using this setup (same implementation class, JTATransactionManager, different tag) is recommended here. http://wiki.jboss.org/wiki/JBossTransactionsWithSprin

[jboss-user] [JBoss Messaging] - Q

2008-04-17 Thread tnine
Thank you for all your help. I got everything running by importing the jars you listed from my server into my Jboss server lib into my maven repository. I also fixed my client connectivity issue by upgrading to Spring 2.5.3, and using the org.springframework.jms.connection.CachingConnectionFact

[jboss-user] [EJB/JBoss] - Integrating java:/TransactionManager and Spring with MDB on

2008-04-17 Thread tnine
Hi all, I'm getting a very strange problem with Jboss 4.2.2GA and Spring 2.5.3. I have the following in my spring context. | | Using this setup (same implementation class, JTATransactionManager, different tag) is recommended here. http://wiki.jboss.org/wiki/JBossTransactionsWithSprin

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-17 Thread tnine
I've used this doc on jars required by the client. http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/installation.html#inst.remoteclient as I said earlier, I can't use jbossall-client.jar. I need the individual jars that have the same classes

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-16 Thread tnine
Sorry, hit the submit button a bit too quickly. Anyway, with this new config I get this error from the client at around 5000 messages queued, then my client dies | 2008-04-17 17:26:20,647 WARN [org.jboss.remoting.LeasePinger] - | 2008-04-17 17:26:21,009 WARN [org.jboss.remoting.LeasePing

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-16 Thread tnine
Thanks for the help again. I've given up on the JEMS version of JBoss. I was getting very strange serialization issues. As soon as I installed messaging to the "all" server from the 4.2.2GA download and configured the data sources everything started working. Note that I couldn't use the jbos

[jboss-user] [Installation, Configuration & DEPLOYMENT] - No JNDIView MBean when installing from JEMS 1.2.1 Installer

2008-04-16 Thread tnine
Hi all, I'm using the jems installer verion 1.2.1.CR4 to install a stripped down version of the "all" server. Basically I'm removing a lot of services as I only need EJB, EJB3, clustering, and Messaging. However, when I view the jmx-console, the JNDIView Mbean is not present. If I accept th

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-16 Thread tnine
Thanks for the help. I was able to successfully get everything on the server side running by using the settings below. Hopefully this will help someone else out who reads this post. Now I'm hitting another issue. We use Maven 2 to perform our builds, and my dependencies are no longer valid n

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-15 Thread tnine
Also, its creating all tables using the MyISAM engine. MySQL doesn't support transactions in MyISAM tables. http://dev.mysql.com/doc/refman/5.0/en/ansi-diff-transactions.html I had to use the ALTER TABLE command to set the engine to InnoDB. My default storange engine is InnoDB. Should the cr

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-15 Thread tnine
No offense taken. A read the manual response is an appropriate one, however I wasn't clear on exactly which doc I need to read. I've changed the default data source to use our MySQL cluster for all of JBoss. In the JBoss AS documentation, it simply defines the default source as MySQL, and do

[jboss-user] [JBoss Messaging] - Re: MQ migration help

2008-04-15 Thread tnine
Thanks for the help. I've hit a bit of a snag, and I've found the solution. I changed the default datasource to use MySQL. Whenever I started jboss, I received this error | 2008-04-16 09:02:40,752 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] Failed to execute: CREATE TABLE JBM_POSTOF

[jboss-user] [JBoss Messaging] - MQ migration help

2008-04-15 Thread tnine
Hi all, I'm upgrading our processing cluster from AS 4.0.5 to AS 4.2.2. Part of this upgrade includes a migration from JBoss MQ to JBoss Messaging. I have some questions regarding HA and data sources. In our current MQ installation, we have left the DefaultDS as the HSQL DB and created an

[jboss-user] [Messaging, JMS & JBossMQ] - Help with pojo client connection pooling in HA MQ environmen

2008-04-11 Thread tnine
Hi all, I'm working on a project that splits an enormous amount of data from a legacy system text file, and queues it up in JBoss MQ for a clustered MDB to process. The file is usually 2 GB plus in size, and I'm using a ThreadPoolExecutor to read the partitions of the file asynchronously. Ho

[jboss-user] [EJB/JBoss] - Re: Classloader nightmare and ClassCastException. Isolatio

2008-04-08 Thread tnine
Well, I found a work around by following the formula from the previous post. I was getting the following exception at the bottom of my trace. I accidentally posted the wrong section in my earlier post | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean

[jboss-user] [EJB/JBoss] - Re: Classloader nightmare and ClassCastException. Isolatio

2008-04-08 Thread tnine
That's very strange. I'll try packaging the search up tomorrow. I'm not sure how this will solve my issue, since both of my hibernate dependencies are in maven, and transitive dependencies are be included. I still don't understand why I'm having this issue in the first place. If my integrati

[jboss-user] [EJB/JBoss] - Re: Classloader nightmare and ClassCastException. Isolatio

2008-04-08 Thread tnine
Also, just an FYI, removing the hibernate-annotations jar from my server's lib directory fixes the issue. However this doesn't seem to be a very good solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142265#4142265 Reply to the post : http://www.jbo

[jboss-user] [EJB/JBoss] - Re: Classloader nightmare and ClassCastException. Isolatio

2008-04-08 Thread tnine
I'm using the following version of Hibernate and Spring Hibernate 3.2.6.ga Hibernate Annotations 3.3.0.ga Spring Framework 2.0.5 Here's the stacktrace | 19:24:05,422 ERROR [JMSContainerInvoker] Exception in JMSCI message listener | javax.ejb.TransactionRolledbackLocalException: Could not in

[jboss-user] [EJB/JBoss] - Classloader nightmare and ClassCastException. Isolation wi

2008-04-08 Thread tnine
Hi all, I'm running Java 1.5, JBoss AS 4.0.5. I'm deploying an EJB 2.0 MDB within an EAR. I want to use a more up to date version of hibernate in my MDB. I'm getting classloader issues, and I have the following in my EAR's META-INF/jboss-app.xml | http://www.jboss.org/j2ee/dtd/jboss-app

[jboss-user] [Messaging, JMS & JBossMQ] - Changing Dead Letter Queue for specific queues

2007-12-19 Thread tnine
I'm attempting to create a program that allows support staff to work a queue that has all the failed messages from a specific input queue. This is basically due to integration issues, and this will allow us to correct messages that are not correctly sent to us, and notify the sending party. Is

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Unable to browse messages in queue LRUCache error

2007-12-14 Thread tnine
Sorry, forgot to include that! 4.0.5 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113087#4113087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113087 ___ jboss-user mai

[jboss-user] [Messaging, JMS & JBossMQ] - Unable to browse messages in queue LRUCache error

2007-12-13 Thread tnine
Hi all, I'm attempting to browse the DLQ in Jboss MQ in order to log the messages for inspection and review by our developers. I'm getting a very strange error when I try to get an enumeration. I'm connecting to remote queue via JNDI Enumeration queueContents = browser.getEnumeration(); Cau

[jboss-user] [JBoss jBPM] - Scalability of JBPM

2007-09-24 Thread tnine
Hi all, My company will be submitting an RFP for a project that will require a huge amount of rules, well over 250,000. I've used JBPM and the drools integration before, and been very happy with it. However, I've never deployed it on a scale this massive. Can the jboss BPM handle the amount

[jboss-user] [Messaging, JMS & JBossMQ] - Clustered MDB and Fault Tolerance

2007-09-05 Thread tnine
Hello all, I'm trying to configure my MDB's to run in an HA environment. I have half of the MDB working. The mdb performs the following tasks 1. Read from HA JBoss MQ Queue 2. Process message 3. Push the message onto a different queue. I'm using 2 identical nodes (vmware instances, prodjboss

[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException

2007-08-07 Thread tnine
I'm also experiencing this. I'm using JBoss 4.0.5, and trying to look up a remote JMS Queue. I can start the server on my localhost, and use the following properties. | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs= org.jboss.naming:org

[jboss-user] [EJB/JBoss] - Issues with scoped classloader

2007-07-30 Thread tnine
Hi All, I'm receiving strange ClassCastExceptions due to class loader issues in JBoss 4.0.2, I try to turn off parent delegation. According to the post here http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration "Use the following constructs to enabled scoped class loading with th

[jboss-user] [EJB/JBoss] - Re: EAR does not correctly deploy EJB3 MDB

2007-07-30 Thread tnine
Just for a follow up, it does work with my 2.0 descriptions. Am I missing something with my 3.0 annotations? ejb-jar.xml | | http://java.sun.com/dtd/ejb-jar_2_0.dtd";> | | Message Driven Bean | Statements Message Driven Bean | | | | |

[jboss-user] [EJB/JBoss] - EAR does not correctly deploy EJB3 MDB

2007-07-30 Thread tnine
Hi all, I have an ear with an MDB that connects to a spring POJO. The deployment is very simple and the ear deploys correctly, however the MDB never reads from the queue, nor can I see my scoped classloader, or the EJB in the JMX console. I'm using JBoss 4.0.2, and an EJB3 MDB. I have inclu

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Connecting to remote queue.

2007-06-20 Thread tnine
Thanks for the reply. So this is definitely a version mismatch error on the serialized class, so that is obviously is the problem. However I can't find any documentation that lists what client jars I need to include per version. In 3.2.x it was jbossall-client.jar. This jar doesn't exist for

[jboss-user] [Messaging, JMS & JBossMQ] - Connecting to remote queue.

2007-06-19 Thread tnine
Hi all, I'm using spring to connect to a remote HA JBoss MQ service via a JNDI lookup. I'm connecting with the following jndi properties. | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jnp.interfaces | java.naming.provider.url=jn

[jboss-user] [Messaging, JMS & JBossMQ] - Re: MySQL Jboss MQ SQL creation script

2007-06-13 Thread tnine
To answer myself, the issue seems to be that I was attempting to re-use an XA data source I had used for a different database. I used the example from the doc directory and this fixed my issue. As a side note, I thought the destination manager would have already been configured, however this i

[jboss-user] [Messaging, JMS & JBossMQ] - MySQL Jboss MQ SQL creation script

2007-06-13 Thread tnine
Hi all, I'm trying to change my datasource to a clustered MySQL database. I have everything ready to go except the tables! I depolyed MQ a year ago, and the SQL create srcipt was on the Wiki. I can't seem to find it anywhere. Can anyone point me in the right direction? Thanks, Todd FYI,

[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS CLUSTERING ON VIRTUAL MACHINE (LINUX)

2007-04-23 Thread tnine
Bump.. I have tried all of the following and I'm thorougly stumped. Any help would be appreciated. 1. Make sure that I have multicast working. I followed the instructions here http://kbase.redhat.com/faq/FAQ_45_4865.shtm using "ping 224.0.0.1" I receive the following. | 64 bytes from

[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS CLUSTERING ON VIRTUAL MACHINE (LINUX)

2007-04-20 Thread tnine
Ok, I have made some changes. I've changed both nodes to have static IPs. Node 1 has IP 192.168.109.10 and node 2 has IP 192.168.109.11 >From node 1 if I execute "ping -L 224.0.0.1" I receive a response from >192.168.109.11 (node2) and vice versa. At the network level my multicast is >worki

[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS CLUSTERING ON VIRTUAL MACHINE (LINUX)

2007-04-20 Thread tnine
I'm also having this problem. I'm running RHEL 4 in a VMware instance. I have 2 nodes that are running in a virtual network on my PC. I'm letting the nodes get their IP's via DHCP. I have the following common configuration JDK 1.5.0_11-b03 JBoss 4.0.5 Server Config: all IPs: 192.168.109.128

[jboss-user] [Installation, Configuration & Deployment] - Re: java.lang.NoClassDefFoundError: com/sun/corba/se/interna

2007-04-20 Thread tnine
Excellent, thanks for getting back to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039292#4039292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039292 ___ jboss-user ma

[jboss-user] [Installation, Configuration & Deployment] - Re: java.lang.NoClassDefFoundError: com/sun/corba/se/interna

2007-04-20 Thread tnine
Any time frame on JDK 6 support? I don't need JDK6 for any particular reason, I just didn't want to start a project a release behind. I can revert to JDK 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039282#4039282 Reply to the post : http://www.jboss.

[jboss-user] [Installation, Configuration & Deployment] - java.lang.NoClassDefFoundError: com/sun/corba/se/internal/ii

2007-04-20 Thread tnine
Hi all, I'm running the JBoss all server on Sun's JDK 1.6.0_01-b06. Whenever I start the "all" server, I receive the following stack trace in server.log. Any help would be greatly appreciated in removing this. Also, I am only using the all server for the clustering an HA JNDI. Is there an

[jboss-user] [Clustering/JBoss] - installing clustering in the default server

2007-04-16 Thread tnine
Hi all, When I used JBoss 3.2.x, I installed clustering service into the default server. I'm trying to find the documentation to do this in JBoss 4, can anyone point me to some documentation or examples? I can't seem to find anything I need. I need the HA-JNDI and HA-XA installed. Thanks,

[jboss-user] [JBoss Eclipse IDE (users)] - JBoss IDE Out of memory error

2006-12-21 Thread tnine
Hi all, I'm trying out the JBoss IDE beta, and I'm having some issues with it. I get an out of memory error after running the IDE for about 15 minutes. I'm using Java 1.5 on Windows XP Pro. I have installed the JSF Webtools plug in, the subversion plug in, and the maven 2 plug in. I have th

[jboss-user] [Messaging, JMS & JBossMQ] - XA trasactions over a remote MQ queue Jboss 3.2.6

2006-09-13 Thread tnine
I?m having some issue reading transitionally from a remote JBoss MQ Queue. I have configured the remote queue with the configuration defined here. http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureTheJMSResourceAdapterToUseARemoteConnectionFactory With the exception of the following cha

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Manually Acknowlegeing a message

2006-09-11 Thread tnine
Hi Genman, Thanks for the help, but that didn?t seem to work. The contain does not seem to be running a transaction. I have included by ejb-jar.xml and the exception stacktrace I receive. If I change my pojo code to cause itself to sleep for 2 minutes, I notice the message is already off of

[jboss-user] [Messaging, JMS & JBossMQ] - Manually Acknowlegeing a message

2006-09-11 Thread tnine
Manually acknowledging a message Jboss 3.2.6 Hi all, I?m trying to find some documentation on Jboss MQ message acknowledgement, but I can?t seem to find it anywhere. We have the following setup. Tomcat Web Servers (Server A) JBoss MQ Queue (Server B) JBoss MQ Remote Queue MDB (Server C) Our