HELP! Java app not working when using cmd.php / cactid

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fxlamare
Posts: 1
Joined: Thu Mar 09, 2006 4:56 am

HELP! Java app not working when using cmd.php / cactid

Post by fxlamare »

Hi !


First, _Congrats_ for this wonderful project !! :)

I developped a small Java app that connects to a server to get some values and return them the correct way for cacti parsing.

When launched from the command line, my Java app works perfectly.

When launched by a poller (be it cmd.php or cactid, i tried both), my java app generates an exception when trying to connect to the server.

I used TCPDUMP to see what was happening, and 2 packets get displayed (the query and it's response) when the poller starts, and then, nothing happens...

I guess it's 'freezing' because my Java app create some threads to get the data... and those ones are failing to launch (??)

I tried many things like increasing memory in php.ini, changing the poller, with no results.

If anyone could point me to a solution about this.... :(


Best regards, thanks in advance...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest