Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
How can I create JVM with fewer cpu and ram (resources) and give other access to it, while also ensuring that they cannot manipulate or view files or data of my system?
I want to create a web interface java compiler which everyone can use and would not like if other can manipulate my system.
If you use VirtualBox or another VM you can
choose the OS, it doesn't have to be the same.
choose all the files it can see
choose how much CPUs and memory it can use.
make it hard to break out of the virtual host and into the real host.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm trying to use an applet to recovery some old data on a 3rd party site that i wished to keep. I see that nowadays all browser that i know force java plugin to be unavailable, is there some technical workaround to allow current and future applet execution for the sake of data migration? i looked into Lobo browser and JWebPane but to no avail
Don't know about modern browser compatibility. You should still be able to use and older version of a compatible browser - I'd just be extra carefull as security fixes would obviously be absent.
This post might old some good infos on the subject: https://superuser.com/questions/999778/when-firefox-drops-java-applet-support-how-will-i-run-old-java-applets
However, keep in mind that the very existence of the applet plugin will cease with Java 9. I'd hurry to find a more futur-proof solution.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
What OS do they use for example and how to they boot up so quickly (compared to a raspberry pi)?
Currently, they are two option existing:
they are running a custom piece of software that support a jvm
they are running a minimum version of a linux , just what's enough to run the jvm, everything else is disabled / removed.
It's booting that fast because it has only the piece of code needed to run a minimal jvm, and everything else is disabled in opposition of the raspberry pi who has a complete kernel, with a lot of modules, a desktop environment, etc, ... to load.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
How can I convert existing application from US hosting location(aws-us-east-1 region) to European hosting location?
You would need to use the rhc snapshot command, to do a backup of the existing application, then create a new gear in the ea location and do an rhc snapshot restore to that gear, or the rhc create-app with the --from-app.
You can check out these resources for more specific information:
https://help.openshift.com/hc/en-us/articles/203265710-How-can-I-move-an-existing-application-from-the-US-aws-us-east-1-hosting-region-to-the-European-aws-eu-west-1-hosting-region-
https://developers.openshift.com/en/overview-platform-features.html#_migrating_an_existing_application_to_another_region_or_zone
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have 2 Jetty servers with the same problem,
The Jetty web app gets "freeze" every couple of hours.
(Freeze means that the console is not doing anything/unable to receive new requests)
During the "Freeze" I noticed that the JVM is using more swap than it usually does.
It seems like sort of a memory leak, even tough the system has enough memory.
I run the JVM with those run parameters:
-Xms8000m -Xmx280000m
Those are the RAM graphs (blank lines are what I called "freeze"):
See reference number 1 below
I also noticed the the garbage collector is not running very frequent.
Maybe it is related?
See reference number 2 below
I'd appreciate any input regarding a proper use of the garbage collector and any other ideas that would help resolve it
This is a spring/Hibernate based Application.
http://i.stack.imgur.com/VGOkM.jpg
http://i.stack.imgur.com/eI1mt.jpg
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
How to restrict access to the site from a particular machine, so that the page is always accessed from a particular machine only.
You can try using getRemoteAddr() available in ServletRequest, to find which IP is trying to access your site and block if necessary.
Useful Links:
http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html
http://docs.oracle.com/cd/E19857-01/821-0980/bhaip/index.html