JVM (Java Virtual Machine) is an abstract computing machine (or virtual machine), a platform-independent execution environment that converts Java bytecode into machine language and executes it.

learn more… | top users | synonyms

2
votes
1answer
8 views

Glassfish Server JVM Tunning

I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS ...
0
votes
1answer
23 views

java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0

I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
0
votes
1answer
73 views

When the JVM is doing a complete GC, is it expected to see a large number of page fault/sec?

It is Window 2003 server. We are running some performance test, and what we see is: 1. In first 5 hours, the page fault/sec is very small, like 10 or 20 In the last 1 hour, the page fault jumps to ...
0
votes
1answer
38 views

Can the JVM(Oracle) run into an OutOfMemory error if the heap size is below the max?

I am running a Tomcat site(with an NGinx front end) that seems to be randomly running out of memory even though the max heap size is pretty large. My question is is it possible for the JVM to get an ...
0
votes
0answers
123 views

JVM system time runs faster than HP UNIX OS system time [closed]

Hello I have the following output from a simple debug jsp: Weblogic Startup Since: Friday, October 19, 2012, 08:36:12 AM Database Current Time: Wednesday, December 12, 2012, 11:43:44 AM Weblogic JVM ...
0
votes
2answers
214 views

Linux out of memory on VPS

On my VPS (CentOS) 4GB ram (2 + 2 dynamically assigned when needed) and i have tomcat running with following options JAVA_OPTS="-Xms256m -Xmx2048m -XX:MaxPermSize=256m". Now when i try to start ...
1
vote
0answers
41 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
1
vote
0answers
26 views

Authenticate JMX to Active Directory on Linux [closed]

Is it possible to have a Linux JVM use Active Directory for JMX authentication?
1
vote
1answer
528 views

JVM tuning in JBOSS AS 7

Can anyone explain as to where and how do I configure the following JVM parameters to tune JBOSS. I am using the latest JBOSS AS 7. I am using openJDK-6 on Linux. The following are the parameters ...
1
vote
1answer
81 views

Swap space maxing out - JVM dying

I have a server running 3 WordPress instances, MySql, Apache and the play framework 2.0 on 64m initial & max heap. If I increase the max heap of the JVM that play is running in even by 16m I see ...
1
vote
1answer
239 views

Migrating WebLogic 10.3.0 to new host. Slow managed server startup times

We are migrating our Blue Martini Commerce application (only supported on WebLogic 10.3.0) to a new host (Redhat 6.3 on a VMWare ESX vm). We are seeing extremely slow start up times for our managed ...
0
votes
1answer
76 views

Difference between JMX and PMI

I'm not a websphere admin but I understand the basics of JMX and PMI. I'm wondering what's the difference between them.
1
vote
0answers
128 views

what is the default size of jvm heap when using maven to create jvm?

I am using the server started by the following command. mvn jetty:run i want to stop the server, but i failed to run mvn jetty:stop, even faild to run java -version, why? [mirror@home wpse]$ mvn ...
3
votes
1answer
75 views

How to determine what websites or local applications are using JVM/JRE

We run a large Windows shop -- tens of thousands of workstations. Most have a version of the Sun/Oracle Java Virtual Machine (JVM) installed. With all the security issues around the JVM, we'd like to ...
-1
votes
1answer
64 views

How many JVM process on a hardware [duplicate]

Possible Duplicate: Can you help me with my capacity planning? If CPU and RAM on a production host allows more than one JVM (server instances) to run in parallel (to build server farm). How ...
6
votes
4answers
5k views

Cannot switch, ssh to specific user: su: cannot set user id: Resource temporarily unavailable?

/var/log/secure: su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_unix(su-l:session): session ...
3
votes
5answers
3k views

How can I monitor memory usage for a windows-based JVM and trigger an alert if it gets too high?

I have an app that runs as a JVM in Windows 2008. I'd like to monitor it's memory usage and be sent an email if/when memory usage reaches a specific threshold. Is there a free utility or method for ...
0
votes
4answers
824 views

Coldfusion on VPS, how much JVM heap memory?

Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions. I thought simply to rise ...
1
vote
1answer
160 views

Reduce Tomcat6 memory footprint

This is my setenv.bat (windows installation). It's the MySQL enterprise monitor service manager. set JAVA_HOME=D:\MYSQL_~2\SERVIC~1\java set JAVA_OPTS= ++JvmOptions="-XX:+UseParallelOldGC" ...
0
votes
2answers
764 views

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the ...
0
votes
0answers
68 views

ColdFusion JVM: strange memory behaviour

Since last month, we got a problem on our company's server (Win2008ServerStd + IIS7 + CF enterprise 9.0.1 (hotfix2)). I used jConsole to monitor the Coldfusion JVM (1.6.0_24) activity and here's what ...
0
votes
1answer
108 views

JVM garbage collection: What is the difference between “survivor 1” and “survivor 2”?

In Oracle's Java Virtual Machine's Garbage Collector, what are the respective roles of "survivor 1" and "survivor 2" ? Are the objects always moving like: Eden → Survivor 1 → Survivor 2 Or can an ...
0
votes
1answer
768 views

Jenkins (JVM) crashes after few minutes after start

Host OS: OpenVZ host Guest OS: Debian 6.0 minimal Java: java6 sun Servlet container: Winstone Jenkins for debian: http://pkg.jenkins-ci.org/debian/ Jenkins version: 1.449 uname -a: Linux hostname ...
2
votes
1answer
224 views

