Re: tomcat-embedded 9.x -> 10.1.x - how to set ssl honor cipher order option now

2022-12-06 Thread Torsten Krah
> Now there is a single method. This should > do what you need: > > SSLHostConfig[] sslHostConfigs = httpHandler.findSslHostConfigs(); > > for (SSLHostConfig sslHostConfig : sslHostConfigs) { > sslHostConfig.setHonorCipherOrder(true); > } That is even better now, thanks. > > > Mark To

Re: tomcat-embedded 9.x -> 10.1.x - how to set ssl honor cipher order option now

2022-12-06 Thread Mark Thomas
On 06/12/2022 08:50, Torsten Krah wrote: Hi, using tomcat-embed 9.x I was able to customize my protocol handler like this: AbstractHttp11Protocol httpHandler = ((AbstractHttp11Protocol) connector.getProtocolHandler()); httpHandler.setSSLHonorCipherOrder(true); httpHandler.setUseServerCipherS

tomcat-embedded 9.x -> 10.1.x - how to set ssl honor cipher order option now

2022-12-06 Thread Torsten Krah
Hi, using tomcat-embed 9.x I was able to customize my protocol handler like this: AbstractHttp11Protocol httpHandler = ((AbstractHttp11Protocol) connector.getProtocolHandler()); httpHandler.setSSLHonorCipherOrder(true); httpHandler.setUseServerCipherSuitesOrder(true); Switched to 10.1.1 now an

Re: Tomcat embedded

2020-04-06 Thread Tommy Pham
On Mon, Apr 6, 2020 at 7:24 AM Mark Thomas wrote: > > Check if JasperInitializer has been called. Depending on how you > configure things, you'll need to do that explicitly. > > Mark > > Hi Mark, Your one suggestion helped me resolve this issue and another (WebSocket) in less than 10 minutes tha

Re: Tomcat embedded

2020-04-06 Thread Mark Thomas
On 06/04/2020 01:07, Tommy Pham wrote: > On Sun, Apr 5, 2020 at 3:47 PM Tommy Pham wrote: > >> Hi Mark, >> >> I've finally started my embedded Tomcat project. I'm running into NPE for >> the JSP servlet. From the log: >> >> https://pastebin.com/thiADVYE >> >> I think I have everything setup cor

Re: Tomcat embedded

2020-04-05 Thread Tommy Pham
On Sun, Apr 5, 2020 at 3:47 PM Tommy Pham wrote: > Hi Mark, > > I've finally started my embedded Tomcat project. I'm running into NPE for > the JSP servlet. From the log: > > https://pastebin.com/thiADVYE > > I think I have everything setup correctly because accessing > http://localhost/css/sam

Re: Tomcat embedded

2020-04-05 Thread Tommy Pham
t; > I have started browsing through the API and have concluded shortly > thereafter that, to me, the best way to implement it is similar to my > current use of ServletContainerInitializer. Just need another class with > some adjustments and the app could run with Tomcat embedded. I was hoping >

Re: Tomcat embedded

2019-06-20 Thread Tommy Pham
obably the best place to start: > http://tomcat.apache.org/tomcat-9.0-doc/api/index.html > > I have started browsing through the API and have concluded shortly thereafter that, to me, the best way to implement it is similar to my current use of ServletContainerInitializer. Just need anot

Re: Tomcat embedded

2019-06-17 Thread Mark Thomas
On 17/06/2019 01:04, Tommy Pham wrote: > Hello everyone, > > 1) Is there an official documentation for embedding TC process? My search > shows various how-to on other sites. >a) If not, I guess I could request to be added to the wiki to > contribute one. Since I don't quite know all the det

Tomcat embedded

2019-06-16 Thread Tommy Pham
Hello everyone, 1) Is there an official documentation for embedding TC process? My search shows various how-to on other sites. a) If not, I guess I could request to be added to the wiki to contribute one. Since I don't quite know all the details of TC, is there a review process to ensure cla

Re: Tomcat embedded with Apache Solr

2018-10-29 Thread Woonsan Ko
On Sat, Oct 27, 2018 at 1:29 AM Igal Sapir wrote: > > Woonsan, > > On Fri, Oct 26, 2018 at 2:54 PM Woonsan Ko wrote: > > > Not sure if it helps, but I've spent some hours to test it out for my > > curiosity. Embedding tomcat v9 with an example servlet is simple > > enough, but it's not working ye

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Igal Sapir
n launches the app server > (e.g. tc) hosting itself. > > Is anyone familiar enough with Solr to whip-up a quick-and-dirty POC > for Tomcat-embedded-hosting-Solr? > The last time I used Solr was about 10 years ago. The Solr API seemed so cumbersome that I opted to embed Apache Lucen

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Igal Sapir
Woonsan, On Fri, Oct 26, 2018 at 2:54 PM Woonsan Ko wrote: > Not sure if it helps, but I've spent some hours to test it out for my > curiosity. Embedding tomcat v9 with an example servlet is simple > enough, but it's not working yet with fully initialized Solr: > - https://github.com/woonsan/sol

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Woonsan Ko
Not sure if it helps, but I've spent some hours to test it out for my curiosity. Embedding tomcat v9 with an example servlet is simple enough, but it's not working yet with fully initialized Solr: - https://github.com/woonsan/solr-tomcat I'm not there yet to understand the reasons and have fixes.

Re: Tomcat embedded with Apache Solr

2018-10-19 Thread Shawn Heisey
On 10/18/2018 8:55 AM, Christopher Schultz wrote: Actually, my goal was to convince the Solr team that switching from Jetty to Tomcat was (a) possible and (b) possibly attractive. Over on lucene-dev, I had said that I removed jetty from solr's ivy config and found only two classes with errors

Re: Tomcat embedded with Apache Solr

2018-10-18 Thread Shawn Heisey
On 10/15/2018 2:15 AM, Jäkel, Guido wrote: I have no experience with embedded tomcat, but it should be also straight forward. Said that, I can't imagine the advantage of such an approach against the currently used, which just start the Web Application Server (Jetty, Tomcat or whatever) with th

Re: Tomcat embedded with Apache Solr

2018-10-18 Thread Christopher Schultz
Christopher Schultz >> [mailto:ch...@christopherschultz.net] Sent: Sunday, October 14, >> 2018 3:41 AM To: Tomcat Users List >> Subject: Tomcat embedded with Apache Solr >> >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> All, >> >> I

RE: Tomcat embedded with Apache Solr

2018-10-15 Thread Jäkel , Guido
ocuments. This Application was also hosted together with others on our Tomcat plattform With greetings Guido >-Original Message- >From: Christopher Schultz [mailto:ch...@christopherschultz.net] >Sent: Sunday, October 14, 2018 3:41 AM >To: Tomcat Users List >Subject: T

Tomcat embedded with Apache Solr

2018-10-13 Thread Christopher Schultz
from their existing model (Jetty launches, then hosts Solr as a web application) to an embedded model where a Solr-agent launches and then launches the app server (e.g. tc) hosting itself. Is anyone familiar enough with Solr to whip-up a quick-and-dirty POC for Tomcat-embedded-hosting-Solr? I

Tomcat Embedded Quickstarts

2017-09-29 Thread Coty Sutherland
of quickstarts would people like to see? And lastly, where would they live (I don't see any repositories for quickstarts on the Apache github)? I have a small set of quickstarts here https://github.com/csutherl/tomcat-embedded-quickstarts/ with a couple listed TODO items that came from som

RE: Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-25 Thread Costin Giorgian Papuc
opher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, January 24, 2017 12:30 AM To: Tomcat Users List Subject: Re: Separate and Redirect Tomcat Embedded 8.5.6 Log -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Costin, On 1/20/17 5:39 AM, Costin Giorgian Papuc wrote: > I have an app

Re: Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-23 Thread Christopher Schultz
); //the given war file > StandardContext context = (StandardContext) > tomcat.addWebapp("/myapp", war.getAbsolutePath()); > context.setAntiResourceLocking(true); tomcat.start(); } catch > (Exception e) { e.printStackTrace(); } > > I don't have any idea how can I r

Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-20 Thread Costin Giorgian Papuc
xt.setAntiResourceLocking(true); tomcat.start(); } catch (Exception e) { e.printStackTrace(); } I don't have any idea how can I redirect the output. I read that tomcat embedded log to System.out, and I was able to redirect to file with: PrintStream out = new PrintStream(new FileOutputStream(&quo

Re: Tomcat embedded context: Unable to find [java:]

2017-01-19 Thread Tom Eugelink
Took a bit to find time again, but this indeed fixes the problem. Strange registering the ContextFactory didn't. Thanks! On 17-1-2017 20:56, Mark Thomas wrote: On 16/01/2017 09:13, Tom Eugelink wrote: Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I get this error: /

