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 5933763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:01:10+00:00 2026-05-22T15:01:10+00:00

I am writing a web application Java EE at glassfish. I worry what would

  • 0

I am writing a web application Java EE at glassfish.

I worry what would happen at a jni crash.

  • Would the server crash? – this is possible in Linux environment as users can tamper with some files and that would lead to jni crash.

If it is possible to automatically restart on crash it would be great but I cant find how to do this.

  • 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-05-22T15:01:10+00:00Added an answer on May 22, 2026 at 3:01 pm

    Would the server crash?

    The JVM that is running Glassfish would crash. The host server would not crash.

    … this is possible in Linux environment as users can tamper with some files and that would lead to jni crash.

    Only if you’ve messed up the access permissions on the relevant files … or you’ve granted root / sudo access to the wrong people.

    If it is possible to automatically restart on crash it would be great but I cant find how to do this.

    You normally do this by launching the JVM from a script that detects that the service has dies and restarts it in a loop. (Dealing with a service that locks up / stops working without actually dying is more tricky …)

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

Sidebar

Related Questions

I'm working on a java web-application, trying to be xml-friendly and writing my jsp
I am looking at writing a Java web application on Google App Engine. I
I'm writing a Flex app on top of a Java web application using BlazeDS.
I'm currently writing a web application in java using GWT 2.0 in eclipse. I
I am writing a java web-application program to create a file(a simple xml file)
A little context: I would like to separate the Java application I'm writing into
I'm writing a web application in Java where at some point user can enter
I'm writing a custom extension to an off-the-shelf Java web application. The application uses
I have some experience writing web applications in Java for class projects. My first
I am writing a web application that requires user interaction via email. I'm curious

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.