|
I'm trying to make an java application to manage Linux servers from a web interface. It is a bad idea to perform each task by calling bash shell ? Are there any other options other than those to use C, Perl or another language?
Started by sysvghost on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Bash scripts will need to return sensible, useful information to the Java app in the case of failures graduation project, but I'm not so sure if calling bash from java to configure a linux box is a good about implementation....
|
|
I have two requirements for my Java app. If it dies, restart it. If the server reboots, restart it - simple enough. Using the answer here I have a script that will restart when the java application dies.
#!/bin/bash until java -Xms256m -Xmx768m -jar MyApp...
Started by GregB on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Tanuki
I mean to say, you don't need.
Try writing your utility like this:
#!/bin/bash ( until java -Xms256mYou need a java service wrapper, here is a very good one...
Utility script do the forking.
|
|
My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script instead of using the HeapDumpOnOutOfMemoryError flag. We...
Started by karlcyr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Hi,
you could monitor....
More info here.
May not be useful when the app has crashed, but if you poll every minute or so, you'll get an idea of what's happening.
We have a JSP that queries ManagementFactory.getThreadMXBean() and produces a report .
|
Ask your Facebook Friends
|
While compiling gwt source, I get the error :
"An unexpected error has been detected by Java Runtime Environment "
Following is the hs_err_pid14267.log (error log) file is generated on server
How would you debug this?
# # An unexpected error has been ...
Started by Prathamesh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Could you try with Java 6/ParameterizedMethodBinding,<init>
or for ant
<java classname="com.google.gwt.dev.Compiler/lookup/ParameterizedMethodBinding,<init....
Usr/lib/jvm/java-6-sun-1.6.0.06
This is not the latest JDK out there.
|
|
Started by essohbee on
, 200 posts
by 129 people.
Answer Snippets (Read the full thread at reddit):
My phone crashes daily with first and third party apps, my iPad apps crash maybe once every two that iOS apps crash less = downvotes
Anecdotal evidence suggesting that Android apps crash less happened) while iOS just goes....
|
|
On Fri, 16 Oct 2009 01:16:56 +0200, Jan Willem Stumpel <jstumpel@planet.nl
Package: iceweasel
Version: 3.5.3-2
Severity: important
I am used to iceweasel crashing often (at least once a day). After the last
upgrade however, it crashes about once...
Started by Jan Willem Stumpel on
, 13 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
Plug-in-less life
IcedTea Java Web Browser....
Did not try
if for very long, though.
Oh, I forgot
There were no messages on the terminal and no crash.
Without problems, but then visiting another random
site may cause a new crash.
|
|
On Mon, 02 Feb 2009 17:20:08 +0100, Rene Engelhard <rene@debian.org
tag 513482 + moreinfo
thanks
Hi,
No valid package name. (Correct: Package: openoffice.org)
And even wrong program name, it's OpenOffice.org
No valid version. Version: 2.4.1...
Started by Rene Engelhard on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages openoffice.org depends on:
ii openoffice.org-impress 1:2.4.1-17 OpenOffice.org office suite - pres
ii openoffice.org-java-common 1:2.4.1-17 OpenOffice.org ....
|
|
On Fri, 6 Feb 2009 06:22:00 +0100, "Gilles" <gvalette@wanadoo.fr
Bonjour tous.
J'ai beaucoup apprci le fil "Avis sur les include files" o ont t
abordes entre autres des questions sur l'enseignement du C++ et les "bonnes
habitudes" enseigner...
Started by Gilles on
, 100 posts
by 13 people.
Answer Snippets (Read the full thread at omgili):
Après avoir
étudié Java et C++, apprendre Python comme;gvalette@wanadoo.fr
Est-ce que tu as identifié des problèmes avec le choix du C++ ?
Mais pourquoi Java ? Pourquoi LEZ a écrit....
Honte à l'époque du bash, python et ruby ...
|
|
Hi,
I want to call matlab in bash non-interactively and use its result outside Matlab.
For example, I have a script test.m
rand(3,4) quit
When I execute in bash
$ matlab -nosplash -nodesktop -nodisplay -r test Warning: No window system found. Java option...
Started by Tim on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Then you can, and the $$ env variable (the bash process's PID) incorporated in the file name to prevent collisions);
To invoke it from bash,....
This includes all crash reports.
A copy of any output to the command window in file log .
|
|
On Mon, 01 Oct 2007 11:24:15 +0100, Sam Morris <sam@robots.org.uk> wrote:
Package: sun-java6-plugin
Version: 6-02-1
Severity: serious
Tags: security
Justification: remote DOS on user's browser
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
Answer Snippets (Read the full thread at omgili):
On Mon, 01 Oct 2007 12:54:04 +0200, Florian Weimer <fw@deneb.enyo.de> wrote:
* Sam Morris:
> Package: sun-java6-plugin
> Version: 6-02-1
> Severity: serious
> Tags: security
> Justification: remote DOS on user's browser
Browser... .
|