Re: HTTPS in general not working between brokers?

2008-05-19 Thread j0llyr0g3r
Hi, i would like to join the IRC-channel, but unfortunately company's security policy doesn't allow IRC-traffic. I tried via mibbit.com (web-based IRC-client), but no luck so far. Could it be that your IRC-Server is not accessible via public IRC-servers like irc.freenode.net? -- View this mes

Re: HTTPS in general not working between brokers?

2008-05-15 Thread j0llyr0g3r
Hi, regarding: If you interested in helping let me know and I'll get you started in the right direction. Since we have an urgent need for this functionality: Yes, please get me started, and i will (hopefully) be able to supply a patch -- View this message in context: http://www.nabble.c

Re: HTTPS in general not working between brokers?

2008-05-15 Thread j0llyr0g3r
Hi, using the ssl-conncetor for ssl works fine but this is not what i need. Because of a http-proxy in the middle i need to use the https-connector. As described here: http://www.nabble.com/http-ok%2C-ssl-ok%2C-HTTPS--%3E-NOT-ok--td17131092s2354.html - ssl works - http work (even over proxies

Re: Newbie questions

2008-05-15 Thread j0llyr0g3r
Look in $AMQ_HOME/example -- View this message in context: http://www.nabble.com/Newbie-questions-tp17238878s2354p17252361.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

HTTPS in general not working between brokers?

2008-05-14 Thread j0llyr0g3r
Hey folks, i have a major problem with AMQ here. After extensively reading / searching: -> google -> the mailing-list -> the official documentation -> the documentation from ttmsolutions.com -> Jira and after opening up this thread ->http://www.nabble.com/http-ok%2C-ssl-ok%2C-HTTPS--%3E-NOT-

Re: activemq-admin stop - port already in use

2008-05-14 Thread j0llyr0g3r
Hi, kill the activemq-process and look via netstat -tulpen | grep 1099 which services already occupies this port. -- View this message in context: http://www.nabble.com/activemq-admin-stop---port-already-in-use-tp17210936s2354p17229410.html Sent from the ActiveMQ - User mailing list archive a

Re: http ok, ssl ok, HTTPS -> NOT ok?

2008-05-08 Thread j0llyr0g3r
Hi, according to your hint i tried the following configuration: Then both brokers give me the following error on start-up: ERROR BrokerService - Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Transport Connector

http ok, ssl ok, HTTPS -> NOT ok?

2008-05-08 Thread j0llyr0g3r
Hey folks, i'm having a hard time with AMQ again:-) In a nutshell: * Broker <- http -> Broker works using a configuration like this on both brokers: http://0.0.0.0:61617"/> http://172.18.154.26:61617?trace=true)" networkTTL="5"/> * Broker <- SSL (just tcp) ->

Re: How do i configure the http transport connector to use a proxy?

2008-05-07 Thread j0llyr0g3r
Hi folks, i finally got it working like this: Broker 1: http://0.0.0.0:61617"/> http://broker-2:61617?proxyHost=myProxy&proxyPort=3128)" networkTTL="5"/> Broker 2: http://0.0.0.0:61617"/> http://broker-1:61617?pr

Re: How to configure AMQ to use a database cluster instead of a single db?

