[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJBException: Could not instantiate bean

2005-08-22 Thread genman
http://jira.jboss.com/jira/browse/JBAS-1805 This was fixed for 4.0.3... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891135#3891135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891135 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJBException: Could not instantiate bean

2005-08-22 Thread mcantrell
Thank you! I had Spring injecting a POJO service in the onEjbCreate method and it was reading the wrong context.xml file and I was getting a class cast exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891126#3891126 Reply to the post : http://www.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJBException: Could not instantiate bean

2005-08-22 Thread genman
Either something in your MDB class's constructor (should do nothing) is failing or ejbCreate() is failing. Put "try { xxx } catch (Throwable t) { t.printStackTrace(); }" around your ejbCreate calls. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891102#3891

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss Setting required for WSMQ

2005-08-22 Thread genman
Is there any reason why you can't post a clear and proof-read message? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891099#3891099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891099 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: wait between retries when MDB fails?

2005-08-22 Thread genman
Take a look at the attributes of a Queue in the JMX console. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891098#3891098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891098 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IBM WebSphere MQ (WMQ) with JBOSS/JMS

2005-08-22 Thread [EMAIL PROTECTED]
We've got a new wiki that explains in details how to integrate with WSMQ http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithWebSphereMQSeries Part II is coming soon. We're still having issues with the buggy XA implementation of WSMQ when it is used as the JMS provider of the MDB container.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: SocketTimeoutException:Read timed out after client conne

2005-08-21 Thread gozen
Here is the client log DEBUG: 2005-08-22 09:36:25,437 [JMSManager] establish the connection... DEBUG: 2005-08-22 09:36:28,421 [SpyConnectionFactoryObjectFactory] Extracting SpyConnectionFactory from reference DEBUG: 2005-08-22 09:36:29,031 [SpyConnectionFactoryObjectFactory] The GenericConnectio

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS XA - Am I doing something wrong?

2005-08-21 Thread javajedi
package org.jboss.mq.il.ha.examples; | | import java.util.Properties; | | import javax.jms.ExceptionListener; | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.MessageListener; | import javax.jms.Queue; | import javax.jms.QueueConnection; | import

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS XA - Am I doing something wrong?

2005-08-21 Thread javajedi
I modified HAJMSClient.java from the JBoss examples to use JmsXA and JTA transactions to more clearly demonstrate what doesn't seem to be working. I'm attaching the code. I deploy this MBean and invoke the following operations: connect() | startTransaction() | sendMessageToQueue() | ***

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using JVM IL and DLQHandler Initialization Failure

2005-08-20 Thread bloodasp
I have the following code in jms-ds.xml | | java:/XAConnectionFactory | | java:/XAConnectionFactory | | java:/XAConnectionFactory | I simple removed "java:/" and now no errors are displayed. Can anyone confirm If this is correct or did I simple get lucky?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to map web app using context

2005-08-19 Thread danikenan
Sorry for posting to wrong forum. I will post to the right one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890888#3890888 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890888

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA destination ends up on the wrong box

2005-08-19 Thread javajedi
Sorry, I meant to. JBoss 4.0.1 JDK 1.5.0_02 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890872#3890872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890872 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-19 Thread genman
This is really becoming a useless rant thread. Most people (e.g. people like you) posting here don't even follow Netiquette 101, so don't expect a kind reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890870#3890870 Reply to the post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA destination ends up on the wrong box

2005-08-19 Thread genman
It's always good to give your JBoss version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890868#3890868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890868 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to map web app using context

2005-08-19 Thread genman
Wrong forum. What by you mean by context? Put your conf file inside your .war deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890867#3890867 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890867 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-19 Thread bmelloni
This "attitude" issue is new to me. I always had good experiences in this forum, even if I did not always get usuable answers. Lack of answers is OK... after all, it is free software (even when we support them by buying their books at $50 a pop), but rudeness on their part accomplishes not

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-19 Thread hitcher
hehe, agreed. This actually the first time since 6 months that I am looking in to this forum again. I normally don't bother to look here anymore, because of the attitude of some "officials". Sad that things haven't changed. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-19 Thread bmelloni
1) The ONLY jBoss 4.0 book that I know of: the jBoss book written by your boss, Marc Fleury, and available also online on your site. 2) What is this new attitude at jBoss of going to forums, not reading the posts fully, and bitching about them? This is the second time in 2 weeks when someone

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS client: message persistent and resending

