Search found 181 matches

by luis
Mon Apr 11, 2011 2:35 pm
Forum: Installation issues
Topic: Use of connection pool C3P0
Replies: 1
Views: 2803

Hi.
Try adding the following on cyclos.properties:

Code: Select all

hibernate.c3p0.testConnectionOnCheckout = true
hibernate.c3p0.preferredTestQuery = select 1
hibernate.c3p0.acquireRetryAttempts = 3
It should fix.
This will be default for cyclos.properties on 3.6
by luis
Tue Dec 28, 2010 8:55 am
Forum: Functionality & Features
Topic: Failing to run application
Replies: 1
Views: 1060

Hi. The first possible reason that comes to mind is the java version. Which is the java version on the older machines, and on the new ones? Are you running a 3.6 development version or 3.5? 3.6 had some dependency changes, specially CXF, which deals with JAXB. Also, could you install a recent java 6...
by luis
Mon Oct 25, 2010 9:20 am
Forum: Cyclos Bug - problem reporting
Topic: Web services issue
Replies: 1
Views: 910

Hi.
The wiki page is updated according to the last code on CVS, but was not released yet.
All those changes will be on the next version, including the system to member payment bug.
by luis
Mon Oct 25, 2010 9:17 am
Forum: Cyclos Bug - problem reporting
Topic: How to allow for an external payment authentication?
Replies: 3
Views: 1934

Hi.
It is not clear if you want to make a payment request from the main web channel and confirm it on the main as well (this is implemented as invoice) or make a request for another channel (which is also implemented, as payment requests, but is another permission).
by luis
Wed Oct 06, 2010 1:13 pm
Forum: Cyclos Bug - problem reporting
Topic: hash-code
Replies: 5
Views: 1729

We used md5 on cyclos 3.0, and decided to change to sha256 on 3.5. However, as it was impossible for us to "unhash" the md5 to "rehash" on sha256, we simply applied sha256 over the existing md5. So, the rule is: If the database was created with cyclos 3.5 or newer, the passwords will be hashed with ...
by luis
Wed Jan 27, 2010 7:12 am
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

The idea of the payment request is the 2-way payment, where the payment receiver initiates the payment, and the payer receives a notification and confirms it. It's specially well suited for SMS payments: the payer receives an SMS message, replies and the payment is done. From Cyclos point of view, u...
by luis
Mon Jan 25, 2010 7:50 am
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

There are 2 types of tickets for web services: * Web shop: Generated as your previous post. * Payment request: Like an invoice, but for an user to request a payment from other channel. You have generated the ticked with the WebShopWebService, and trying to expire it using the PaymentWebService. Thes...
by luis
Fri Jan 22, 2010 7:20 am
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

Unfortunately, you'll probably loose several minutes on this, as there are several tables involved... First you have to find the internal id: select id, username from users where username='jqpublic'; You'll have 2. Then find the one with the wrong name: select id, name from members where id in (id1,...
by luis
Thu Jan 21, 2010 7:17 am
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

No, the opposite is true: From your previous post: test.generate {|soap, wsse| soap.body = {:params => { :toUsername => 'suziqpublic' , :amount => 1.0, :clientAddress => '127.0.0.1', :returnUrl => 'http://localhost:8080/cyclos3/'}}; wsse.username = 'jqpublic'; wsse.password = 'public'; wsse.digest =...
by luis
Wed Jan 20, 2010 3:24 pm
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

After a small debugging, I found the bug. Your database has 2 users with the same username jqpublic: one active with name John Q. Public and one removed with name Suzy Q. Public. The bug is that when passing the username jqpublic, cyclos is not ignoring the removed members, so that member does not h...
by luis
Wed Jan 20, 2010 11:08 am
Forum: Cyclos Bug - problem reporting
Topic: possible bug webservices
Replies: 14
Views: 6335

> As follows: I'm programming in Ruby 1.8.7 (did your world go sideways?) Absolutely not. I'm a fan of Ruby myself... :) About your problem: Do you mind sending us the database, so we could check the exactly what it is. Send it to luis (at) instrodi (dot) org. We are working to include in Cyclos 3.6...
by luis
Thu Jan 07, 2010 8:32 am
Forum: Installation issues
Topic: Using Oracle instead of MySQL
Replies: 7
Views: 8651

Well, the definitive solution involves changing several xml files which maps the entity classes to database tables in Hibernate. Under the distribution package (cyclos_3.5.5.zip) they are located in several subfolders of src/nl/strohalm/cyclos/entities, and are named *.hbm.xml. Of course, you need t...
by luis
Wed Jan 06, 2010 8:33 am
Forum: Installation issues
Topic: Using Oracle instead of MySQL
Replies: 7
Views: 8651

The database tables creation is handled by Hibernate, which ignores any errors, thus, we can't know why some tables were not created. However, you could manually run the Cyclos setup to export the script to a file. Then you could run this script in Oracle to see what went wrong. Probably, there's a ...
by luis
Wed Apr 22, 2009 10:43 am
Forum: Functionality & Features
Topic: web services from Python
Replies: 2
Views: 1596

I've executed your example here in a debug environment and the parameters are arriving with the code you've posted, except for the booleans. For some reason, the True value sent by python is interpreted by CXF (the SOAP library we use) as false. It seems to be case sensitive, only considering the lo...
by luis
Mon Mar 27, 2006 9:00 am
Forum: Functionality & Features
Topic: javax integrated mail function not working
Replies: 8
Views: 5489

The class for sending mail is nl.strohalm.cyclos.utils.mail.EmailSender. It is just a wrapper arround JavaMail. If you leave the "Email from" setting empty, you will always get a "501 Syntactically invalid HELO argument(s)" from the server... You could run that class in a standalone class and make s...