Moderator: Brekeke Support Team
-
vaclav_prokes
- Posts: 22
- Joined: Tue Feb 19, 2013 5:23 pm
Post
by vaclav_prokes »
1. Brekeke Product Name and Version:
3.5.5.2/424-1
2. Java version:
1.8.0_91
3. OS type and the version:
Windows 2003 64bit
4. UA (phone), gateway or other hardware/software involved:
5. Your problem:
I'm working on plugin. How to "unload" plugin and load new version ?
When I build plugin and test it I need to unload it and replace it by new version. The only way I have found so far is to restart BSS
Thank you
-
Laurie
- Posts: 245
- Joined: Mon Jan 07, 2008 12:25 pm
Post
by Laurie »
Since a plugin class is cached on-memory, you need to kill the Java process to clear cache..
Which Plugin API are you using?
-
vaclav_prokes
- Posts: 22
- Joined: Tue Feb 19, 2013 5:23 pm
Post
by vaclav_prokes »
I'm using accounting plugin.
Laurie wrote:Since a plugin class is cached on-memory, you need to kill the Java process to clear cache..
Which Plugin API are you using?
-
Laurie
- Posts: 245
- Joined: Mon Jan 07, 2008 12:25 pm
Post
by Laurie »
If you change a plugin's class name, the SIP Server loads new plugin file.
If you keep using the same plugin class name, the SIP Server doesn't load the plugin file refreshly until you restart Java process.