2005-08-19 Thread wonglh
All of the information I got from book or technical article is about how to persist or cache message at server/middleware side and how to ensure delivery of message in the case of the target (receiving) application is unavailable (e.g. using durable message). However, in my case I failed to se

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS client: message persistent and resending

2005-08-19 Thread schrouf
Read a single book or technical article about JMS on your own !!! If you then have a problem, ask the forum, but do not ask for doing your own homework ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890731#3890731 Reply to the post : http://www.jboss.org/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ping timeout after successful reconnect to server

2005-08-18 Thread catherinelo
Hi, Thanks for the reply. It works. Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890712#3890712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890712 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-18 Thread [EMAIL PROTECTED]
1) Which book? 2) You already know where the correct place is to ask questions related JBoss produced documentation http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61171 and your question was already answered there. Now stop wasting people's time. http://wiki.jboss.org/wiki/Wiki.jsp?page

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBoss Book JMS example

2005-08-18 Thread bmelloni
Note: - The first reference to this class seems to be in listing 2.2, but I could not find any reference to its implementation. - I also assume that since nothing else tells the J2SE application what the InitialContext is, I suspect this class must do that job. View the original post : htt

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: tools to monitor JMS performance online?

2005-08-18 Thread foras627
I have the same needs in my project and couldn't find any tool for queue producing and consuming statistics along the time. Has anyone found something like this ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890600#3890600 Reply to the post : http://www.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ping timeout after successful reconnect to server

2005-08-18 Thread [EMAIL PROTECTED]
Unfortunately, you have been singled out as an example: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=68044 http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostShort So you don't post the most important information, i.e. what does this do:

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue residing in a cluster

2005-08-18 Thread [EMAIL PROTECTED]
"genman" wrote : | Not sure... I would suggest bugging Adrian. :-) | If you really want to "bug" me, buy a support contract. Otherwise, you'll have post a question that is answerable, hasn't been posted before and isn't covered in the free docs. You also get access to our "knowledge base"

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ping timeout after successful reconnect to server

2005-08-18 Thread [EMAIL PROTECTED]
Incredible. You don't even have to enable TRACE logging to see the problem, because you have your own error message (lacking a stacktrace). anonymous wrote : | ERROR: 2005-08-18 09:45:23,480 [JMSManager] Error when try to stop Connection = Cannot disable the connection with the JMS server; - n

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue residing in a cluster

2005-08-18 Thread genman
Not sure... I would suggest bugging Adrian. :-) It should be Round Robin by default, IMHO, but there's some reason he decided against it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890502#3890502 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue residing in a cluster

2005-08-18 Thread [EMAIL PROTECTED]
"genman" wrote : | Not sure... I would suggest bugging Adrian. :-) | | It should be Round Robin by default, IMHO, but there's some reason he decided against it. I implemented the "round robin" because you guys kept bugging me about it. It was an FAQ, and still is. :-( I didn't make it th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ping timeout after successful reconnect to server

