Re: Beginner problem with ActiveMQ Configuration

2007-11-11 Thread Tom Samplonius
You need to make sure activemq.base is defined. If you look at the startup script included in the distribution, you'll see it sets a bunch of defines, including activemq.base. - Sam Lieber [EMAIL PROTECTED] wrote: I am new to ActiveMQ and I need help with initial configuration. I

Re: ActiveMQ NetMon

2007-11-05 Thread Tom Samplonius
If Netmon is just opening the socket, and then closing it, ActiveMQ will complain. I don't think it should dump a stack trace though. Tom - sparky2708 [EMAIL PROTECTED] wrote: I am having issues monitoring activemq with netmon (10.0.1.8 is where netmon is running): ERROR

Re: Ruby + SSL + Stomp

2007-11-03 Thread Tom Samplonius
- Marcos Alvares [EMAIL PROTECTED] wrote: Hello, I trying to build a secure application with ruby using stomp over ssl ( Not ssl over stomp ). Like a: Stomp::Client.open( '', '', 'localhost', 61613, false) Inside the 61617 ssl connection provided by the message broker. Does

Re: jaas security

2007-10-25 Thread Tom Samplonius
- lancedv [EMAIL PROTECTED] wrote: Hi guys, Im trying to use jaas in my activemq instance and have followed the instructions in the security page and some hints in this forum but im getting this error when starting activemq: ERROR BrokerService - Failed to start

Re: Security Issue

2007-09-19 Thread Tom Samplonius
- ttmdev [EMAIL PROTECTED] wrote: Out of the box, ActiveMQ provides a modest authentication service via the simpleAuthenticationPlugin. See http://activemq.apache.org/security.html . When enabled it will force the clients to provide a valid userid and passwd in order to successfully

Re: useJMX=true? but how to set the userName and Password ??

2007-08-26 Thread Tom Samplonius
- pplive [EMAIL PROTECTED] wrote: if not set, anybody can connect through JMX and do management managementContext managementContext connectorPort=1099 jmxDomainName=org.apache.activemq/ /managementContext any sample xml code ??? The wiki has an example:

Re: Socket Woes

2007-08-10 Thread Tom Samplonius
- Elliotte Harold [EMAIL PROTECTED] wrote: There are known bugs in Stomp in 4.1.1. And there were some issues with sockets not being cleaned up properly. I would re-test with a 5.0-snapshot. Tom Could you elaborate on these? This may also apply to some issues the

Re: difference between transportConnector and networkConnector

2007-08-10 Thread Tom Samplonius
Not quite. transportConnectors are for message consumers/producers (ie clients). networkConnectors are for broker-to-broker communications. If you only have a single broker, you can remove all networkConnectors (probably a good accepted practice). As you can probably imagine, brokers

Re: SAN Hardware for Master/Slave Architecture

2007-08-10 Thread Tom Samplonius
- RobBugh [EMAIL PROTECTED] wrote: I'm going to install ActiveMQ in a shared file system Master/Slave configuration. I see on the ActiveMQ web site that SAN is suggested as the shared file system. Unfortunately, I don't know much about SAN technology and what choices I have. Is there

Re: Socket Woes

2007-08-09 Thread Tom Samplonius
- cronos [EMAIL PROTECTED] wrote: ... Envirnoment == Activemq 4.1.1 (binary) Stomp php J2SE 5.0 update 8 Cent OS 4 - version 20060930 ... There are known bugs in Stomp in 4.1.1. And there were some issues with sockets not being cleaned up properly. I would re-test

Re: Client Disconnection Bug?

2007-07-27 Thread Tom Samplonius
- cronos [EMAIL PROTECTED] wrote: ... It is expected AMQ 4.1.1 behaviour that the client MUST wait until a message arrives in the queue before disconnecting? Any help appreciated. The behavior you are seeing is expected. You should not try to read another Stomp frame if you don't

Re: ActiveMQ vs ?

2007-07-24 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: ... You don't loose them; the destinations don't appear by default until you produce/consume from them. ... Though it would be cool if ActiveMQ didn't forget the messages were there, like it does know. Right now, the counters go negative if

Re: Apache 2.2 and file-descriptors

