From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10520 invoked by alias); 29 Apr 2002 20:06:13 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 10505 invoked from network); 29 Apr 2002 20:06:09 -0000 Received: from unknown (HELO rwja.umdnj.edu) (130.219.4.100) by sources.redhat.com with SMTP; 29 Apr 2002 20:06:09 -0000 Received: from umdnj.edu ([130.219.242.230]) by rwja.umdnj.edu (8.9.3 (PHNE_24419)/8.9.3) with ESMTP id QAA21851; Mon, 29 Apr 2002 16:06:06 -0400 (EDT) Message-ID: <3CCDA757.8080808@umdnj.edu> Date: Mon, 29 Apr 2002 13:06:00 -0000 From: Don Smith User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9+) Gecko/20020414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anthony Green CC: rhug-rhats@sources.redhat.com Subject: Re: tomcat 4 jsp compilation status? References: <3CC9B98A.1070506@umdnj.edu> <1019925156.3282.6.camel@dhcppc2> <3CCD50A5.9090102@umdnj.edu> <1020089312.2048.24.camel@dhcppc2> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00011.txt.bz2 I've had some trouble building tomcat, in that it states.. /upstream/src/share/org/apache/jasper/compiler/JspUtil.java:79: Class or interf ace `javax.xml.parsers.ParserConfigurationException' not found in import. import javax.xml.parsers.ParserConfigurationException; ^ ./upstream/src/share/org/apache/jasper/compiler/JspUtil.java:155: Type `Document BuilderFactory' not found in the declaration of the local variable `docFactory'. DocumentBuilderFactory docFactory = DocumentBuilderFactory. ^ ./upstream/src/share/org/apache/jasper/compiler/JspUtil.java:159: Type `Document Builder' not found in the declaration of the local variable `builder'. DocumentBuilder builder = docFactory.newDocumentBuilder(); ^ ./upstream/src/share/org/apache/jasper/compiler/JspUtil.java:171: Type `ParserCo nfigurationException' not found in the declaration of the local variable `ex'. } catch( ParserConfigurationException ex ) { ^ 4 errors make: *** [upstream/src/share/org/apache/jasper/compiler/BaseJspListener.lo] Err or 1 now i thought jaxp was a part of gcj, but just to be safe i tried compiling xalan and got the following error gcj3 -C --encoding=8859_1 --classpath=upstream/src:./../xerces/upstream/src:./.. /BCEL/upstream:./../cup/upstream:./../gnu.regexp/upstream/src:./upstream/src -O2 -d upstream/src upstream/src/org/apache/xml/dtm/ref/CoroutineSAXFilterTest.java upstream/src/org/apache/xml/dtm/ref/CoroutineSAXFilterTest.java:67: Type `org.ap ache.xml.serialize.XMLSerializer' not found in the declaration of the local vari able `trace'. org.apache.xml.serialize.XMLSerializer trace; ^ 1 error make: *** [upstream/src/org/apache/xml/dtm/ref/CoroutineSAXFilterTest.class] Err or 1 I just want to get things working before i mess with them, any ideas as to what the problem is? Anthony Green wrote: >On Mon, 2002-04-29 at 06:54, Don Smith wrote: > > >>1. From what i've read servlets seem to work, is this so, and if so how. >>I ask because it seems that if servlets work then jsps should be not to >>complicated as long as i can compile them to .class servlets >> >> > >Just compile and install tomcat from rhug. I don't think the install >procedure is very sophisticated right now. Find the directory where the >webapps are supposed to be and compile then servlets to .class or .so >files. It should really be that easy. > > > >>2. what version of gcj should i use to try and compile tomcat, is 3.0.4 >>new enough or do i need the 3.1 branch >> >> > >You will definitely need the tools on the 3.1 branch. It won't build >with anything older anymore (compiler options have changed names, for >instance). > > > >>3. has any of this been tried with tomcat4 or just 3.3 >> >> > >Just whatever is in rhug right now. I'd like to get upgrade this to >tomcat4 once we get jsp working. > > > >>4. does the connection to apache work? and if so what connector should i >>use? does mod_jk work as well >> >> > >Nobody has tried this yet. > >As you can see, this is mostly uncharted territory. I think it has >great potential if we can get it built/working and easy to install. > >Thanks! > >AG > > >