ActiveMQ Basic Queries

2009-01-05 Thread Antriksh Verma
Hi ActiveMQ Fellas .. I am new to this [Excellent] Messaging System. I have Downloaded ActiveMQ 5.1[binary,src],have Activated Admin Console[Tracking], [on J2SE [Java(TM) SE Runtime Environment (build 1.6.0_02-b05)]]. Following are my queries : 1. When i run Producer[Test example ant producer],i

Unable to Stop ActiveMQ Broker from activemq-admin script

2009-01-05 Thread MaenXe
I recently tried to password protect the JMX Connector using the instructions here: http://activemq.apache.org/jmx.html#JMX-PasswordProtectingtheJMXConnector Now when I try to stop the broker using "activemq-admin stop" I get the following error: Error: Exception thrown by the agent : java.rmi.s

[Apache.NMS.ActiveMQ]using FailoverTransport

2009-01-05 Thread wangchao
Hello everyone: I encountered a problem when messaging with ActiveMQ. I'm trying to achieve that,sending message to particular ActiveMQ Broker no mater it's running or not.And I found the failoverTransport.So I wrote some codes as below to test: NMSConnectionFactory fact = new

Problem with Persistence

2009-01-05 Thread yanhongsan
I found a problem.When I send 100 messages to the activemq server the first time , I can receive the messages well. However I cannot send any message to the server later. Because the queue is blocked. If the 100 sended messages just now is not persistent ,I can receive messages and send message. T

ObjectMessage to .NET clients?

2009-01-05 Thread uprooter
Hello. Fix me if I'm wrong but ObjectMessage can hold any kind of object that implements Serialiazable. The API says "Only Serializable Java objects can be used". Does that means that I can't pass objects from java to .net client and vice versa with ActiveMQ? I've tried that and I get null body in

Re: NPE for ${requestContext.brokerQuery.brokerAdmin.brokerName}

2009-01-05 Thread Shahzad Bhatti
I made some progress and I can see the first page index.jsp shows up properly, but when I try to add queue it fails, here is my webapps/admin/WEB-INF/webconsole-embedded.xml credentials.properties

Re: NPE for ${requestContext.brokerQuery.brokerAdmin.brokerName}

2009-01-05 Thread Shahzad Bhatti
Sorry, for the late reply but I have both of those files in WEB-INF and as I mentioned I copied all files from admin's WEB-INF except activemq.xml, which I simplified with minimum configuration. Any other ideas? Thanks. Dejan Bosanac wrote: > > Hi, > > as far as I can see from your configura

REST WSDL/WADL

2009-01-05 Thread uprooter
Hello. I'm trying to pass complex types from .NET clients to java clients with AMQ. I'm using XSD to generate the complex types in both java and .NET. I tried to pass my complex types inside ObjectMessage but the .NET client was unable to read them properly. After coming across NMS ObjectMessage

Re: 5.2.0 JAAS Problem

2009-01-05 Thread Dejan Bosanac
Hi, the default properties login module uses two files (users and groups), so I guess that's why you are getting this exception. Try following the example shown on the security page http://activemq.apache.org/security.html#Security-Authentication Regards -- Dejan Bosanac Open Source Integration

Re: 5.2.0 JAAS Problem

2009-01-05 Thread geezmo
No, not really. The tutorial I followed used this. With org.apache.activemq.jaas.PropertiesLoginModule I had another error on authenticating for the web console. Something with "User not in required role." Maybe you know the reason for that. Do you have/know a working tutorial for 5.2.0 with requ

Re: 5.2.0 JAAS Problem

2009-01-05 Thread Dejan Bosanac
Is there any specific reason you are using org.mortbay.jetty.plus.jaas.spi.PropertyFileLoginModule instead of org.apache.activemq.jaas.PropertiesLoginModule? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://

Re: 5.2.0 JAAS Problem

2009-01-05 Thread geezmo
Hello Dejan, first thanks for you reply. I think I provide valid login data because stated in the warning message WARN Service- Failed to remove connection ConnectionInfo {commandId = 0, responseRequired = true, connectionId = ID:tank2-58514-1230731215437-2:0, clientId =

Re: 5.2.0 JAAS Problem

2009-01-05 Thread Dejan Bosanac
Hi, it looks like you are trying to connect from Stomp client and you are not providing valid credentials. Can you check if you are passing username and password in your "connect" call. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manni