Ronald James

Greenhorn
+ Follow
since Oct 17, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ronald James

T=hanks. I've already done that and it works. But my real problem is that Panscopic is no longer a supported product, and that doesn't run under Tomcat 7. So, until we replace the whole setup, I'm stuck with Tomcat 4. I feel that I'm not far from getting this working, and after all the Java philosophy is that software should run under any JVM. So if only I could find out why the JVM isn't loading, I could solve my immediate problem whhile I look for a replacement of the whole setup.

10 years ago
I've found an Event Log error reported by Apache Tomcat - Could not load the Java Virtual Machine.

I've double checked the PATH, rebooted (to ensure that the services does not have an out of date path), and double checked the JVM Library key in the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Apache Tomcat\Parameters\JVM Library. They all point to the correct locations for Java.exe or JVM.dll.

java -version reports:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

I've also check the other relevant looking registry entries:
JVM Option Number 1: -Djava.class.path=C:\Program Files\Tomcat\jakarta-tomcat-4.1.30\bin\bootstrap.jar;C:\Program Files\Java\jdk1.7.0_40\lib\tools.jar
JVM Option Number 2: -Dcatalina.home=C:\Program Files\Tomcat\jakarta-tomcat-4.1.30

And these point to correct locations.

So why would the service "not be able to load the Java Virtual Machine"???

Is the refernce to Mixed Mode in the java version report a clue? What does this mean?

Thanks
10 years ago
We're running Tomcat 4.1.30 on Windows 7 and Windows server 2008 to support Panscopic Scopeserver24. The system has been running under Java 1.4.2 and we're now starting to get Out Of Memory errors on large reports. My understanding is that Java code is portable since it's compiled to bytecode, so I'm hoping that I can get this system to run under the latest 64 bit version of java - 1.7.0.

I've uninstalled Java 1.4.2 and installed 1.7.0, but cannot get the tomcat service to start. I did notice in Tomcat's registry settings (HKLM\SYSTEM\CurrentControlSet\services\Apache Tomcat\parameters that some jar files referenced here had been placed in different directories. I fixed that in the registry, but the service would still not start.

in a DOS box:
Net Start "Apache Tomcat"
The Apache Tomcat service is starting.
The Apache Tomcat service could not be started.
The service did not report an error.

I don't see any file in Tomcat's log file directory.


Any suggestions on how to get tomcat started or hoe to debug the issue would be appreciated.

Thanks

Ron James
10 years ago
We have an unsupported 3rd party reporting application, (Panscopic’s Scopeserver running under Tomcat), that has started having out of memory errors when running very large reports. Long term, we’re looking for a replacement, but short term I’m wondering if I can upgrade the underlying Java run-time environment to 64 bit. We’re currently running under a 32 bit version of Java on 64 bit MS Windows with 12Gb RAM.
Given that Java compiles to byte-code and the run time environment enables that code to run on a variety of platforms,
• Will Java .class files compiled under a 32 bit version of the compiler run under a 64 bit version of the run time environment?
• If the software runs, is it likely that Out-Of-Memory problems might go away, at least until we hit 64 bit limits?
10 years ago