2005-08-18 Thread catherinelo
Hi, Thanks for the reply. Here is the code for createConnection [Code] protected void createConnection() throws NamingException, JMSException { logger.debug("establish the connection..."); InitialContext iniCtx = new InitialContext(properties); Object tmp = iniCtx.lookup("ConnectionFac

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.apache.commons.lang.SystemUtils Error??

2005-08-18 Thread minosabi
Sorry, for posting on the wrong topic. But I couldn't delete the email. Excuses. Minosabi :-( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890585#3890585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890585 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue residing in a cluster

2005-08-17 Thread myparu
Hi, Where can I find this kind of info? I have been looking through the JBoss 4 book and searched a little on the site to configure Round-robin for queue consumers but didnt find any. May be I was searching with the wrong terms... Murali View the original post : http://www.jboss.org/index.ht

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to tunneling jms to 80 port?

2005-08-16 Thread dinesh_pandey2003
How to run jms example in jboss + eclipse? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890285#3890285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890285 --- SF

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Locking issues with JMS

2005-08-16 Thread [EMAIL PROTECTED]
I tried "NO-TRANSACTION" at my JMS datasource, but MySQL doesn't support datasources with No_Transaction isolation level. Anyway, the problem I was seeing was just about overusing the database. We decreased the number of connections on the datasource and everything worked. We discovered that by

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Container Managed Transactions not working for MDB.

2005-08-16 Thread [EMAIL PROTECTED]
Wrong forum and an FAQ, I despair... http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp I was so close to just deleting this post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890198#3890198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory and UIL2 IOE error.

2005-08-16 Thread rke21
Thanks Adrian. I could see why can get pretty bored with answering some of the same questions. I understand how you feel and why it's annoying. :) I think I mistakenly binded to XAConnectionFactory. The irony of it all, I didn't even need XA service. hahaha. :D After a long search, I could

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory and UIL2 IOE error.

2005-08-15 Thread [EMAIL PROTECTED]
>From the spec: XAConnectionFactory => For application server direct use only (or those that know what they are doing). If you can point me at the example (not somebody else's uneducated comment in this forum) that says you should bind XAConnectionFactory to a resource-ref then I will get that p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory and UIL2 IOE error.

2005-08-15 Thread rke21
Looks like I figured it out. The UIL2 craps out when the the transact is set to true when creating a session. I thought these parameter are suppose to be ignored. but I guess not. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890095#3890095 Reply to the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Locking issues with JMS

2005-08-15 Thread [EMAIL PROTECTED]
:-) It's very funny I have copied the wrong URL here. I really meant JBAS-2056. Well anyway, now I realized what you meant by using a separate data-source without transaction isolation. I already had anothere datasource but I though you meant to set Read_Commited instead of Repeatable_Read. Th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Locking issues with JMS

2005-08-15 Thread [EMAIL PROTECTED]
I've seen it once before with MySQL. The database log showed it doing page level locking (horrible) and that caused a deadlock. I didn't hear how it was fixed or worked around? Use search for similar issues with MSSQL or Sybase. i.e. stupid database locking. Like I said to you elsewhere, you don

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Persistent Queue Messages

2005-08-14 Thread genman
I thought I'd ignore you, but instead I'll chastise you for not reading the JMS manual. http://java.sun.com/j2ee/1.4/docs/api/javax/jms/MessageProducer.html#setDeliveryMode(int) RTFM people. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889984#3889984 Rep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do you create a connection factory?

2005-08-14 Thread sasi2103
put this line - ConnectionFactory in the file - uil2-service.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889945#3889945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889945 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMSXA Connection Factory

2005-08-12 Thread rke21
Are you trying to use "java:/XAConnectionFactory" (for jvm jms clients) or "XAConnectionFactory" (remote clients). I haven't got XAConnection to work. I get a uil2 ServerSocketManagerHandler exiting on IOE when I try to send a message to the queue. Does anyone know why? Any help will be great

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-11 Thread malmit
Currently the application is sending finger print images via JMS. Never thought about the hybird approach. I will definitely go this route! Thanks again for all the helpful input! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889585#3889585 Reply to the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-11 Thread [EMAIL PROTECTED]
"genman" wrote : hybrid approach where files are stored in a content management system, and use pointers to the files inside the message. Exactly. It is even worse when you see people trying to propogate these large messages through the jms "chain of responsibility" anti-pattern. :-) View the or

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-11 Thread [EMAIL PROTECTED]
"malmit" wrote : Would JMS distributed destinations help Hmm I swamped my network so lets add more traffic to the network to implement "clustering". Of course, this really depends upon your network topology and the quality of the router. :-) This is also another one of my favourite "bug bea

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-11 Thread genman
Well, Gigabit ethernet would give you enough bandwidth, then you'll have to look at faster disks, etc. Out of curiosity, what is your application doing that requires so much bandwidth? You might want to go with a hybrid approach where files are stored in a content management system, and use p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-11 Thread malmit
Thanks for all of the great input! I did try sending non-persistent messages as genman suggested and it increased the number of messages sent from 60 to about 100, but that doesn't help me any since the application requires persistent message handling. And adrian you made a good point about th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-10 Thread [EMAIL PROTECTED]
"Probably the bottleneck you're running into is at the database (or persistence) layer." Why not the network? In a word "bandwidth". 100 x 100KB = 10MB a second. 100Mbps Ethernet ~ 12MB a second Even if all the packets were optimally filled, that doesn't include * Other parts of the JMS protoco

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Threads, sessions, connections, and XA

