Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 900079 (JBPAPP6-405)

Summary: Fix native loader
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Mladen Turk <mturk>
Component: unspecifiedAssignee: Jean-Frederic Clere <jfclere>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: atangrin, dimitris, jfclere, mbabacek, mturk, vtunka
Target Milestone: ---   
Target Release: EAP 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-405
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
All os's
Last Closed: 2012-11-19 12:57:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixwinloader.patch none

Description Mladen Turk 2012-03-22 08:27:03 UTC
Complexity: Low
project_key: JBPAPP6

We have two problems

1. Windows loader implementation is broken cause by removing windows.[1...4] sections from Library.properties
   This disables to load dynamically linked libraries because 'start' will cause break.
2. Second is to allow loading libtcnative-1-el5.so libtcnative-1-10.so (for solaris 10), etc...

Comment 1 Mladen Turk 2012-03-22 08:27:46 UTC
Patch that fixes the issues

Comment 2 Mladen Turk 2012-03-22 08:27:46 UTC
Attachment: Added: fixloader.patch


Comment 3 Mladen Turk 2012-03-22 08:34:34 UTC
Here is the svn commit that disabled loading dynamically linked libraries from jboss-modules
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossweb/trunk/java/org/apache/tomcat/jni/Library.properties?r1=1782&r2=1891

the
windows.0=*tcnative-1.dll
is broken twice
1. It shouldn't have .dll extension (handled by jboss-modules)
2. All other entirs are removed so we cannot load dependencies any more
   thus later loading libtcnative-1 fails


Comment 4 Anne-Louise Tangring 2012-03-22 17:02:54 UTC
Please add affects version. Thanks.

Comment 5 Mladen Turk 2012-03-26 14:43:47 UTC
Patch that fixes windows impl only

Comment 6 Mladen Turk 2012-03-26 14:43:47 UTC
Attachment: Added: fixwinloader.patch


Comment 7 Jean-Frederic Clere 2012-03-27 06:54:55 UTC
fixed by r2006

Comment 8 Jean-Frederic Clere 2012-03-27 06:54:55 UTC
Release Notes Text: Added: Fix Windows loader logic.


Comment 9 Jean-Frederic Clere 2012-03-27 08:05:37 UTC
the fix will be in jbossweb-7.0.14

Comment 10 Mladen Turk 2012-03-27 19:00:05 UTC
Attachment: Removed: fixloader.patch 


Comment 12 Anne-Louise Tangring 2012-11-05 13:47:37 UTC
Affects Testing: Removed: Regression 
Release Notes Text: Removed: Fix Windows loader logic. 
Docs QE Status: Removed: NEW 


Comment 13 Michal Karm Babacek 2012-11-19 12:57:27 UTC
Loading natives worked with 6.0.1 release, so I am closing this old jira.