On 16/05/2018 16:48, Leyne, Sean wrote:
>
>
>>>> We are testing FBJava plugin to see how well it suits our purposes.
>>>> For the testing we use example provided with the package. It works
>>>> well when deployed directly into the DB. However, when JAR is placed
>>>> externally, org.firebirdsql.fbjava.examples.fbjava_example example.
>>>> FbLogger stops working. The same happening with our own packages.
>>>>
>>>
>>> What means "stops working"?
>>>
>>> BTW, you can config the plugin to open a Java debug port and connect
>>> to it via tha Java IDE.
>>
>> The doc did not outline that this was possible.
>
> Should have added.
>
> How should the plugin be configured to activate the debug port.
>
With the latest (master) version, put in conf/jvm.args something like this:
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n
And in conf/fbjava.conf:
Config = JAVA_config {
JvmArgsFile = $(this)/jvm.args
...
}
Adriano
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel