Re: ActiveMQ not Running in Solaris

2008-06-04 Thread Rob Davies
Looks like the /etc/hosts on your solaris machine is not setup - if you look at /etc/hosts there should be a line: 127.0.0.1 localhost cheers, Rob http://open.iona.com/products/enterprise-activemq http://rajdavies.blogspot.com/ On 5 Jun 2008, at 05:41, ANDI KUSNADI wrote: Dear

Re: VM transport not using pass-by-reference

2008-06-04 Thread bwtaylor
I traced through some code. It looks like ActiveMQSession.send() does honor copyMessageOnSend as noted. But this only explains why you see 2001, not 2002 messages. Message consumption on a topic happens in a two step process: 1) During dispatch, a MessageDispatch object is enqueued to consumer's

ActiveMQ not Running in Solaris

2008-06-04 Thread ANDI KUSNADI
Dear activemq guys, iam using activemq , when in development we are using Ubuntu , it can running well, when we deploy it to solaris 5.10 it cannot running. we are using Jdk 1.6.06 and apache tomcat 6.14 + activemq 5.10 and there is error message like this. 10:03:52,270 ERROR BrokerService:180 -

Setting stomp wire format parameters

2008-06-04 Thread bwtaylor
The configuring-wire-formats page, http://activemq.apache.org/configuring-wire-formats.html , implies that the options shown apply only to the openwire wire format. I am having an issue with stomp sockets not getting closed (which pile up until the OS limit is hit and then the broker is unreachabl

ActiveMQ-CPP Version 2.2 RC1

2008-06-04 Thread Timothy Bish
Hey everyone, It's official ... ActiveMQ-CPP v2.2 now has a release candidate, RC1. We've also found and fixed numerous bugs along the way. I've created a download page here: http://activemq.apache.org/cms/activemq-cpp-22-release.html ... Feel free to give it a test drive! The more eyes we have

config for MDB on weblogic to receive messages from ActiveMQ JMS

2008-06-04 Thread slick123
Hi, I would like to configure ForeignJMSServer on weblogic so that my mdb on weblogic can receive messages from ActiveMQ. I would appreciate if anybody can point me how to configure this. Thanks Suresh -- View this message in context: http://www.nabble.com/config-for-MDB-on-weblogic-to-receive

Re: BlobMessage - How to make it work?

2008-06-04 Thread balderman
Hi Since I need to cross a firewall I use http and not tcp. Can you make it work with http transport? I will attach my activemq.xml later. Thanks Avishay Marco Buss wrote: > > Did you change the activemq.xml? > > I only change the uri to get you're code to work. With an unchanged > activemq.xml

Re: BlobMessage - How to make it work?

2008-06-04 Thread Marco Buss
Did you change the activemq.xml? I only change the uri to get you're code to work. With an unchanged activemq.xml and the uri tcp://localhost:61616?jms.blobTransferPolicy.defaultUploadUrl=http://localhost:8161/fileserver/ all works fine. I have changed the transport from http to tcp and the por

Trouble Starting/ shutting Tomcat while using Failover

2008-06-04 Thread sgopal
Hi, I have a spring based application running under tomcat. One of the spring bean is a message listener and uses failover. If the broker that I am connecting is not up and running, my application fails to start. In the same way if the broker goes down while I am trying to gracefully shutdown to

Re: VM transport not using pass-by-reference

2008-06-04 Thread Ryan Stewart
Ryan Stewart wrote: > > I'm trying to use an embedded ActiveMQ instance for some lightweight > message handling... > *bump* again. Is there no answer to this? -- View this message in context: http://www.nabble.com/VM-transport-not-using-pass-by-reference-tp17442075s2354p17648713.html Sent f

Re: EOF Exception When Serializing Large Message

2008-06-04 Thread Dejan Bosanac
Hi, I've tried and cannot reproduce this issue. here's first a test case trying to send/receive a large message (as Ivan described in one of previous emails) public void testSendLargeMessage() throws Exception { MessageConsumer consumer = session.createConsumer(queue); Strin

Re: BlobMessage - How to make it work?

2008-06-04 Thread balderman
Here is my "Sender" unit test: import java.io.File; import javax.jms.Connection; import javax.jms.Queue; import javax.jms.QueueSender; import javax.jms.Session; import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.ActiveMQSession; import org.apache.activemq.BlobMe

Re: BlobMessage - How to make it work?

2008-06-04 Thread balderman
Hi I do not think the file is uploaded.:-( Where should I look for it? Here: \webapps\fileserver ? Is the original file name is kept? Thanks Avishay Marco Buss wrote: > > Hello, > > check if the blob is uploaded to the fileserver webapp. If the blob is > uploaded try this: > > class="org.

Re: BlobMessage - How to make it work?

2008-06-04 Thread Marco Buss
Hello, check if the blob is uploaded to the fileserver webapp. If the blob is uploaded try this: http://xyz.16.233.50:61618?jms.blobTransferPolicy.uploadUrl=http://xyz.16.233.50:8161/fileserver/ false If this

Re: BlobMessage - How to make it work?

2008-06-04 Thread balderman
More info: ~~~ Digging into the source I found this test class: org.apache.activemq.blob.DefaultBlobUploadStrategyTest The code below show that the message is not sent via message.send() call. It is uploaded. Should I add this part to my code: strategy.uploadFile(msg, file); ? As far

BlobMessage - How to make it work?

2008-06-04 Thread balderman
Hi I am using ActiveMQ 5.1. I want to to use BlobMessage in order to send large amounts of data. When the consumer get the message and the below code is executed: inputStream = blobMessage.getInputStream(); the inputStream is null. I have seen few posts regarding this issue but I

deadlock on message expiration

2008-06-04 Thread mlukica
Detected deadlock in AMQ 5.1.0 between transport thread (removing consumer) and QueueThread (sending expired messages to DLQ): Name: VMTransport State: BLOCKED on [EMAIL PROTECTED] owned by: QueueThread:queue://some_queue Total blocked: 31 Total waited: 525 Stack trace: at org.apache.activemq.

Connect from SAP XI/PI

2008-06-04 Thread cschaum
Hi, i try to connect to activemq from SAP XI/PI. Do you have some ideas? I try to use the generic driver, do someone know the correct parameters? -- View this message in context: http://www.nabble.com/Connect-from-SAP-XI-PI-tp17640779s2354p17640779.html Sent from the ActiveMQ - User mailing li