JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-6065

Adding ${app.home}/lib to the java.library.path

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 3.2.2 (EE only), 3.3.0
  • Component/s: Core: Bootstrap / Standalone
  • Labels:
    • SAP-Transport
  • User impact:
    Medium
  • Similar Issues:
    None

Description

The SAP transport is a challenge for Studio and iON. It uses SAP JCo libraries that depend on native libraries (dll, so, nlib, etc)

The problem is that right now, the only way to configure this in Mule ESB is:
1) Adding the jco jar file and the native library in $MULE_HOME/lib/opt
2) Changing the wrapper.conf file
3) Setting the OS environment variable LD_LIBRARY_PATH

For iON and Studio this is a problem as additional configuration outside the application should be done. It will be really easy if all of this files (mule-transport-sap.jar, jco.jar, idoc.jar and jco.so) can be packed inside the ${app.home}/lib directory and Mule will use them from there.

We can check: http://nicklothian.com/blog/2008/11/19/modify-javalibrarypath-at-runtime/ and/or http://fahdshariff.blogspot.com/2011/08/changing-java-library-path-at-runtime.html

Another option is that when deploying the app, the deployer will copy native libraries to a known path already pre-configured at startup by default. The only problem is that the undeploy and redeploy should check if that library should be replaced or removed.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Java Archive File
    mule-module-launcher-3.2.2.jar
    21/Mar/12 09:18 PM
    96 kB
    Pablo Kraan
    1. File
      META-INF/MANIFEST.MF 0.8 kB
    2. File
      org/.../AbstractDeploymentListener.class 1 kB
    3. File
      org/mule/.../AbstractFileWatcher.class 2 kB
    4. File
      org/mule/.../launcher/AppBloodhound.class 0.3 kB
    5. File
      org/.../AppDeployerMonitorThreadFactory.class 2 kB
    6. File
      org/mule/.../application/Application.class 0.6 kB
    7. File
      org/mule/.../ApplicationFactory.class 2 kB
    8. File
      org/mule/.../ApplicationWrapper.class 3 kB
    9. File
      org/mule/.../DefaultMuleApplication$1.class 2 kB
    10. File
      org/.../DefaultMuleApplication$ConfigFileWatcher.class 2 kB
    11. File
      org/mule/.../DefaultMuleApplication.class 14 kB
    12. File
      org/.../PriviledgedMuleApplication.class 3 kB
    13. File
      org/.../ApplicationMuleContextBuilder.class 2 kB
    14. File
      org/.../ConfigChangeMonitorThreadFactory.class 2 kB
    15. File
      org/mule/.../DefaultAppBloodhound.class 7 kB
    16. File
      org/mule/.../DefaultMuleDeployer.class 7 kB
    17. File
      org/.../DefaultMuleSharedDomainClassLoader.class 0.6 kB
    18. File
      org/mule/.../DeploymentException.class 0.6 kB
    19. File
      org/mule/.../DeploymentInitException.class 0.6 kB
    20. File
      org/mule/.../DeploymentListener.class 0.4 kB
    21. File
      org/.../DeploymentService$AppDirWatcher$1.class 2 kB
    22. File
      org/.../DeploymentService$AppDirWatcher.class 9 kB
    23. File
      org/.../DeploymentService$StartupListener.class 0.3 kB
    24. File
      org/mule/.../DeploymentService.class 16 kB
    25. File
      org/mule/.../DeploymentStartException.class 0.6 kB
    26. File
      org/.../DeploymentStatusTracker$DeploymentState.class 1 kB
    27. File
      org/mule/.../DeploymentStatusTracker.class 2 kB
    28. File
      org/mule/.../DeploymentStopException.class 0.6 kB
    29. File
      org/mule/.../ApplicationDescriptor.class 4 kB
    30. File
      org/mule/.../DescriptorParser.class 0.3 kB
    Showing 30 of 68 items Download Zip
    Show
    Java Archive File
    mule-module-launcher-3.2.2.jar
    21/Mar/12 09:18 PM
    96 kB
    Pablo Kraan
  2. Hide
    Java Archive File
    mule-module-launcher-3.3-M3.jar
    21/Mar/12 09:18 PM
    100 kB
    Pablo Kraan
    1. File
      META-INF/MANIFEST.MF 0.8 kB
    2. File
      org/.../AbstractDeploymentListener.class 1 kB
    3. File
      org/mule/.../AbstractFileWatcher.class 2 kB
    4. File
      org/mule/.../launcher/AppBloodhound.class 0.3 kB
    5. File
      org/.../AppDeployerMonitorThreadFactory.class 2 kB
    6. File
      org/mule/.../application/Application.class 0.6 kB
    7. File
      org/mule/.../ApplicationFactory.class 0.3 kB
    8. File
      org/mule/.../ApplicationWrapper.class 3 kB
    9. File
      org/mule/.../DefaultApplicationFactory.class 2 kB
    10. File
      org/.../DefaultMuleApplication$ConfigFileWatcher.class 2 kB
    11. File
      org/.../DefaultMuleApplication$FileWatcherNotificationListener.class 2 kB
    12. File
      org/mule/.../DefaultMuleApplication.class 15 kB
    13. File
      org/mule/.../NullDeploymentListener.class 1 kB
    14. File
      org/.../PriviledgedMuleApplication.class 3 kB
    15. File
      org/.../PrivilegedApplicationFactory.class 2 kB
    16. File
      org/.../ApplicationMuleContextBuilder.class 2 kB
    17. File
      org/.../CompositeDeploymentListener.class 4 kB
    18. File
      org/.../ConfigChangeMonitorThreadFactory.class 2 kB
    19. File
      org/mule/.../DefaultAppBloodhound.class 7 kB
    20. File
      org/mule/.../DefaultMuleDeployer.class 6 kB
    21. File
      org/.../DefaultMuleSharedDomainClassLoader.class 0.6 kB
    22. File
      org/mule/.../DeploymentException.class 0.6 kB
    23. File
      org/mule/.../DeploymentInitException.class 0.6 kB
    24. File
      org/mule/.../DeploymentListener.class 0.4 kB
    25. File
      org/.../DeploymentService$AppDirWatcher$1.class 2 kB
    26. File
      org/.../DeploymentService$AppDirWatcher.class 9 kB
    27. File
      org/.../DeploymentService$StartupListener.class 0.3 kB
    28. File
      org/mule/.../DeploymentService.class 17 kB
    29. File
      org/mule/.../DeploymentStartException.class 0.6 kB
    30. File
      org/.../DeploymentStatusTracker$DeploymentState.class 1 kB
    Showing 30 of 72 items Download Zip
    Show
    Java Archive File
    mule-module-launcher-3.3-M3.jar
    21/Mar/12 09:18 PM
    100 kB
    Pablo Kraan

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds

CE Bamboo View RSS feed

People

  • Assignee:
    Pablo Kraan
    Reporter:
    Mariano Capurro
Vote (0)
Watch (1)

Dates

  • Created:
    10/Feb/12 07:30 AM
    Updated:
    21/Mar/12 09:19 PM
    Resolved:
    21/Mar/12 09:19 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.