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

cherif multxt at free.fr
Wed May 25 15:05:15 CEST 2005


hello Paul D and Ethan,

Sorry if i send 2 times and my english!!

Ethan, there is no silly question, no body can claim to know everything. So
you are rigth to post your problem.

The JDK is basically a JRE plus a compiler so you can compile and run java
programs yes ?
Because Tomcat needs a compiler to process JSP pages, you MUST download the
JDK, yes?

jsp = java server pages

basically opencms Installation issues (on unix system and my own experience,
don't know about  windows) is coming from:
----->bad PATH setting :java classes can't be found(e.g javac, even java) or
other needed resources.
----->bad combination of versions (jdk version, jsp specification
level(tomcat version),  mysql version ..)
keep on mind that tomcat version 4.x =  servlet 2.3 specification - jsp 1.2
specification
    tomcat version 5.x =servlet 2.4 specification - jsp 2.0 specification
etc....

Please try to be sure gatering and "combining" the rigth pieces

I think Paul is rigth you are having incompatibility problem

You have installed your JRE via RPM, then before installing the jdk, did you
remove your JRE RPM instal  ? (rpm -e .....)

Can i suggest : jdk-1.5_0_03-linux-i386.bin, jakarta-tomcat-5.5.9.tar.gz,
MYSQL-server-4.1.11-0.i386.rpm,MYSQL-client-4.1.11-0.i386.rpm,mysql-connecto
r-java-3.1.8a.tar.gz those what i am using on fedora core 3 (think should
work well on fc2)
generally i don't like spanding too much time in deburging, very stressing,
often trying to find the good combination as i describe is far more quiker..

I stay watching

Regards

----- Original Message ----- 
From: "Paul D. Bain" <paulbain at pobox.com>
To: "The OpenCms mailing list" <opencms-dev at opencms.org>; "Cherif"
<multxt at free.fr>
Sent: Wednesday, May 25, 2005 6:42 AM
Subject: Re: [opencms-dev] Installation issues - Incompatible compiler & JRE


> 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