- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX v11.11 Java 5 and Java 6 Unresolved symbol: ...
Operating System - HP-UX
1752580
Members
5028
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2009 11:13 AM
03-09-2009 11:13 AM
HP-UX v11.11 Java 5 and Java 6 Unresolved symbol: mincore
Not sure if this is the right forum, don't see one just for HP-UX's version of Java. I think it is the HotSpot JRE from Sun so maybe things go there but I get the install depots from HP. Let me know if there is a more appropriate place.
Problem: Trying to use pure Java NIO shared memory in latest Java, both 1.5.0.15 and Java 1.6.0.3. We upgraded to these from much older versions when we first got this problem.
Example Error and example source code with scripts included.
$ ./run2.sh 0
java version "1.6.0.03"
Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00)
Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2 PA2.0 (aCC_AA), mixed mode)
2147483647
-2147483648
Setting level to ERROR
/usr/lib/dld.sl: Unresolved symbol: mincore (code) from /opt/java6/jre/lib/PA_RISC2.0/libnio.sl
/usr/lib/dld.sl
Basically, any Java program using NIO shared memory on HPUX will not start successfully because of this error.
Example 2:
./run2.sh 0
java version "1.6.0.03"
Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00)
Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2 PA2.0 (aCC_AA), mixed mode)
2147483647
-2147483648
Setting level to ERROR
/usr/lib/dld.sl: Unresolved symbol: mincore (code) from /opt/java6/jre/lib/PA_RISC2.0/libnio.sl
/usr/lib/dld.sl
Related sort of since it seems to be locking up on opening the file in Java,
we have also had weirdness with fopen on a mkfifo (named pipe) from C code. It would block in fopen on HP-UX but not on Solaris, Linux x86 - RedHat and SuSE 2.6kernels and not on AIX 5.2 and 5.3. We had to use open, then fdopen to get the file descriptor and then set the fcntl attributes to non-blocking and then we could use it. fopen just wouldn't return.
Problem: Trying to use pure Java NIO shared memory in latest Java, both 1.5.0.15 and Java 1.6.0.3. We upgraded to these from much older versions when we first got this problem.
Example Error and example source code with scripts included.
$ ./run2.sh 0
java version "1.6.0.03"
Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00)
Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2 PA2.0 (aCC_AA), mixed mode)
2147483647
-2147483648
Setting level to ERROR
/usr/lib/dld.sl: Unresolved symbol: mincore (code) from /opt/java6/jre/lib/PA_RISC2.0/libnio.sl
/usr/lib/dld.sl
Basically, any Java program using NIO shared memory on HPUX will not start successfully because of this error.
Example 2:
./run2.sh 0
java version "1.6.0.03"
Java(TM) SE Runtime Environment (build 1.6.0.03-jinteg_05_feb_2009_11_19-b00)
Java HotSpot(TM) Server VM (build 11.0-b16-jre1.6.0.03-rc2 PA2.0 (aCC_AA), mixed mode)
2147483647
-2147483648
Setting level to ERROR
/usr/lib/dld.sl: Unresolved symbol: mincore (code) from /opt/java6/jre/lib/PA_RISC2.0/libnio.sl
/usr/lib/dld.sl
Related sort of since it seems to be locking up on opening the file in Java,
we have also had weirdness with fopen on a mkfifo (named pipe) from C code. It would block in fopen on HP-UX but not on Solaris, Linux x86 - RedHat and SuSE 2.6kernels and not on AIX 5.2 and 5.3. We had to use open, then fdopen to get the file descriptor and then set the fcntl attributes to non-blocking and then we could use it. fopen just wouldn't return.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP