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

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);

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

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

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

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 >

Re: Tomcat embedded

2020-04-05 Thread Tommy Pham
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 > to read something

Re: Tomcat embedded

2019-06-20 Thread Tommy Pham
y 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 another c

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

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

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

Re: Tomcat embedded with Apache Solr

2018-10-26 Thread Igal Sapir
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 Lucene dir

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: > -

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

Re: Tomcat embedded with Apache Solr

2018-10-18 Thread Christopher Schultz
ultz >> [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
ts. 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: Tomcat embe

Tomcat embedded with Apache Solr

2018-10-13 Thread Christopher Schultz
ting 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'd like to mak

Tomcat Embedded Quickstarts

2017-09-29 Thread Coty Sutherland
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 some questions in #tomcat

RE: Separate and Redirect Tomcat Embedded 8.5.6 Log

2017-01-25 Thread Costin Giorgian Papuc
Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, January 24, 2017 12:30 AM To: Tomcat Users List <users@tomcat.apache.org> 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

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 redire

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(&qu

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 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

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

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

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 CredentialHand

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 <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 anyon

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 <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

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, PENSEZ

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

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

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 the

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

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

Tomcat embedded deprecated

2014-02-10 Thread 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's deprecated or point me in the right direction

Re: Tomcat embedded deprecated

2014-02-10 Thread Violeta Georgieva
Hi, 2014-02-10 Tommy Pham tommy...@gmail.com: 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

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 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

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 miles...@gmail.comwrote: Hi, 2014-02-10 Tommy Pham tommy...@gmail.com: Hi folks, I'm seeing: @Deprecated

Re: Questions on Tomcat Embedded

2012-12-28 Thread Mark Thomas
) 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 - To unsubscribe, e-mail: users

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

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

RE: tomcat embedded

2008-04-20 Thread Steffen Heil
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 would make perfect sense to include tomcat embedded into that app. One big reason is the ease of upgrades... Do you

Re: tomcat embedded

2008-04-19 Thread Johnny Kewl
. --- - Original Message - From: Steffen Heil [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org 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 find any documentation

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: Tuesday, April 15

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 might have, and call the appropriate

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

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 properties

Re: OT tomcat embedded 5.5 localhost alias

2007-08-21 Thread PTS
: tomcat embedded 5.5 localhost alias 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

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 Tomcat in this case. http://localhost

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 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: risky57

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 config from

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 - To start a new topic, e-mail: users

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, e-mail: [EMAIL PROTECTED] For additional commands

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: users

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
://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 topic, e-mail: users@tomcat.apache.org

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

2007-04-24 Thread risky57
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 mailing list archive at Nabble.com

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? -- View

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

2007-04-23 Thread Martin Gainty
PROTECTED] To: users@tomcat.apache.org 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

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-INF/MANIFEST.MF file in it (the names must be upper case

How Do I know when Tomcat Embedded has started?

2007-04-19 Thread risky57
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 archive at Nabble.com

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

2007-04-19 Thread Bill Barker
, 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 archive at Nabble.com

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

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 Embedded class

[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
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, Miguel

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 ports

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, for the connector

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
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, Miguel Correia Ricardo

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
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 regards, Miguel On 10/12/06, Andre Prasetya

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't need

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 busy

RE: Running Tomcat Embedded

2006-07-11 Thread Mike Wannamaker
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 [EMAIL PROTECTED

Re: Running Tomcat Embedded

2006-07-11 Thread Bill Barker
Barker [mailto:[EMAIL PROTECTED] Sent: July 10, 2006 11:44 PM To: users@tomcat.apache.org Subject: Re: Running Tomcat Embedded 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

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

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

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: Reducing Tomcat (Embedded Or Regular) memory

2006-04-21 Thread manivannan57
1) remove unnecessary jars (you think) form your-web-app/WEB-INF/lib and tomcat-home/common/lib 2) remove unnecessary classes from webapp-root/WEB-INF/classes 3)stop loading unnecessary (other) web applications. 4) avoid the load-on-startup in web.xml - (this will avoid loading servlets and other

RE: Tomcat embedded Valve's

2006-04-17 Thread Ugur Dincer
problem solved :-) From: Ugur Dincer [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org 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-Email: [EMAIL

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 users@tomcat.apache.org To: users@tomcat.apache.org Subject: Tomcat embedded Valve's Date: Sun, 16 Apr 2006 19:12:22 +0200 MIME

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 possible

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

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 below.