activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Hofstaedter" <chr...@nmwco.com>
Subject RE: static transport issue
Date Tue, 13 Feb 2007 21:57:18 GMT
I ran into this at one time.  For me, it was that my ClassLoader was
null for the current thread.  But then, I was using JNI and hadnt set
things up properly for myself - which is probably not your problem.  

I would imagine you could run into the same problem if your classpath
didn't include activeio but I'm not 100% sure about that.


-----Original Message-----
From: Sandeep Chayapathi [mailto:sandeep@wssource.com] 
Sent: Tuesday, February 13, 2007 4:47 PM
To: users@activemq.apache.org
Subject: static transport issue


Hi all,

 Recently I was testing the Java interface to ActiveMQ. Im interested in
the
static transport mechanism, specifically, I have a master/slave setup
and I
want my code to connect to the master always and on failure, switch to
using
the slave server.

 I followed this
http://activemq.apache.org/static-transport-reference.html
doc , and using a URI as described, throws me the following error:-

---
Could not create Transport. Reason: java.io.IOException: Transport
scheme
NOT recognized: [static] at
---

Has anyone used the static transport in ActiveMQ 4.1 ? I checked the
javadoc, there is no org.apache.activemq.transport.static to be found.
Is
this transport supported ? If yes, can you post a sample code on how to
use
it ? Thanks.

- Sandeep


-- 
View this message in context:
http://www.nabble.com/static-transport-issue-tf3223709s2354.html#a895406
6
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message