Author |
Message |
vaclav_prokes Brekeke Member
Joined: 19 Feb 2013 Posts: 22
|
Posted: Wed Jul 27, 2016 3:54 am Post subject: Plugin development |
|
|
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 |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Wed Jul 27, 2016 11:06 am Post subject: |
|
|
Since a plugin class is cached on-memory, you need to kill the Java process to clear cache..
Which Plugin API are you using? |
|
Back to top |
|
vaclav_prokes Brekeke Member
Joined: 19 Feb 2013 Posts: 22
|
Posted: Thu Jul 28, 2016 5:47 am Post subject: |
|
|
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? |
|
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Thu Jul 28, 2016 4:08 pm Post subject: |
|
|
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. |
|
Back to top |
|
|