jrockit

Can you run glassfish with JRockit?

Has anyone tried running glassfish with JRockit? I see some references saying it's not possible but they are very outdated. Anyone tried this? ...

Monitor JRockit JVM via SNMP

I would like to monitor my Java application (running in JRockit) via SNMP protocol. I only need some basic informations. Is there any startup parameter that I can add to my app to enable SNMP? ...

JRockit Dump File

I need a parameter to start JRockit JVM without (doesn´t metter what happens) generating dump files. Something like -DnoDump or -XXnoJrDump would be great. ...

JRockit Mission Control - MemLeak not showing any of my objects

I'm running a Weblogic application server, version 10.3. In it i run a couple of enterprise applications. I suspect a memory leak so i booted up mission control and memleak. The problem is Memleak Tren tab doesn't show any of my own objects only bea, java and sun objects are listed. I sincerely doubt mine occupy less than 0,1% of the he...

Caveats to watch for in transition from Sun JVM to JRockit?

We are thinking of transitioning a large product from relying on Sun's JVM to JRockit. I'm not naive enough to believe that this is going to be a smooth transition (though I'd love to be wrong). What issues should we watch out for or focus our regression testing on? ...

What is max heap size I can allocate for JVM on Win32 machine ?

I have BEA JRockit JDK 5.0 Update 6 running on Windows XP. I wish to know what is the max heap I can allocate when I have primary memory of 4GB on my machine. ...

JSP compilation fails on Weblogic 10.3 but works on Weblogic 10

I have below piece of code in one my JSP <%@ page language="java" import = "import com.ecc.SiteAdmin.servlets.*" %> This file compiles and works fine on Weblogic 10 with Sun JDK 5, but fails with below message on Weblogic 10.3 with JRockit 6 SiteAdminLogin.jsp:1:36: No type with this name could be found at this location. <%@ pag...

Eclipse changed JRE for a project

I changed the JRE for a project in eclipse (Sun to JRockit). But when I try to run a class with main method I get a pop-up error message "Could not find main class. Program will exit" and "Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Jrockit1/5" in the console. I can see that the project got rebuilt (timestamp of cla...

Sun permgen & JRockit garbage collection

In the Sun JVM, classes that are loaded by the class loader are put in permgen space and never gc'd. (Unless the class loader goes out of scope) It's my understanding that JRockit puts that same data on the heap instead. Is that data then subject to garbage collection? Thanks. ...

Java native methods issues with SUN JVM (jdk1.5.0_14) and multi-core CPU’s

We are hosting an application on SUN JVM that handles a lot of XML parsing using Jaxb. The application is parsing the XML fine using JRockit 5 but when using the SUN JVM the JVM spends a majority of it’s time on native methods such as java-lang.System.arraycopy, java.lang.String.intern and java.lang.ClassLoader.getPackage. The CPU load ...

java.lang.Error: "Not enough storage is available to process this command" when generating images

I am running a web application on BEA Weblogic 9.2. Until recently, we were using JDK 1.5.0_04, with JAI 1.1.2_01 and Image IO 1.1. In some circumstances (we never figured out exactly why), when we were processing large images (but not that large - a few MB), the JVM would crash without any error message or stack trace or anything. Th...

JRockit Mission Control does not capture Spring Bean methods invocations

Hi, I am trying to profile my Spring Web app running on WebLogic 9.2 JRockit Mission Control 4.0 works perfectly except it doesn't capture Spring Beans method invocations. Are there any tricks to make it work? ...

String not serializable exception coming for interned strings from Wicket Model (on JRockit/Weblogic)

Hi, The following seems to be a bug with JRockit or Weblogic, but maybe someone on this list has seen it before and has a better workaround/solution. We have been developing a Wicket application for a government agency that is going to be used by 15k users. The application will be deployed on a Weblogic cluster running on JRockit and Red...

How do I analyze a .mdmp file?

I have java application that is crashing while in production. It doesn't do so in dev/QA. The jvm is creating a .mdmp file and a text file. How do I analyze the binary dump file? I googled but had no luck. We are using bea jrockit jvm 1.5 R27. ...

Java availableProcessors() in a Solaris Container

I'm using a Solaris Container with 2 cores (the physical machine has 32 with 8 threads, each one) to run a jvm (BEA Jrockit). The surprise is: Runtime.getRuntime().availableProcessors() returns 256 rather than 2 or, say 16. That is, the application (a sealed product) believe in 256 cores available, what may cause performance issues. A...

JRockit vs HotSpot classloading issue - META-INF/services

According to the javadoc of javax.xml.validation.SchemaFactory#newInstance, I can specify which implementation of SchemaFactory I want, by placing a file in META-INF/services called javax.xml.validation.SchemaFactory with the required class (in my case org.apache.xerces.jaxp.validation.XMLSchemaFactory). This works fine when I run Weblo...

JRockit product differences (Mission Control/Real time)

The detailed differences between the jrockit downloads available: Oracle JRockit Mission Control and Oracle JRockit Real Time *(Version 4.x) Anyone faced any issues in testing Jrockit with Tomcat (Version 7.x or 5.x?) ...