Re: Ad Apache Sling scripting (Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-19 Thread Woonsan Ko
On Fri, Feb 19, 2021 at 7:37 AM Rony G. Flatscher (Apache) wrote: > > Woonsan, > > On 18.02.2021 18:02, Woonsan Ko wrote: > > > You might want to take a look at this, too: > > - http://portals.apache.org/bridges/bridges-script/index.html > > > > Of course, t

Re: Ad Apache Sling scripting (Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-18 Thread Woonsan Ko
You might want to take a look at this, too: - http://portals.apache.org/bridges/bridges-script/index.html Of course, there must be outdated dependencies, but the idea is the same and it has working code: integrate with JSR-223 for jruby, jython, bsh, js, etc. The portlet api (e.g, PortletRequest,

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-17 Thread Woonsan Ko
On Wed, Feb 17, 2021 at 8:59 AM Christopher Schultz wrote: > > Rony and Leo, > > On 2/17/21 02:58, Rony G. Flatscher (Apache) wrote: > > Hi Leo, > > > > why would you want to do that if you could do the same with Java? What is > > the motivation, the use > > case for you? > > > > How urgent is th

Re: java.lang.ClassNotFoundException: javax.servlet.Filter

2021-02-15 Thread Woonsan Ko
On Mon, Feb 15, 2021 at 7:19 AM Jason Wee wrote: > > okay, currently there is no custom application code, I just build two > of the libs and place into tomcat lib using the tomcat documentation. > > Do you mean I have to change the reference? Example > https://github.com/apache/openwebbeans/blob/m

Re: Updates to POEditor.com

2020-12-09 Thread Woonsan Ko
Nice! So we can edit in POEditor without worrying about any escaping issue then. That's great. Cheers, Woonsan On Tue, Dec 8, 2020 at 4:49 AM Mark Thomas wrote: > > All, > > As you are probably aware, the Apache Tomcat project uses POEditor.com > to manage the i18n translations used by the proj

Re: ApacheCon NA Tomcat track videos

2019-09-19 Thread Woonsan Ko
Hi Rémy, I just watched the first one: ApacheCon NA 2019: State of the Cat, New ! The sound quality is not bad! Feel like being there. Thank you so much for uploading all! Cheers, Woonsan On Thu, Sep 19, 2019 at 5:12 AM Rémy Maucherat wrote: > > Hi, > > I finished uploading the videos of the t

Re: unable to serve static files with embedded Tomcat

2019-04-19 Thread Woonsan Ko
On Fri, Apr 19, 2019 at 1:24 PM Garret Wilson wrote: > > Embedding Tomcat 9 (with OpenJDK 11 on Windows 10) I want to serve > static files from `/foo/bar`. From scouring the web (primarily > https://stackoverflow.com/a/15235711/421049 ), the documentation, and > some books (primarily _Apache Tomca

Re: [ANN] New committer: Woonsan Ko

2018-12-19 Thread Woonsan Ko
, sustainable ways. I will do my best where I can help to keep the health of our heartbeats. Kind regards, Woonsan Ko On Wed, Dec 19, 2018 at 6:56 PM Mark Thomas wrote: > > On behalf of the Tomcat committers I am pleased to announce that > Woonsan Ko (woonsan) has been voted in as a n

Re: Translations update

2018-12-14 Thread Woonsan Ko
On Fri, Dec 14, 2018 at 5:39 PM Mark Thomas wrote: > > On 14/12/2018 04:46, Woonsan Ko wrote: > > Hi all, > > > > Korean translation has just got to 100% line! Congrats to all the > > contributors! > > +1 > > And apologies in advance that it is probab

Re: Translations update

2018-12-14 Thread Woonsan Ko
On Fri, Dec 14, 2018 at 5:38 PM Keiichi Fujino wrote: > > 2018年12月14日(金) 13:46 Woonsan Ko : > > > Hi all, > > > > Korean translation has just got to 100% line! Congrats to all the > > contributors! > > I also see Japanese fellows making a breakthrough, appro

Re: Translations update

2018-12-13 Thread Woonsan Ko
Hi all, Korean translation has just got to 100% line! Congrats to all the contributors! I also see Japanese fellows making a breakthrough, approaching the finish line. Congrats in advance! I will proofread Korean translations next week one more or two. Perhaps I can write something about how each

Re: Translations update

2018-12-05 Thread Woonsan Ko
On Tue, Nov 27, 2018 at 11:21 PM Mark Thomas wrote: > > On 27/11/2018 13:19, Rémy Maucherat wrote: > > > Yes, I agree: it's not possible for non english speakers to use Tomcat, so > > it did seem pointless. Mark still wanted to do the experiment, and since > > the tool was easy and I had some time

Re: Translations update

2018-11-26 Thread Woonsan Ko
On Mon, Nov 26, 2018 at 10:05 AM Rémy Maucherat wrote: > > On Mon, Nov 26, 2018 at 3:46 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > André, > > > > On 11/26/18 08:35, André Warnier (tomcat) wrote: > > > On 26.11.2

Re: Translations update

2018-11-21 Thread Woonsan Ko
It is truly amazing. I'm proud of ourselves. Let's keep improving it together! Cheers, Woonsan On Wed, Nov 21, 2018 at 4:58 AM Mark Thomas wrote: > > Hi all, > > I wanted to let you know about the amazing progress that is being made > on the Tomcat translations at > https://poeditor.com/join/pr

Re: Translation help wanted

2018-11-13 Thread Woonsan Ko
On Tue, Nov 13, 2018 at 7:02 PM André Warnier (tomcat) wrote: > > Ok, I take it back. I don't think there's an AI smart enough to translate > this one : +1. ;-) While translating only 3% for Korean, I already met some challenging items and it was not easy to find right words. In my case, it was

Re: Translation help wanted

2018-11-12 Thread Woonsan Ko
I've just started Korean as well this morning. :-) It's only 0.87% now, but it will be done together collectively. Cheers, Woonsan - [Korean translation] 저도 방금 막 한국어 번역을 오늘 아침에 시작했습니다. ^^ 아직 0.87%밖에 안되지만, 함께 완성할 수 있으리라 생각합니다. 그럼, 고운산 드림. On Mon, Nov 12, 2018 at 8:58 AM Mark Thomas wrote:

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

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: ApacheCon NA is in just under 3 weeks

2018-09-12 Thread Woonsan Ko
On Tue, Sep 11, 2018 at 7:54 PM Igal Sapir wrote: > > On 9/11/2018 2:30 PM, Mark Thomas wrote: > > On 05/09/18 20:52, Igal Sapir wrote: > >> On 9/5/2018 8:22 AM, Christopher Schultz wrote: > >>> On 9/5/18 06:40, Mark Thomas wrote: > All, > > ApacheCon North America starts in Montréa

Re: how to prevent user access to JSP pages?

2018-08-22 Thread Woonsan Ko
On Wed, Aug 22, 2018 at 11:44 AM, Berneburg, Cris J. - US wrote: > Hi Woonsan > > cjb> I'd like to prevent users from requesting JSP pages directly > > cjb> a. [...] adding a for each folder. > > cjb> b. [...] JSP files under the WEB-INF folder. > > wk> c. Implement a servlet filter which is mapp

Re: how to prevent user access to JSP pages?

2018-08-20 Thread Woonsan Ko
On Mon, Aug 20, 2018 at 1:19 PM, Berneburg, Cris J. - US wrote: > Hi Woonsan > > Thanks for providing an "option C". :-) There is still much for me to learn. You're welcome. :-) > > cjb> Due to security concerns and general fussiness on my part, I'd like > cjb> to prevent users from requesting

Re: how to prevent user access to JSP pages?

2018-08-16 Thread Woonsan Ko
There's another considerable option: c. Implement a servlet filter which is mapped to /* with dispatcher options: REQUEST, INCLUDE, FORWARD. The filter may check the request URI or include/forward URI (through request attributes). Regards, Woonsan On Thu, Aug 16, 2018 at 1:19 PM, Berneburg, Cri

Re: Training material is now on-line

2018-04-13 Thread Woonsan Ko
Enjoyable and beautiful! Woonsan On Wed, Apr 11, 2018 at 6:32 PM, Mark Thomas wrote: > Hi all, > > Thanks to the magic of GitHub pages, the Tomcat training material that > was used for the recent training session is now available on-line here: > > https://apache.github.io/tomcat-training/ > > Th

Re: Virtual directories, PostResources, and DefaultServlet

2018-04-10 Thread Woonsan Ko
On Tue, Apr 10, 2018 at 9:53 AM, Christopher Schultz wrote: > All, > > I've been asked to take some static files we already have on our > (reverse-proxied) web servers and require authentication before allowing > the resources to be fetched by a client. > > One way to do that would be to physicall

Re: One more servlet reverse proxy solution to the wiki

2017-01-30 Thread Woonsan Ko
On Mon, Jan 30, 2017 at 6:09 AM, Mark Thomas wrote: > On 27/01/2017 21:59, Woonsan Ko wrote: >> On Fri, Jan 27, 2017 at 2:57 PM, Mark Thomas wrote: >>> On 27/01/2017 18:29, Woonsan Ko wrote: >>>> Hi, >>>> >>>> Recently I've noticed from

Re: One more servlet reverse proxy solution to the wiki

2017-01-27 Thread Woonsan Ko
On Fri, Jan 27, 2017 at 2:57 PM, Mark Thomas wrote: > On 27/01/2017 18:29, Woonsan Ko wrote: >> Hi, >> >> Recently I've noticed from another thread that the following wiki page >> has a list of servlet based reverse proxy solutions: >> - https://wiki.apache.o

One more servlet reverse proxy solution to the wiki

2017-01-27 Thread Woonsan Ko
Hi, Recently I've noticed from another thread that the following wiki page has a list of servlet based reverse proxy solutions: - https://wiki.apache.org/tomcat/ServletProxy I know of another solution: - http://portals.apache.org/applications/webcontent2/reverse-proxy-module.html Could someone a

Re: TomcatCon @ ApacheCon

2017-01-09 Thread Woonsan Ko
On Mon, Jan 9, 2017 at 2:14 PM, Terence M. Bandoian wrote: > On 1/9/2017 8:00 AM, jean-frederic clere wrote: >> >> On 01/09/2017 12:57 PM, Mark Thomas wrote: >>> >>> All, >>> >>> There is the opportunity (if we can pull it together as a community) to >>> run a dedicated Tomcat conference alongside

Re: [SECURITY] Java Deserialization, JMX and CVE-2016-3427

2016-05-25 Thread Woonsan Ko
On Wed, May 25, 2016 at 11:12 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mark, > > On 5/24/16 10:06 AM, Mark Thomas wrote: >> TL;DR If you use remote JMX, you need to update your JVM to address >> CVE-2016-3427 >> >> For the longer version, see the blog po

Re: Prepared statements are not cached with XA in tomcat jdbc connection pool implementation

2016-05-25 Thread Woonsan Ko
I don't know if it is a bug or not, but I learned today that org.apache.tomcat.jdbc.** is a different tomcat implementation from the default dbcp based implementation (org.apache.tomcat.dbcp.**). And, you seem to use the former one. Therefore, I think you should file a bug in tomcat, not in commons

Re: JNDI DataSource in Tomcat 8: maxTotal and maxWaitMillis

2016-05-25 Thread Woonsan Ko
Hi Mark, On Wed, May 25, 2016 at 4:56 AM, Mark Thomas wrote: > On 24/05/2016 23:23, Woonsan Ko wrote: >> Hi, >> >> Since 8.0, I think we should use maxTotal instead of maxActive and >> maxWaitMillis instead of maxWait. [1,2] >> However, if I use maxTotal for

JNDI DataSource in Tomcat 8: maxTotal and maxWaitMillis

2016-05-24 Thread Woonsan Ko
Hi, Since 8.0, I think we should use maxTotal instead of maxActive and maxWaitMillis instead of maxWait. [1,2] However, if I use maxTotal for instance, the jmx console doesn't show it but show the old maxActive value (100, probably the default value?). Browsing the source, o.a.t.jdbc.pool.PoolConf

Re: Tomcat DS question

2016-05-18 Thread Woonsan Ko
ocus on some other possibilities. >> >> Regards, >> >> Woonsan >> >> >> On Tue, May 17, 2016 at 2:51 PM, pradeep reddy >> wrote: >>> Thanks for response, would you know if there is any recommended dbcp jar >>> that we need to use fo

Re: Tomcat DS question

2016-05-17 Thread Woonsan Ko
uld you know if there is any recommended dbcp jar > that we need to use for Oracle 12 and Tomcat 6 ? > > Thanks > Pradeep > > On Tue, May 17, 2016 at 11:07 AM, Woonsan Ko wrote: > >> Hi Pradeep, >> >> I saw you had Oracle specific settings such as

Re: Tomcat DS question

2016-05-17 Thread Woonsan Ko
ections from connection pool. > > Thanks > Pradeep > > On Mon, May 16, 2016 at 4:38 PM, Woonsan Ko wrote: > >> Hi Pradeep, >> >> Just in case, you might want to make sure your changes were really >> applied. For example, an effective context.xml could be in >>

Re: Tomcat DS question

2016-05-16 Thread Woonsan Ko
Hi Pradeep, Just in case, you might want to make sure your changes were really applied. For example, an effective context.xml could be in conf/Catalina/localhost/... If it was applied properly, the stack trace should have shown o.a.c.dbcp.AbandonedObjectPool#borrowObject() as well. Regards, Woon

Re: Stuck threads reading socket

2016-03-04 Thread Woonsan Ko
Thank you so much, Mark! It helped a lot! Appreciate much for sharing the slides, too. Cheers, Woonsan On Fri, Mar 4, 2016 at 3:28 AM, Mark Thomas wrote: > On 04/03/2016 00:51, Woonsan Ko wrote: >> I have tomcat instances (6.0.44) which are proxied by Apache 2.4.18 >> (+

Stuck threads reading socket

2016-03-03 Thread Woonsan Ko
Hi, I have tomcat instances (6.0.44) which are proxied by Apache 2.4.18 (+mod_proxy). SSL enabled on Apache side. One day it was not responding and observed that all the catalina-exec threads (25 maxthreads at the moment) were stuck in reading socket in the thread dumps like the following (increas

Release schedule for 7.0.55?

2014-07-01 Thread Woonsan Ko
Hi, Is there any schedule to release 7.0.55? I hope to have a fix for 56529 in my project deployment. Thanks in advance, Woonsan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: use

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-14 Thread Woonsan Ko
> >From: André Warnier >To: Tomcat Users List >Sent: Wednesday, October 12, 2011 11:52 AM >Subject: Re: redirection error due to context path after JAAS authentication >with mod_proxy > >Woonsan Ko wrote: >> Hi, >> >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Wednesday, October 12, 2011 11:52 AM > Subject: Re: redirection error due to context path after JAAS authentication > with mod_proxy > > Woonsan Ko wrote: >> Hi,

redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
Hi, I have a reverse proxy configuration like this:     ServerName localhost    ProxyPreserveHost On    ProxyPass / http://localhost:8080/app1/    ProxyPassReverse / http://localhost:8080/app1/    ProxyPassReverseCookiePath /app1 /  And, I have a form-based login configuration for JAAS authenti

Re: Global JNDI resource loaded from a webapp

2010-01-27 Thread Woonsan Ko
Hi Mark, Thanks for your comments. Please see my comments below. - Original Message > From: Mark Thomas > To: Tomcat Users List > Sent: Tue, January 26, 2010 11:19:33 PM > Subject: Re: Global JNDI resource loaded from a webapp > > On 26/01/2010 07:59, Woonsan

Re: Global JNDI resource loaded from a webapp

2010-01-26 Thread Woonsan Ko
- Original Message > From: Pid > To: users@tomcat.apache.org > Sent: Tue, January 26, 2010 12:21:20 PM > Subject: Re: Global JNDI resource loaded from a webapp > > On 26/01/2010 10:02, Woonsan Ko wrote: > > Hi All, > > > > Is it possible to confi

Global JNDI resource loaded from a webapp

2010-01-26 Thread Woonsan Ko
Hi All, Is it possible to configure a global JNDI resource which is loaded from a webapp? I want to keep all related libraries for the resource in a web application, not in shared library path, but I want the resource to be shared by other web applications. The primary reason is because there a