Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
On Windows operating systems (Windows 7, Window 2008 R2), we found that when TomEE is registered as a service, it ignores PATH, which makes native library loading impossible.
This is a show stopper for our web application which relies on native libraries.
We have created a sample based on a simple servlet which loads remotepg.dll using
System.loadLibrary("remotepg");
statement. it works fine with Tomcat 7, it's KO with java.lang.UnsatisfiedLinkError with TomEE on the same machine with same PATH.
I'm not sure how to upload a sample using JIRA, if you tell how then I'll upload self contained sample for easy reproduction.