Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 32904 invoked from network); 9 Aug 2000 09:17:17 -0000 Received: from mx1.decode.is (root@213.167.128.30) by locus.apache.org with SMTP; 9 Aug 2000 09:17:17 -0000 Received: from snote.decode.is (snote.decode.is [172.18.0.6]) by mx1.decode.is (8.9.3/decode) with ESMTP id JAA25611; Wed, 9 Aug 2000 09:15:27 GMT Received: from wp0314 ([172.19.1.225]) by snote.decode.is (Lotus Domino Release 5.0.3 (Intl)) with SMTP id 2000080909193273:213 ; Wed, 9 Aug 2000 09:19:32 +0000 From: =?iso-8859-1?Q?Stef=E1n_Freyr_Stef=E1nsson?= To: Cc: Subject: RE: Where are my jar files and what's the difference between the different directories in Tomcat source??? Date: Wed, 9 Aug 2000 09:17:02 -0000 Message-ID: <003d01c001e2$96fb9280$e10113ac@decode.is> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <39903831.D4E96BE0@eng.sun.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-MIMETrack: Itemize by SMTP Server on DecodeDom/Decode/IS(Release 5.0.3 (Intl)|21 March 2000) at 09.08.2000 09:19:32, Serialize by Router on DecodeDom/Decode/IS(Release 5.0.3 (Intl)|21 March 2000) at 09.08.2000 09:19:33 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mx1.decode.is id JAA25611 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello Mr. McClanahan and thanks for your very informative answer. I'm sorry to bother you again with this, I realize you must be a very busy guy so I'll try to keep this as short as possible. I've looked at the server.xml file and I do not find anything that could possibly relate to SSL support for the internal web browser in tomcat. If you could give me some more information about that I would greatly appreciate it. I'll paste my server.xml file in here at the end of this message. Also I was wondering how it would go when I need to integrate this into another application... so that when that application starts up the webserver (with SSL support) also starts up and everything is set. Would I simply do the following in code: try { Tomcat tomcat=new Tomcat(); tomcat.execute( args ); } catch(Exception ex) { System.out.println(sm.getString("tomcat.fatal") + ex ); ex.printStackTrace(); } (Taken directly from Tomcat.java) Would that then start up an SSL web server... given, of course, that my server.xml file is correct? I hope I'm not bothering you too much and I hope you can give me an answer to these two questions I have. Thank you... Kind regards from Iceland, Stefan Freyr Stefansson. p.s. here's the server.xml file I have: ---begin--- ---end--- -----Original Message----- From: Craig R. McClanahan [mailto:Craig.McClanahan@eng.sun.com] Sent: 8. �g�st 2000 16:41 To: tomcat-dev@jakarta.apache.org Subject: Re: Where are my jar files and what's the difference between the different directories in Tomcat source??? Stef�n Freyr Stef�nsson wrote: > Hello... > > I'm having a hard time understanding this thing here... > > I've downloaded the Ant tool and the source of Tomcat. I've run "build.bat" > and after a few modifications and additions (had to create a JAVA_HOME > environment variable and add an XML implementation to my setup) the tomcat > builds allright and it even runs! > The detailed steps required to build from source are outlined in the README file in the top-level directory. > > The problem is that I can't find the jar files I was told I'd have > (webserver.jar, jasper.jar and server.jar). I want to integrate tomcat into > one of my projects and use the webserver and jsp/servlet engine in it... > that's why I'm doing this and I need the jar files... but as I said... they > are nowhere to be found... I've searched the whole drive and nothing... > The default build target creates an "unpacked" directory structure in "../build/tomcat". If you want a distribution build (i.e. like the ones you can download), do this instead: ./build.sh dist <-- Unix build dist <-- Windows and the results will be placed in "../dist/tomcat". > > I posted a question to this list a while ago asking about pointers for > stripping tomcat... that is, I only wanted the java files neccesary... no > native code and such. I got one answer to that... and that was to build it > and use the aforementioned jar files... I expect them to only have the class > files so it's not exactly what I wanted but it's better than nothing... But > I still would like to get some information about all the different > directories within the Tomcat source.... I mean, I have found the same > package names in more than one place and even the same java files under > different directories.. I'm confused as to which one is used and such since > I'm trying to put this in a nice JBuilder project. The reason for that > being that I want to modify it a little before I integrate it into my > project.. (add SSL support to the internal HTTP server and such). > The "proposals/catalina" directory is a completely separate code base that will be proposed in the future to become the servlet container in Tomcat 4.0. Ignore it for now if you are interested in Tomcat 3.2. Other than that, the best way to learn how the source is organized is to become familiar with the Ant tool, and be able to at least read the "build.xml" script. Then you will get a good feel for where things are compiled from, and where they end up. I cannot imagine that it would be particularly easy to adapt the existing build process to an IDE tool -- you might be better off creating a custom build target in build.xml that creates what you want, and then importing the resulting JAR file. By the way, built-in support for SSL is already possible -- example configuration is commented out in $TOMCAT_HOME/conf/server.xml. > > I hope someone can help me with this... as always, anything is greatly > appreciated. > > Thanks, Stefan Freyr > > Craig McClanahan --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org