Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:15:15+00:00 2026-06-07T02:15:15+00:00

My JSP program is set to run on Websphere under HP-UX. I have some

  • 0

My JSP program is set to run on Websphere under HP-UX.

I have some .jar files and a .so file which contains classes that my program needs to run.

By placing my .jar files into \MyProgram\WEB-INF\lib\ folder, I was able to get some to work.

However, I see an UnsatisfiedLinkError which is caused by my lib.so file not being recognised.

One of the ways I found was:

  1. In Administrative Console, go to Environment -> Shared Libraries -> New

  2. Enter the .jar file locations into Classpath, enter the .so file location into Native Library Path

  3. In Administrative Console, go to Applications -> Application Types -> Enterprise Applications

  4. Under MyProgram -> Shared library references -> Shared Library Mapping, assign the library to the program by moving it from Available to Selected.

I have two questions:

  1. Can I just get the .jar files and the .so file to work from my program’s \lib\ folder instead?

  2. If I can’t, is it possible to list the classpath and native library path from my application folder? Something like uploading my application.war with a websphere variable directory %MYPROGRAM%\WEB-INF\lib\lib.so rather than placing the file in the physical server with an absolute path C:\IBM\WebSphere\AppServer\bin\lib.so?

[EDIT-01] Further details below:

Error received: “Error 500: java.lang.UnsatisfiedLinkError: com.chrysalisits.crypto.LunaAPI.Initialize()V”

I am trying to get Websphere to interface with LunaSA HSM to retrieve public/private keys. They have provided me with: libLunaAPI.sl, libLunaAPI.so, LunaJCASP.jar, LunaJCESP.jar. From IBM’s Websphere V8 -> References -> Class Loading Exceptions, it indicates that I need the *.so file for HP-UX so I did that accordingly. The path set are absolute paths which I have specified in the Websphere. This relates to my second question.

The first question is me actually wondering whether I can put these files into myProgram.war and run off from there instead of using WinSCP to access the server and putting files there for absolute paths references. Perhaps specify that the above mentioned files are located in my program, under \WEB-INF\lib\ instead. This is because only this program of mine will be accessing the LunaSA HSM.

** PS. I tried both methods but it still fails. sigh.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:15:17+00:00Added an answer on June 7, 2026 at 2:15 am

    For the Shared Library implementation, I believe you specify just the directory in the Native Library Path, not the file name. That is, with your current file location, /opt/apps/WebSphere/AppServer/bin.

    On the other hand, I’d expect that directory to already be in WebSphere’s WAS_LIBPATH and SHLIB_PATH, so it should be unnecessary to list it at all. (Check $WAS_HOME/bin/setupCmdLine.sh.)

    However, I think it would be better to create a subdirectory somewhere for your luna files, and point your Shared Library Native Library Path to that instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JSP program that displays a form where the user enters some
I have a Java program which uses a lot of text files. The program
This is my jsp file body tag. <body> <jsp:plugin type=applet code=SApplet.class codebase=C:\Program Files\apache-tomcat-6.0.18\webapps\testweb\WEB-INF\classes width=400
I have written a program which reads input from csv file and its working
I'm creating a program that communicates with a webservice, which is written with JSP
I have a JSP form which is made of <input type=file/> tag alone for
I writing a JSP program that needs to react on an existing program. It
On my JSP page, I defined some javascript with a variable that get value
I have set my error page like this in web.xml: <error-page> <exception-type>java.lang.Exception</exception-type> <location>/errors/error.jsp</location> </error-page>
i want to use the Java program in JSP. i have created java program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.