Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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!

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

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

couldn't solve it yet, sorry...

Suggest an answer

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

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

98 views 2 8
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