IIS and Tomcat 4
Hi, I just installed Tomcat4 and IIS. I have set up IIS to redirect jsps to Tomcat with the isapi_redirect.dll and the arrow in the IIS property screen is up and green. When I accessed a jsp page in my localhost, I get a download confirmation screen instead of the page being served up. I can see the jsp ok in my localhost:8080. Could any one tell me what I am missing? Thanks very much. Baoha Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: [SPAM:56%] Using File class in Tomcat
As a service. Is there a difference? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:20 PM To: 'Tomcat Users List' Subject: RE: [SPAM:56%] Using File class in Tomcat Are you running Tomcat from a command line, or as a service? If Tomcat is running as a service, what user is it running as? PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Friday, 13 June 2003 3:51 AM To: [EMAIL PROTECTED] Subject: RE: [SPAM:56%] Using File class in Tomcat I also just found out that if I have any other file that I have to read in from a network mapped drive, it's not found. This must be some setting in Tomcat. Any comment? Idea? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 12, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: RE: [SPAM:56%] Using File class in Tomcat Made no difference. I even tried the \\ instead of the \ by itself. Any more idea please! Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 12, 2003 10:58 AM To: Tomcat Users List Subject: RE: [SPAM:56%] Using File class in Tomcat don't use the mapped drive name. Use it's unc name. If your mapped drive is G:\ and it's mapped to someDir on someServer, refer to it as \\someServer\someDir. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: [SPAM:56%] Using File class in Tomcat Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in command window (java myclass) and it is fine. Is there a setting in Tomcat that I have to set so that I can read a mapped drive? I am using Tc 4.0.2 Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the
Using File class in Tomcat
Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in command window (java myclass) and it is fine. Is there a setting in Tomcat that I have to set so that I can read a mapped drive? I am using Tc 4.0.2 Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: [SPAM:56%] Using File class in Tomcat
Made no difference. I even tried the \\ instead of the \ by itself. Any more idea please! Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:58 AM To: Tomcat Users List Subject: RE: [SPAM:56%] Using File class in Tomcat don't use the mapped drive name. Use it's unc name. If your mapped drive is G:\ and it's mapped to someDir on someServer, refer to it as \\someServer\someDir. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: [SPAM:56%] Using File class in Tomcat Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in command window (java myclass) and it is fine. Is there a setting in Tomcat that I have to set so that I can read a mapped drive? I am using Tc 4.0.2 Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: [SPAM:56%] Using File class in Tomcat
I also just found out that if I have any other file that I have to read in from a network mapped drive, it's not found. This must be some setting in Tomcat. Any comment? Idea? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: RE: [SPAM:56%] Using File class in Tomcat Made no difference. I even tried the \\ instead of the \ by itself. Any more idea please! Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:58 AM To: Tomcat Users List Subject: RE: [SPAM:56%] Using File class in Tomcat don't use the mapped drive name. Use it's unc name. If your mapped drive is G:\ and it's mapped to someDir on someServer, refer to it as \\someServer\someDir. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: [SPAM:56%] Using File class in Tomcat Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in command window (java myclass) and it is fine. Is there a setting in Tomcat that I have to set so that I can read a mapped drive? I am using Tc 4.0.2 Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
Non-Tomcat question
Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: [OFF-TOPIC] Re: Non-Tomcat question
Thank you all for replying. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:16 PM To: Tomcat Users List Subject: [OFF-TOPIC] Re: Non-Tomcat question http://forum.java.sun.com/ John On Wed, 11 Jun 2003 15:10:04 -0500, [EMAIL PROTECTED] wrote: Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
Oracle JDBC, what do do?
Hi all, I am trying to connect to Oracle. What do I need to do to get tomcat to see the zip files that contain the driver? I am running Tomcat 4.1.2 on Win2k. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: Oracle JDBC, what do do?
Got it. Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:47 PM To: 'Tomcat Users List' Subject: RE: Oracle JDBC, what do do? Depends which Oracle version you're running. For 8i, I believe you have to get class12.zip and rename it as jar file. For 9i, I forgot the name of the file but it should work the same way as 8i which you need to rename it to jar. Hope this help. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:40 PM To: [EMAIL PROTECTED] Subject: Oracle JDBC, what do do? Hi all, I am trying to connect to Oracle. What do I need to do to get tomcat to see the zip files that contain the driver? I am running Tomcat 4.1.2 on Win2k. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: Oracle JDBC, what do do?
Using the oracle8i driver, I got the connection but then get the ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] error when trying to execute any query. The same code runs fine in my IDE (IBM Visual Age). Any idea? I have both the classes12.zip and the nls_charset12.zip. Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 4:49 PM To: Tomcat Users List Subject: RE: Oracle JDBC, what do do? If you're on jdk1.4 you want to be using ojdbc14.jar. Also, if you're using classes12.jar you need to also have nls_charset12.jar as well. Most of the time you can live without it, but depending on how the database is setup you may need it. Better to have it than to be looking for it. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:53 PM To: [EMAIL PROTECTED] Subject: RE: Oracle JDBC, what do do? Got it. Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 2:47 PM To: 'Tomcat Users List' Subject: RE: Oracle JDBC, what do do? Depends which Oracle version you're running. For 8i, I believe you have to get class12.zip and rename it as jar file. For 9i, I forgot the name of the file but it should work the same way as 8i which you need to rename it to jar. Hope this help. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:40 PM To: [EMAIL PROTECTED] Subject: Oracle JDBC, what do do? Hi all, I am trying to connect to Oracle. What do I need to do to get tomcat to see the zip files that contain the driver? I am running Tomcat 4.1.2 on Win2k. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: Off Topic _ J_security_check
I don't think you can. -Original Message- From: Hari Venkatesan [mailto:hvenkatesan;pfgc.com] Sent: Wednesday, November 13, 2002 10:48 AM To: Tomcat Users List Subject: Off Topic _ J_security_check Have anybody tried calling j_security_check from a servlet rather than calling from a form. Hari -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: j_security_check weirdness
I have. Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
j_security_check to forward the request to a default page if the forward to page does not exist
Does anyone know how to tell j_security_check to forward a request to a default page if the forward-to value is empty? Also, where can we get the source code for j_security_check? Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: j_security_check question
Does it load the login form for you? -Original Message- From: Kevin Andryc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:45 AM To: Tomcat Users List Subject: j_security_check question I am using a servlet as a login form that uses j_security_check. When submitted I would like it to return back to the same servlet with the person now authenticated except that it gives me the error: Type Status report message Invalid direct reference to form login page description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). Here is my web.xml file: security-constraint display-nameExample Security Constraint/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/servlet/*/url-pattern !-- If you list http methods, only those methods are protected -- http-methodDELETE/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameuser/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodFORM/auth-method realm-nameExample Form-Based Authentication Area/realm-name form-login-config form-login-page/servlet/CustomLogin/form-login-page form-error-page/jsp/security/error.jsp/form-error-page /form-login-config /login-config I have searched through the archives and it appears no one responded. Anyone have a solution? Sincerely, Kevin Kevin Andryc Web Systems Engineer MISER http://www.umass.edu/miser/ Phone: (413)-545-3460 [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: j_security_check problem (two applications)
Do you have single-sign-on set up? -Original Message- From: Brzezicki, Jerzy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:38 PM To: '[EMAIL PROTECTED]' Subject: j_security_check problem (two applications) Hi, I have two applications within the same Tomcat 4 container. I want to configure FORM type of authentication so user needs to login only once. I configured JDBCRealm that worked ok with BASIC type of authentication. What I mean by ok was that while switching from one application to another the login request was not displayed for second time. Now I created FORM type of authentication just as HOWTO says. However every time I switch from one application to another the user needs to login for second time. Do you know how to avoid this ? Thanks, Jerzy
RE: MS Power Point and Excel
What would be the mime-type for excel and power-point or where should I go to find this documentation? Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 11:38 AM To: 'Tomcat Users List' Subject: RE: MS Power Point and Excel The MIME type isn't being set correctly...the browser doesn't understand what to do with those files. As far as I know, you can tell tomcat about MIME types in your web.xml like this: mime-mapping extensionwml/extension mime-typetext/vnd.wap.wml/mime-type /mime-mapping John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 12:29 PM To: [EMAIL PROTECTED] Subject: MS Power Point and Excel Hi, I have ppt and xls files inside a Tomcat protected folder (using FORM-BASED security). They all come up gibberish. If I move those files outside of the secured area, they come up fine. Any idea, suggestion? Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: MS Power Point and Excel
Thanks very much. It works. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Brian Bernardo [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 2:05 PM To: '[EMAIL PROTECTED] '; '[EMAIL PROTECTED] ' Subject: RE: MS Power Point and Excel Here you go. Web.xml: mime-mapping extensionppt/extension mime-typeapplication/mspowerpoint/mime-type /mime-mapping mime-mapping extensionxls/extension mime-typeapplication/excel/mime-type /mime-mapping Brian -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 6/27/2002 9:51 AM Subject: RE: MS Power Point and Excel What would be the mime-type for excel and power-point or where should I go to find this documentation? Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 11:38 AM To: 'Tomcat Users List' Subject: RE: MS Power Point and Excel The MIME type isn't being set correctly...the browser doesn't understand what to do with those files. As far as I know, you can tell tomcat about MIME types in your web.xml like this: mime-mapping extensionwml/extension mime-typetext/vnd.wap.wml/mime-type /mime-mapping John Turner [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 12:29 PM To: [EMAIL PROTECTED] Subject: MS Power Point and Excel Hi, I have ppt and xls files inside a Tomcat protected folder (using FORM-BASED security). They all come up gibberish. If I move those files outside of the secured area, they come up fine. Any idea, suggestion? Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HELP! login-config problems
It is a bug in tomcat 4.0.3. I had the same problem until using 4.0.4. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: HELP! login-config problems Hi, I've posted this a few times and am trying one last time. When I run my .war file in a regular 4.0.3 server, using an auth-method of either BASIC or FORM, it works fine. However, if I run it in an embedded version of the same server, I get errors. With BASIC, the browser never shows the dialog, but just fails the login immediately. That is, it calls the Principal authenticate (String username, String credentials) right away, without even putting up the dialog. It then prints the following error to the log: HttpProcessor[8080][4] process.invokeInvalid user ID With the FORM login, a successful login caused the browser to redirect to one of the image files on the login page, rather than to the welcome page. An unsuccessful login fails to bring up the specified form-error-page. Either I'm misconfiguring something, or embedded Tomcat is EXTREMELY buggy when it comes to login-config implementation. BTW I did upgrade to 4.0.4 and the same problems happened. I'm using the o.a.c.startup.Embedded class, and am following the directions described in James Goodwill's Apache Jakarta-Tomcat book (with the correct .jar files that he lists in his article.) Has anyone had any experience with this? I really do need some help here, I'm on a pretty scary deadline. Thanks! Noah p.s. I will my web.xml file to anyone who asks, just didn't want to clutter up your mailbox right away. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP
Hi, I had the same issue but with using FORM. Do we have to set the REALM if we use form? Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Friedli Beat [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 12:57 AM To: 'Tomcat Users List' Subject: AW: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP I have the same problem as Sankaranarayanan. I may give you more detailed Information about the problem IIS / manager-application: The authentication is correctly installed. Prove: When using http://localhost:8080/manager the application works fine. Only when using the adress http://www.aWebSiteOnIISWithRederectionToTomcat.com/manager we get the access denied message. mit freundlichen Grussen Galexis AG Beat Friedli . SW-Entwicklung (DDIS/ASW) Grubenstrasse 11 . CH-3322 Schoenbuehl tel: +41 (0)31 858 72 32 . fax: +41 (0)31 858 78 81 -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Juni 2002 20:28 An: Tomcat Users List Betreff: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP Oh ok. You mentioned in your first email that tomcat does seem to be throw the challenge response box. Well as for the redirector, I don't know much about it. I don't use IIS. Sorry. Also quoting your first email, you said that you get Access to the specified resource is denied which almost implies that the request is reaching Tomcat. But to confirm, check the logs. Maybe the problem is with Tomcat and not with the redirector. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:39:43 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP No, basic authentication doesnt work in the redirector case atleast with IIS - The challenge response box doesnt come up ! I am trying to solve this for over a week now and I hardly see any response - has anybody got this working at all? - Can the redirector developers help, PLEASE? --Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:36 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP Maybe I'm missed something in your email. Since you are getting the authentication dialog box, BASIC authentication works, right? If you don't know the username/password, then see the tomcat-users.xml file in %CATALINA_HOME%/conf directory. Add a line for the manager app: tomcat-users ... ... user name=mymanager password=mymanager roles=manager / /tomcat-users Hope this helps. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:29:35 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP It is privileged as well as configured to use basic authentication! It is the basic authentication that I cant get to work with IIS and tomcat connected using the AJP redirector! thanx Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:26 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP If you have the examples working with IIS, the Manager context will behave the same way (except that it's is privileged) since it's a web application itself. See Context entry for manager in server.xml. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:16:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED]
RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP
I am having the same issue but I am using FORM instead of BASIC. The box comes up in stand-alone but not when working with IIS 5 on W2K. I have also been knocking this for more than a week. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:40 PM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP No, basic authentication doesnt work in the redirector case atleast with IIS - The challenge response box doesnt come up ! I am trying to solve this for over a week now and I hardly see any response - has anybody got this working at all? - Can the redirector developers help, PLEASE? --Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:36 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP Maybe I'm missed something in your email. Since you are getting the authentication dialog box, BASIC authentication works, right? If you don't know the username/password, then see the tomcat-users.xml file in %CATALINA_HOME%/conf directory. Add a line for the manager app: tomcat-users ... ... user name=mymanager password=mymanager roles=manager / /tomcat-users Hope this helps. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:29:35 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP It is privileged as well as configured to use basic authentication! It is the basic authentication that I cant get to work with IIS and tomcat connected using the AJP redirector! thanx Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:26 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP If you have the examples working with IIS, the Manager context will behave the same way (except that it's is privileged) since it's a web application itself. See Context entry for manager in server.xml. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:16:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for over aweek now - PL HELP I hope I am not missing something - but the document you pointed me to doesnt talk about getting the manager app to work with external webservers like IIS! Ofcourse I do have the manager app working with tomcat in stand alone mode. Thanx Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:12 AM To: Tomcat Users List Subject: Re: ATTN IIS-Tomcat redirector developers - I am stuck with this for over aweek now - PL HELP See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:02:18 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this for over a week now - PL HELP Getting the manager app to work with tomcat 4.0.3 and IIS 5.0 Hi All, I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional - can get to the example webapps. But when I try to access the manager app I get the message - Access to the specified resource is denied. The tomcat does seem to be throw the challenge response box in this case. The instructions everywhere deals only with the simplest case - setting up examples web app - doesnt seem to explain how to set up an app that requires basic authentication such as the manager application that is bundled with tomcat - so I am not sure if this works The jakarta virtual directory has read and execute premission and the anonymous acces is enabled. What should I do to get this working Thanx Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For
RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP
Hi, I have similar problem, although not using BASIC but FORM. I took your advice and look into the apache.log and this is what I found. Could you explain what I see and what should I look at next. 2002-06-13 13:10:58 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413) at java.net.ServerSocket.implAccept(ServerSocket.java:241) at java.net.ServerSocket.accept(ServerSocket.java:222) at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590) at java.lang.Thread.run(Thread.java:484) *** Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:28 PM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP Oh ok. You mentioned in your first email that tomcat does seem to be throw the challenge response box. Well as for the redirector, I don't know much about it. I don't use IIS. Sorry. Also quoting your first email, you said that you get Access to the specified resource is denied which almost implies that the request is reaching Tomcat. But to confirm, check the logs. Maybe the problem is with Tomcat and not with the redirector. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:39:43 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP No, basic authentication doesnt work in the redirector case atleast with IIS - The challenge response box doesnt come up ! I am trying to solve this for over a week now and I hardly see any response - has anybody got this working at all? - Can the redirector developers help, PLEASE? --Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:36 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP Maybe I'm missed something in your email. Since you are getting the authentication dialog box, BASIC authentication works, right? If you don't know the username/password, then see the tomcat-users.xml file in %CATALINA_HOME%/conf directory. Add a line for the manager app: tomcat-users ... ... user name=mymanager password=mymanager roles=manager / /tomcat-users Hope this helps. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:29:35 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP It is privileged as well as configured to use basic authentication! It is the basic authentication that I cant get to work with IIS and tomcat connected using the AJP redirector! thanx Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:26 AM To: Tomcat Users List Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP If you have the examples working with IIS, the Manager context will behave the same way (except that it's is privileged) since it's a web application itself. See Context entry for manager in server.xml. RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:16:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for over aweek now - PL HELP I hope I am not missing something - but the document you pointed me to doesnt talk about getting the manager app to work with external webservers like IIS! Ofcourse I do have the manager app working with tomcat in stand alone mode. Thanx Ganesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 10:12 AM To: Tomcat Users List Subject: Re: ATTN IIS-Tomcat redirector developers - I am stuck with this for over aweek now - PL HELP See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html RS Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002 12:02:18 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this for over a week now - PL HELP Getting the manager app to work with tomcat 4.0.3 and IIS 5.0 Hi All, I have setup IIS5.0 and tomcat4.0.3 successfully on
RE: mod_jk2: and question
I have this may be ignorant question. Does mod_jk do anything if we are using IIS and Tomcat4.0.2? If a site running IIS with Tomcat and does not have mod_jk, what will that site not be able to do? Is isapi_redirect.dll the equivalent of mod_jk in IIS? Sorry if I am totally not making sense. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Josh Fenlason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:24 AM To: Tomcat Users List Subject: RE: mod_jk2 I've mod_jk working with Tomcat4.1.3 and Apache2. I was just curious about mod_jk2. What kind of changes, positive and negative it has? Thanks. , Josh. -Original Message- From: John Burgess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:30 AM To: Tomcat Users List Subject: RE: mod_jk2 I believe its mod_jk for Apache 2 Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Josh Fenlason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 2:35 PM To: Tomcat Subject: mod_jk2 Does anyone know anything about mod_jk2? Is it a new and improved mod_jk? What changes were made? I've looked around quite a bit and all I've been able to find is the binaries. If anyone knows where I could find some more detailed documentation, source code or would be able to give me some more info, I would greatly appreciate it. Thanks. , Josh. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/02 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HELP! IIS and Tomcat Security
Hi, I am using IIS5 and Tomcat 4.0.2. I am using FORM-BASED authentication for my webapp. The login form is loaded when I access the secured area using localhost:8080 but I get below error when accessing the page through IIS (localhost). I am using ajp13. Should that make any difference? I am so lost. Error: Apache Tomcat/4.0.2 - HTTP Status 403 - Access to the requested resource has been denied _ type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
I really need help.
Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: I really need help.
How would I disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I really need help. You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: I really need help.
OK. I did that. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:31 PM To: 'Tomcat Users List' Subject: RE: I really need help. Right under the Anonymous Access section is a Authenticated Access section. You want to deselect all of these. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: RE: I really need help. How would I disable IIS authentication? I already allowed anonymous access. Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: I really need help. You might check to make sure IIS is NOT trying to perform authentication. On the properties sheet for the site, allow anonymous access and disable IIS authentication. HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:50 PM To: [EMAIL PROTECTED] Subject: I really need help. Hi all, IIS Tomcat4 using FORM-BASED authentication I am using form-based authentication. Tomcat pulls up the login page (defined in form-login-page) and then authenticate fine. However, the same link will show access-denied error if the page is requested through IIS 5.0. Can anyone suggest what could be wrong and what I can check for? All other unsecured jsp are ok. I am quite desperate. Thanks so much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help: Using FORM based authentication
Hi all, I am using FORM Based authentication. I have my web.xml as followed: .. web-app security-constraint web-resource-collection web-resource-nameCSD_COS_TRACKER/web-resource-name url-pattern/csd/marketing/clinicaloutcomestudies/tracker/*/url-pattern /web-resource-collection auth-constraint role-namecsd_cos/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method form-login-config form-login-page/security/login.jsp/form-login-page form-error-page/security/login.jsp?login=false/form-error-page /form-login-config /login-config security-role role-namecsd_cos/role-name /security-role /web-app .. and my tomcat-user.xml defined: . tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / user name=user password=password roles=csd_cos / /tomcat-users .. and my uriworkermap.properties as below: ... # *** Begin uriworkermap.properties *** # # Simple worker configuration file # # Mount the Servlet context to the ajp13 worker /servlet/*=ajp13 /*.jsp=ajp13 # Mount the examples context to the ajp13 worker /examples/*=ajp13 # Advanced mount of the examples context # /examples/servlet/*=ajp13 # Mount the security context to the ajp12 worker /security/*=ajp13 /intranet/csd/marketing/clinicaloutcomestudies/tracker/*=ajp13 # * End uriworkermap.properties .. What am I missing? I got the area locked down but the login form is not loaded when user access the secured area. Thanks very much for helping. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: Help! I am so stuck. Tomcat NT credential
Hi all, Thanks for all of your help. I did a test by taking the administrators group off the allowed NT credential list on my JSP folder. It stops working. Put it back in, it works. So, Tomcat must be using that credential to load JSPs. My question now is that how can we direct Tomcat to use the credential of the person who logged in. Also, do you guys know what the values of the auth-method element (FORM, BASIC, ...) in the web.xml means? I read the dtd and digged for documentation but nothing came up. Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 12:09 PM To: Tomcat Users List Subject: RE: Help! I am so stuck. Tomcat NT credential Hi, It's possible to understand your question in two different ways, so I answer in two different ways. First answer : If you are running tomcat as a service you should be able to see which user it is that runs it (from the services dialog). If you are not running it as service it is using the nt user that starts it. Second answer : I dont know if there is any NT-authentication realm with tomcat, but still, it's always possible to implement one, by implementing the interface org.apache.catalina.realm.RealmBase. I guess I would use JAAS to access the user-accounts in NT. http://java.sun.com/j2se/1.4/docs/guide/security/jaas/tutorials/index.html If you are using ADSI-userbase (or Exchange 5.5 or newer) you might want to check out JNDI access over LDAP to ADSI. In that context you might want to take a look at JNDIRealm. I suggest you read http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html hope it helps -reynir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 6. júní 2002 16:49 To: [EMAIL PROTECTED] Subject: Help! I am so stuck. Tomcat NT credential Hi all, When Tomcat is installed on W2K, what NT Security Role does it use to access files? How can I tell Tomcat4 to use NT Security? Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help! I am so stuck. Tomcat NT credential
Hi all, When Tomcat is installed on W2K, what NT Security Role does it use to access files? How can I tell Tomcat4 to use NT Security? Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: Help! I am so stuck. Tomcat NT credential
Hi, Thanks for responding so quickly. How about using NT User Group to authenticate access to JSP files inside a secured directory? (I will read the paper now but I thought I should ask.) Thanks again. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 11:46 AM To: Tomcat Users List Subject: RE: Help! I am so stuck. Tomcat NT credential You can either use the tomcat-users.xml file to define users, passwords and roles (located in the conf folder in the root of Tomcat), or use a realm to authenticate to a database, either way there is really good documentation on it at the jakarta tomcat site, it took me about 15 min to have an authentication set up against an Access database, really straightforward... http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html Geoff Geoff Peters, BScFE, AIT Phone : (441) 296-9640 Applications DeveloperFax: (441) 292-1509 Logic Communications E-mail : [EMAIL PROTECTED] 12 Par-La-Ville Road WWW: http://www.logic.bm Hamilton, Bermuda HM JX -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: June 6, 2002 1:49 PM To: [EMAIL PROTECTED] Subject: Help! I am so stuck. Tomcat NT credential Hi all, When Tomcat is installed on W2K, what NT Security Role does it use to access files? How can I tell Tomcat4 to use NT Security? Thanks very much. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0
Have you looked in the Catalina.policy file? I think somewhere in there you should have a grant statement to that manager directory. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 1:06 PM To: Tomcat Users List Subject: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0 Can somebody help, I am clueless as to how fix it, I have searched the net exhaustively! Has any one got this to work? Hi All, I have setup IIS and tomcat successfully - I can get to the example webapps. But when I try to access the manager app I get the message - Access to the specified resource is denied. The jakarta virtual directory has read and execute premission and the anonymous acces is enabled. What should I do to get this working Thanx Ganesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4 IIS NT Security
Hi all, I am trying to apply directory level NT security in side the Webapps folder. Anyone have done it and can give me some directive? Thanks very much. Baoha.
NoClassDefFound
Hi all, Do you know what I am missing to get java.lang.NoClassDefFoundError? I am using jaxp. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018
RE: NoClassDefFound
There are already other classes running on this site, including some that use dom. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: irfan ali [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 11:58 AM To: Tomcat Users List Subject: Re: NoClassDefFound Have you setup your CLASSPATH environment variable to point your lib and include directories under your JDK root folder? Check it out. You can do something like this CLASSPATH=c:\j2sdk1.4.0\lib;c:\j2sdk1.4.0\include;. Don't miss the dot at the end. Irfan - Original Message - From: [EMAIL PROTECTED] Date: Wed, 22 May 2002 10:01:27 -0500 To: [EMAIL PROTECTED] Subject: NoClassDefFound Re: Hi all, Re: Re: Do you know what I am missing to get java.lang.NoClassDefFoundError? I am Re: using jaxp. Re: Re: Bao-Ha Dam Bui Re: [EMAIL PROTECTED] Re: S. Jude Medical, Inc Re: 651.765.1018 Re: Re: -- === Another FREE service from Jayde Online http://www.jayde.com Private, Web-based email accounts at http://www.jaydemail.com Powered by Outblaze -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Xerces Jar
The jars in Tomcat4 are under common/lib. I replace the xerces.jar with my jaxp.jar to get the newest parsers and stuffs. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018 -Original Message- From: Claude Montpetit [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:41 AM To: Tomcat Users List Subject: Xerces Jar Hi, My web app needs to use Xerces 2. So I placed the these JARs under WEB-INF/lib. Is it normal that Tomcat still uses its own version of Xerces (which is 1.x) when my servlet creates a SAXParser? This happens when using Tomcat 4.0.*. (This causes us problems: The way the SAXParser reads the inputStream differs between xerces 1.x and 2.x. In 1.x, when running JDK1.4, the parser waits for all data to be read before calling the DefaultHandler. In Xerces 2, the parser calls the DefaultHandler when the data comes in, which is what we need.) I could go on and on testing many more combinaison of versions for JDK, Xerces, Xalan and Tomcat but so far, the only thing that seems to work for us is: Tomcat 4.0.4-b3-LE-jdk14 jaxp-1.2-ea2 (which contains Xerces 2) JDK 1.4 The reason for this email is mainly to get a confirmation of all this. Does my conclusions make sense? ... standardizing on XML libraries across different third party products is not an easy task... Claude -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Error in XML
what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Error in XML
Sorry, message to wrong receiver. Have you done anything with the xerces jar? I have replace the xerces jar that comes with the tomcat download with the new jaxp jar. Everything works for me. -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 8:37 AM To: Tomcat Users List Subject: Re: Error in XML João Augusto Charnet a écrit : Which XML ??? Server.xml Web.xml or tomcat-users.xml [EMAIL PROTECTED] wrote: what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well first of all, Go to yur server.xml file and change the debug=10 to debug=25. Restart and have look in yur catalina.out; it 'll be much more verbose and tell yu exactly which file is generating such this error. :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please Somebody help me
Have you tried this? Host name=yoursite url Context path= docBase=webapps/your tomcat virtual folder / Context path=/examples docBase=webapps/ROOT / /Host -Original Message- From: Vishal Mukherjee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 7:04 AM To: 'Tomcat Users List' Subject:Please Somebody help me Importance: High Please some boby help me I have installed tomcat 3.2.3 on IIS4 and had configured it as per the instruction. The JSP pages work proberly from http://localhost/examples http://localhost/examples or http://localhost/jsp http://localhost/jsp but from other mc it does not thou the html works. I think i have not given proper context. What Context to add in the server.xml file for this situation. The physical directory is E:\Indorama The Alias used in IIS is ircl so my intranet site is http://indorama/ircl http://indorama/ircl the JSP pages are located in a the directory e:\indorama\indorama\jsp so at site it reflectes as http://indorama/ircl/indorama/jsp http://indorama/ircl/indorama/jsp I want to know what will be the context to be added in server.xml Please help me. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Don't take life too serious. You'll never escape it alive anyway. * Ebert Hubbard ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Visit Our Cement Site at http://www.indorama.co.in http://www.indorama.co.in Our Software Site at http://www.irssl.com http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: JAXP
I got it about 6 months ago and you're right, I can't seem to find it again. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:22 PM To: Tomcat Users List Subject:Re: JAXP Where did you find jaxp.jar, if you did? I have been looking everywhere for that damned thing. I have assumed it is out of circulation? At 08:13 PM 2/13/02 -0600, you wrote: Hi all, I am using jaxp and this is the error I get when I try to instantiate my parser class. Please tell me why. Also, from the error message, it seems that it could not find the ContentHandler class in the DefaultHandler class. I do not understand this message at all. Please explain if you know. Thanks very very much. org.apache.jasper.JasperException: Unable to compile class for JSPD:\Tomcat\webapps\sjm\WEB-INF\classes\com\sjm\webadmin\XMLParserJAXP.jav a :0: Class org.xml.sax.ContentHandler not found in class org.xml.sax.helpers.DefaultHandler. package com.sjm.webadmin; Baoha -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
JAXP
Hi all, I am using jaxp and this is the error I get when I try to instantiate my parser class. Please tell me why. Also, from the error message, it seems that it could not find the ContentHandler class in the DefaultHandler class. I do not understand this message at all. Please explain if you know. Thanks very very much. org.apache.jasper.JasperException: Unable to compile class for JSPD:\Tomcat\webapps\sjm\WEB-INF\classes\com\sjm\webadmin\XMLParserJAXP.java :0: Class org.xml.sax.ContentHandler not found in class org.xml.sax.helpers.DefaultHandler. package com.sjm.webadmin; Baoha -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Dynamic XML/XSLT with Tomcat 4.0
Hi Jim, I am also going to use XML/XSLT for my new pages. However, I need to display the information according to what the user select. In other word, my xpath needs to be dynamic, and therefore my xsl file. Could you give me some clue as to how to approach this? Also, I have read that to avoid problem with browser when using xsl/xml, process the data on the server and push it out. Is that what we use the TrAx for? Thanks a lot, Baoha Bui -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 1:40 PM To: Tomcat Users List Subject:RE: Dynamic XML/XSLT with Tomcat 4.0 File: XsltServlet.java File: test_HTML.xsl File: ATT83832.txt Attached is a simple servlet which uses XSLT to generate HTML and send it back to the browser. The XSL file needed to run the servlet is attached to, simply put it in the root of the context you have the servlet in. Hope this helps Jim Date: Tue, 18 Jan 2000 08:43:58 +0200 From: Sergei Batiuk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat User Group [EMAIL PROTECTED] Subject: Dynamic XML/XSLT with Tomcat 4.0 Hello, I would like to use XML/XSLT in my project. The problem is that my XML pages (and possibly XSLT pages) will be dynamic not static. I think, JSPs should generate the content, but how do I tell Tomcat to process them with the XSLT processor? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Dynamic XML/XSLT with Tomcat 4.0
Thanks very much -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 4:45 PM To: Tomcat Users List Subject:RE: Dynamic XML/XSLT with Tomcat 4.0 On Fri, 18 Jan 2002 [EMAIL PROTECTED] wrote: Date: Fri, 18 Jan 2002 16:41:02 -0600 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Dynamic XML/XSLT with Tomcat 4.0 Hi Jim, I am also going to use XML/XSLT for my new pages. However, I need to display the information according to what the user select. In other word, my xpath needs to be dynamic, and therefore my xsl file. Sounds like you might need to dynamically create the stylesheet that is ultimately used for the transformation. Could you give me some clue as to how to approach this? Also, I have read that to avoid problem with browser when using xsl/xml, process the data on the server and push it out. Is that what we use the TrAx for? Besides the solutions proposed earlier, another avenue to explore is the XML-oriented custom tags in the JSP Standard Tag Library (you can get early access 3 of these tags from http://jakarta.apache.org/taglibs). Thanks a lot, Baoha Bui Craig McClanahan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
NoClassDefFound
Hi all, I am trying to run a stand alone class using the java + classname.class command and I got the NoClassDefFoundError exception. Could someone tell me what I should do? Thanks very much. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Change an include file requires re-compiling all JSP that include it (?)
They should be in the work folder right under your tomcat directory. -Original Message- From: Scott Hodson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:59 PM To: Tomcat Users List Subject:RE: Change an include file requires re-compiling all JSP that include it (?) 1) Where do they go? I don't see them anywhere under my webapp's folder (I thought they go in WEB-INF/classes but they're not there) 2) Blech, that's what I do now. If I have 100 JSP files all including the same header file I'm doomed! -Original Message- From: James Chuang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 10:06 AM To: Tomcat Users List Subject: Re: Change an include file requires re-compiling all JSP that include it (?) A couple of things you can do, both would be easier than resaving all the JSPs 1. Delete the generated class files... 2. Touch the JSP files. - Original Message - From: Scott Hodson [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Tuesday, December 11, 2001 10:00 AM Subject: Change an include file requires re-compiling all JSP that include it (?) I come from an ASP background where we would frequently change include files and see the results immediately. However, in JSP, since JSP pages are compiled into servlet classes, if I change an include file the JSP file including it won't get re-compiled because the JSP hasn't changed, just the include file. Even if I restart Tomcat it still won't recompile the JSPs. So for now every time I make a change to an include file I have to re-save all of my JSPs so Tomcat forces a recompile. That's a big pain. Can somebody help me out here? Is there a way to force re-compilation of JSPs if the files they include ever change? ___ Scott Hodson (949) 709-4496 office (949) 709-3890 fax [EMAIL PROTECTED] http://www.ubero.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
getting values from web.xml
Hi all, I need to get the values of the attributes in Tomcat's web.xml but I do not want to use servlet or javax.servlet.servletcontext. Can anyone tell me how to do this? Thanks, Baoha.
Tomcat as IIS Inprocess
Does anyone know where to find info on running Tomcat as IIS inprocess? Thanks.
IIS request log
Help! :-) Does anyone know how to configure IIS to log requests for jsp pages? Can it even be done? Thanks a mil, BaoHa Bui.
Log number of visit to jsp page
Hi, We are running Tomcat 3.2.1 behind IIS. We want to switch all the htm/shtm pages to jsp but we need to keep track of how many hit/page we have. How do we do that with Tomcat (our version or another version)? Is that even feasible? Thanks a lot, BaoHa.