2007-07-19 Thread Tom Samplonius
- [EMAIL PROTECTED] wrote: Hi, We are running a SunOS 5.9 box, with apache 2.2.4... and we have run out of inodes, is any possible way for increasing file descriptors without having stdio issues or other like issues? it's a production machine and I'm playing with my job :(... lol

Re: kaha store corrupted ? 100% CPU on ActiveMQ restart

2007-07-19 Thread Tom Samplonius
- smo [EMAIL PROTECTED] wrote: Hi! I am facing a problem on restarting ActiveMQ. The CPU is at 100% and ActiveMQ is not available. The console hangs on this line : INFO KahaStore - Kaha Store using data directory c:\ActiveMQ\activemq-data\kaha.db Here are the

Being serious about secure by design (was Re: About releases and bugs)

2007-06-28 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: ... Authentication and security should be mandatory, but the ActiveMQ.Agent feature doesn't work if auth is enabled. I'm not aware of any any MOM where authentication and security are mandatory out of the box; its usually always something you

Re: Secure messaging?

2007-06-27 Thread Tom Samplonius
- pascals [EMAIL PROTECTED] wrote: - The one at codehaus, which uses deprecated socket functions. The sockets extension is still available, though not installed by default. - A patched one that solves the socket issue. I've seen it posted here. I assume it used the more flexible

Re: About releases and bugs

2007-06-27 Thread Tom Samplonius
I have to agree with most of this. ActiveMQ is a buggy as hell. In my testing, I'd have to say ActiveMQ 4.1.1 is completely unusable in production. I'm told that it is used in production somewhere, but I suspect the usage is extremely narrow. I'd like to know what usage actually works.

Is ActiveMQ.Agent auth possible?

2007-06-24 Thread Tom Samplonius
I've encountered a strange problem with the ActiveMQ.Agent and auth. If auth for destinations is defined, ActiveMQ fails on startup as it can't create the ActiveMQ.Agent queue. This is with a recent 5.0 snaphost. This is the error: java.lang.Exception:

Re: Defining queue in activemq.xml

2007-06-22 Thread Tom Samplonius
- Jonas Lim [EMAIL PROTECTED] wrote: Hi Tom, Here's the link on startup destinations http://activemq.apache.org/configure-startup-destinations.html Regards, Jonas Tahnks, I eventually found that page, and I linked the configuring queues page to that page. The Wiki needs a

Defining queue in activemq.xml

2007-06-21 Thread Tom Samplonius
How do you define a queue in activemq.xml? I looked at the XSD and the best that I could come up with is: destinations queue name=myqueue / /destinations But this causes a null pointer exception. It is very hard to find documentation on this type of thing. I've seen an example on

Actually getting Stomp support to a usable state...

2007-06-20 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: ... Just use the JAAS plugin in ActiveMQ and you're good to go; the Stomp code uses whatever security plugin you're using As has been discussed, this is broken, and has been since 4.1.1 or earlier. Is there any sort of roadmap to the ActiveMQ

Re: Pythin and MapMessage

2007-06-18 Thread Tom Samplonius
- Albert Strasheim [EMAIL PROTECTED] wrote: ... P.S. My previous suggestion still stands: if you want to use PyActiveMQ with MapMessage, you need to use the Openwire wire format. Good suggestion. Especially, since Stomp has some bugs in ActiveMQ, not just just in the C++ library.

Re: Getting Stomp support to a usable state...

2007-06-13 Thread Tom Samplonius
- PieterN [EMAIL PROTECTED] wrote: Patch: --- ../../../activemq-snapshot/src/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java ... I've tried this patch, and it doesn't change anything. Stomp clients can still connect with any username, and

Re: setDeleteAllMessagesOnStartup(true) and MySql

2007-06-11 Thread Tom Samplonius
- Raffaele [EMAIL PROTECTED] wrote: ... To accomplish this can I use setDeleteAllMessagesOnStartup(true) on startup or have I to use specific SQL delete statement on activemq DB? ... You should look into the URI configuration. You can set certain Xbean config options on the command

Re: Unrecognized xbean element mapping: in namespace http://activemq.org/config/1.0

2007-06-08 Thread Tom Samplonius
- mogan [EMAIL PROTECTED] wrote: I am trying to add Authentication Plugin to ActiveMQ, and I am getting the following exception. I also looked at this posting. http://mail-archives.apache.org/mod_mbox/activemq-dev/200704.mbox/[EMAIL PROTECTED] and [activemq.xml] broker

Re: Recommended version of ActiveMQ?

2007-06-07 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: On 5/30/07, Tom Samplonius [EMAIL PROTECTED] wrote: Ok, but Stomp is buggy in 4.1.1. ActiveMQ 4.1.1 loses un-acknowledged messages if your consumer crashes without sending a DISCONNECT message. So, I guess I need to use a 4.2-SNAPSHOT

Re: Has anyone experienced major kaha failure?

2007-06-07 Thread Tom Samplonius
I have. Just kill -9 the java process to simulate a power failure. Try various producer and consumer combinations. In certain circumstances ActiveMQ will not be able to auto-recover, because it tries to access a file that should not be there (ie data--2). There is a bug in the code,

Re: ActiveMQ + PHP + Stomp = ActiveStack ??

2007-06-07 Thread Tom Samplonius
- Hiram Chirino [EMAIL PROTECTED] wrote: That's awesome.. Has anybody put stuff up on http://pecl.php.net before?? I think that would be the best place to host the PHP Stomp impl. What do you guys think? Regards, Hiram If you do that, make sure to include a note to use a

Re: Getting Stomp support to a usable state...

2007-06-07 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: On 6/2/07, Tom Samplonius [EMAIL PROTECTED] wrote: How much more work needs to occur to get Stomp protocol support to a usable state? Huh? :) Its very useable right now James, Another component of getting Stomp to a usable state