Re: Tomcat embedded context: Unable to find [java:]

2017-01-17 Thread Mark Thomas
On 16/01/2017 09:13, Tom Eugelink wrote: > Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I > get this error: > > /Failed to log into the database: Name [java:/comp/env/myDsName] is not > bound in this Context. Unable to find [java:]./ > > I'm configuring the default Tomcat

Tomcat embedded context: Unable to find [java:]

2017-01-16 Thread Tom Eugelink
Trying to launch Tomcat 8.0.39 embedded with a datasource configured, I get this error: /Failed to log into the database: Name [java:/comp/env/myDsName] is not bound in this Context. Unable to find [java:]./ I'm configuring the default Tomcat ContactFactory. This is the relevant source:

Re: How to properly map a filter in tomcat embedded

2016-08-28 Thread John D. Ament
On Sun, Aug 28, 2016 at 5:07 AM Mark Thomas wrote: > On 28 August 2016 02:33:00 BST, "John D. Ament" > wrote: > >Hi, > > > >I have this pretty straight forward case of starting an instance of > >tomcat > >and bringing in a filter. > > > > >When starting this up (Just running in a plain JUnit te

Re: How to properly map a filter in tomcat embedded

2016-08-28 Thread Mark Thomas
On 28 August 2016 02:33:00 BST, "John D. Ament" wrote: >Hi, > >I have this pretty straight forward case of starting an instance of >tomcat >and bringing in a filter. >When starting this up (Just running in a plain JUnit test), the >container >is running however making requests to localhost:8080

How to properly map a filter in tomcat embedded

2016-08-27 Thread John D. Ament
Hi, I have this pretty straight forward case of starting an instance of tomcat and bringing in a filter. Tomcat tomcat = new Tomcat(); tomcat.setPort(8080); File base = new File("."); Context ctx = tomcat.addContext("", base.getAbsolutePath()); String filte

Re: Tomcat embedded fail to start after upgrade - setDigest is missing

2016-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abody, On 7/28/16 3:21 AM, Abody Zoubi wrote: > in the release of 8.0.x of tomcat embedded I worked with > setDigest("SHA-1") , and in the 8.5 they removed this method and > replaced it by CredentialHandler ,

Tomcat embedded fail to start after upgrade - setDigest is missing

2016-07-28 Thread Abody Zoubi
in the release of 8.0.x of tomcat embedded I worked with setDigest("SHA-1") , and in the 8.5 they removed this method and replaced it by CredentialHandler ,I used it like this: MessageDigestCredentialHandler handler = new MessageDigestCredentialHandler(); try { handler.se

Re: Tomcat Embedded and Web Fragments

2016-07-13 Thread l.pe...@senat.fr
On 13/07/2016 15:57, Violeta Georgieva wrote: Hi, 2016-07-07 15:07 GMT+03:00 l.pe...@senat.fr : Hi. I am using Tomcat embedded, for integration tests. I do not find how to let it take in account web-fragments of included jars. Is there a specific config ? Does anyone have a working example

Re: Tomcat Embedded and Web Fragments

2016-07-13 Thread Violeta Georgieva
Hi, 2016-07-07 15:07 GMT+03:00 l.pe...@senat.fr : > > Hi. > > I am using Tomcat embedded, for integration tests. > > I do not find how to let it take in account web-fragments of included jars. Is there a specific config ? Does anyone have a working example ? Take a look at

Tomcat Embedded and Web Fragments

2016-07-07 Thread l.pe...@senat.fr
Hi. I am using Tomcat embedded, for integration tests. I do not find how to let it take in account web-fragments of included jars. Is there a specific config ? Does anyone have a working example ? I am using version 8.0.36. Thanks in advance, Ludovic | | AVANT D'IMPRIMER, PEN

tomcat embedded / hcr within a maven environment

2015-12-09 Thread Tobias Soloschenko
Hello everyone, is anyone able to give me a little hint about what I can do to automatically deploy changes made in java files to an embedded tomcat? (hot code replacement). Maybe it is a m2e related topic, but I just try to figure out. Currently I am starting a Runner class in test scope to publ

RE: Chunked encoding bug in tomcat embedded/spring MVC

2015-02-19 Thread andrew-c.brown
> > From: Mark Thomas [mailto:ma...@apache.org] On 19/02/2015 13:05, > > andrew-c.br...@ubs.com wrote: > > > Not sure whether the responsibility lies here or with spring so I > > > thought I'd ask here first. Here's the scenario. > > > > > > We have a Jetty 9.2.7 async reverse proxy. It always send

RE: Chunked encoding bug in tomcat embedded/spring MVC

2015-02-19 Thread andrew-c.brown
> From: Mark Thomas [mailto:ma...@apache.org] > On 19/02/2015 13:05, andrew-c.br...@ubs.com wrote: > > Not sure whether the responsibility lies here or with spring so I > > thought I'd ask here first. Here's the scenario. > > > > We have a Jetty 9.2.7 async reverse proxy. It always sends back to th

Re: Chunked encoding bug in tomcat embedded/spring MVC

2015-02-19 Thread Mark Thomas
On 19/02/2015 13:05, andrew-c.br...@ubs.com wrote: > Not sure whether the responsibility lies here or with spring so I > thought I'd ask here first. Here's the scenario. > > We have a Jetty 9.2.7 async reverse proxy. It always sends back to the > servers behind using chunked encoding. > > We have

Chunked encoding bug in tomcat embedded/spring MVC

2015-02-19 Thread andrew-c.brown
Not sure whether the responsibility lies here or with spring so I thought I'd ask here first. Here's the scenario. We have a Jetty 9.2.7 async reverse proxy. It always sends back to the servers behind using chunked encoding. We have backend servers built around embedded 7.0.23 (also tested the l

Re: Tomcat embedded deprecated

2014-02-10 Thread Tommy Pham
Thanks Gary and Violeta for the responses. Mark's presentation was what I'm looking for. Kind regards, Tommy On Mon, Feb 10, 2014 at 9:40 AM, Violeta Georgieva wrote: > Hi, > > > 2014-02-10 Tommy Pham : > > > > Hi folks, > > > > I'm seeing: > > > > @Deprecated < > > http://docs.oracle.com/java

Re: Tomcat embedded deprecated

2014-02-10 Thread Gary Briggs
On Mon, Feb 10, 2014 at 09:20:14AM -0800, Tommy Pham wrote: > Hi folks, > > I'm seeing: > > @Deprecated > > public class Embedded > > at doc site [1] which I presume that the embedded is removed in 8.x? Could

Re: Tomcat embedded deprecated

2014-02-10 Thread Violeta Georgieva
Hi, 2014-02-10 Tommy Pham : > > Hi folks, > > I'm seeing: > > @Deprecated < http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true > > public class Embedded > > at doc site [1] which I presume that the embedded is removed in 8.x? Could > someone please explain why it

Tomcat embedded deprecated

2014-02-10 Thread Tommy Pham
Hi folks, I'm seeing: @Deprecated public class Embedded at doc site [1] which I presume that the embedded is removed in 8.x? Could someone please explain why it's deprecated or point me in the right direction

Re: Questions on Tomcat Embedded

2012-12-28 Thread Mark Thomas
's) running a tomcat cluster for some possible parallel >processing. I've downloaded the Tomcat embedded but wondering are >there >specific doc's for it or are they the same as the 7.0.34 docs? > >- Josh --

Re: Howto enable SSL/https for the tomcat-embedded version?

2009-07-04 Thread Pid
On 4/7/09 11:34, Clemens Eisserer wrote: Hello, To do some development/testing I would like to enable SSL/https for my embedded tomcat version. The SSL tutorial suggests to modify server.xml, however this version of tomcat doesn't seem to have this file - instead all the configuration seems to b

Howto enable SSL/https for the tomcat-embedded version?

2009-07-04 Thread Clemens Eisserer
Hello, To do some development/testing I would like to enable SSL/https for my embedded tomcat version. The SSL tutorial suggests to modify server.xml, however this version of tomcat doesn't seem to have this file - instead all the configuration seems to be done by the ant build.xml file which is u

RE: tomcat embedded

2008-04-20 Thread Steffen Heil
are easier to understand than TC 5's What do you mean by backing out to the full version? I am using tomcat since 4.x (several years) as full version, but most installations are one host, one app only. Since this application requires tomcat and is seldomly used with anything else, I think it w

Re: tomcat embedded

2008-04-19 Thread Johnny Kewl
. --- - Original Message - From: "Steffen Heil" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Friday, April 18, 2008 8:31 PM Subject: RE: tomcat embedded Hi Sorry to ask again, but this is a common feature that I cannot fin

RE: tomcat embedded

2008-04-18 Thread Caldarale, Charles R
> From: Steffen Heil [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat embedded > > Is there really no documentation for tomcat embedded nor > anyone who uses it? If you're using Tomcat embedded, it's up to you to read and parse any configuration information you

RE: tomcat embedded

2008-04-18 Thread Steffen Heil
Hi Sorry to ask again, but this is a common feature that I cannot find any documentation for... Is there really no documentation for tomcat embedded nor anyone who uses it? Regards, Steffen > -Original Message- > From: Steffen Heil [mailto:[EMAIL PROTECTED] > Sent: Tuesd

tomcat embedded

2008-04-15 Thread Steffen Heil
Hi I am searching for some documentation about tomcat embedded. I am trying to convert a very simple setup (configuration below) to java code, not using any xml file. Any link, hint, etc. would be helpful. Could someone give me a hint? Regards, Steffen === server.xml

RE: OT tomcat embedded 5.5 localhost alias

2007-08-21 Thread Alex Cheung
That explains things quite clearly thanks for the quick reply :) cheers Alex > From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: OT tomcat > embedded 5.5 localhost alias> Date: Tue, 21 Aug 2007 21:38:13 -0400> > It has > nothing to with Tomc

Re: OT tomcat embedded 5.5 localhost alias

2007-08-21 Thread PTS
else's machine then I am unaware of any means to do this without modifying their host file. Someone on the list may have a way that I am not aware of. - Original Message - From: "Alex Cheung" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 21, 2007 8:25 PM Subject

tomcat embedded 5.5 localhost alias

2007-08-21 Thread Alex Cheung
Hi I am using tomcat embedded 5.5 to demo a web application on cd. I can't figure out how to change the URL string fromhttp://localhost:8080/. to http://myHost:8080/.. addAlias and setHostName dont seem to work. following are my host creation code: // set Engine prope

RE: Tomcat Embedded - Limitations?

2007-05-13 Thread risky57
ive never liked installing tomcat. i just never liked sonfiguring it. but tomcat embedded. was so easy, i thought. so why would i choose regular tomcat over tomcat embedded if i find embedded easier to install and there are no limitations? why would anyone? Caldarale, Charles R wrote

RE: Tomcat Embedded - Limitations?

2007-05-11 Thread Caldarale, Charles R
> From: risky57 [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Embedded - Limitations? > > embedded tomat doesnt really need configuration as far as i know. Of course it does - you just do it via API calls, not config files. The wrapper in the standalone Tomcat simply reads the

Re: Tomcat Embedded - Limitations?

2007-05-11 Thread risky57
so why do i need to configure regular tomcat? embedded tomat doesnt really need configuration as far as i know. and if you dont need to configure embedded tomcat and there are no limitations, why would i want to download regular tomcat instead of tomcat embedded? markt wrote: > > r

Re: Tomcat Embedded - Limitations?

2007-05-10 Thread Mark Thomas
risky57 wrote: > so there are no limitations? Correct > so tomcat embedded works the same as regular tomcat? Regular Tomcat *is* embedded Tomcat (with a wrapper around it). Mark - To start a new topic, e-mail:

Re: Tomcat Embedded - Limitations?

2007-05-10 Thread risky57
markt wrote: > > risky57 wrote: >> Does anyone know the limitations on tomcat embedded? > None. > > Mark > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe

Re: Tomcat Embedded - Limitations?

2007-05-10 Thread risky57
so there are no limitations? so tomcat embedded works the same as regular tomcat? markt wrote: > > risky57 wrote: >> Does anyone know the limitations on tomcat embedded? > None. > > Mark > >

Re: Tomcat Embedded - Limitations?

2007-05-09 Thread Mark Thomas
risky57 wrote: > Does anyone know the limitations on tomcat embedded? None. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat Embedded - Limitations?

2007-05-09 Thread risky57
Does anyone know the limitations on tomcat embedded? as to what you can and cant do with it. -- View this message in context: http://www.nabble.com/Tomcat-Embedded---Limitations--tf3716562.html#a10397011 Sent from the Tomcat - User mailing list archive at Nabble.com

RE: How do I create a single jar of tomcat embedded on the Mac?

2007-04-24 Thread risky57
; i have included the Main-Class and also included a Class-Path to the jars that i wanted to include. -- View this message in context: http://www.nabble.com/How-do-I-create-a-single-jar-of-tomcat-embedded-on-the-Mac--tf3634310.html#a10161935 Sent from the Tomcat - User mail

Re: How do I create a single jar of tomcat embedded on the Mac?

2007-04-24 Thread risky57
same error. -- View this message in context: http://www.nabble.com/How-do-I-create-a-single-jar-of-tomcat-embedded-on-the-Mac--tf3634310.html#a10161934 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new t

RE: How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread Caldarale, Charles R
> From: "risky57" <[EMAIL PROTECTED]> > Subject: How do I create a single jar of tomcat embedded on the Mac? > > i need a single executable jar. > i keep getting: > Exception in thread "main" java.lang.NoClassDefFoundError: The jar should have a META-I

Re: How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread Martin Gainty
sky57" <[EMAIL PROTECTED]> To: Sent: Monday, April 23, 2007 4:46 PM Subject: How do I create a single jar of tomcat embedded on the Mac? ok, ive got my tomcat embedded application working. in eclipse. it runs. starts. stops. all fine. i cant seem to jar this application up properly.

How do I create a single jar of tomcat embedded on the Mac?

2007-04-23 Thread risky57
ok, ive got my tomcat embedded application working. in eclipse. it runs. starts. stops. all fine. i cant seem to jar this application up properly. i need a single executable jar. i keep getting: Exception in thread "main" java.lang.NoClassDefFoundError: can anyone help? --

Re: How Do I know when Tomcat Embedded has started?

2007-04-19 Thread Bill Barker
uot; or something similar. > > > i want something to happen when tomcat has started, and not before. so > need > to know when its started. > > > -- > View this message in context: > http://www.nabble.com/How-Do-I-know-when-Tomcat-Embedded-

How Do I know when Tomcat Embedded has started?

2007-04-19 Thread risky57
. i want something to happen when tomcat has started, and not before. so need to know when its started. -- View this message in context: http://www.nabble.com/How-Do-I-know-when-Tomcat-Embedded-has-started--tf3609049.html#a10084449 Sent from the Tomcat - User mailing list a

RE: Tomcat Embedded documentation

2007-02-27 Thread Caldarale, Charles R
> From: Afkham Azeez [mailto:[EMAIL PROTECTED] > Subject: Tomcat Embedded documentation > > Can somebody send me some pointers to some documentation on > Tomcat embedded edition? http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/index.html Start with the Embedd

Tomcat Embedded documentation

2007-02-27 Thread Afkham Azeez
Can somebody send me some pointers to some documentation on Tomcat embedded edition? I need to find out how JDBC datasources can be registered(or whether this can be done). -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760

[Tomcat Embedded] Registering a JNDI Datasource

2007-02-23 Thread Afkham Azeez
I am using Tomcat 5.5.15 embedded version. I have a Web application which refers to a JNDI Datasource. Can somebody tell me how to register a JNDI Datasource in the Tomcat embedded version. -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
ately, I am away from home until Sunday. I will give you more info then. - Mark On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: > > But, do you use server.xml to configure tomcat embedded? For example, > for the connector ports? If so, how may I ask? > > Best reg

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
t; But, do you use server.xml to configure tomcat embedded? For example, > for the connector ports? If so, how may I ask? > > Best regards, > Miguel > > On 10/12/06, Andre Prasetya < [EMAIL PROTECTED]> wrote: > > Hi Miguel, I m using tomcat embedded but i still use server

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Mark Miller
I am using embedded tomcat and I do not use server.xml. Unfortunately, I am away from home until Sunday. I will give you more info then. - Mark On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: But, do you use server.xml to configure tomcat embedded? For example, f

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Andre Prasetya
Yes I use server.xml to configure the comcat embedded, and only for connector ports, I attach the server.xml, hopefully its usefull for you.On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: But, do you use server.xml to configure tomcat embedded? For example,for the connector

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
But, do you use server.xml to configure tomcat embedded? For example, for the connector ports? If so, how may I ask? Best regards, Miguel On 10/12/06, Andre Prasetya <[EMAIL PROTECTED]> wrote: Hi Miguel, I m using tomcat embedded but i still use server.xml too -Andre- On 10/10/06,

Re: Tomcat Embedded and Server.xml

2006-10-12 Thread Andre Prasetya
Hi Miguel, I m using tomcat embedded but i still use server.xml too -Andre- On 10/10/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: Hello, I'm having a doubt that is bugging me. And I need to solve it also. Everywhere I look, it says that by using Tomcat Embedded I don

Tomcat Embedded and Server.xml

2006-10-10 Thread Miguel Correia Ricardo
Hello, I'm having a doubt that is bugging me. And I need to solve it also. Everywhere I look, it says that by using Tomcat Embedded I don't need the server.xml configuration file. Ok, I can understand why... But, what about the Connector ports, how do I know at advance wich one are b

Re: Running Tomcat Embedded

2006-07-11 Thread Bill Barker
have received this message in error, please contact the sender and > delete this message without printing it or otherwise retaining a copy. > -Original Message- > From: Bill Barker [mailto:[EMAIL PROTECTED] > Sent: July 10, 2006 11:44 PM > To: users@tomcat.apache.org > Subject:

RE: Running Tomcat Embedded

2006-07-11 Thread Mike Wannamaker
or, please contact the sender and delete this message without printing it or otherwise retaining a copy. -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: July 10, 2006 11:44 PM To: users@tomcat.apache.org Subject: Re: Running Tomcat Embedded "Mike Wannamaker&quo

Re: Running Tomcat Embedded

2006-07-10 Thread Bill Barker
"Mike Wannamaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I wish to run Tomcat from within my own JVM. I would like it to run just > like Tomcat does today, however I'd just like to setup the various paths, > for like web app root directory, config directory, lib directory

Running Tomcat Embedded

2006-07-10 Thread Mike Wannamaker
I wish to run Tomcat from within my own JVM. I would like it to run just like Tomcat does today, however I'd just like to setup the various paths, for like web app root directory, config directory, lib directory etc Is there anyway to do this easily? Like I said I just want to create an inst

Re: Reducing Tomcat (Embedded Or Regular) memory

2006-04-21 Thread manivannan57
1) remove unnecessary jars (you think) form /WEB-INF/lib and /common/lib 2) remove unnecessary classes from /WEB-INF/classes 3)stop loading unnecessary (other) web applications. 4) avoid the in web.xml - (this will avoid loading servlets and other classes during startup). 5)avoid connection pooli

Reducing Tomcat (Embedded Or Regular) memory

2006-04-21 Thread Chirag
Hi, We are trying to upgrade Tomcat from an older version 3.x to 5.x and noticing that Tomcat 5.x requires quite more memory than 3.x. We are running it in constrained env. with limited memory and other resources. In order to fully explore all possibilities, we also ran Embedded Tomcat for

Re: Tomcat embedded Valve's

2006-04-19 Thread Ugur Dincer
By implementing Context and extending StandardContext + using setBasic, addValve(). //Ugur From: "Vivek Mohan" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: Tomcat embedded Valve's Date: Mon, 17 Apr 2006 16:15:

Re: Tomcat embedded Valve's

2006-04-17 Thread Vivek Mohan
and how was it solved? On 4/17/06, Ugur Dincer <[EMAIL PROTECTED]> wrote: > problem solved :-) > > > From: "Ugur Dincer" <[EMAIL PROTECTED]> > Reply-To: "Tomcat Users List" > To: users@tomcat.apache.org > Subject: Tomcat embedded Valve

RE: Tomcat embedded Valve's

2006-04-17 Thread Ugur Dincer
problem solved :-) From: "Ugur Dincer" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: users@tomcat.apache.org Subject: Tomcat embedded Valve's Date: Sun, 16 Apr 2006 19:12:22 +0200 MIME-Version: 1.0 X-Originating-IP: [194.237.142.10] X-Originating-Em

Tomcat embedded Valve's

2006-04-16 Thread Ugur Dincer
Hi, I'm running Tomcat embedded and have some questions. 1. How can I define a Valve so it can be invoked for any request, without using web.xml nor server.xml? StandardHost.addValve(...) doesn't have any effect. Is implementation of Lifecycle required in this case? 2. Is it p

Re: Tomcat embedded does not show ROOT context

2006-04-09 Thread Nic Daniau
> http://localhost:6969/manager/ also gives The requested resource (/) is not available. try http://localhost:6969/manager/html On 09/04/06, Juergen Weber <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > I made a war from the Tomcat root and manager applications and startet > them > with the code

Tomcat embedded does not show ROOT context

2006-04-09 Thread Juergen Weber
Hi everybody, I made a war from the Tomcat root and manager applications and startet them with the code below. The manager app works and it lists the Root applicatio= n as installed. But when I try to go to http://localhost:6969/ there is only The requested resource (/) is not available. I added