Which folder does iServer expect to find extension jars?

jherbin
edited February 11, 2022 in Analytics #1
Hello,

I've written an extension for the org.eclipse.birt.core.ScriptFunctionService extension point. Which folder on the iServer do I need to place the build jar so that my functions are available for reports on the iServer?

Thanks,
James

Comments

  • RSiegler
    edited December 31, 1969 #2
    James,<br />
    <br />
    To deploy custom ODA dirvers and custom plug-ins to the iServer you should be placing them in:<br />
    $AC_SERVER_HOME$/MyClasses/eclipse/plugins/<br />
    <br />
    In a typical Windows installation for BIRT iServer 11SP4, $AC_SERVER_HOME$ would be:<br />
    C:/Program Files/Actuate11SP4/iServer/<br />
    <br />
    You will need to recycle the BIRT iServer services in order for the changes/ additions to take place.<br />
    <br />
    Best Regards,<br />
    Ryan Siegler<br />
    Actuate Corporation ? The BIRT Company?<br />
    <a class='bbc_url' href='http://www.actuate.com'>http://www.actuate.com</a&gt; | <a class='bbc_url' href='http://birtondemand.com'>http://birtondemand.com</a><br />
    <br />
    <blockquote class='ipsBlockquote' data-author="'jherbin'" data-cid="113984" data-time="1360181033" data-date="06 February 2013 - 01:03 PM"><p>
    Hello,<br />
    <br />
    I've written an extension for the org.eclipse.birt.core.ScriptFunctionService extension point. Which folder on the iServer do I need to place the build jar so that my functions are available for reports on the iServer?<br />
    <br />
    Thanks,<br />
    James<br /></p></blockquote>
    Warning No formatter is installed for the format ipb
  • jherbin
    edited December 31, 1969 #3
    If the plugin is in this location, why would a scripted data source not be able to access methods in the package?<br />
    <br />
    When I use a scripted data source locally, I am able to access the extensions. When I upload the scripted data source to the iServer, it cannot find the extension.<br />
    <br />
    Thanks,<br />
    James<br />
    <br />
    <blockquote class='ipsBlockquote' data-author="'RSiegler'" data-cid="114008" data-time="1360247251" data-date="07 February 2013 - 07:27 AM"><p>
    James,<br />
    <br />
    To deploy custom ODA dirvers and custom plug-ins to the iServer you should be placing them in:<br />
    $AC_SERVER_HOME$/MyClasses/eclipse/plugins/<br />
    <br />
    In a typical Windows installation for BIRT iServer 11SP4, $AC_SERVER_HOME$ would be:<br />
    C:/Program Files/Actuate11SP4/iServer/<br />
    <br />
    You will need to recycle the BIRT iServer services in order for the changes/ additions to take place.<br />
    <br />
    Best Regards,<br />
    Ryan Siegler<br />
    Actuate Corporation ? The BIRT Company?<br />
    <a class='bbc_url' href='http://www.actuate.com'>http://www.actuate.com</a&gt; | <a class='bbc_url' href='http://birtondemand.com'>http://birtondemand.com</a><br /></p></blockquote>
  • jherbin
    edited December 31, 1969 #4
    Here is a portion of the the iServer error message:

    " A BIRT exception occurred. See next exception for more information.Error evaluating Javascript expression. Script engine error: ReferenceError: XXXX is not defined"
  • rmurphy
    edited December 31, 1969 #5
    What version of BIRT did you build the plugin against? Actuate 11 SP4 Fix 1 version of iServer uses BIRT 3.7.2. If your plugin is built against BIRT 4.2, it will not load.
  • jherbin
    edited December 31, 1969 #6
    Here are the dependencies:

    org.eclipse.core.runtime 3.7.0.v20110110
    org.eclipse.birt.core 4.2.1.qualifier

    Is there a reference to describe the compatibility of the Eclipse Birt Designer, Actuate Birt Designer, and iServer?

    Thanks,
    James
  • rmurphy
    edited December 31, 1969 #7
    I'm sure there is somewhere, but for the iServer the find it easiest to look at the version of org.eclipse.birt.core in the AC_SERVER_HOME/Jar/BIRT/platform/plugins.

    Inside Actuate BIRT Designer Pro, you can get versions of all the plugins in the Help -> About... dialog.
  • jherbin
    edited December 31, 1969 #8
    The iServer has org.eclipse.birt.core_3.7.2.v20120817-1705.jar . This explains why my plugin isn't loading.

    Thanks!

    Which version of iServer supports org.eclipse.birt.core 4.2.1?
  • rmurphy
    edited December 31, 1969 #9
    Support for 4.2.x in Actuate products is currently under development and has not yet been released.
  • jherbin
    edited December 31, 1969 #10
    Good to know.

    Thanks for your help!

    James