[jira] [Commented] (PROTON-614) PHP Fatal error: Uncaught exception 'MessengerException' with message '[-5]: no valid sources'
[ https://issues.apache.org/jira/browse/PROTON-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174933#comment-14174933 ] Haag Olivier commented on PROTON-614: - I also got this problem with php too. > PHP Fatal error: Uncaught exception 'MessengerException' with message '[-5]: > no valid sources' > --- > > Key: PROTON-614 > URL: https://issues.apache.org/jira/browse/PROTON-614 > Project: Qpid Proton > Issue Type: Bug > Components: php-binding >Affects Versions: 0.7 > Environment: Ubuntu Linux on Amazon EC2 >Reporter: Jose Berardo Cunha >Priority: Minor > Labels: php, php-proton > > Sorry, but I don't know if it is really a bug or I'm doing something wrong. > There is no documentation for Proton PHP, so here I am. > Every time I try to execute recv.php sample I get this error: > [0x16d2180]:ERROR[0] (null) > [0x16d2180]:ERROR[0] (null) > CONNECTION ERROR connection aborted (remote) > PHP Fatal error: Uncaught exception 'MessengerException' with message '[-5]: > no valid sources' in /usr/share/php/proton.php:61 > Stack trace: > #0 /usr/share/php/proton.php(146): Messenger->_check(-5) > #1 /home/ubuntu/qpid-proton-0.7/tests/smoke/recv.php(20): Messenger->recv() > #2 {main} > thrown in /usr/share/php/proton.php on line 61 > I've tried all of this command lines: > $ php recv.php > $ php recv.php "amqp://0.0.0.0" > $ php recv.php "amqp://127.0.0.1" > $ php recv.php "amqp://localhost" > $ php recv.php "amqp://localhost:5672" > $ php recv.php "amqp://localhost/myqueue" > $ php recv.php "amqp://localhost:5672/myqueue" > Where myqueue is my first queue created at Qpid 0.28 Web Console. > I'got the same Connection aborted on send.php but what is weird is when I run > send.php against an ActiveMQ Apollo broker I have no error message and I can > see for just one or two seconds one line referring my message sent to it at > its web console. So I presumed that send.php is able to connect an amqp > broker but I don't know why it doesn't connect to Qpid 0.28. > Please, What am I doing wrong, what are valid sources and where can I find > more documentation about the Proton PHP library? > Even the proton.php and cproton.php created by Swig have no comments. > Thank you. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (PROTON-710) Library cproton.so missing from build
[ https://issues.apache.org/jira/browse/PROTON-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier resolved PROTON-710. - Resolution: Fixed Thank you. Swig wasn't installed, I missed it in dependencies. > Library cproton.so missing from build > - > > Key: PROTON-710 > URL: https://issues.apache.org/jira/browse/PROTON-710 > Project: Qpid Proton > Issue Type: Bug > Components: php-binding >Affects Versions: 0.7 > Environment: Debian 3.2.51-1 x86_64 GNU/Linux >Reporter: Haag Olivier > > After the build, there is no *cproton.so* generated although it's what > *cproton.ini* is pointing on. > I check in my module's list and there is no trace of proton. > So I add manualy the *cproton.ini* to my php5/conf.d dir and when I check the > module's list I get: > {quote}PHP Startup: Unable to load dynamic library > '/usr/lib/php5/20100525/cproton.so' - /usr/lib/php5/20100525/cproton.so: > cannot open shared object file: No such file or directory in Unknown on line > 0{quote} > There is only those ones: > - libqpid-proton.so > - libqpid-proton.so.2 > - libqpid-proton.so.2.0.0 > So I try to load them in php but I get this when I get the module's list: > {quote}PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) > ‘libqpid-proton.so’ in Unknown on line 0{quote} > I'm probably wrong somewhere so I ask you here what should I do ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-710) Library cproton.so missing from build
[ https://issues.apache.org/jira/browse/PROTON-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier updated PROTON-710: Environment: Debian 3.2.51-1 x86_64 GNU/Linux (was: UNIX) > Library cproton.so missing from build > - > > Key: PROTON-710 > URL: https://issues.apache.org/jira/browse/PROTON-710 > Project: Qpid Proton > Issue Type: Bug > Components: php-binding >Affects Versions: 0.7 > Environment: Debian 3.2.51-1 x86_64 GNU/Linux >Reporter: Haag Olivier > > After the build, there is no *cproton.so* generated although it's what > *cproton.ini* is pointing on. > I check in my module's list and there is no trace of proton. > So I add manualy the *cproton.ini* to my php5/conf.d dir and when I check the > module's list I get: > {quote}PHP Startup: Unable to load dynamic library > '/usr/lib/php5/20100525/cproton.so' - /usr/lib/php5/20100525/cproton.so: > cannot open shared object file: No such file or directory in Unknown on line > 0{quote} > There is only those ones: > - libqpid-proton.so > - libqpid-proton.so.2 > - libqpid-proton.so.2.0.0 > So I try to load them in php but I get this when I get the module's list: > {quote}PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) > ‘libqpid-proton.so’ in Unknown on line 0{quote} > I'm probably wrong somewhere so I ask you here what should I do ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (PROTON-710) Library cproton.so missing from build
Haag Olivier created PROTON-710: --- Summary: Library cproton.so missing from build Key: PROTON-710 URL: https://issues.apache.org/jira/browse/PROTON-710 Project: Qpid Proton Issue Type: Bug Components: php-binding Affects Versions: 0.7 Environment: UNIX Reporter: Haag Olivier After the build, there is no *cproton.so* generated although it's what *cproton.ini* is pointing on. I check in my module's list and there is no trace of proton. So I add manualy the *cproton.ini* to my php5/conf.d dir and when I check the module's list I get: {quote}PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/cproton.so' - /usr/lib/php5/20100525/cproton.so: cannot open shared object file: No such file or directory in Unknown on line 0{quote} There is only those ones: - libqpid-proton.so - libqpid-proton.so.2 - libqpid-proton.so.2.0.0 So I try to load them in php but I get this when I get the module's list: {quote}PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) ‘libqpid-proton.so’ in Unknown on line 0{quote} I'm probably wrong somewhere so I ask you here what should I do ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-692) Add php build on composer
[ https://issues.apache.org/jira/browse/PROTON-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier updated PROTON-692: Summary: Add php build on composer (was: Add sources on composer) > Add php build on composer > - > > Key: PROTON-692 > URL: https://issues.apache.org/jira/browse/PROTON-692 > Project: Qpid Proton > Issue Type: Wish >Reporter: Haag Olivier >Priority: Minor > Labels: php, php-proton > > Would it be possible to make the php build pullable from composer ? > https://getcomposer.org/ > https://packagist.org/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-692) Add php build on composer
[ https://issues.apache.org/jira/browse/PROTON-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier updated PROTON-692: Labels: php php-proton (was: ) > Add php build on composer > - > > Key: PROTON-692 > URL: https://issues.apache.org/jira/browse/PROTON-692 > Project: Qpid Proton > Issue Type: Wish >Reporter: Haag Olivier >Priority: Minor > Labels: php, php-proton > > Would it be possible to make the php build pullable from composer ? > https://getcomposer.org/ > https://packagist.org/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-692) Add sources on composer
[ https://issues.apache.org/jira/browse/PROTON-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier updated PROTON-692: Description: Would it be possible to make the php build pullable from composer ? https://getcomposer.org/ https://packagist.org/ was: Would it be possible to make the project pullable from composer ? https://getcomposer.org/ https://packagist.org/ > Add sources on composer > --- > > Key: PROTON-692 > URL: https://issues.apache.org/jira/browse/PROTON-692 > Project: Qpid Proton > Issue Type: Wish >Reporter: Haag Olivier >Priority: Minor > > Would it be possible to make the php build pullable from composer ? > https://getcomposer.org/ > https://packagist.org/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (PROTON-692) Add sources on composer
[ https://issues.apache.org/jira/browse/PROTON-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haag Olivier updated PROTON-692: Description: Would it be possible to make the project pullable from composer ? https://getcomposer.org/ https://packagist.org/ was:Would it be possible to make the project pullable from composer ? > Add sources on composer > --- > > Key: PROTON-692 > URL: https://issues.apache.org/jira/browse/PROTON-692 > Project: Qpid Proton > Issue Type: Wish >Reporter: Haag Olivier >Priority: Minor > > Would it be possible to make the project pullable from composer ? > https://getcomposer.org/ > https://packagist.org/ -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (PROTON-692) Add sources on composer
Haag Olivier created PROTON-692: --- Summary: Add sources on composer Key: PROTON-692 URL: https://issues.apache.org/jira/browse/PROTON-692 Project: Qpid Proton Issue Type: Wish Reporter: Haag Olivier Priority: Minor Would it be possible to make the project pullable from composer ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)