Thanks Aurelien. I think this problem is similar to the embedded MAVEN inside Eclipse (latest version). My machine (Win 7 64 bits) was already configured as described on the link you sent.
For each step below I rolled back to the original settings.
Firstly, I tried to insert the parameter “-Djava.net.useSystemProxies=true” in the JAVA_OPTS of my machine for alls users. Maven did not work!
Secondly, I tried to put the command before calling Eclipse. Maven did not work!
Thirdly, I tried to go to Control Panel => Java Settings. I tried all proxy combination, restarted Eclipse many times. Maven did not work!
Fourthly, I tried different ways using the solution with “http.proxyHost” with / without authentication. Maven did not work!
Finally, the solution was creating the file “settings.xml” on the “.m2” directory, adding a tag and other configuration, as explained on the maven documentation.
Bonita Studio has the initialization file “BonitaBPMCommunity.ini”, but it did not helped me and freezes the application when I set the property “-Djava.net.useSystemProxies=true” there.
If, as you said, the connectors run on a separate Java machine, you need to provide a similar solution as Maven. You are the owner of the connector, aren’t you ?
Maybe you should change the interface for your connectors in order to force the injection (DI) or method call to force other methods to configure the proxy in different ways.
In my opinion, you should let the user to configure the proxy individually for many reasons (out of scope, but flexibility). By default it is configured to use the same proxy solution as the Bonita Studio.
During the initialization (run time), the connector configure itself as specified before (design time).
Shall I open an issue on Jira for this case ?