2005-08-10 Thread [EMAIL PROTECTED]
The jms jca ra uses the app server work manager pool to handle processing. Why is this relevant to you? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889280#3889280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38892

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS persistence problem

2005-08-10 Thread darranl
Have a look at: - http://wiki.jboss.org/wiki/Wiki.jsp?page=DeadLetterQueues View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889190#3889190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889190

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: listDurableMessages on a topic via JMX

2005-08-09 Thread colincrist
Excellent. Regards, Colin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888963#3888963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888963 --- SF.Net email is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-09 Thread genman
Probably the bottleneck you're running into is at the database (or persistence) layer. If you want to go with JBoss, you can use JBoss plus another messaging provider pretty easily. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888970#3888970 Reply to the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Ugrading jbossmq.jar/jbosssx.jar breaks application

2005-08-09 Thread genman
You might need to change your logging threshold to ALL (not just DEBUG) to figure out what's going on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888972#3888972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38889

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-09 Thread malmit
I don't think it is a bottleneck at the database. Just for testing purposes I initialized my connection pool with 300 connections split up so that there are 3 nodes each with 100 connections. This I would imagine would be plenty of connections. This set-up results in the 60 - 100KB messages/s

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Ugrading jbossmq.jar/jbosssx.jar breaks application

2005-08-09 Thread jozeph78
Thank you genman... I tried that and didn't get much else intesting. It did however prompt me to once again reevaulate what was going on. Below is the log output after running my application (a standalone java app) with the 4 possible configurations. One with both 4.0, one with jbossmq 4.0.2, on

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Distributed Destinations

2005-08-09 Thread genman
The JBossMQ is backed using a messaging database. If this is slow (e.g. on a slow disk), you're going to have slow JMS. Try testing with persistence turned off, you should be see those numbers improve 10-100 times I'd imagine. View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: listDurableMessages on a topic via JMX

2005-08-08 Thread darranl
JBoss 4.0.3RC1 was released on 26th June 2005. JBAS-1873 was completed on the 12th July 2005. The changes were committed to CVS so will be present in the next release candidate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888945#3888945 Reply to the post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can i make an MDB to choose from a list of Queues

2005-08-08 Thread [EMAIL PROTECTED]
"schrouf" wrote : An MDB can be connected to a single queue/topic only. | | Regards | Ulf This statement is incorrect as a simple search would show. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888925#3888925 Reply to the post : http://www.jboss.org

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How can i make an MDB to choose from a list of Queues

2005-08-08 Thread schrouf
An MDB can be connected to a single queue/topic only. Regards Ulf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=380#380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=380 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-07 Thread tomerbd2
Hi So... anyway can tell me regarding my previous message is the jmx console java.util.List listMessages() (and the implementation that i used) is working or not? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888799#3888799 Reply to the post : http://www

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Slight problem still regarding the fix for bug JBAS-1489

2005-08-05 Thread [EMAIL PROTECTED]
"jmihalich" wrote : | 2005-08-05 14:48:56,655 [hread] INFO org.jboss.ejb.plugins.jms.JMSContainerInvoker : Reconnected to JMS provider | JBAS-1489 is completely unrelated to MDBs. It is for user created MessageListeners. Useful links: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp an

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: log4j and JMS appender

2005-08-05 Thread genman
I was working on solving that little deadlock issue about a year, since I've run into it before. It looks like 1.3 will be deadlock prone as well because of how they do their lock ordering, but at least it should be more safe. Assuming you don't add the JMS appender to the org.jboss category yo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connection leakage w/ JMS Queue in JBoss 4.0.1?

