Hello,
I have a big JBoss application. Some big C++ (TAO) application is connecting to it. The C++ app connects to Jboss application at startup and exchanges some data.
When I start 1 C++ app, the connection works OK.
When I start 5 C++ apps simulatenously, none of them can connect and communicate with JBoss app. Errors start appearing in JBoss log:
2010-09-16 13:59:37,065 RequestProcessor-6 WARN [com.siemens.bicnet.servicelocator.BiCNetServiceLocator] No CF Service Locator registered with the global SL for securityManager
2010-09-16 13:59:37,829 RequestProcessor-6 WARN [jacorb.poa] rid: 8 opname: getLicenseKeyList invocation: throwable was thrown, null
2010-09-16 13:59:37,830 RequestProcessor-6 ERROR [jacorb] org.omg.CORBA.UNKNOWN vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
at org.jacorb.poa.RequestProcessor.process(Unknown Source)
at org.jacorb.poa.RequestProcessor.run(Unknown Source)
In case of failure, C++ app tries gets a reference to JBoss app from NamingService and starts the communication again, but - when there is one failed connection and there is an error shown above, all subsequent connection retries fail ( the above error appears in log many times ) - JBoss app can not recover.
When I add -Xdebug option to JBoss, and start 5 C++ apps (like above), in JBoss log I can see one or two errors like these, but next connection retry succeeds and everything works OK! Surprisingly, JBoss startup time and connection speed betweed apps is not slower in debug mode. Can anyone give me a hint, what can be the cause of the problem?..
JBoss 3.2.6, Java 1.4
Thanks!