This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Shared library is getting partially invoked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Shared library is getting partially invoked" Watch "Shared library is getting partially invoked" New topic

Shared library is getting partially invoked

h bajaj

Joined: May 31, 2010
Posts: 1

I have a testing requirement to mock time for my java application running on tomcat 5.5, jdk 6 on CentOS 4.6 kernel 2.6.9, my hardware comprises of both x86 and x86-64.
I am trying to use linux preload library (libfaketime) from
On x86, the library is invoked and i am able to set the date based on preload library input, but the offsets are not invoked further by the application, it requires a restart to get the date change to be effective. Kindly advise how to overcome this issue. whereas, on x86-64 the library fails to even get invoked for java 6, whereas for rest of the system commands such as date it is working, kindly let me know what compile parameters need to be added for x86-64.


Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

Moving it to Linux forum ...

apigee, a better way to API!
Have you checked out Aspose?
subject: Shared library is getting partially invoked
It's not a secret anymore!