2008-05-07 Thread j0llyr0g3r
gt; Cheers, > Ivan > > j0llyr0g3r wrote: >> >> Hey folks, >> >> i have a configuration problem which hopefully can be solved: >> >> I have an up and running mySQL-Cluster consisting of 2 nodes (let's say >> mydbhost1 and mydbhost2) which works s

How do i configure the http transport connector to use a proxy?

2008-04-29 Thread j0llyr0g3r
Hi folks, after i have figured out this problem (will be updated in the AMQ documentation soon): http://www.nabble.com/Standard-http-connector-example-not-working--td16937377s2354.html i am having a new problem: How do i configure the http transport connector to use a proxy? I looked into the

Re: Standard http-connector example not working?

2008-04-29 Thread j0llyr0g3r
Solved! http://0.0.0.0:61617"/> Then everything works as expected! But why is this? Isn't this a bug in the tcp-connector, since tcp://localhost:61617 should be limited to calls from localhost only? Why can i connect to tcp-connectors which run on tcp://localhost:61617 from everywhere, b

Re: Standard http-connector example not working?

2008-04-28 Thread j0llyr0g3r
Hey folks, i found the cause for this error, but so far no solution. I looked at the output from netstat again: netstat -tulpen | grep 6161 tcp0 0 :::61616:::*LISTEN 1011 70984032 1510/java tcp0 0 127.0.0.1:61

Re: Standard http-connector example not working?

2008-04-28 Thread j0llyr0g3r
Hi Joe, i don't think that this is a firewall issue. Before i start the two brokers netstat -tulpen | grep 6161 shows nothing. After starting activemq netstat shows: netstat -tulpen | grep 6161 tcp0 0 :::61616:::*LISTEN 1011 709840

Standard http-connector example not working?

2008-04-28 Thread j0llyr0g3r
Hey folks, i am having a hard time figuring out how to get http-tunneling working. According to the documentation from here: http://activemq.apache.org/http-and-https-transports-reference.html this should be quite easy. Ok, so i set up broker "1" nice and easy (one inbound connector for jms-c

Re: Internal web-console login

2008-04-25 Thread j0llyr0g3r
Hi, i had a long fight to get this working, hopefully it helps you (this is from our internal wiki): * jetty-plus Download jetty, extract the archive and copy the jar jetty-plus.x.x.x.jar to $AMQ_HOME/lib/web/. * activemq.xml Edit the file $AMQ_HOME/conf/activemq.xml. Find this

Re: Creating queue and accessing them through different session

2008-04-23 Thread j0llyr0g3r
Hi, i am not sure, but i think the JMS specification forbids something like this (JMS specifiation chapter 4.4.7) -- View this message in context: http://www.nabble.com/Creating-queue-and-accessing-them-through-different-session-tp16763515s2354p16833980.html Sent from the ActiveMQ - User

Re: How can i contribute to the AMQ-documentation?

2008-04-22 Thread j0llyr0g3r
Hey, sorry for digging out this old thread, but. After this 2 threads: *http://www.nabble.com/Simple-authentication-not-working%3A-Unrecognized-xbean-element-mapping%3A-authenticationUser-td16765832s2354.html *http://www.nabble.com/Securing-the-web-console-impossible--td16765525s2354.html

Request for patch: http-proxy -> setting user / password not possible

2008-04-22 Thread j0llyr0g3r
Hey ho, according to the release notes of AMQ 4.1.1: http://activemq.apache.org/activemq-411-release.html there is support for AMQ over http-proxies. When i look at the source-code, specifically * org.apache.activemq.transport.http.HttpClientTransport * org.apache.activemq.transport.http.HttpT

Re: Securing the web console impossible?

2008-04-22 Thread j0llyr0g3r
Hey folks, i finally solved it.:-) I will add this information to the wiki so that the average idiot - thereby referring to me - can set this up. But since it might take some time until i find the time to edit the wiki, here's a short summary, and hopefully an idiot-proof copy&paste method

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-22 Thread j0llyr0g3r
Hi Joe, i figured this If you've got security enabled, then I'm afraid you're going to have to comment out the commandAgent and most probably the camelContext elements. out by coincidence yesterday evening. I had to comment out the camel context and the command agent to get it working (just as

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread j0llyr0g3r
Hi, sorry, i forgot something: If i get the documentation right, the most simple setup would to just insert: in the activemq.xml, thereby defining users and passwords. So, no -Djava., no login.conf, no

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread j0llyr0g3r
Hi and thx for your reply. Maybe i didn't make myself clear enough.:-) I follow exactly the documentation example from here: http://activemq.apache.org/security.html This means: -> I create a login.conf: activemq-domain { org.apache.activemq.jaas.PropertiesLoginModule required

Re: Securing the web console impossible?

2008-04-19 Thread j0llyr0g3r
e no according elements? How can i map the defined users to the role "FOO"? j0llyr0g3r wrote: > > Hi again, > > ok, i am one step further. > > I thought about my last question (which was kind of stupid by the way) > > > Ok, but do i actually have to e

