Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.2.2 (EE only), 3.3.0
-
Component/s: Core: Bootstrap / Standalone
-
Labels:
-
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.
-
Hide
- mule-module-launcher-3.2.2.jar
- 21/Mar/12 09:18 PM
- 96 kB
- Pablo Kraan
-
- META-INF/MANIFEST.MF 0.8 kB
- org/.../AbstractDeploymentListener.class 1 kB
- org/mule/.../AbstractFileWatcher.class 2 kB
- org/mule/.../launcher/AppBloodhound.class 0.3 kB
- org/.../AppDeployerMonitorThreadFactory.class 2 kB
- org/mule/.../application/Application.class 0.6 kB
- org/mule/.../ApplicationFactory.class 2 kB
- org/mule/.../ApplicationWrapper.class 3 kB
- org/mule/.../DefaultMuleApplication$1.class 2 kB
- org/.../DefaultMuleApplication$ConfigFileWatcher.class 2 kB
- org/mule/.../DefaultMuleApplication.class 14 kB
- org/.../PriviledgedMuleApplication.class 3 kB
- org/.../ApplicationMuleContextBuilder.class 2 kB
- org/.../ConfigChangeMonitorThreadFactory.class 2 kB
- org/mule/.../DefaultAppBloodhound.class 7 kB
- org/mule/.../DefaultMuleDeployer.class 7 kB
- org/.../DefaultMuleSharedDomainClassLoader.class 0.6 kB
- org/mule/.../DeploymentException.class 0.6 kB
- org/mule/.../DeploymentInitException.class 0.6 kB
- org/mule/.../DeploymentListener.class 0.4 kB
- org/.../DeploymentService$AppDirWatcher$1.class 2 kB
- org/.../DeploymentService$AppDirWatcher.class 9 kB
- org/.../DeploymentService$StartupListener.class 0.3 kB
- org/mule/.../DeploymentService.class 16 kB
- org/mule/.../DeploymentStartException.class 0.6 kB
- org/.../DeploymentStatusTracker$DeploymentState.class 1 kB
- org/mule/.../DeploymentStatusTracker.class 2 kB
- org/mule/.../DeploymentStopException.class 0.6 kB
- org/mule/.../ApplicationDescriptor.class 4 kB
- org/mule/.../DescriptorParser.class 0.3 kB
-
Hide
- mule-module-launcher-3.3-M3.jar
- 21/Mar/12 09:18 PM
- 100 kB
- Pablo Kraan
-
- META-INF/MANIFEST.MF 0.8 kB
- org/.../AbstractDeploymentListener.class 1 kB
- org/mule/.../AbstractFileWatcher.class 2 kB
- org/mule/.../launcher/AppBloodhound.class 0.3 kB
- org/.../AppDeployerMonitorThreadFactory.class 2 kB
- org/mule/.../application/Application.class 0.6 kB
- org/mule/.../ApplicationFactory.class 0.3 kB
- org/mule/.../ApplicationWrapper.class 3 kB
- org/mule/.../DefaultApplicationFactory.class 2 kB
- org/.../DefaultMuleApplication$ConfigFileWatcher.class 2 kB
- org/.../DefaultMuleApplication$FileWatcherNotificationListener.class 2 kB
- org/mule/.../DefaultMuleApplication.class 15 kB
- org/mule/.../NullDeploymentListener.class 1 kB
- org/.../PriviledgedMuleApplication.class 3 kB
- org/.../PrivilegedApplicationFactory.class 2 kB
- org/.../ApplicationMuleContextBuilder.class 2 kB
- org/.../CompositeDeploymentListener.class 4 kB
- org/.../ConfigChangeMonitorThreadFactory.class 2 kB
- org/mule/.../DefaultAppBloodhound.class 7 kB
- org/mule/.../DefaultMuleDeployer.class 6 kB
- org/.../DefaultMuleSharedDomainClassLoader.class 0.6 kB
- org/mule/.../DeploymentException.class 0.6 kB
- org/mule/.../DeploymentInitException.class 0.6 kB
- org/mule/.../DeploymentListener.class 0.4 kB
- org/.../DeploymentService$AppDirWatcher$1.class 2 kB
- org/.../DeploymentService$AppDirWatcher.class 9 kB
- org/.../DeploymentService$StartupListener.class 0.3 kB
- org/mule/.../DeploymentService.class 17 kB
- org/mule/.../DeploymentStartException.class 0.6 kB
- org/.../DeploymentStatusTracker$DeploymentState.class 1 kB
Fix 3.2.x
http://fisheye.codehaus.org/changelog/mule/?cs=24117
Fix 3.x
http://fisheye.codehaus.org/changelog/mule/?cs=24120