tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Balazuc" <denis.bala...@trader.com>
Subject Re: [PATCH] [3.3] etomcat target
Date Tue, 25 Dec 2001 22:13:01 GMT

----- Original Message -----
From: "Jeff Turner" <jeff@socialchange.net.au>
To: <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, December 26, 2001 1:10 AM
Subject: [PATCH] [3.3] etomcat target


> Hi,
>
> On the 17th, Costin added an 'etomcat' target:
>
> > Added a target to build 'embeded' style tomcat, i.e. a single jar
containing
> > everything ( no more lib/container, etc ). It is self-runnable and
should start
> > tomcat with the defaults settings ( no server.xml, etc ) using the
current dir
> > as base.  Just add webapps and shake.
>
> > This is nice for people who just need a simple jar with no strings
attached (
> > configs, dir structure, etc ).
>
> It looked pretty broken when I tried it. The attached patch gets it
> compiled, I can now successfully start it by typing 'java
> -Dtomcat.home=... -jar webserver.jar'.
>
> The changes are:
>  - Declare dep on target that creates build/classes
>  - Change nonexistent ${servlet.jar} to ${servlet22.jar}
>  - Exclude all *SSL*, *JSSE*, *TLS* java files unless jsse.present. The
>    the previous approach of explicitly naming each class was not robust
>    enough. I found fully 9 other classes that weren't being excluded.
>  - Add the missing manifest.webserver, which I *guessed* should invoke
>    EmbededTomcat with the classpath crimson.jar and servlet22.jar
>  - Minor javadoc fixes in EmbededTomcat.java.
>
>
> Incidentally, any tips on classloaders and EmbededTomcat? Everything
> starts fine, but my servlet can't see any classes in WEB-INF/lib
> *unless* I explicitly use the context classloader. Oh well, that's for
> another mail.
>
> Thanks,
>
> --Jeff
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message