You will need to provide information on errors you are getting at the moment we know the same as you.
Sorry, I can't do this, because from C++ I can check only success invocation of java-method in the my connector java-class. If the result of invocation is not success - I try write error message to stderr.
I redirect stdout&stderr from C++ to log files.
The messages from C++ about how works programm are writed to this files
Nothing else not exists in my log files.
May by I can set some connection properties (like timeout etc) on the client side, because in the same way, but with JBoss+MySql, running on my host system every things OK (and not sow slow connections).
By the way, other java Application from my host works OK with the JBoss on the that Linux.
Unles you can find a way to log errors from the Java part of your application that is connecting to JBoss you will not be able to get any help.
How about adding log4j to the 'little java app' to log what is happening and make sure any thrown Exceptions are logged.
I was try to use log4j some months ago, but unsuccessfully. Somthing was wrong.
On the server side I have not any error message in the JBoss log file.
I'll retry to use the log4j (or something else).
Thank's for Your attention.
Thank's for all!
The problem was in the properties file with the server IP.
When app starts as NTSErvice this file(old version) was found in the system32 dir. Otherwise - in app start directory.