Error getting catalina context in struts action.

2004-07-10 Thread Ashok Jain
Hi All, I am implementing a custom JDBCRealm security for my struts application. I have configured the login page path in web.xml and have mapped the path in struts-config.xml. When a user tries to access a restricted page it is directed to the login page. After entering userName and password,

Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Hello, I just setup Tomcat 5.019 as part of the NetBeans 3.6/Sun JDK 1.4x package. At first I was able to login as manager and admin, after an edit to the tomcat-users.xml file. Now, after apparently using the wrong ID or password to login, I can not get back in no matter what I do

Re: Can't Login as Admin or manager

2004-07-10 Thread Aman Raheja
Allow us to see your tomcat-users.xml file. Regards On Sat, 2004-07-10 at 17:20, BONUCHI, MICHAEL ROGER (SBCSI) wrote: Hello, I just setup Tomcat 5.019 as part of the NetBeans 3.6/Sun JDK 1.4x package. At first I was able to login as manager and admin, after an edit to the

RE: Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Hello Aman, By the way, I have a second Tomcat instance on this Win2K laptop. Of course, I only run one at a time. The other Tomcat instance, the one outside of the Sun/NetBeans directory, works fine. I can login as admin or manager without error. Here's my tomcat-users.xml for the one

RE: Can't Login as Admin or manager

2004-07-10 Thread Mark Thomas
There is no account lock-out implemented in tomcat. Have a look in server.xml and see how the realm is configured. You might have changed this through the admin app. If you have, the previous server.xml should still be in the conf directory with a timstamp appended to the filename. Mark

Re: favicon question

2004-07-10 Thread Nikola Milutinovic
Mufaddal Khumri wrote: I have a webapp deployed under tomcat + apache. I have a taglib in which i have the following: out.print(link rel='shortcut icon' href='/mywebapp/images/favicon.ico' type='image/x-icon'); The favicon.ico is a 16 * 16 icon file. The favicon shows up in Safari on the Mac ,

NPE in ActionForm where it is not be possible

2004-07-10 Thread Richard Mixon (qwest)
I am getting a NullPointerException in an action form that should theoretically not be possible :( Any ideas/help/suggestions are appreciated. Obviously it is possible :). I happens when I'm testing. I find a problem, leave my browser up, then stop/start Tomcat. I select a home page link from the

About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi, I place member.jsp in my webapp root folder, which is TOMCAT_HOME -- webapp --myWebApp/ and part of web.xml : servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping part of struts-config.xml: action-mappings

RE: Can't Login as Admin or manager

2004-07-10 Thread BONUCHI, MICHAEL ROGER (SBCSI)
Mark, I've not touched the server.xml file. Here's it's contents below (realm portion only). Looks like there is a global realm here, not a simple UserDatabase as with the (jakarta released) second instance that I have that works. Should it be commented out? Remember, this Tomcat

Re: About servlet-mapping

2004-07-10 Thread Jarl Skogsholm
keep the original mapping, but also add it to your welcome file list On Sun, 11 Jul 2004 04:45:49 +0800, Koon Yue Lam [EMAIL PROTECTED] wrote: Hi, I place member.jsp in my webapp root folder, which is TOMCAT_HOME -- webapp --myWebApp/ and part of web.xml : servlet-mapping

Finding CSS files in webapp

2004-07-10 Thread William BC Crandall
Greetings fellow Tomcat dancers, Been losing cycles in a gumption trap, trying to hook a CSS file up to XSLT-generated XHTML pages. Many thanks to whomever sees my obvious error. If I hardwire the full-path filename of my development environment into the XSLT file, all works as

DBCP with JDBC driver in WEB-INF/lib

2004-07-10 Thread Steven J. Owens
Hi all, I'm using tomcat with DBCP for connection pooling, on a hosted server. My hosting provider is using an older driver that doesn't support some JDBC 3.0 features I'd like. When I asked them about upgrading, they told me I could just stick the jar file for the more

Re: About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi Jarl ! sorry, I still don't get what u mean I try to place welcome-file-list welcome-file/Member.jsp/welcome-file /welcome-file-list in web.xml and keep the mapping as : servlet-mapping servlet-nameaction/servlet-name