Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Deploying a .so to Tomcat

Options
  • 22-06-2005 3:00pm
    #1
    Closed Accounts Posts: 135 ✭✭


    First of all does anyone know if this is possible?
    It's an Intraweb application, they say it is but they give feck all details on how to do it.

    The second question is where to put the file and what mappings do i need?

    Thanks.


Comments

  • Registered Users Posts: 441 ✭✭robfitz


    Splendid wrote:
    First of all does anyone know if this is possible?

    Yes it is possible. Though JNI is always a bit tricky.
    Splendid wrote:
    The second question is where to put the file and what mappings do i need?

    Some questions for you.

    What OS and distribution version are you using? With a .so file it must be Linux or Solaris?
    What is the version of the jdk and version of tomcat are you using?
    Is it a standalone version of tomcat or are you using a J2EE/app server?


    If I remember correctly (more of a guess), you might just be able to start tomcat with a command like "LD_LIBRARY_PATH=directory of .so file catalina.sh start". With the jar files located in the webapps directory/war file.


  • Closed Accounts Posts: 135 ✭✭Splendid


    hey robfitz

    I got it running perfectly on an apache2 server.

    Thanks for your reply though.


Advertisement