Re: Singleton across multiple contexts

2003-06-15 Thread Dan Tran
Antonio, remove your email digital certificate. Most of us can not answer your question since the reply forcing us to have a digital certificate as well. -Dan - Original Message - From: Filip Hanik [EMAIL PROTECTED] Newsgroups: Tomcat Sent: Sunday, June 15, 2003 10:59 AM Subject: RE:

Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume

Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat

Re: Why am I recieiving this?

2003-06-03 Thread Dan Tran
blacklisted your email address. John On Mon, 2 Jun 2003 00:02:02 -0700, Dan Tran [EMAIL PROTECTED] wrote: I receive the below text every time I post a message to this group. ?? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 7:47 PM

Re: Why am I recieiving this?

2003-06-03 Thread Dan Tran
logicaonline.com. It's not this list that is misbehaving. John On Mon, 2 Jun 2003 06:32:21 -0700, Dan Tran [EMAIL PROTECTED] wrote: What I dont understand is why my post went to that host? Basically, I receive 2 emails for each time I post, one form tomcatcat user list, and one from

IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Hello, I have my tomcat behind IIS5 thru JK2 connector. My tomcat has a form base authentication form. The problem here is if my tomcat form base authentication fails, IIS pops up its own diaglog window for another authentication. How do I prevent this? Regards -Dan

Re: IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Authentication pops up after tomcat form base fails?why? On Sun, 1 Jun 2003 23:01, Dan Tran wrote: Hello, I have my tomcat behind IIS5 thru JK2 connector. My tomcat has a form base authentication form. The problem here is if my tomcat form base authentication fails, IIS pops up its

Filter out certain user accounts

2003-06-02 Thread Dan Tran
Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another page. The problem here, the interface doFilter's ServletRequest does not have access to getUserPrincipal, so I have no way to find

Re: Filter out certain user accounts

2003-06-02 Thread Dan Tran
to getUserPrincipal() -Tim Dan Tran wrote: Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another page. The problem here, the interface doFilter's ServletRequest does not have

Why am I recieiving this?

2003-06-02 Thread Dan Tran
I receive the below text every time I post a message to this group. ?? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 01, 2003 7:47 PM Subject: RE: Re: Filter out certain user accounts Dear [EMAIL PROTECTED], Your recent message to this server

Test, please ignore

2003-03-31 Thread Dan Tran
Please ignore -Dan

Re: HELP:: Tomcat 4.1.18 + JBuilder Foundation 8

2003-03-17 Thread Dan Tran
I think you will have better luck posting this question on borland's news groups. -Dan it is news://newsgrouips.borland.com - Original Message - From: Shaffin Bhanji [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 10:51 AM Subject: HELP:: Tomcat 4.1.18 + JBuilder

Re: Reading an XML File From a Servlet

2003-03-11 Thread Dan Tran
Sorry I dont have an example for you, but all you need is a InputStream to your xml file in your war file. Here is the interface to get it InputStream is = servlet.getServletContext().getResourceAsStream(pathName); Hope it helps -Dan - Original Message - From:

Re: Java mail

2003-03-09 Thread Dan Tran
You need to execute the below code before sending message to setup System authentication Properties props = System.getProperties(); if ( authenticationRequired) --- like if useriD.length != 0 props.put(mail.smtp.auth, true); else

Re: remember password HOW-TO?

2003-03-05 Thread Dan Tran
http://securityfilter.sourceforge.net/ - Original Message - From: David Reed [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:10 PM Subject: Re: remember password HOW-TO? Thanks Will, So what are my alternatives to container based

Re: JNDI datasource frustrations...

2003-02-13 Thread Dan Tran
his is my sample server.xml look for glvn key word Good luck -Dan ?xml version='1.0' encoding='utf-8'? Server className=org.apache.catalina.core.StandardServer debug=0 port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener

JDBCRealm

