Thanks everyone for the help. I ended up making my original thread sleep
indefinitely. I'm not happy about that, but it works.
There were a lot of replies asking "why". Again, this is an example project.
Everything company specific and irrelevant to the example has been removed. It
has no p
to simply want to run a servlet
in a servlet container, and it certainly breaks the principle of least surprise
that it stops.
On 1/29/10 2:04 PM, "Caldarale, Charles R" wrote:
> From: Clay McCoy [mailto:cmc...@acteksoft.com]
> Subject: Embedded tomcat example
>
> Th
http://github.com/claymccoy/ExecutableWar
Here is an example project for people interested in making an executable war,
or a Groovy script to start embeded Tomcat.
The idea was to take my real project and remove everything not relevant to this
example. But it doesn't work anymore. :(
The scr
ilip Hanik - Dev Lists" wrote:
simplest
http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
On 01/21/2010 01:41 PM, Clay McCoy wrote:
> I want to deploy a war file in an embedded Tomcat.
>
> There a few outdated exampl
I want to deploy a war file in an embedded Tomcat.
There a few outdated examples, and many posts where this gets asked and never
answered.
http://www.mail-archive.com/users@tomcat.apache.org/msg19481.html
The methods once used to do this are gone, and I can't find any examples of how
to do such
I want to programmatically deploy a War file in an embedded Tomcat.
I found these two examples:
http://onjava.com/onjava/2002/04/03/tomcat.html
http://mail-archives.apache.org/mod_mbox/tomcat-users/200704.mbox/<20070427190204.279...@gmx.net>
Both appear to be completely out of date. I'm using T
I have some servlets that are in jars in web-inf/lib and Tomcat does not see
them. I know that it is typical to have servlets in web-inf/classes, but it is
an existing application.
Is there a way to get Tomcat to use these Servlets without moving them to
web-inf/classes? They are mapped in the
I'm running my app on embedded Tomcat. My startup script and information is
here: http://gist.github.com/259737 I almost have it working. I just can't
see any images. There are no errors, and I can't find any info elsewhere
online. Any idea what I should look at? Thanks.
---
am seeing yet.
Thanks,
Clay
On 12/20/09 10:24 PM, "Clay McCoy" wrote:
Thank you, this got me closer. I have two questions:
1) My current web.xml didn't configure the jsp servlet. I haven't had do
configure that for a number of other containers. I don't understand
ctionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:637)
On 12/20/09 8:56 PM, "Konstantin Kolinko" wrote:
2009/12/21 Clay McCoy :
> When I run embedded Tomcat my jsps 404, but my se
Oh, and no errors in the logs.
On 12/20/09 8:32 PM, "Clay McCoy" wrote:
When I run embedded Tomcat my jsps 404, but my servlets work.
When I run standard (by putting my war on the Tomcat/webapps directory) my
servlets 404 but my jsps work (without any css).
Can anyone shed some lig
When I run embedded Tomcat my jsps 404, but my servlets work.
When I run standard (by putting my war on the Tomcat/webapps directory) my
servlets 404 but my jsps work (without any css).
Can anyone shed some light on this?
My startup script for embedded is here: http://gist.github.com/259737
Thank
OS X 10.6.2, Java 1.6.0_17, tomcat 6.0.18
I've spent hours researching how to configure embedded Tomcat. It starts up
fine, Spring config works, but I get 404's when loading the jsps (
http://localhost:8080/App/test.jsp) . I have the code that I am using to start
Tomcat here:
http://gist.gith
13 matches
Mail list logo