Skip to main content
1-Visitor
November 23, 2017
Question

Custom server side Java classes for trigger scripts

  • November 23, 2017
  • 2 replies
  • 1912 views

The BSF for trigger scripts can be extended with Java, the classes have to be in "IntegrityServer/data/java/classes".
Changes and additions are only visible to the script framework after the server ha been restarted.
Is there a way to reload new and changed classes without a server restart?

 

Regards,

Kai.

 

2 replies

5-Regular Member
November 23, 2017

Hi Kai,

 

No, there is currently no way, besides restarting the server, to pickup and reload the new classes.

 

You'd have to post a product idea if you desire that functionality, and product management could review such request.

17-Peridot
March 18, 2018

Hello Kai,

did you try this?

https://stackoverflow.com/questions/2738342/deploying-java-class-files-without-restarting-jboss

and what about this as a programmatic alternative:

https://www.toptal.com/java/java-wizardry-101-a-guide-to-java-class-reloading

I know that a former customer from us solved it, just I don't know how anymore 😞

Regards