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

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
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/sample.css works. I've even added the 5 listeners in the server.xml

Re: Tomcat embedded

2019-06-20 Thread Tommy Pham
Hi Mark, Thanks for the feedback. On Mon, Jun 17, 2019 at 4:19 AM Mark Thomas wrote: > 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 gu

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

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
Chris, On Sat, Oct 13, 2018 at 6:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've posted a question to the Solr mailing list[1] about why Jetty is > being used instead of Tomcat, and it seems that it's just "alw

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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guido, On 10/15/18 04:15, Jäkel, Guido wrote: > Dear Christopher, > > my 5ct on that: We're using Solr for years like (and together with) > all other Webapps on Tomcat (and since some month on Wildfly) in a > "classic" (non-cloud) setup without any

RE: Tomcat embedded with Apache Solr

2018-10-15 Thread Jäkel , Guido
Dear Christopher, my 5ct on that: We're using Solr for years like (and together with) all other Webapps on Tomcat (and since some month on Wildfly) in a "classic" (non-cloud) setup without any the need for special tweaks. There is no official support for an webapp artifact since some Versions,

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

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 ,I used it like this: > > MessageDigestCred

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 the Tomcat's tests htt

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

RE: tomcat embedded

2008-04-20 Thread Steffen Heil
Hi > > Sorry to ask again, but this is a common feature that I > > cannot find any > > documentation for... > > I think the answer is google like hell, that what we ended up > doing a long while ago... > Its not that no one uses it, its everywhere... like inside > every application server out

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

RE: Tomcat Embedded - Limitations?

2007-05-13 Thread risky57
: > >> 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 stand

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

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

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 addition

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

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]

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 of the org.apach

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
Oh, well... I'm reading the connector ports from the server.xml with a my own custom SAXParser... Didn't see anyother way of doing it... Apreciate all the help. On 10/13/06, Mark Miller <[EMAIL PROTECTED]> wrote: I am using embedded tomcat and I do not use server.xml. Unfortunately, I am away fr

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
Thanks. On 10/13/06, Andre Prasetya <[EMAIL PROTECTED]> wrote: 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

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

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 Cor

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

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's > Date: Sun, 16 Apr 2006 19:12:22 +0200 > MIME-Version: 1.0

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-Email: [EMAIL PROTECTED] X-Sender: [EMAI

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