[opencms-dev] Installation issues - Incompatible compiler & JRE

Paul D. Bain paulbain at pobox.com
Wed May 25 06:42:18 CEST 2005


Ethan Baldridge wrote:
> Installing the SDK instead of the RE didn't solve the issue, the error
> message seems to suggest though that the problem is probably in the
> compile stage, before it even hits the runtime.

Ethan,

	Please DO NOT "top post." Reply to another person's comments and 
questions "in-line" by placing your comments directly beneath those that 
you want to reply to. Your following this practice makes it much easier 
for other people to follow the discussion.

> Honestly, I don't know what it's using to run the bytecode - I don't see
> an option to change it in any of the files in /etc/tomcat. I merely
> assumed it was the java runtime environment. I also don't see an option
> to change what it compiles with, but I assume it's gcj both from the
> error messages and also the fact that the RPM of tomcat installed has a
> dependency on gcj. Since the RPM required it, I assumed that was normal
> and not needed to explain. I apologize if my assumption was incorrect.
> 
> Tomcat itself works just fine, I can view the examples and whatnot
> perfectly.
> 
> localhost is the name of the default virtual host served by tomcat - I
> haven't seen a need to change the name, which is after all, merely a
> reference. The log file produced by tomcat for this virtual host is
> therefore, localhost.log

	OK, that is fine. In earlier versions of Tomcat (e.g., ver. 1.4.x), 
Tomcat's log file was called "catalina.out" (by default), not 
"localhost.log". Perhaps this name ("localhost.log") is peculiar to Red 
Hat distributions, such as Fedora Linux.

> I appreciate you're trying to help, but I think you're being a little
> confrontational. I did post the error message in my earlier email, in
> fact it was at the very top of it. I will quote the first few lines
> below.

	OK, I erred. My email client did not properly display the entire email 
thread, just part of it. I apologize for seeming to be confrontational.

  > I understand that you answer a lot of silly questions on this list,

	I do? I "answer a lot of silly questions on this list?" Well, I will be 
damned. From time to time, I ask a few silly questions, too.

> and
> I understand that mine may simply be another one. 

	I do not think that your question is "silly." Rather, I think that you 
need to learn a bit more about Tomcat, Java, and J2EE Web 
administration. I shall reiterate my earlier suggestion: make certain 
that your compiler and JRE are compatible by ensuring that they share 
the same version and are from the same creator, e.g., Sun, 
Blackdown.org, GNU, etc.

> I have been doing Unix
> systems administration for 7 years, on Solaris and Linux, and I did
> seriously read all the documentation I could find and I searched the web
> diligently for solutions earlier. The mailing list was honestly my last
> resort, because I don't like to bother people. I am simply stumped.
> 
> Thanks,
> Ethan
> 
> 
> On Tue, 2005-05-24 at 17:03 -0400, Paul D. Bain wrote:
> 
>>cherif wrote:
>>
>>>Hi Ethan,
>>>At what [step] of the installation process are you getting this error?
>>>Also you say [that you are] using Tomcat 4.1.27 - from Fedora Core 2  ?
>>>and why J2RE 1.4.2  instead of  the jdk  ([sometimes] it's better to use the
>>>jsdk) ?
>>
>>	Yes, this could be the source of his difficulty. See my comment below.

Cherif,

	What do you think? Please let us know.

Sincerely,
Paul Bain



More information about the opencms-dev mailing list