Khurram Majeed [http://community.jboss.org/people/kmajeed] created the
discussion
Re: Messaging bridge question
To view the discussion, visit: http://community.jboss.org/message/577497#577497
--
Guys,
Were you able to resolve this
DOH!!
I traced through the code with the debugger and found that I had overlooked the
parameters in the xml. I had MaxBatchSize set to 5 and MaxBatchTime set to -1.
I never had more than 4 messages on my queue at a time. When I changed these
it worked.
Sorry to waste your time. I
The error code for Sybase ASE for the duplicate key exception is S1000.
Setting DUPLICATE_KEY_STATE value to S1000 eliminates the problem with restarts.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080872#4080872
Reply to the post :
OK. I set up two servers, JBossAs 4.2.0.GA with JBM 1.4.0.CR2.
I configured a bridge that successfully deployed.
I posted a message to server1 then listed all messaged from server1
jmx-console. No messages listed.
I listed all messages from server2 jmx-console. No messages listed.
I am trying CR2 but after the first time I start the server, whenever I restart
I get a duplicate key exception on JBM_DUAL. It looks like it is executing the
insert on startup and the insert is :
INSERT_DUAL=INSERT INTO JBM_DUAL VALUES (1)
The table creation:
CREATE_DUAL=CREATE TABLE
We are inserting a value into JBM_DUAL, and we should be ignoring a duplicate
key on JBM_DUAL...
If you take a look on the sybase persistance.xml,
http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_0_CR2/src/etc/server/default/deploy/sybase-persistence-service.xml
there is a
anonymous wrote :
| I don't know what the objective of this is so I really don't know how
|
| INSERT_MESSAGE_CONDITIONAL=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE,
EXPIRATION, TIMESTAMP, PRIORITY, TYPE) SELECT ?, ?, ?, ?, ?, ? FROM JBM_DUAL
WHERE NOT EXISTS (SELECT MESSAGE_ID FROM
Sorry for taking so long to reply. The auto notification for your response got
swallowed in my spam filter.
I removed java: from the remote provider lookup and the bridge started without
any exceptions. I posted a message to my local queue and I don't know what
happened to it. It is not on
One more thing. I sent 4 messages to my local queue and all seemed to
disappear. I then stopped my bridge. The messages could then be seen using
the jmx-console. I restarted my bridge and the messages are were longer
visible from the jmx-console. I stopped the bridge and they reappeared.
Maybe the CR2 would fix that...
If you could try that first... I will help you after you have tested the CR2.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079777#4079777
Reply to the post :
Sorry I have taken so long to look at this.
Before I investigate any deeper, there is one obvious thing I can see wrong in
your remote jms provider config:
| !-- The combined connection factory --
| attribute name=FactoryRefjava:/XAConnectionFactory/attribute
| !-- The queue
Ok, I just validated that I can successfully consume from a remote jms provider
and send to a local jms provider using the bridge and a remote jms provider
loader configured using global JNDI namespace.
I'm using TRUNK but there haven't been any bridge code changes between CR1 and
TRUNK.
I'm
http://jira.jboss.com/jira/browse/JBMESSAGING-1032
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072152#4072152
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072152
___
Thanks Tim. FYI, I just setup up a JBossAs 4.2.0.GA server with JBM_1.4.0.CR1
and tried it and I got the same behavior.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068198#4068198
Reply to the post :
I have looked through the links and as far as I can tell my configuration is
correct. As you can see from the dump below my bridge connects to the remote
queue when that queue destination is a target destination
(Remotee.Conversion.In). When the remote destination is the source destination
Yes, I read through the JIRA link but that is referring to retrying the remote
connection at startup. That is not the issue. My server is running. I can
connect to the remote queue if that queue is the target destination, not the
source destination. I stepped through bridge.java and
Chip-
I will take a look at this and try and replicate ASAP, but will probably be
next week since we are really snowed under (what's new?) right now. :)
Thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068036#4068036
Reply to the post :
Hi Chip-
The two links I posted:
http://jira.jboss.com/jira/browse/JBMESSAGING-999
http://www.jboss.org/index.html?module=bbop=viewtopict=111456
Refer to a known issue which was fixed in 1.4.0.CR1 (see the JIRA link).
I think this is the same issue.
View the original post :
This is my original jms-ds.xml.
?xml version=1.0 encoding=UTF-8?
|
| connection-factories
|
| !--
--
| !-- JMS Stuff
--
| !--
I am using JBossAS 4.2.0..GA, JBM 1.3.0.GA with one fix that was posted right
after it released, on both servers.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067388#4067388
Reply to the post :
I think this is the same as this:
http://jira.jboss.com/jira/browse/JBMESSAGING-999
http://www.jboss.org/index.html?module=bbop=viewtopict=111456
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067594#4067594
Reply to the post :
Please post your JMSProviderLoader configuration (both of them), also what
version are you using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067160#4067160
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4067160
22 matches
Mail list logo