What are the best practices for monitoring and alerting for low level JVM metrics?

I'm looking to set up monitoring and alerting for java server based app and want to find some best practices for monitoring JVM specific metrics and for designing alerts based on those metrics. So ...
1
vote
0answers
138 views

How to make glassfish v3.1.1 run with -Xmx256m?

I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome. ...
1
vote
2answers
596 views

Performance issue with JVM (1.6.0_22) invoking OS command on Solaris 10

My high-level problem is my build tool (Maven) which became suddenly very slow on a Solaris 10 environment. A build which was taking 8 minutes now takes 50 minutes. I narrowed this problem down to a ...
0
votes
1answer
344 views

Eclipse for PHP is unable to locate JRE

I have JRE installed on my system. In fact, Eclipse IDE for Java, which also needs JRE, is already running. Now I tried running Eclipse for PHP and it says - A JRE or JDK must be available in order ...
1
vote
1answer
502 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
3
votes
1answer
185 views

SysRq, task list and missing processes

I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one ...
2
votes
1answer
751 views

how to solve out of memory error in java in amazon ec2 server

can anyone explain about this error message? we are using IBM jre to run java application Its occupying more space on the server. JVMDUMP006I Processing dump event "systhrow", detail ...
1
vote
1answer
1k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
0
votes
1answer
100 views

Load balancing in Tomcat in 64-bit OS

Sorry about double post. Actually I want to move my question on StackOverflow to ServerFault but it seems like I can't do it. Below is my question: I have a web application and required load ...
0
votes
4answers
1k views

Hung Java JVM failing to respond to kill -3

I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
2
votes
1answer
237 views

Amazon Ec2 segfault error

I have a production Java application hosted on Jetty. During the last week or so, the system has crashed, leaving only a single message accessed with "dmesg": java[20551]: segfault at ...
1
vote
2answers
208 views

finding a linux distribution that will run on sparc cpu

We have a server that runs on Solaris using the sparc CPU. What we want to do is run linux on sparc. Is there any distribution that will allow linux to run on a sparc CPU? The reason is because we ...
1
vote
2answers
2k views

Deploy Jetty as port 80 daemon on Linux

I'm curious what techniques you Linux admin gods are using to manage your Jetty deployments. I come from a Windows Server background so I'm still getting used to all of this. I've been looking for a ...
2
votes
1answer
198 views

Environment variables and further user setup

I have a jar file, which works in many machines. However we just asked for a new unix user to install it, and it is not behaving the same... wonder if it could be anything related to some env. var. ...
1
vote
2answers
337 views

Coldfusion multiserver instance hangs

I have a coldfusion 8 multiserver setup with IIS in Windows 2008 Standard SP2 and when one instance "hangs" (I can't connect to the instance from fusion reactor) the web server throws a "503 service ...
0
votes
4answers
2k views

JVM remote monitoring

I was trying to configure JVM for remote monitoring but getting the below error on server The configuration has not been set for this resource due to : Invalid configuration: Error contacting ...
1
vote
2answers
259 views

Running Java on VPS environment

I have been advised by my friend that when running Java on virtual environment, it can suck RAM quite drastically over time and adding more RAM won't make any difference. Is this true? Why is this ...
0
votes
1answer
682 views

How to monitor Java memory Usage or Heap Size via Hyperic Monitoring

I was trying to configure the JVM memory usage, Heap Size and Logs monitoring via Hyperic Tool. But the documentation is not much clear how to do that. Is anybody can guide me please.
0
votes
1answer
371 views

How should I deploy my JVM-based web application on ubuntu?

I've developed a web application using clojure/compojure (JVM based) and while developing I tested it using embedded jetty that runs on 0.0.0.0:8080. I would now like to deploy it to run on port 80 on ...
1
vote
1answer
5k views

add-apt-repository: command not found in Ubuntu 10.04

I installed my VPS with Ubuntu 10.04 64 bit and I even checked with cat /etc/lsb-release and I got DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu ...
1
vote
1answer
1k views

fork: Resource temporarily unavailable running JVM

I'm running a Tomcat 6 instance on a 34 GB EC2 instance. I've been struggling to keep the memory down but this thing services a lot of requests and the heap frequently gets up to 13 GB. But the heap ...
0
votes
1answer
357 views

Changing WebSphere's JVM to x64 [closed]

Recently i had installed WebSphere Portal 6.1 on my computer with Windows7 x64. But i had discovered that it runs on 32 version of JVM. How can i make it run on x64 ? Should i reinstall webSphere or ...
0
votes
2answers
318 views

Running two different versions of Tomcat each with a different version of the jdk

I inherited a test system where the Tomcat and JVM didn't match those on the production server - and it matters. Yet I can't change the versions in test. So I want to add to the test server a new ...
3
votes
3answers
2k views

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error ...
1
vote
2answers
875 views

Glassfish V3 using up all available memory

I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an ...
4
votes
5answers
3k views

Tracing slow Java I/O in Solaris 10

We have a Java application which is significantly slower in Solaris 10 server than in Windows PC. We have profiled (-Xprof) the application and observed that UnixFileSystem.getBooleanAttributes0 ...
1
vote
2answers
1k views

JVM memory initializazion error after windows update

We have three Windows Server 2003 with 2 GB RAM. Server1 tomcat 5.5.25 jvm version SUN 1.6.0_11-b03 Server2 tomcat 5.5.25 jvm version SUN 1.6.0_14-b08 ...

1 2