Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] libsetuid.so

Just so you know, "UnsatisfiedLinkError" is a generic error meaning either the lib cannot be found, or was found and failed to load (usually for non-java reasons).
We need details otherwise we can't help with your specific case.
If you want to solve this on your own, just work on understanding how the System.load(String) and System.loadLibrary(String) work and you might get a solution on your own.

http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#load(java.lang.String)
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#loadLibrary(java.lang.String)

Here's the load logic in jetty-setuid:
https://github.com/eclipse/jetty.toolchain/blob/master/jetty-setuid/jetty-setuid-java/src/main/java/org/eclipse/jetty/setuid/SetUID.java#L71-L153


--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Mon, Mar 3, 2014 at 9:27 PM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
ok, let me try this again...

HOW are you attempting/doing this? details please.
Code snippets?  
Project structure?
Installed structure?
All of the various relevant paths (class/lib/security/os/etc)?
Environment details at runtime?
Java details?
Your artifacts details?
Your dependency details?
etc...


--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts


On Mon, Mar 3, 2014 at 8:02 PM, Martin Edge <martin.edge@xxxxxxxxxxxx> wrote:

Open port 80 as root and them su to a lower privileged user.

 

From: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx] On Behalf Of Joakim Erdfelt
Sent: Tuesday, 4 March 2014 13:27
To: JETTY user mailing list
Subject: Re: [jetty-users] libsetuid.so

 

Can you provide more details on what you are trying to do?

As mixing libsetuid.so and jetty embedded would be a first.


--

Joakim Erdfelt <joakim@xxxxxxxxxxx>

Expert advice, services and support from from the Jetty & CometD experts

 

On Mon, Mar 3, 2014 at 6:24 PM, Martin Edge <martin.edge@xxxxxxxxxxxx> wrote:

Having trouble running this in an embedded environment.  It is finding the file, but reporting “UnsatisfiedLinkError”

Using jetty 9.1.2 on Linux.

 

Has anyone got this working, or does everyone use redirects?

 

 

Medge

Database and Applications Administrator

_______________________

 

SATAC_Signature

 

Telephone (08) 8224 4045

Facsimile (08) 8224 4099  

 

www.satac.edu.au 

 

 

 

 

This email message is intended only for the addressee(s) and 

contains information that may be confidential and/or copyright.

If you are not the intended recipient please notify the sender

by reply email and immediately delete this email. Use, disclosure 

or reproduction of this email by anyone other than the intended 

recipient(s) is strictly prohibited. No representation is made that 

this email or any attachments are free of viruses. Virus scanning 

is recommended and is the responsibility of the recipient.

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users




Back to the top