2005-08-05 Thread genman
Are you using the same DB connection pool for something else in your application? If so, use a separate pool. There's no good reason to be running out of connections for the JMS PM. Configure your pool with debugging on. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2005-08-05 Thread [EMAIL PROTECTED]
Well I changed the error message in 4.0.2 to try to avoid this FAQ. Guess it didn't work... "This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888707#38887

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue residing in a cluster

2005-08-05 Thread genman
A single node "holds" the messages and the other nodes consume them. If a single consumer is sufficiently fast, then the other nodes end up idle. You may want a more round-robin configuration for your queue: | | org.jboss.mq.server.ReceiversImplLinkedList | View the original post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2005-08-05 Thread javajedi
Hmm...I just ran into the same problem. Anyone who actually has a clue what the "strict" property is for care to comment on this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888694#3888694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not store message: 127 msg=90 hard NOT_STORED PERS

2005-08-04 Thread [EMAIL PROTECTED]
Look just go read the FAQ and/or create a separate DataSource for jms until you fix the connection leak in your application. DO NOT HIJACK, CROSS POST OR ME TOO http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not store message: 127 msg=90 hard NOT_STORED PERS

2005-08-04 Thread thebadpete
I am also getting this issue in JBoss 4.0.1. And I am using MySQL database, not the default one. So it does seem like a lingering issue... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888542#3888542 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connection leakage w/ JMS Queue in JBoss 4.0.1?

2005-08-04 Thread thebadpete
I forget to mention, I did change the database to MySQL instead of the default Hypersonic. MySQL JDBC driver version is 3.0.15. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888534#3888534 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: log4j and JMS appender