2003-01-24 Thread Dan Tran
Hi experts, I am able to enable JDBCReal and configure user database. I also added user admin to userDB and able to login to tomcat admin account. In the admin web interface, I still see user management still refer to tomcat-users.xml. How do I make it to use my JDBCRealm? Any suggestion?

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Dan Tran
No I only set debugLevel in the registry, how do I set it in workers2.properties? -Dan - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Dan Tran [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 1:42 AM Subject: Re: Tomcat 4.1.18, JK2, IIS

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-21 Thread Dan Tran
to give it up tonight and try again tommorrow. Thank you for everything ;) -D - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Dan Tran [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 2:49 AM Subject: Re: Tomcat 4.1.18, JK2, IIS

Re: Opening Files Outside Context

2003-01-21 Thread Dan Tran
I have no problem opening file outsite my context, Make sure you have the file path setup correctly -D - Original Message - From: Erik Price [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003 9:47 AM Subject: Re: Opening Files Outside Context

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-20 Thread Dan Tran
the DLL but I cant find any reference to make the DLL to dump more debug message to the Eventviewers. Any suggestion? -D - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Dan Tran [EMAIL PROTECTED] Sent: Sunday, January 19, 2003 10:48 PM

Re: WELCOME to tomcat-user@jakarta.apache.org

2003-01-19 Thread Dan Tran
You can configure your web.xml to forward error code 403 to your specific error page like: web.xml snippet error-page error-code403/error-code location/errors/403.jsp/location /error-page /web.xml snippet - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
Hi, I have my tomcat running W2K professional using NT service. I follow JK2 doc and other recommendations on this archive (word by word) to configure connector. So far no luck. The isapi_redirector2.dll load up in IIS management console looks good, but the NT EventViews shows the

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
You are right I dont have shm configure in my workers2.properties. After added shm property, the error message dissappear (Error: [jk_shm.c (333)]: shm.init(): No file ) However the connector still have problem, I recieved http 404 code. The following contains my workers.properties file

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
Hi Mark thank you for so much help You last note indicate this that you are using apache/tomcat on w2k. So your jk2.properties is for this configuration??? Do you have workers2.properties and jk2.properties that work with IIS/tomcat JK2 connector? -D - Original Message - From: Mark

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
I ran out of option here except to ask that you can verify this with your IIS, could you? ;-) - Original Message - From: Mark Eggers [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 17, 2003 1:33 PM Subject: Re: Tomcat 4.1.18, JK2, IIS - Second try Dan,

Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-17 Thread Dan Tran
That is a good news that It works for you. Then It must be something wrong on my configuration. Could you send me your works2.properties and jk2.properties? Thank you for every thing -Dan - Original Message - From: Mark Eggers [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

JK2 and IIS configuration

2003-01-16 Thread Dan Tran
Hello, I have spent a the last few days playing with IIS/workers2.properties, and JK2.properties. No luck getting the connector to work. Does any one successfully get this working. Where Do I fine the log file assocation of JK2 ativitity? My system has Tomcat 4.18, JDK1.4.1, W2K Any help

Re: JK2 and IIS configuration

2003-01-16 Thread Dan Tran
The log intries for JK2 on IIS is EventViews, and I found this error Error: [jk_shm.c (333)]: shm.init(): No file Any suggestion? I am user JK2 in 2.0.2 directory - Original Message - From: Dan Tran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 11:59 PM

Re: Tomcat + commons-logging + log4j

2002-12-09 Thread Dan Tran
Your way is working fine right now, so why changing it? Use Tomcat log interface will make your code depending on Tomcat appserver. What if you want run your app on other servers in the future? I just happen to move all logging to use common-log so that it will run on multiple appservers.

Re: Tomcat + commons-logging + log4j

2002-12-09 Thread Dan Tran
Wendy, The container surely will have its own mechanism. I definitely dont want my trace messages sharing with the container itself. Why? I ran into a confuse problem where my app logs it messages with other APPS, and I had a hard time reading it. By using my own, it is surely less

Re: admin username

2002-12-09 Thread Dan Tran
- Original Message - From: Peter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 4:49 PM Subject: RE: admin username Then you should login as tomcat user since it has 'admin' role -D Thanks...but, I made the following changes and restarted

Re: admin username

2002-12-08 Thread Dan Tran
It is in conf/tomcat-users.xml -D - Original Message - From: Peter O'Reilly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 4:53 PM Subject: admin username I just installed Tomcat, can someone tell me the admin username and password? Thanks, -Peter

Re: Tomcat 4.1, DBCP and Oracle

2002-12-07 Thread Dan Tran
Did you configure Oracle DataSource thru the web interface of Admin app in Tomcat 4.1? If you did, you will need to link the Global datasource to your webapp in server.xml. Please look up ResourceLink tag -D - Original Message - From: Campano, Troy [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Tomcat 4.0x and JCE 1.2 problem

2002-11-12 Thread Dan Tran
Hello all I use JBuider7, and integrated Tomcat 4.03 to develop and test my application which eventually deploy on JRUN4 customer system. My startup servlet constructs a java class which uses JCE 1.2 API. I have no problem with my servlet when run under tomcat 3.3 and Jrun3/4, except Tomcat4 I