Re: Securing the web console impossible?

2008-04-19 Thread j0llyr0g3r
javax.security.auth.login.LoginException: No LoginModules configured for org.apache.activemq.jaas.PropertiesLoginModule WARN log- AUTH FAILURE: user admin Now i am confused, i thought org.apache.activemq.jaas.PropertiesLoginModule was actually a login module? Googlei

Re: Securing the web console impossible?

2008-04-19 Thread j0llyr0g3r
ml and jaasUserRealm name must match exactly", right? Furthermore: I assume the in the web.xml defined role "adminRole" is mapped to the group-entry "adminRole"? bsnyder wrote: > > On Fri, Apr 18, 2008 at 3:22 PM, j0llyr0g3r > <[EMAIL PROTECTED]> wrote:

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-19 Thread j0llyr0g3r
in the scheme? What am i doing wrong here? j0llyr0g3r wrote: > > Hey folks, > > i am using AMQ 4.1.2 and even the most simple authentication won't work. > (same error with AMQ 5.* by the way) > > I am following exactly the documentation here: > http:

Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-18 Thread j0llyr0g3r
Hey folks, i am using AMQ 4.1.2 and even the most simple authentication won't work. (same error with AMQ 5.* by the way) I am following exactly the documentation here: http://activemq.apache.org/security.html Documentation seems to be incomplete or for JAAS experts only. But one after the oth

Securing the web console impossible?

2008-04-18 Thread j0llyr0g3r
Hey folks, i am desperately trying to find out how to configure a simple access control for the web console, but this is simply not documented.. The documentation here: http://activemq.apache.org/web-console.html refers to a separate jetty instance, not to the integrated jetty. That's when

Re: Failed to send ..... to dead letter queue

2008-04-10 Thread j0llyr0g3r
ng i will do is to remove this shitty product immediately from all of my testservers. (Not the first time SLES 9 is a pain in the ass in comparison to other distributions) j0llyr0g3r wrote: > > Hey folks, > > i really hope someone can help me out, since i am running out of ideas &

Re: Failed to send ..... to dead letter queue

2008-04-10 Thread j0llyr0g3r
What your opinion on that? j0llyr0g3r wrote: > > Hey folks, > > i really hope someone can help me out, since i am running out of ideas > > My problem seems quite simple: > > -> I have a self-written message producer using AMQ-libraries > -> I have a self-written m

Failed to send ..... to dead letter queue

2008-04-10 Thread j0llyr0g3r
Hey folks, i really hope someone can help me out, since i am running out of ideas My problem seems quite simple: -> I have a self-written message producer using AMQ-libraries -> I have a self-written message consumer using AMQ-libraries -> And a (single) AMQ-Broker in the middle -> All used

Howto to read out the advisory queues using the example?

2008-01-29 Thread j0llyr0g3r
Hey folks, how can i read out the advisory queues using the consumer tool provided under "examples"? For instance: -> I start up one one consumer listening on one broker -> I start up jconsole and i can look at the advisory queues -> Then i thougt that running something like: ant consumer -

Re: Howto send messages to multiple brokers?

2008-01-14 Thread j0llyr0g3r
Ok, found the solution: EVERY broker has to have a different name. Maybe the error message could be a little bit more clear on that. j0llyr0g3r wrote: > > Hi folks, > > consider the following simple situation: > > > consumer - broker A

Howto send messages to multiple brokers?

2008-01-14 Thread j0llyr0g3r
Hi folks, consider the following simple situation: consumer - broker A broker C - consumer \ / \ / \

StoreLockedExcpetion: Kaha Store state is already opened by this application.

2007-11-07 Thread j0llyr0g3r
Hey folks, i hope somebody can help me out with this issue: I integrated "AMQ 5 Snapshot" into Jboss 5 Beta 2 (the latest) according to the following howto: # HOWTO START ## Create a an activemq-directory: mkdir $JBOSS_HOME/server/default/deploy/acti

Broker autofailover: Why don't brokers check that a host is down by themselves?

