Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fisheye on busybox - libc/private key files issues

Had no problem installing fisheye on standard linux distribution.

However I get some issues with a limited environment (in this case, synology).

Everything works fine, until I start adding git repository.

I get the following error in log:

2012-08-26 12:38:07,243 DEBUG [btpool0-14 ] fisheye.app SshKeyManagerImpl-createPrivateKeyFile - Creating private key '/volume1/@atlassian/application-data/fisheye/data/auth/tmp-h6bl8nij' with prefix: 'tmp'.
2012-08-26 12:38:07,245 DEBUG [btpool0-14 ] fisheye.perf ProfilingServletFilter-logRequest - end request POST /fisheye/admin/servlet.gupld sessionid=15inqppupqwo51ahquw7uhpcq3
2012-08-26 12:38:07,265 ERROR [btpool0-14 ] mortbay.log Slf4jLog-warn - Error for /fisheye/admin/servlet.gupld
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
        at com.cenqua.fisheye.util.FileSystemUtils.privatise(FileSystemUtils.java:81)
        at com.atlassian.fecru.security.SshKeyManagerImpl.createPrivateKeyFile(SshKeyManagerImpl.java:97)
        at com.atlassian.fecru.security.SshKeyManagerImpl.saveKeyPair(SshKeyManagerImpl.java:111)
        at com.atlassian.fecru.security.SshKeyManagerImpl.isEncrypted(SshKeyManagerImpl.java:103)
        at com.atlassian.fecru.gwt.servlet.GwtSshKeyUploadServlet.executeAction(GwtSshKeyUploadServlet.java:40)
        at gwtupload.server.UploadAction.doPost(UploadAction.java:162)

Or, in browser, I sometime get an error along the line of:

Could not save private key:
POSIX c library "c" was not found

Of course libc.so.6 exists.

If I could pinpoint the actual binary that has link/startup problem it would be a good first step (I suppose there is a native binary incorrectly loading responsible for this), but if you have any other idea...

3 answers

1 accepted

1 vote
Answer accepted
Malik Atlassian Team Sep 15, 2012

This can be worked around by upgrading the jna that comes with FE 2.8:

https://answers.atlassian.com/questions/85751/could-not-initialize-class-com-sun-jna-native?page=1#87037

works great, thanks!

what have you done to solve this issue? I get the same error message...

couldn't solve it yet, sorry...

I have the same issue. It all used to work on 2.5!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

655 views 16 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you