RE: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

2004-11-11 Thread khanaz
Dave- Please post the non-ssl and ssl connector fields from your server.xml file Azam Khan -Original Message- From: David Austin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:53 AM To: [EMAIL PROTECTED] Subject: Tomcat - 4.1 - SSL redirect only works on ports 80 and 443

RE: Problem Enabling SSL in Tomcat 4.1.27

2004-10-27 Thread khanaz
Mousami: I have a similar issue before. What I did to resolve it was go through the DOS command prompt and rename mousami.keystore to just .keystore (Windows Explorer can't do it) I am not sure as to why it wouldn't take the full file name but the .keystore worked for me. Good luck! Azam Khan

RE: Problem Enabling SSL in Tomcat 4.1.27

2004-10-27 Thread khanaz
Mousami: There are two other differences I see between my configuration and yours.. 1) my Factory classname is org.apache.coyote.tomcat4.CoyoteServerSocketFactory not org.apache.catalina.net.SSLServerSocketFactory 2) my keystoreFile path uses FORWARD slashes instead of BACKSLASHES. That may be

RE: Problem Enabling SSL in Tomcat 4.1.27

2004-10-27 Thread khanaz
Sorry I meant try changing your path to FORWARD slashes Azam Khan -Original Message- From: Khan, Azam Sent: Wednesday, October 27, 2004 2:13 PM To: [EMAIL PROTECTED] Subject: RE: Problem Enabling SSL in Tomcat 4.1.27 Mousami: There are two other differences I see between my

RE: Problem Enabling SSL in Tomcat 4.1.27

2004-10-27 Thread khanaz
No problem Mousami.. I'm glad you are up and running. Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 2:37 PM To: Tomcat Users

RE: Tomcat, JNDI, Active Directory

2004-10-15 Thread khanaz
Hey Ron- I recently built a web interface for users to reset their own AD passwords. I am using Novell's libraries to connect to AD LDAP. I have included Novell's sample GetAuthenticated.java code that shows a few different says of Binding to an LDAP database. You can download the libraries

Repost: Hiding welcome page

2004-10-12 Thread khanaz
Assuming my site is http://www.mysite.com/ http://www.mysite.com/ , whenever I go to the site, I see http://www.mysite.com/index.jsp http://www.mysite.com/index.jsp . How do I enable tomcat 4.1 (preferably) or 5 to hide the index.jsp portion of the URL so all I see is http://www.mysite.com

RE: Tomcat 4 as an NT Service

2004-10-11 Thread khanaz
Hello Chris: If you don't mind me asking, what args do you need to pass to enable SSL? My implementation of SSL is all done through my {CATALINA_HOME}\conf\server.xml file... In either case, if you wish to pass arguments to the Apache Tomcat service, just go into computer management (right click

RE: Tomcat 4 as an NT Service

2004-10-11 Thread khanaz
I see.. Why don't you try to modify the registry key directly. Head over to HKLM\SYSTEM\CurrentControlSet\Services\[your tomcat service]\ Look for the ImagePath key.. You should be able to update that value to whatever you want. Thanks, Azam Khan Network Data Support Center Verizon Wireless

RE: Multiple arguments in a GET URL

2004-10-03 Thread khanaz
Eric: You're right, someone could spend a while constructing a URL to use up a lot of memory.. I will go and hard code the index.jsp page to not allow index.jsp to be an argument of mainFrame.. That should solve the nested frameset issue. Anything else I should have accounted for before using this

RE: Multiple arguments in a GET URL

2004-10-03 Thread khanaz
Eric: Thanks for your help. Now that I think about it, it appears that is what is happening. I will modify the code tomorrow morning to pass the second ampersand as an ASCII value. Thanks everyone for your input on this !! Thanks, Azam Khan Network Data Support Center Verizon Wireless

RE: configure tomcat for default index

2004-10-01 Thread khanaz
Didik: Tomcat, by default, sources the ROOT folder of your CATALINA_HOME\webapps.. if you would like to make modifications to your ROOT content as you are trying to do, you can change the Context docBase in the server.xml file of CATALINA_HOME\conf directory. !-- Tomcat Root Context --

RE: Does anybody have a JSP/Servlet example on MS SQLServer JDBC Connectivity?

2004-10-01 Thread khanaz
import java.sql.*; import java.util.*; public class Untitled7 { public static void main(String args[]) { Connection db; String DriverName = com.microsoft.jdbc.sqlserver.SQLServerDriver; String DBUrl = jdbc:microsoft:sqlserver://host:port;user=[username];password=[password];

RE: Tomcat Question - HELP

2004-10-01 Thread khanaz
With your tomcat PID destroyed, try telneting to your listener ip/port and see if you can get a connection.. something else may be bound to your ip/port that is keeping tomcat from starting.. Thanks, Azam Khan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Multiple arguments in a GET URL

2004-10-01 Thread khanaz
I am attempting to redirect to a URL that is similar to the following http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1 http://www.mysite.com/index.jsp?mainFrame=somePage.jsp?item1=info1item2=in fo2 item2=info2 However, I can only do a request.getParameter on item1 in the

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yea.. it's a null string.. I have a feeling it is passing item2 into the index.jsp instead of the somePage.jsp .. I guess will try to retrieve item2 in index.jsp and see if it works Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
Yoav- I understand that an ? indicates the beginning of a query string but with my scenario it is exactly how I want it. For example, my index.jsp is the frameset that takes an argument mainFrame specifying the JSP/HTML to use as the center frame of the frameset. So for example I would have

RE: Multiple arguments in a GET URL

2004-10-01 Thread khanaz
it sees hello as expected Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:05 PM To: Tomcat Users List Subject: RE: Multiple

hiding the welcome file

2004-09-30 Thread khanaz
Hello: I am interested in hiding the welcome file from my webapp.. Assume I am connecting to http://www.mysite.com http://www.mysite.com/ . Tomcat 4.1.29 and 5.0 will show that as http://www.mysite.com/index.jsp http://www.mysite.com/index.jsp . How do I go about hiding the index.jsp without