unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

code after jaxl shutdown in cli mode #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create any jaxl object with cli mode

What is the expected output? What do you see instead?
Continue the load of next php code.

What version of the product are you using? On what operating system?
2.1.2-rc2 , debian 

Please provide any additional information below.

I want to use jaxl inside of a drupal module that lets create users, groups, 
and execute certain xmpp methods (some with admin privileges) obtaining the 
result. I see that when runing in cli mode everything after the jaxl shutdown 
is not executed, making jaxl usable only in standalone mode. 

Original issue reported on code.google.com by ale...@gmail.com on 25 Nov 2011 at 4:02

GoogleCodeExporter commented 9 years ago
I've found that changing exit to return in jaxl.class.php line  641 let me 
continue with and html markup and php code afterwards,

Original comment by ale...@gmail.com on 26 Nov 2011 at 9:35

GoogleCodeExporter commented 9 years ago
I'm using JAXL in a long-running daemon that needs to handle 
disconnect/reconnect from the server and also had to address this issue (ie. a 
hard-coded exit for cli mode); my solution was to fork a child process to run 
JAXL .. when the child exited, the parent picked up and continued running.

I thought about requesting or writing a "daemon" mode that would not exit, but 
for my purposes the forking process approach also comes with the advantage of 
keeping potential memory leaks in check.

Original comment by jesse.no...@gmail.com on 6 Jan 2012 at 3:44

GoogleCodeExporter commented 9 years ago
Hello Friends,

I am no longer accepting issues/bugs on google code issue list.

Have any Question? Want to discuss? Need Help? Use Google Group/Forum.
https://groups.google.com/forum/#!forum/jaxl

Found something missing or a bug in the source code? Kindly report an issue.
https://github.com/abhinavsingh/JAXL/issues

Sorry for any inconvenience caused.

--
Abhinav

Original comment by mailsfor...@gmail.com on 12 Sep 2012 at 9:49