[
https://issues.apache.org/jira/browse/TOMEE-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481050#comment-13481050
]
Alex the Rocker commented on TOMEE-493:
---------------------------------------
Again my bad, here are the accurate instructions for reproducing with TomEE:
- Start a command prompt with Administrator priviledges
- Type this:
title Tomee
set JAVA_HOME=c:\jdk1.7.0_07
cd apache-tomee-plus-1.5.1-SNAPSHOT\bin
service.bat install
net start TomEE
start http://localhost:8080/Test/Toto
net stop TomEE
startup.bat
Note: actual path to Tomcat 7, TomEE and JDK7 should be set to your own pathes
> 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, tomcat7-service-dll-search.png,
> tomcat7-service-process.png, tomcat7-service-webpage.png,
> tomcat7-startup-dll-search.png, tomcat7-startup-process.png,
> tomEE-service-dll-search.png, tomEE-service-process.png,
> tomEE-service-webpage.png, tomEE-startup-dll-search.png,
> tomEE-startup-process.png
>
>
> 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