Tag Info

New answers tagged

1

Your log sais that when the application is crashing, there is 224852k memory free: Memory: 4k page, physical 1027040k(224852k free), swap 0k(0k free) Also I see that you have no swap partition added. It's obvious that your system starves of memory. So you have to increase physical memory or add swap space. To add swap space while the system runs, ...


25

There is an option to disable future adware installation in the Java Control Panel. The Java Control Panel (jre\bin\javacpl.exe) can be found in the start/app menu under the name Configure Java or in the Windows Control Panel, under the Programs group. In the Java Control Panel, the option is hidden under the Advanced tab, at the very bottom. It is named ...


9

If you are willing to use third-party software, try Ninite (ninite.com). I've been using it for the past few years for a lot of updating. It's a free unattended installer/updater for things like Java, Flash, Silverlight, web browsers, utilities, developer tools etc., The install/update doesn't need any interaction, just start it and it will install ...


48

The off-line installers at http://oracle.com/technetwork/java/javase/downloads/index.html do not include bundled software.


0

No. Installing Ask is completely optional (although this option is checked by default). So uncheck it and only Java gets installed!


0

Leaving the deployment scanner on is a security risk. Set scan-enabled="false" like so: <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"> <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-enabled="false"/> </subsystem> How you start and stop JBoss is really up to you and how you like to ...


0

That message is coming from the CQ application, not the JVM. From what I gather, in some circumstances CQ will launch separate JVMs for different parts of the system. CQ has some command-line options to control this behavior: -debug <port> Enable Java Debugging on port number; forces forking -nofork Do not fork the ...


0

if you have installed the JDK but still getting error, there may be conflict between JDK and JRE classes. Add path to bin folder inside jdk (like: C:\Program Files\Java\jdk1.8.0_20\bin) in the CLASSPATH system variable. It will solve the issue.


1

I would say you have two options here: AWS Cloud Watch (http://aws.amazon.com/cloudwatch/), which you can use to measure lots of metrics about the instance, e.g. CPU usage, memory usage, etc... and this has notification as well. You can also use it with AWS's auto-scaling option to scale out and in if required. This option however will not measure the ...


0

Just download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html, and If you receive this error, UNIX cannot find the compiler, javac. or javac: Command not found - after installing Java Here's one way to tell UNIX where to find javac. Suppose you installed the JDK in /usr/local/jdk1.8.0. At the prompt you would type the ...


0

javac: Command not found If you receive this error, UNIX cannot find the compiler, javac. Here's one way to tell UNIX where to find javac. Suppose you installed the JDK in /usr/local/jdk1.8.0. At the prompt you would type the following command and press Return: /usr/local/jdk1.8.0/javac hello.java Note: If you choose this option, each time you compile ...


0

So I found a partial solution around the problem. I invoked maven from the command line with: sudo -u jenkins /opt/apache-maven-3.2.5/bin/mvn archetype:generate -DgroupId=org.eclipse.m2e -DartifactId=lifecycle-mapping -Dversion=1.0.0 -DarchetypeArtifactId=maven-archetype-mojo this gets past the particular problem, but I'm running into others. I'll make ...


1

Have your application debugged. If you get an OOM after a couple hours, then chances are that something is really wrong with it, and you won't fix it by adding more memory. You'll just add more time until it dies. Furthermore, JBoss 4.1 is very old, so I assume nothing really fancy is running on it. Check the logs for connection leaks, heap dumps and stack ...


0

The Java heap is a block of memory that holds java objects. "pmap" shows the Operating System process heap. This is the memory used to run the java process. This includes all the java code, plus all the C code that makes up the java run time environment. To show the java heap try Memory tab of jconsole, or jmap or jstat.


1

To remove java 1.7 and install java 1.8: sudo yum remove java-1.7.0-openjdk sudo yum install java-1.8.0



Top 50 recent answers are included