2007-10-19 Thread j0llyr0g3r
Hey folks, i am still struggling with the auto-failover feature of brokers in a broker network. Consider that i have two brokers, each of them connected to the other like this over SSL: Works like a charm. Now consider that i have one Broker - called A - connected to a Cluste

Re: jmx remote not working

2007-10-19 Thread j0llyr0g3r
enticate=false" In order to browse the jmx-interface, call up "jconsole" and connect to the broker via: service:jmx:rmi:///jndi/rmi://your_host:1099/jmxrmi HTH and thx for the help... j0llyr0g3r wrote: > > Hi Joe, > > unfortunately this didn't help. > > S

Re: jmx remote not working

2007-10-19 Thread j0llyr0g3r
1008 3538689760/java but i still can not connect via service:jmx:rmi:///jndi/rmi://:1616/jmxrmi Error is simply "connection failed".. Any hints / clues? j0llyr0g3r wrote: > > Hi folks, > > i have a strange problem here: > > When i start a broker on

Re: jmx remote not working

2007-10-18 Thread j0llyr0g3r
for your remote broker's jvm? > > com.sun.management.jmxremote > com.sun.management.jmxremote.host= on> > com.sun.management.jmxremote.port= > > Also, set the following to disable security for the remote jvm. > > com.sun.management.jmxremote.authenticate=false > co

Re: how to config JDBC Master Slave whith oralce database?

2007-10-18 Thread j0llyr0g3r
An example configuration is provided in the original activemq.xml file: vision wrote: > > I want to config JDBC Master Slave whith oralce database,but can't find > the config example. > where can find the config? OR,who have the experience of config JDBC > Mast

Re: Determine what ports ActiveMQ is listening on

2007-10-18 Thread j0llyr0g3r
Hi, if activemq is the only java-process running, you could execute something like: netstat -tulpen | grep -i java with the processbuilder from within java and then parse the corresponding output (i assume you are using Linux) for the listed ports. jmorri wrote: > > Hi, > > I'm trying to w

jmx remote not working

2007-10-17 Thread j0llyr0g3r
Hi folks, i have a strange problem here: When i start a broker on localhost i can connect to it via jconsole. But if i try the same with a remote broker, i get the error: The connection to myhost:2099 did not succeed. The remote broker is up and running and i can send and receive messages fro

Network of Broker: Auto-failover -> How to prefix the URI correctly? static?

2007-10-16 Thread j0llyr0g3r
Hey folks, imagine the following situation: - One AMQ-Cluster called Cluster_1 consisting of host A1 and A2. - One AMQ-Cluster called Cluster_2 consisting of host B1 and B2. Both clusters work on their own shared memory segment. Now host A1 and A2 from Cluster_1 connect to the hosts from Clust

Re: 5.0-Snapshot: changes in xml-scheme not reflected in sample configs?

2007-10-15 Thread j0llyr0g3r
sibly fix this? j0llyr0g3r wrote: > > Hey ho, > > when i start an activemq-broker with the provided example configuration > file i get an > > Initialization of bean failed; nested exception is > org.springframework.beans.InvalidPropertyException: Invalid property

5.0-Snapshot: changes in xml-scheme not reflected in sample configs?

2007-10-15 Thread j0llyr0g3r
Hey ho, when i start an activemq-broker with the provided example configuration file i get an Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'memoryUsage' of bean class [org.apache.activemq.xbean.XBeanBrokerService]: No pr

Re: concurrent usage of a journal and a database?

2007-10-15 Thread j0llyr0g3r
t; Apache derby as the database. > > > > > cheers, > > Rob > > http://rajdavies.blogspot.com/ > > > > On Oct 15, 2007, at 12:27 PM, j0llyr0g3r wrote: > >> >> Hey folks, >> >> i really dont understand the following code-snippe

concurrent usage of a journal and a database?

2007-10-15 Thread j0llyr0g3r
Hey folks, i really dont understand the following code-snippet from the original AMQ-config-file: where dataSource="#postgres-ds" would be which would be a PostgreSQL-Server. Why and - more important - how could it be possible to use the filesystem-based journal AND a database a

Re: Failover config

