- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem With System.load( )
Operating System - HP-UX
1753587
Members
6668
Online
108796
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
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
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
тАО01-14-2009 03:18 AM
тАО01-14-2009 03:18 AM
Problem With System.load( )
Hi World,
I have a senario where
System.load("absolute Path to a .so file" ); works fine for one application & it fails for another senario of System.load("absolute Path to same .so file" ) of another application ?
1.)
String s = "/home/nalgo01/Probeing/libHpuxItanium64Stats.so"
System.out.println(System.load(s));
This senario works fine for one appication.
2.)
The same procedure for other ( same adsolute path for .so ) application fails.
It is giving error as
Error: java.lang.UnsatisfiedLinkError: Can't load library: /home/nalgo01/Probeing/libHpuxItanium64Stats.so
What may be the reason for this.
Why the same .so file being loading on one application and why it is failig on other application
Any help is appreciable.
Thanking you,
Gopi
I have a senario where
System.load("absolute Path to a .so file" ); works fine for one application & it fails for another senario of System.load("absolute Path to same .so file" ) of another application ?
1.)
String s = "/home/nalgo01/Probeing/libHpuxItanium64Stats.so"
System.out.println(System.load(s));
This senario works fine for one appication.
2.)
The same procedure for other ( same adsolute path for .so ) application fails.
It is giving error as
Error: java.lang.UnsatisfiedLinkError: Can't load library: /home/nalgo01/Probeing/libHpuxItanium64Stats.so
What may be the reason for this.
Why the same .so file being loading on one application and why it is failig on other application
Any help is appreciable.
Thanking you,
Gopi
- Tags:
- Java
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:40 AM
тАО01-14-2009 03:40 AM
Re: Problem With System.load( )
From the info you give, I would think the problem is with routines/functions which are used in the .so which are not loaded in option 2, while they are available for option 1. But more tracing info might us help you solve this.
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:44 AM
тАО01-14-2009 03:44 AM
Re: Problem With System.load( )
Thanks for u r reply,
It is the same .so file which is being used.
Functions/routins are also the same which are used in both application.
Thanking you,
Gopi
It is the same .so file which is being used.
Functions/routins are also the same which are used in both application.
Thanking you,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 07:56 PM
тАО01-14-2009 07:56 PM
Re: Problem With System.load( )
>Error: java.lang.UnsatisfiedLinkError: Can't load library: .../libHpuxItanium64Stats.so
Again a useless error message without details.
>Functions/routines are also the same which are used in both application.
You exercise the same paths in each?
>Elmar: I would think the problem is with routines/functions which are used in the .so which are not loaded in option 2
This could be due to -B deferred. Where the second case calls more functions.
>But more tracing info might us help you solve this.
What kind of tracing, java?
Again a useless error message without details.
>Functions/routines are also the same which are used in both application.
You exercise the same paths in each?
>Elmar: I would think the problem is with routines/functions which are used in the .so which are not loaded in option 2
This could be due to -B deferred. Where the second case calls more functions.
>But more tracing info might us help you solve this.
What kind of tracing, java?
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