On 4/24/2019 12:01 AM, Mark Thomas wrote:
If you don't want the baggage associated with a Servlet container it
might be worth looking at what other solutions are available.
Thanks for being forthright here, Mark. (Mark Wood also suggested the
same thing separately.)
Indeed I have used Jetty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Garret,
On 4/23/19 16:46, Garret Wilson wrote:
> On 4/22/2019 7:58 AM, Mark Thomas wrote:
>> On 21/04/2019 15:53, Garret Wilson wrote:
>>> … But now I realize Tomcat is creating this directory structur
>>> inside the "base dir" I specified:
>>>
>>>
It seems to me that the problem may be, that you are trying to use
Tomcat but cut away most of its raison d'etre. Asking Google for
"embedded web server java" will give you a lot of other possibilities
to explore, some of them extremely simple.
--
Mark H. Wood
Lead Technology Analyst
University
On 23/04/2019 21:46, Garret Wilson wrote:
> On 4/22/2019 7:58 AM, Mark Thomas wrote:
>> On 21/04/2019 15:53, Garret Wilson wrote:
>>> …
>>> But now I realize Tomcat is creating this directory structur inside the
>>> "base dir" I specified:
>>>
>>> tomcat.8080/work/Tomcat/localhost/ROOT
>>>
>>> I do
On 4/23/2019 5:46 PM, Garret Wilson wrote:
3. Since the temporary working directory is on a per-context basis,
and I've only set the "basedir" for the entire `Tomcat` instance,
Tomcat must be determining a default temporary directory for the
context. Surely I'm allowed to explicitly specify a t
On 4/22/2019 7:58 AM, Mark Thomas wrote:
On 21/04/2019 15:53, Garret Wilson wrote:
…
But now I realize Tomcat is creating this directory structur inside the
"base dir" I specified:
tomcat.8080/work/Tomcat/localhost/ROOT
I don't need this directory. I don't want this directory created. How do
I
On 22/04/2019 14:37, Christopher Schultz wrote:
> Garret,
>
> On 4/22/19 09:36, Christopher Schultz wrote:
>> Mark,
>
>> On 4/22/19 06:58, Mark Thomas wrote:
>>> On 21/04/2019 15:53, Garret Wilson wrote:
>>>> As I mentioned in other emails, I am
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Garret,
On 4/22/19 09:36, Christopher Schultz wrote:
> Mark,
>
> On 4/22/19 06:58, Mark Thomas wrote:
>> On 21/04/2019 15:53, Garret Wilson wrote:
>>> As I mentioned in other emails, I am embedding Tomcat 9 (with
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mark,
On 4/22/19 06:58, Mark Thomas wrote:
> On 21/04/2019 15:53, Garret Wilson wrote:
>> As I mentioned in other emails, I am embedding Tomcat 9 (with
>> OpenJDK 11 on Windows 10) to serve static files from `/foo/bar`.
>&
On 21/04/2019 15:53, Garret Wilson wrote:
> As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11
> on Windows 10) to serve static files from `/foo/bar`. Currently I'm not
> supporting Java webapps. I'm not supporting JSP. I just want to serve
> static file
As I mentioned in other emails, I am embedding Tomcat 9 (with OpenJDK 11
on Windows 10) to serve static files from `/foo/bar`. Currently I'm not
supporting Java webapps. I'm not supporting JSP. I just want to serve
static files.
From your help in another thread, I called the magic
On 25/10/2013 06:22, Olivier Lamy wrote:
> On 23 October 2013 08:58, Pïd stèr wrote:
>> Hello,
>>
>> To scratch an itch I've been working on an alternative means to embed
>> Tomcat:
>>
>> https://github.com/pidster-dot-org/embed-apache-tomcat
>>
On 23 October 2013 08:58, Pïd stèr wrote:
> Hello,
>
> To scratch an itch I've been working on an alternative means to embed
> Tomcat:
>
> https://github.com/pidster-dot-org/embed-apache-tomcat
>
> There's a core utility for embedding Tomcat[1] and a JUnit Rule[
Hello,
To scratch an itch I've been working on an alternative means to embed
Tomcat:
https://github.com/pidster-dot-org/embed-apache-tomcat
There's a core utility for embedding Tomcat[1] and a JUnit Rule[2] for
testing that uses it, e.g.
1.
https://github.com/pidster-dot-org/em
On 08/07/2011 09:38, Denis Pimenov wrote:
> We are using tomcat 6 and org.apache.catalina.startup.Embedded in our
> server application, but class Embedded was deprecated in tomcat 7 and
> was replaced by org.apache.catalina.startup.Tomcat. This class has only
> one connector , but we use 2 differ
We are using tomcat 6 and org.apache.catalina.startup.Embedded in our
server application, but class Embedded was deprecated in tomcat 7 and
was replaced by org.apache.catalina.startup.Tomcat. This class has only
one connector , but we use 2 different connectors for http and https
(different p
> >>> 2011/7/1 Mark Thomas
> >>>
> >>>> On 01/07/2011 10:07, Rehtron wrote:
> >>>>> Dear all,
> >>>>>
> >>>>> I use org.apache.catalina.startup.Tomcat to do unit test, but the
> >>>> instance
>
OS are you using?
>>
>> Mark
>>
>>>
>>> thanks.
>>>
>>> 2011/7/1 Mark Thomas
>>>
>>>> On 01/07/2011 10:07, Rehtron wrote:
>>>>> Dear all,
>>>>>
>>>>> I use org.apache.catalina.s
> Mark
>
> >
> > thanks.
> >
> > 2011/7/1 Mark Thomas
> >
> >> On 01/07/2011 10:07, Rehtron wrote:
> >>> Dear all,
> >>>
> >>> I use org.apache.catalina.startup.Tomcat to do unit test, but the
> >> instance
>>> Dear all,
>>>
>>> I use org.apache.catalina.startup.Tomcat to do unit test, but the
>> instance
>>> of which cannot be started or stopped correctly.
>>>
>>> I start and stop embedding tomcat for each test case, but first test can
>> be
>>>
gt; of which cannot be started or stopped correctly.
> >
> > I start and stop embedding tomcat for each test case, but first test can
> be
> > passed, the second one will be failed by 503 Service, unavailable, the
> > tomcat.start() method has been invoked, but the tomcat
On 01/07/2011 10:07, Rehtron wrote:
> Dear all,
>
> I use org.apache.catalina.startup.Tomcat to do unit test, but the instance
> of which cannot be started or stopped correctly.
>
> I start and stop embedding tomcat for each test case, but first test can be
> passed, t
Dear all,
I use org.apache.catalina.startup.Tomcat to do unit test, but the instance
of which cannot be started or stopped correctly.
I start and stop embedding tomcat for each test case, but first test can be
passed, the second one will be failed by 503 Service, unavailable, the
tomcat.start
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christian,
On 4/7/2011 5:24 AM, chrish123 wrote:
> I added tomcat-jsp-api and tomcat-servlet-api to the classpath, it now
> looks like
> the following:
Please make this mess easier to read in future posts. This is your
CLASSPATH if CACHE_DIR=\dev\p
f...@one2team.com
> 40 avenue Raymond Poincaré
> 75116 Paris
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
On Thu, Apr 7, 2011 at 10:44, "Christian Hödl" wrote:
> Hi,
> I'm trying to start Tomcat 7.0.11 from within an automated test.
> Unfortunately, when I call tomcat.start(), the following
> exception happens:
>
> Servlet /abc/ threw load() exception
> java.lang.ClassNotFoundException: org.apache.
Hi,
I'm trying to start Tomcat 7.0.11 from within an automated test.
Unfortunately, when I call tomcat.start(), the following
exception happens:
Servlet /abc/ threw load() exception
java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at
org.apache.catalina.loader.
On 15/02/2011 17:18, Afkham Azeez wrote:
> One more question: Why isn't the Tomcat class used in the mainstream code
> and is only used in the test cases? In Tomcat 5.x and 6.x IIRC, Catalina
> used to extend Embedded.
Because Tomcat provides simplified startup that isn't sophisticated
enough for
eb 15, 2011 at 6:54 PM, Caldarale, Charles R <
> > chuck.caldar...@unisys.com> wrote:
> >
> >>> From: Afkham Azeez [mailto:afk...@gmail.com]
> >>> Subject: Embedding Tomcat 7
> >>
> >>> We need our webapps to be visible through
> &
On 15/02/2011 14:07, Afkham Azeez wrote:
> On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R <
> chuck.caldar...@unisys.com> wrote:
>
>>> From: Afkham Azeez [mailto:afk...@gmail.com]
>>> Subject: Embedding Tomcat 7
>>
>>> We need our webapps to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Afkam,
On 2/15/2011 3:54 AM, Afkham Azeez wrote:
> Hi folks,
> Is there any documentation available on embedding Tomcat 7? We were using
> Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class
> is the alternative,
On Tue, Feb 15, 2011 at 6:54 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Afkham Azeez [mailto:afk...@gmail.com]
> > Subject: Embedding Tomcat 7
>
> > We need our webapps to be visible through
> > multiple connectors. How can this be d
> From: Afkham Azeez [mailto:afk...@gmail.com]
> Subject: Embedding Tomcat 7
> We need our webapps to be visible through
> multiple connectors. How can this be done?
Connectors belong to the Service, so you can attach new ones with this:
Tomcat.getService().addConnector()
-
Hi folks,
Is there any documentation available on embedding Tomcat 7? We were using
Tomcat 5.5.23 but the Embedded class has been deprecated. The Tomcat class
is the alternative, but it seems that a single Tomcat instance can only
handle a single connector. We need our webapps to be visible
ok, done.
Thanks,
henning
Am Mittwoch, den 03.02.2010, 13:08 +0300 schrieb Konstantin Kolinko:
> public class MyCatalina extends Catalina {
> >public Server getServer() {
> >return this.server;
> >}
> > }
> >
---
2010/2/1 Henning Blohm :
> Hi,
>
> this is a question about embedding Tomcat into an application so that
> it can still be configured using server.xml and web applications can be
> added or removed programmatically.
>
> I am using Tomcat 6.0.24.
>
> The way I
Hi,
this is a question about embedding Tomcat into an application so that
it can still be configured using server.xml and web applications can be
added or removed programmatically.
I am using Tomcat 6.0.24.
The way I tried to make it work is by instantiating an instance of
Catalina
Hi,
I am embedding tomcat in an application. I am using embedded version of
Tomcat 5.5.23 but I get the following exception. I have added all the jar
files in $CATALINAHOME\lib in my class path. Can anyone help me out?
Mar 15, 2007 12:01:23 PM org.apache.catalina.startup.Embedded start
INFO
age -
From: "Vacuum Joe" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, January 02, 2007 8:43 PM
Subject: Re: Embedding Tomcat in a standalone JAR
"what/which tasks do you want this embedded tomcat to accomplish?"
Very simple tasks! I have a few
I ended up going with Jetty. It was not too difficult to write my own handlers
for content within Jetty. It didn't have any built-in handlers where I could
give it a URL as a base, but I was able to write a primitive static content
handler and a very primitive Servlet handler which are enough
"what/which tasks do you want this embedded tomcat to accomplish?"
Very simple tasks! I have a few Servlets and a few simple JSPs and a little
bit of static content (html files and images) that I need it to run. No other
external things, like no DB or anything else. No need for any other fanc
qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, January 02, 2007 8:04 PM
Subject: RE: Embedding Tomcat in a st
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> Subject: Re: Embedding Tomcat in a standalone JAR
>
> Right, those are two of the places I looked at, including the
> source for Catalina.java, and they weren't helpful. They are
> all about specifying files on the files
"There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/startup/Embedded.html
Unfortunately, the promising "See also:" link doesn't lead to much, but
looking at the source code for org/apache/catalina/startup/Catalina.java
should be
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> Subject: Embedding Tomcat in a standalone JAR
>
> I found a couple of guides to embedding Tomcat
There's a bit of real documentation here:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat
alina/star
gin.
I found a couple of guides to embedding Tomcat, such as:
http://www.onjava.com/lpt/a/1547 but a) it's out of date, because it covers
methods that don't exist after Tomcat 5.0 and b) it only talks about serving
the app out of the filesystem.
Any sug
Hi!
I'm embedding tomcat 5.5.17 in my Java Aplication. When I create the
engine, it says:
"StandardEngine[null]". It works, but is it normal? Shouldn't be:
StandardEngine[catalina]?
Thanks in advance,
Miguel Ricardo
--
47 matches
Mail list logo