Problems in session with the EXTERNAL autenticaction.

2010-04-19 Thread Joan Bellver Faus
Hello, I'm using the c++ broker and java client, for authentication using the SASL mechanism EXTERNAL. My question is that when a user tries excute an action that is not allowed in the file acl, the broker I disabled the whole session, not may take further action on that session, since I

Re: Problem with Session.addBroker(), Exchange names beginning with "amq." or "qpid." are reserved.

2010-03-23 Thread Joan Bellver Faus
Quoting Gordon Sim : On 03/13/2010 06:18 PM, Joan Bellver Faus wrote: Hi, I have a problem when trying to connect to a broker in order to manage a session with the managament, well my code is as follows: String connectionBroker = "amqp://guest:guest@/test?brokerlist='tcp://localhos

Re: Problem with Session.addBroker(), Exchange names beginning with "amq." or "qpid." are reserved.

2010-03-15 Thread Joan Bellver Faus
Hi, thanks for your response, I tried to put the argument -Dqpid.declare_exchanges=false but I get this new error: org.apache.qpid.console.ConsoleException: javax.jms.JMSException: Exception when sending message at org.apache.qpid.console.Broker.send(Broker.java:343) at

Problem with Session.addBroker(), Exchange names beginning with "amq." or "qpid." are reserved.

2010-03-13 Thread Joan Bellver Faus
Hi, I have a problem when trying to connect to a broker in order to manage a session with the managament, well my code is as follows: String connectionBroker = "amqp://guest:guest@/test?brokerlist='tcp://localhost:5671?ssl='true',sasl_mechs='EXTERNAL''"; sess.addBroker(connectionBroker);

Re: Recharging ACL file from Java Client

2010-03-02 Thread Joan Bellver Faus
Hello, thank you for your contribution, but i only was interested in using Java code, not python, or tools such as qpid-tool, in any case thank you very much. Finally i think i have solved the problem, my example code, by if someone could also serve, is: ArrayList qmf = ne

Re: Recharging ACL file from Java Client

2010-03-01 Thread Joan Bellver Faus
Quoting Carl Trieloff : On 03/01/2010 07:19 AM, Joan Bellver Faus wrote: Quoting Carl Trieloff : yes, place the new file and then there is a QMF method that can be called to relaod the ACL. If the new ACL file has errors, the old files runs will stay in place. Hi, I tried to use

Re: Recharging ACL file from Java Client

2010-03-01 Thread Joan Bellver Faus
. Carl. On 02/26/2010 11:51 AM, Joan Bellver Faus wrote: Hi, is there any way to recharge the ACL file while the Broker is running using a Java Client? We are using the C++ Broker (version 0.5) and the Java client (trunk version). We have tested that this can be done using the python client

Recharging ACL file from Java Client

2010-02-26 Thread Joan Bellver Faus
Hi, is there any way to recharge the ACL file while the Broker is running using a Java Client? We are using the C++ Broker (version 0.5) and the Java client (trunk version). We have tested that this can be done using the python client, but we do not find the way to do it using the java cl

Re: broker c++ and java client with SASL External security mechanism

2010-02-18 Thread Joan Bellver Faus
Quoting Gordon Sim : On 02/18/2010 10:10 AM, Joan Bellver Faus wrote: Hello, my question is if the qpid version 0.5 supports sasl external authentication. No, but that feature is coming very soon (https://issues.apache.org/jira/browse/QPID-2412). OK, thanks

broker c++ and java client with SASL External security mechanism

2010-02-18 Thread Joan Bellver Faus
Hello, my question is if the qpid version 0.5 supports sasl external authentication. Thanks This message was sent using IMP, the Internet Messaging Program.

Re: someone has been communicating a java client with a c++ broker in the port ssl?

2010-02-15 Thread Joan Bellver Faus
run your client with -Djavax.net.debug=ssl and see if you get any errors? If you do please paste them in an email and send to the list. On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver Faus wrote: Quoting Rajith Attapattu : May I know what version you are using? 0.5, 0.6 or trunk? If you are

Re: someone has been communicating a java client with a c++ broker in the port ssl?

2010-02-15 Thread Joan Bellver Faus
rsion should work. by trunk version I meant if you built the client from source (from the trunk). Could you run your client with -Djavax.net.debug=ssl and see if you get any errors? If you do please paste them in an email and send to the list. On Fri, Feb 12, 2010 at 11:14 AM, Joan Bellver

Re: someone has been communicating a java client with a c++ broker in the port ssl?

2010-02-13 Thread Joan Bellver Faus
Quoting Rajith Attapattu : The 0.5 version should work. by trunk version I meant if you built the client from source (from the trunk). Could you run your client with -Djavax.net.debug=ssl and see if you get any errors? If you do please paste them in an email and send to the list. yes, i

Re: someone has been communicating a java client with a c++ broker in the port ssl?

2010-02-12 Thread Joan Bellver Faus
? Rajith On Fri, Feb 12, 2010 at 10:05 AM, Joan Bellver Faus wrote: Hello, someone has been communicating a java client with a c++ broker  in the port ssl? I can't get it,but I get the following error : error could not accept socket: Failed: Unknown NSS error code. [

someone has been communicating a java client with a c++ broker in the port ssl?

2010-02-12 Thread Joan Bellver Faus
Hello, someone has been communicating a java client with a c++ broker in the port ssl? I can't get it,but I get the following error : error could not accept socket: Failed: Unknown NSS error code. [-5938] This message was sent

Error to connect broker c++ with ssl: Could not accept socket

2010-02-05 Thread Joan Bellver Faus
Hello, I am trying to connect a java client to a broker c++ on a ubuntu machine with active ssl module. The first thing I do is create the CA with their databases, then the server side and client side (following the mozilla manual http://www.mozilla.org/projects/security/pki/nss/ref/ssl

Install ssl module in qpidc-0.5

2010-02-02 Thread Joan Bellver Faus
Hello, I have two questions the respect of the installation of ssl support for Qpid. When installed the nss and nspr Libreries, this create a two directory in /src/include, this are nss and nspr, but when i make install de qpid, it try find the directory nspr4 and nss3, my solutions is