Re: MySQL datastore

2007-06-07 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: On 6/1/07, Doug Steigerwald [EMAIL PROTECTED] wrote: I'm currently trying to set up ActiveMQ to use MySQL as the data store. ActiveMQ connects to the database and creates some tables if it needs to, but nothing is stored in the ACTIVEMQ_MSGS

Re: Getting Stomp support to a usable state...

2007-06-06 Thread Tom Samplonius
- James Strachan [EMAIL PROTECTED] wrote: On 6/2/07, Tom Samplonius [EMAIL PROTECTED] wrote: How much more work needs to occur to get Stomp protocol support to a usable state? Huh? :) Its very useable right now The biggest issue is lack of any authentication support for Stomp

Re: Getting Stomp support to a usable state...

2007-06-03 Thread Tom Samplonius
- Tom Samplonius [EMAIL PROTECTED] wrote: The Web Console has similar issues. There is no easy way to password protect it. But if you password protect JMX access, it will break the Web Console. ... I was wrong here. I based my comment on this bug report: http://www.nabble.com

Getting Stomp support to a usable state...

2007-06-02 Thread Tom Samplonius
How much more work needs to occur to get Stomp protocol support to a usable state? The biggest issue is lack of any authentication support for Stomp, so anyone with access to the Stomp port can get and send anything. I can't imagine that anyone is using Stomp in production yet. But is

Does JAAS work for Stomp access?

2007-05-31 Thread Tom Samplonius
I'm trying to implement some security on queues for Stomp clients. I have this config: plugins jaasAuthenticationPlugin configuration=activemq-domain / authorizationPlugin map authorizationMap authorizationEntries authorizationEntry

Re: Kind of consumer faliover

2007-05-29 Thread Tom Samplonius
- ego [EMAIL PROTECTED] wrote: ok for the queue so it's not possible for Topic consumers ? I guess, the real question is why? If you only want your message to go to a single consumer, why even use topics? You requirements is for queue behavior, so I think you should use a queue.

Recommended version of ActiveMQ?

2007-05-29 Thread Tom Samplonius
What version of ActiveMQ do people recommend? I plan to use Stomp with a single broker. Tom

Re: Recommended version of ActiveMQ?

2007-05-29 Thread Tom Samplonius
many messages are in persistent storage on startup. But that bug is just annoying. - Bruce Snyder [EMAIL PROTECTED] wrote: On 5/29/07, Tom Samplonius [EMAIL PROTECTED] wrote: What version of ActiveMQ do people recommend? I plan to use Stomp with a single broker. ActiveMQ 4.1.1

Re: 4.1.1 and Stomp; lost unacked messages

2007-05-27 Thread Tom Samplonius
- Tom Samplonius [EMAIL PROTECTED] wrote: I noticed some strange behavior with ActiveMQ 4.1.1 and the Stomp protocol. When I connect, I set the ack mode to client. I read a message, and exit. Since I did not ack the message, I should expect to get the same message on next execution

4.1.1 and Stomp; lost unacked messages

2007-05-26 Thread Tom Samplonius
I noticed some strange behavior with ActiveMQ 4.1.1 and the Stomp protocol. When I connect, I set the ack mode to client. I read a message, and exit. Since I did not ack the message, I should expect to get the same message on next execution, and I do, as long as I do an explicit