You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Alex the Rocker (JIRA)" <ji...@apache.org> on 2012/10/21 21:52:12 UTC
[jira] [Updated] (TOMEE-493) Regression on TomEE vs Tomcat 7 on
Windows native library loading
[ https://issues.apache.org/jira/browse/TOMEE-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex the Rocker updated TOMEE-493:
----------------------------------
Attachment: Test.war
Here's the sample web app to reproduce this issue. Can be dropped in Tomcat 7 webapps/ directory or in TomEE webapps/ directory.
Works like a charm with Tomcat 7, fails with TomEE
> Regression on TomEE vs Tomcat 7 on Windows native library loading
> -----------------------------------------------------------------
>
> Key: TOMEE-493
> URL: https://issues.apache.org/jira/browse/TOMEE-493
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Alex the Rocker
> Priority: Blocker
> Attachments: Test.war
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira