removal of product name/version

2008-08-12 Thread Tommy Pham
Hi, I'm looking for a way to remove the product name and/or version from the server header and default http errors (without defining my own custom error-page). I know it's possible for apache using ServerSignature and ServerTokens, also possible for glassfish v2 using a jvm option. I've

Re: removal of product name/version

2008-08-12 Thread Tommy Pham
Hi Chris, --- On Tue, 8/12/08, Christopher Schultz [EMAIL PROTECTED] wrote: Tommy, Tommy Pham wrote: | I'm looking for a way to remove the product name and/or version from | the server header and default http errors (without defining my own | custom error-page). I know it's possible

Re: Intgrate Tomcat and PHP in winxp

2008-08-17 Thread Tommy Pham
Hi Radhakrishna, --- On Sun, 8/17/08, Radhakrishnavangara [EMAIL PROTECTED] wrote: From: Radhakrishnavangara [EMAIL PROTECTED] Subject: Intgrate Tomcat and PHP in winxp To: users@tomcat.apache.org Date: Sunday, August 17, 2008, 3:24 PM Hi, Could you please let me know the step by step

Tomcat 6.0.18 JavaEE 5/EJB3.0

2008-08-17 Thread Tommy Pham
Hi, I'm trying to develop a web app using JDK1.6 and Tomcat 6.0.18 and JPA. When creating a new web app in Netbeans 6.1, I chose the Java EE 5 version. Then I proceed to create Entity Classes from Databases which were successful. If I try to create JSF pages from Entity Classes, I get: The

Re: Tomcat 6.0.18 JavaEE 5/EJB3.0

2008-08-17 Thread Tommy Pham
Hi Johnny, --- On Sun, 8/17/08, Johnny Kewl [EMAIL PROTECTED] wrote: Tommy if you havnt already... have a look at Visual Web Pages... it has the dB wizards and it works with TC. Doesnt use JPA, it uses Cached Rowsets to persist... which are actually easier to understand, I think ;)

Re: Tomcat 6.0.18 JavaEE 5/EJB3.0

2008-08-17 Thread Tommy Pham
--- On Sun, 8/17/08, Johnny Kewl [EMAIL PROTECTED] wrote: Tommy I actually have my own persist framework... but just having a quick squiz at that, that problem is just a normal Java thing... ie type conversions can be a little tricky... int and Integer are not the same thing in Java...

Re: Intgrate Tomcat and PHP in winxp

2008-08-18 Thread Tommy Pham
--- On Mon, 8/18/08, Radhakrishnavangara [EMAIL PROTECTED] wrote: From: Radhakrishnavangara [EMAIL PROTECTED] Subject: Re: Intgrate Tomcat and PHP in winxp To: users@tomcat.apache.org Date: Monday, August 18, 2008, 12:55 PM Hi Tommy, That was really informative. But let me explain you

Struts vs JSF (poll?)

2008-08-23 Thread Tommy Pham
Hi everyone, This maybe out of scope for this list but I wanted to know more about Struts vs JSF other this old article [1]. Which are are deployed mostly on your TC server(s)/cluster(s)? If any Java developers are on this list, which platform API do you prefer for quick development (to meet

Re: How to block part of application based on ip filtering

2008-08-24 Thread Tommy Pham
--- On Sun, 8/24/08, Meir Yanovich [EMAIL PROTECTED] wrote: From: Meir Yanovich [EMAIL PROTECTED] Subject: How to block part of application based on ip filtering To: users@tomcat.apache.org Date: Sunday, August 24, 2008, 7:38 AM Hello all im using tomcat as the web server , and i have

Re: Problems with running 64-bit Tomcat 6 as a Windows service

2008-09-04 Thread Tommy Pham
--- On Wed, 9/3/08, Brian Clark [EMAIL PROTECTED] wrote: From: Brian Clark [EMAIL PROTECTED] Subject: Problems with running 64-bit Tomcat 6 as a Windows service To: Tomcat Users users@tomcat.apache.org Date: Wednesday, September 3, 2008, 10:00 PM Hello, I am trying to get Tomcat 6.0.18

Re: Struts vs JSF (poll?)

2008-09-04 Thread Tommy Pham
Hello everyone, Thank you all for your replies and positive input. I'll read more about DWR, Wicket, and Tomcat MVC model to decide what's best for my project(s). Johnny, if by chance you manage to find the links to the Tomcat MVC model, would you please send it? I didn't have much success

Re: UnauthorizedAccessException error while running WMI in tomcat

2008-09-08 Thread Tommy Pham
--- On Mon, 9/8/08, new_bie_tomcat [EMAIL PROTECTED] wrote: From: new_bie_tomcat [EMAIL PROTECTED] Subject: Re: UnauthorizedAccessException error while running WMI in tomcat To: users@tomcat.apache.org Date: Monday, September 8, 2008, 3:06 AM Hi Mark, Thanks a lot for your reply. I am

Re: Balance and sync data

2008-09-18 Thread Tommy Pham
--- On Wed, 9/17/08, Hassan Schroeder [EMAIL PROTECTED] wrote: From: Hassan Schroeder [EMAIL PROTECTED] Subject: Re: Balance and sync data To: Tomcat Users List users@tomcat.apache.org Date: Wednesday, September 17, 2008, 6:13 PM On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz [EMAIL

Tomcat 6.0.16 serving 40K jpg files

2008-07-31 Thread Tommy Pham
Hi, I just start learning Java programming a while back and doing some tutorials/learning trails at netbeans.org. One of the tutorial using Visual JSF, http://www.netbeans.org/kb/60/web/fileupload.html, I'm doing is not working as I think it should and I'm not getting any http error or Java

Re: Tomcat 6.0.16 serving 40K jpg files

2008-07-31 Thread Tommy Pham
Hi Markus, --- On Thu, 7/31/08, Markus Schönhaber [EMAIL PROTECTED] wrote: From: Markus Schönhaber [EMAIL PROTECTED] Subject: Re: Tomcat 6.0.16 serving 40K jpg files To: users@tomcat.apache.org Date: Thursday, July 31, 2008, 1:28 PM Tommy Pham wrote: http error or Java exception. I

Re: Parsing a URL to see if a param exists

2008-08-05 Thread Tommy Pham
--- On Tue, 8/5/08, David Wall [EMAIL PROTECTED] wrote: From: David Wall [EMAIL PROTECTED] Subject: Parsing a URL to see if a param exists To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, August 5, 2008, 7:17 PM Is there an API call to parse an URL I have as a String so that I

Re: Parsing a URL to see if a param exists

2008-08-05 Thread Tommy Pham
--- On Tue, 8/5/08, David Wall [EMAIL PROTECTED] wrote: From: David Wall [EMAIL PROTECTED] Subject: Re: Parsing a URL to see if a param exists To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, August 5, 2008, 7:50 PM

Re: directory structure

2009-09-12 Thread Tommy Pham
--- On Sat, 9/12/09, Daniel Blumenthal dan...@wordchamp.com wrote: From: Daniel Blumenthal dan...@wordchamp.com Subject: directory structure To: users@tomcat.apache.org Date: Saturday, September 12, 2009, 9:42 PM I'm reorganizing an existing project according to the generally accepted Java

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
Original Message From: Eugene johnba...@gmail.com To: users@tomcat.apache.org Sent: Tuesday, September 15, 2009 3:30:02 AM Subject: Loss of body POST request... Hello. My next trouble. Periodically, the body disappears POST-request with the same query! I wrote a test client.

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
- Original Message From: Eugene johnba...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, September 15, 2009 4:16:43 AM Subject: Re: Loss of body POST request... What has FileUpload, if the request body is lost! I want to know why, in principle it may

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
on the issue? --David Eugene, Is the POST URI or multipart encoded? You didn't mention it and I forgot to ask you. Regards, Tommy Tommy Pham wrote: - Original Message From: Eugene To: Tomcat Users List Sent: Tuesday, September 15, 2009 4:16:43 AM Subject: Re: Loss

Re: php 5 and tomcat 6

2009-09-24 Thread Tommy Pham
- Original Message From: Josh Gooding josh.good...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 24, 2009 7:06:11 AM Subject: php 5 and tomcat 6 Hey gang, Does anyone know where the last release of PECL was that had the tomcat files in it for

[OT] Re: php 5 and tomcat 6

2009-09-24 Thread Tommy Pham
- Original Message From: Hassan Schroeder hassan.schroe...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, September 24, 2009 10:36:19 AM Subject: Re: php 5 and tomcat 6 On Thu, Sep 24, 2009 at 8:40 AM, Tommy Pham wrote: Only way to get PHP running

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-20 Thread Tommy Pham
- Original Message From: Michael Ludwig mil...@gmx.de To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 20, 2009 4:55:16 PM Subject: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) A primitive web app sketch involving Java extensions to a native library

Re: Slow servlet response under WinXP Pro

2009-03-30 Thread Tommy Pham
Hi Jon, - Original Message From: jo...@catholic-doc.org jo...@catholic-doc.org To: users@tomcat.apache.org Sent: Monday, March 30, 2009 11:45:37 AM Subject: Slow servlet response under WinXP Pro Hello! I am working on a servlet application.  It is a data entry application

Re: Slow servlet response under WinXP Pro

2009-03-30 Thread Tommy Pham
- Original Message From: Tommy Pham tommy...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 30, 2009 12:23:54 PM Subject: Re: Slow servlet response under WinXP Pro Hi Jon, - Original Message From: jo...@catholic-doc.org To: users

Iterate LinkedHashMap gives HTTP 500 in a JSP (NPE)

2009-04-19 Thread Tommy Pham
Hi, I have a problem iterating a LinkedHashMapInteger, Object lhmObject. The lhmObject.size() gives correct size and lhmObject.keySet().toString gives the correct values. However, if I try iterate the object with lhmObject.keySet() with an empty loop: for (Integer key : lhmObject.keySet() ) {

Eclipse builtin browser vs system default browser problem

2009-08-19 Thread Tommy Pham
Hi, I'm working a small project seem to run into a snag and can't figure out how to overcome it since my web app doesn't give any exception (log files are clean are error/exception free). The snag is that the eclipse internal web browser shows the desired result while Firefox doesn't...

Re: Eclipse builtin browser vs system default browser problem

2009-08-20 Thread Tommy Pham
- Original Message From: Martin Gainty mgai...@hotmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 19, 2009 4:09:28 PM Subject: RE: Eclipse builtin browser vs system default browser problem run FF firebug-plugin and view the DOM on both screens

[OT] multipart/form-data solutions

2009-08-21 Thread Tommy Pham
Hi, I need some to process some multipart/form-data. Are the any other solutions other than: Solution A: 1. download http://www.servlets.com/cos/index.html 2. invoke getParameters() on com.oreilly.servlet.MultipartRequest Solution B: 1. download

Re: [OT] multipart/form-data solutions

2009-08-22 Thread Tommy Pham
- Original Message From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, August 22, 2009 4:04:32 AM Subject: Re: [OT] multipart/form-data solutions On 22/08/2009 06:11, Tommy Pham wrote: Hi, I need some to process some multipart/form-data

RE: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-07 Thread Tommy Pham
-Original Message- From: Christoph Kukulies [mailto:k...@kukulies.org] Sent: Friday, May 07, 2010 12:21 AM To: Tomcat Users List Cc: Caldarale, Charles R Subject: Re: tomcat 6 (windows 7- 64 bits) doesn't start Am 06.05.2010 14:51, schrieb Caldarale, Charles R: From: Christoph

RE: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-07 Thread Tommy Pham
-Original Message- From: Karthick Ragunath [mailto:karthick.ragun...@live.com] Sent: Friday, May 07, 2010 7:01 AM To: users@tomcat.apache.org Subject: RE: tomcat 6 (windows 7- 64 bits) doesn't start Yeah,, well Charles Windows 7 64 bit OS, when installing Tomcat,

RE: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-08 Thread Tommy Pham
-Original Message- From: Karthick Ragunath [mailto:karthick.ragun...@live.com] Sent: Saturday, May 08, 2010 1:52 AM To: users@tomcat.apache.org Subject: RE: tomcat 6 (windows 7- 64 bits) doesn't start From: tommy...@gmail.com To: users@tomcat.apache.org Subject: RE: tomcat 6

RE: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-08 Thread Tommy Pham
-Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Saturday, May 08, 2010 2:59 AM To: users@tomcat.apache.org Subject: Re: tomcat 6 (windows 7- 64 bits) doesn't start On 05/08/2010 11:32 AM, Tommy Pham wrote: -Original Message- I just install all

[OT] Tomcat on Linux

2010-09-15 Thread Tommy Pham
Hi, I was wondering what flavor(s) of Linux, if applicable, do you use to develop? And what Linux flavor(s) do you have Tomcat running production on? Thanks, Tommy - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

RE: [OT] Tomcat on Linux

2010-09-20 Thread Tommy Pham
Thanks everyone for your input. I was hoping to get a better understanding of the differences between the flavors of Linux and how well and easy for me to run Tomcat. I guess I'll have to spend more time on various flavors. Thanks again, Tommy

HTTP 500.0 on IIS7.5 + JK1.2.36 + TC7.0.26

2012-05-14 Thread Tommy Pham
Hi, I'm trying to get the connector (JK 1.2.36) to work for IIS7.5 (Windows 7 Enterprise) but keep on running into HTTP 500.0 Error following the documentation [1]: Error Summary HTTP Error 500.0 - Internal Server Error Calling GetFilterVersion on ISAPI filter

Re: HTTP 500.0 on IIS7.5 + JK1.2.36 + TC7.0.26

2012-05-15 Thread Tommy Pham
On Mon, May 14, 2012 at 11:17 PM, Mladen Turk mt...@apache.org wrote: On 05/15/2012 07:58 AM, Tommy Pham wrote: Hi, I'm trying to get the connector (JK 1.2.36) to work for IIS7.5 (Windows 7 Enterprise) but keep on running into HTTP 500.0 Error following the documentation [1]: Error

Re: Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-08 Thread Tommy Pham
On Tue, Aug 7, 2012 at 7:58 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 8/7/12 12:01 PM, Ken Alverson wrote: We are trying to get our application Microsoft certified. Forgive my ignorance, but what the heck does a

virtual directory

2013-03-21 Thread Tommy Pham
Hi, I'm trying to setup my virtual directory wwwroot as http://localhost/wwwroot/ mapped to d:\wwwroot but I'm getting HTTP Status 404 - /wwwroot/ type Status report message /wwwroot/ description The requested resource (/wwwroot/) is not available. Apache Tomcat/7.0.26 My wwwroot.xml:

Re: virtual directory

2013-03-21 Thread Tommy Pham
On Thu, Mar 21, 2013 at 11:10 AM, André Warnier a...@ice-sa.com wrote: Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for Host tag. Inside this block write a line like:: Context docBase=D:/wwwroot path=/wwwroot reloadable=true / Hi.

Re: virtual directory

2013-03-21 Thread Tommy Pham
Hi Chuck and Andre, Silly me... I figured out what was the issue. I didn't have the index page defined in Tomcat's web.xml within the D:\wwwroot. The eventual content of this folder will be images anyway. Would I need to code an interceptor to detect 404 error and path to redirect the visitor

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

restriction/limit of keystorePass in server.xml for TC7

2015-07-23 Thread Tommy Pham
Hi everyone, I know this maybe more of Java than Tomcat but in case it's coded somewhere... Anyway, is there a limit to number of characters (30 - 50) and limit to certain characters, symbols included, for the keystorePass? I only thing I can find for keystorePass limit tomcat 7 are how to setup

Re: Encrypted jdbc

2016-04-07 Thread Tommy Pham
Perhaps trying asking the MariaDB forum/list? On Thu, Apr 7, 2016 at 7:08 AM, Linux Support wrote: > Greetings all, > > = > Server number: 8.0.28.0 > OS Name:Linux > OS Version: 2.6.32-573.8.1.el6.x86_64 > JVM Version:1.8.0_66-b17 > = > > Back end

TC 9.0.21: ContextListener + Servlet app

2019-06-14 Thread Tommy Pham
Hello everyone, I'm trying to write a lightweight and hopefully simple ContextListener + Servlet application but running into 2 issues I'm unable to find resolution for and hoping someone would please point me in the right direction: 1) I'd like to have Tomcat's default servlet serve HTML files

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-14 Thread Tommy Pham
Mark Thomas wrote: > On 14/06/2019 21:10, Tommy Pham wrote: > > Hello everyone, > > > > I'm trying to write a lightweight and hopefully simple ContextListener + > > Servlet application but running into 2 issues I'm unable to find > resolution > > for and

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: TC 9.0.21: ContextListener + Servlet app

2019-06-20 Thread Tommy Pham
Hi Mark, On Sun, Jun 16, 2019 at 2:25 AM Tommy Pham wrote: > Hi Chris, > > Thank you for the feedback. > > On Sat, Jun 15, 2019 at 10:44 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA

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 oth

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-20 Thread Tommy Pham
Hi Chris, On Mon, Jun 17, 2019 at 2:11 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Tommy, > > Tommy, > > > > On 6/15/19 21:51, Tommy Pham wrote: > >>>> Hi Mark, > >

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-20 Thread Tommy Pham
Hi Mark, On Thu, Jun 20, 2019 at 3:58 AM Mark Thomas wrote: > On June 20, 2019 10:00:12 AM UTC, Tommy Pham wrote: > > > > >> In looking at the code for ApplicationHttpRequest [1] for the > >> getPathTranlated() > >> > >> @O

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-20 Thread Tommy Pham
Hi Chris, On Sat, Jun 15, 2019 at 10:44 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Tommy, > > > Why not allow Tomcat to serve everything in the web application (other > than /WEB-INF/* and /META-INF/*) as usual? What is

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-20 Thread Tommy Pham
After some further research, it appears the issue I'm encountering is known since 2007 by IBM at least: https://www-01.ibm.com/support/docview.wss?uid=swg21259282 While reviewing the JSR-369 history, at jcp.org, it seems that this is since servlet spec 2.3, perhaps even earlier. Does anyone

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-21 Thread Tommy Pham
Hi Mark, On Thu, Jun 20, 2019 at 11:57 PM Mark Thomas wrote: > On 21/06/2019 03:21, Tommy Pham wrote: > > > > > > After some further research, it appears the issue I'm encountering is > known > > since 2007 by IBM at least: > > > > https://www-01.i

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-15 Thread Tommy Pham
Hi Mark, After some research and thought about internal application flow, I think the 'cleanest' is have TC's default servlet handle the *.html requests and use the assigned filter to restrict the access as desired. Is there a better approach? On that plan, I have this mapping for TC's default

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-16 Thread Tommy Pham
Hi Chris, Thank you for the feedback. On Sat, Jun 15, 2019 at 10:44 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Tommy, > > On 6/15/19 21:51, Tommy Pham wrote: > > Hi Mark, > > >

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-05 Thread Tommy Pham
( to troubleshoot this NPE ) On Thu, Jun 20, 2019 at 2:14 AM Tommy Pham wrote: > 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, >> > >> >

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 accessin