2007-10-07 Thread j0llyr0g3r
Hey Liz, i think this could have something to do with this: http://activemq.apache.org/what-is-the-prefetch-limit-for.html LizNJ wrote: > > I have a system that has two brokers that use a shared file system for > persistance. > > For purposes of my explaining my issue, consider that Broker

Re: Start ActiveMQ with ip address

2007-10-06 Thread j0llyr0g3r
Hi, i think the error stems from here: http://activemq.org/config/1.0";> Give it a brokername like "f" and add an corresponding to your /etc/hosts file, like: 10.92.143.16 f DanielShao wrote: > > Hi > > Our company DNS is not stable. I want to configure ActiveMQ so that it > uses

How to configure AMQ to use a database cluster instead of a single db?

2007-10-05 Thread j0llyr0g3r
Hey folks, i have a configuration problem which hopefully can be solved: I have an up and running mySQL-Cluster consisting of 2 nodes (let's say mydbhost1 and mydbhost2) which works so far as i can tell. Currently i have two AMQ-instances, configured as a cluster as well. But here is the prob

Re: single broker + mysql + Attempting to acquire the exclusive lock to become the Master broker

2007-10-04 Thread j0llyr0g3r
; http://activemq.apache.org/maven/activemq-core/xsddoc/http___activemq.org_config_1.0/element/jdbcPersistenceAdapter.html#attr_useDatabaseLock > > > > On 02/10/2007, j0llyr0g3r <[EMAIL PROTECTED]> wrote: >> >> Hey folks, >> >> i'm having real trouble her

single broker + mysql + Attempting to acquire the exclusive lock to become the Master broker

2007-10-02 Thread j0llyr0g3r
Hey folks, i'm having real trouble here with mysql and activmq: When i start my (single!) broker i get an endless repitition of: INFO DefaultDatabaseLocker - Attempting to acquire the exclusive lock to become the Master broker INFO DefaultDatabaseLocker - Attempting to acqu

Re: Brokers + SSL = Message loss?

2007-10-01 Thread j0llyr0g3r
Ok, please forget this embarassing posting.. Ah colleague of mine had another consumer running on the same queue, and i had totally forgotten about this... j0llyr0g3r wrote: > > Hey folks, > > i got a strange problem here: > > I connected two brokers, let's

Brokers + SSL = Message loss?

2007-10-01 Thread j0llyr0g3r
Hey folks, i got a strange problem here: I connected two brokers, let's say A and B, using SSL. Then i started the activemq-consumer example and the activemq-producer example. Surprisingly, some messages are NOT received. Here is the output of the consumer: consumer: [echo] Running con

Re: Clustering not working: JMS-Exception

2007-08-21 Thread j0llyr0g3r
ave-Broker: Client-Configuration failover:(tcp://localhost:61613,tcp://localhost:61616) j0llyr0g3r wrote: > > Hey folks, > > i am having a hard time trying to find out how clustering works seamlessly > with amq. > > Imagine the following situation: > > -> One cl

How can i contribute to the AMQ-documentation?

2007-08-21 Thread j0llyr0g3r
Hey folks, i really think AMQ is a great piece of software. Unfortunately, i think the documentation is really not sufficient for new users. So, is there a way new users can contribute to the documentation? E.g.: Fixing errors (found some in various locations), submitting user-configuration an

Re: Simple networkConnector question

2007-08-20 Thread j0llyr0g3r
n for and accept > connection requests from clients and other brokers. > > Joe > > > > j0llyr0g3r wrote: >> >> Hi folks, >> >> i got a really simple question and i hope someone can help me out. >> >> I simply don't get it: I just want

Simple networkConnector question

2007-08-20 Thread j0llyr0g3r
Hi folks, i got a really simple question and i hope someone can help me out. I simply don't get it: I just want to connect two brokers, let's call them A and B. Ok, so my broker A looks like this: Simple thing. Listen on 61610 for consumers and

Clustering not working: JMS-Exception

2007-08-20 Thread j0llyr0g3r
Hey folks, i am having a hard time trying to find out how clustering works seamlessly with amq. Imagine the following situation: -> One cluster consisting of a master and a slave broker -> One consumer and one producer -> Persistence / Clustering mechanism is filesystem-based via shared storage

Load-Balancing with a single broker across clusters

2007-08-17 Thread j0llyr0g3r
Hi folks, i used the forum's search function and found some similar threads but now i am more confused than before.:-) Imagine the following situation: - some producers which all send messages to the same broker - this broker acts only as a load-balancer - between 2 clusters of brokers (eac

Performance compared to official performance statement

2007-08-07 Thread j0llyr0g3r
Hi folks, i am a little bit surprised about the performance of my broker-network. The AMQ-Website says: When running the server on one box and a single producer and consumer thread in separate VMs on the other box, using a single topic we got around 21-22,000 messages/second using 1-2K messages

Re: openwire ok, but when using stomp i get: Wire format negociation timeout: peer did not send his wire format.

2007-08-06 Thread j0llyr0g3r
tocols don't exist on the same port in the broker, each is > configured to its own port in the xml file as seen above. > > Then connect using the correct uri via the c++ client > tcp://172.18.117.126:61613?wireFormat=stomp&transport.useAsyncSend=false > > j0llyr0

openwire ok, but when using stomp i get: Wire format negociation timeout: peer did not send his wire format.

2007-08-03 Thread j0llyr0g3r
Hi folks, i get the above error message and i am absolutely clueless about what to do. I googled a lot, many hits deal with the same error message but with a quite different situation (in most cases the error occurs when the broker shuts down) The situation: I got activemq running with one sin

Re: Simple network of brokers + faultPersistenceAdapterFactory - Journal is locked

2007-07-31 Thread j0llyr0g3r
gt; > > > > > > > >xmlns="http://activemq.org/config/1.0";> > > > > > > > > > > > >

Simple network of brokers + faultPersistenceAdapterFactory - Journal is locked

2007-07-31 Thread j0llyr0g3r
Hey folks, i am really getting desperate with the configuration of a simple network of brokers... What i wanted to do was: - One instance of activeMQ - 3 brokers running within that instance - 1 Producer and 2 Consumers In Ascii: ConsumerConsumer |

Re: difference between transportConnector and networkConnector

2007-07-31 Thread j0llyr0g3r
Arghh, sorry for the spam guys, with "__regard__" below i meant __regardless__" of course. j0llyr0g3r wrote: > > Hey folks, > > What is the difference between a "transportConnector" and a > "networkConnector"? > > The documentatio

difference between transportConnector and networkConnector

2007-07-31 Thread j0llyr0g3r
Hey folks, What is the difference between a "transportConnector" and a "networkConnector"? The documentation says "Todo", google didn't help me as well. I assume the following: A "transportConnector" specifies the Port(s) to which a broker listens for connections, __regard__ wether this c

Are the amq-message-queues available to jboss?

2007-06-18 Thread j0llyr0g3r
Hey ho folks, my question is a bit specific... Are the amq-message-queues availabe to the external system i.e. Jboss? I know that jboss replicates http-session over the whole cluster, but is Jboss "aware" of the amq-queues? If one machine of the jboss-cluster breaks down => one queue is lost

2 questions about: activemq-cpp, activemq and jboss messaging

2007-06-07 Thread j0llyr0g3r
Hey folks, scince i am quite new to jboss / jms i hope somebody can redeem me from my current confusion..:-) 1.) I have been reading for hours now, but still i don't know wether it is possible to use the activemq-cpp client together with the jboss-messaging. >From what i read so far i conc

RE: JMS C/C++ client without a java proxy

2007-05-30 Thread j0llyr0g3r
Hi again First of all, thx for the replies 1. Regarding the links for activemq-cpp on your website, URL: http://activemq.apache.org/cms.html: Overview * Index * News * Getting Started -> refers to the same website (i.e.http://activemq.apache.org/cms.html) * API -> refe

JMS C/C++ client without a java proxy

2007-05-29 Thread j0llyr0g3r
Hi folks, i posted this issue in several other forums, but since i don't think somebody will reply there maybe you can help me out... I am wondering if there is a C client for JMS which doesn't require a java-Proxy? I know the active-mq website, but the c/c++ client section there is really