2005-08-04 Thread [EMAIL PROTECTED]
It is an extremely bad idea (as I've already discussed in earlier posts). JBossMQ uses log4j internally so you are just going to get loops and deadlocks in the logging. logger -> appenders -> jbossmq -> logger -> appenders -> jbossmq and appender -> logger is a deadlock situation in log4j anon

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: log4j and JMS appender

2005-08-04 Thread kookywon
I still haven't solved this problem. Does anyone else have any idea? Is there a better forum to post this question on? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888488#3888488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: autentication user null/null

2005-08-04 Thread [EMAIL PROTECTED]
"schachi" wrote : i spend another day with reading jboss-documentation. Try the JMS documentation (you can find the link to it at the top of the WIKI page) and search for the phrase JAAS -> nada. Then search for the phrase password... | createConnection(user, password); | You might also wa

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB spec violation when deploying MDB

2005-08-04 Thread mroosendaal
It's working now, some typo which i overlooked but i still have problems: javax.management.InstanceNotFoundException: jboss.j2ee:jndiName=local/[EMAIL PROTECTED],service=EJB is not registered. And also it does not seem to see the Queue i defined in the jboss-jar.xml which is present in JBoss. C

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread tomerbd2
Thanks, well sounds like a good solution (i thought about it as well ;) however i would like to investigate some more options comming to this investigation i noticed that in the jmx-console there is this : anonymous wrote : java.util.List listMessages() | | MBean Operation. for the specif

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB spec violation when deploying MDB

2005-08-04 Thread jaikiran
Execute the following command and post the output: jar -tf jarfilename.jar where jarfilename.jar is the jar containing oyur beans View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888464#3888464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue-Security

2005-08-04 Thread schachi
thank you for the reply. | | | false | | DocImportProcessorEJB | queue/eManager-DocImportQueue | | | abc | xyz | | | jms/QueueFactory | java:/JmsXA |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread schrouf
>It wont be as good as a jms solution. such a good jms solution that you ask for help on your problems... :-) Ok, different approach. I guess (as you talk about 'user that its polling time is reached' ) that you have some kind of persistent user record with attributes like email address, pollin

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread tomerbd2
> Use scheduler service It wont be as good as a jms solution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888443#3888443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888443 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread schrouf
>What do you say ? Use scheduler service View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888441#3888441 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888441 --- SF.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread Nandhu
That worked , thanks a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888438#3888438 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888438 --- SF.Net email is S

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread tomerbd2
Hi I have users, im polling their emails accounts Here is the scenario: 1. For each user that its polling time reached send a jms message. 2. Many workers are listening to the jms message in queue one of them receives the jms messages and syhcornizes that user's email account. Now lets say pol

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-04 Thread schrouf
DO NOT misuse JMS messaging for things it's not designed for ! The main purpose of JMS is fire-and-forget messaging. Rethink your general solution approach ! What you are describing is the following: select a dataobject based on some critieria, if the resultset is empty then insert a new datao

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread jaikiran
Hi, I think the probelm may be because of some jar file present in the classpath, which contains your old .class file of the MDB. Delete the .class file of the MDB from your jar file and restart the jboss. If you get the same exception, then there is a wrong .class file in your classpath for t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread Nandhu
Still the same problem... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888419#3888419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888419 --- SF.Net email is Spo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread jaikiran
Try out the following: /** | * | * @throws EJBException | */ | public void ejbCreate() throws EJBException { | | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888363#3888363 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread schrouf
Drop last post (realized posted source a little bit too late) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888355#3888355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888355 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread schrouf
Post your ejbCreate() source code Regards Ulf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888354#3888354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888354 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread Nandhu
All Here is the code snippet package com.birch.mdb; import java.io.ByteArrayOutputStream; import javax.ejb.EJBException; import javax.ejb.MessageDrivenBean; import javax.ejb.MessageDrivenContext; import javax.jms.Message; import javax.jms.MessageListener; import javax.xml.transform.Transformer;

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread Nandhu
I did change my method without throwing createException , still same result. Is there anything to do with Spec 2.1 ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888280#3888280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread [EMAIL PROTECTED]
I've sort of added this question to the FAQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesntCreateExceptionRollbackTheTransaction View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888277#3888277 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB Create on MDB

2005-08-03 Thread darranl
The ejbCreate method of a message driven bean is not allowed to throw the CreateException. The error message you have posted is because you have deployed a message driven bean that is declared as throwing the CreateException from the ejbCreate method. What message is displayed if you deploy you

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Performance problem with many senders

2005-08-03 Thread [EMAIL PROTECTED]
thread dumps during the pause and logging are the starting point. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888226#3888226 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888226 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue-Security

2005-08-03 Thread [EMAIL PROTECTED]
The mdb also needs to be authenticated. To allow a guest user with the assumed run-as role see the unauthenticatedIdentity option for the login module used to secure the target. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888225#3888225 Reply to the post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue-Security

2005-08-03 Thread schachi
i thought i found the solution with the run-as tag (but it's still not working) | | | DocImportProcessorEJB | ch.e_act.e_archive.server.emanager.ejb.DocImportProcessorBean | Container | MessageFormat = 'Version 3.4' | auto-acknowledge | |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms with webservice

2005-08-02 Thread schrouf
You already have defined your APIs/technologies by using JMS and Webservices (I guess you will use a stateless SB as webservice implemention). Nevertheless you should keep in mind that simulating a synchronous call with asynchronous JMS request/reply communication has some pitfalls. Your read

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue location in JNDI tree

2005-08-02 Thread Thoennes
What you call "branch" is the JNDI name of the queue. If you deploy a queue using the org.jboss.mq.server.jmx.Queue MBean, the JNDI name of the queue is derived from the MBean "name" attribute, ie | | | jboss.mq:service=DestinationManager | | | will bind the queue at "

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem with SwiftMQ integration

2005-08-01 Thread [EMAIL PROTECTED]
"iit" wrote : | I guess you are wrong, Adrian. You might check the examples for the JCA 1.5 spec, section 12.7: | I am not wrong, since the examples are non-normative. I guess we will have kludge our way around it, not because of the examples, but because of the standard properties mentione

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ & Login Module Configuration

2005-08-01 Thread Denisius
I modified only login-config.xml by replacing existing application-policy with name="jbossmq" to: web-users.properties web-roles.properties An exception appears during ear deployment 18:14:58,030 ERROR [DLQHandler] Initia

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do you set the number of retries on a MDB?

2005-08-01 Thread CWEAVER1321
Thanks schrouf!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887699#3887699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887699 --- SF.Net email is sponsored by

<    6   7   8   9   10   11   12   13   14   15   >