RE: admin interface: jdbcrealm usage

2003-12-12 Thread Ostad, James
thank you. James -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 8:59 AM To: Tomcat Users List Subject: Re: admin interface: jdbcrealm usage Not a bug, a feature gap ;) -Tim Ostad, James wrote: > Are you saying that there is a patch

RE: admin interface: jdbcrealm usage

2003-12-12 Thread Ostad, James
welcome ;-). "Ostad, James" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] .. I have implemented the jdbcrealm user authentication. Now when I go to the tomcat admin site, there is no sign of our users and roles. Am I supposed to assume that once I moved to jdbcrealm,

admin interface: jdbcrealm usage

2003-12-11 Thread Ostad, James
I have implemented the jdbcrealm user authentication. Now when I go to the tomcat admin site, there is no sign of our users and roles. Am I supposed to assume that once I moved to jdbcrealm, I should forget about the admin site for user control? any comment? thanks, James Ostad Application Deve

google yourself

2003-12-11 Thread Ostad, James
have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? James Ostad Application Developer/Analyst TMS Department Ex. 4457 E-mail: [EMAIL PROTECTED] Out---> (3) --

RE: very basic winNT question

2003-12-10 Thread Ostad, James
just curious, is it a FAT installation or NTFS? -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 12:49 PM To: 'Tomcat-User List' Subject: very basic winNT question Hello folks, i know, this a list for Java and Tomcat, but i

RE:THANKS: getting j_username from form

2003-12-10 Thread Ostad, James
List Subject: Re: getting j_username from form try String loginfo = (String)req.getRemoteUser(); Andoni. - Original Message - From: "Ostad, James" <[EMAIL PROTECTED]> To: "Tom (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 3:01 PM Subj

getting j_username from form

2003-12-10 Thread Ostad, James
I am trying to get the j_username from the form after authentication. But I am getting null each time. here is what I am using to get it: String loginfo = session.getAttribute("j_username"); and the value of the loginfo is null. any help would be nice. James Ostad Application Developer/Analyst

RE: digest password setup

2003-12-09 Thread Ostad, James
I got my own answer. I have to either enter the digested password in the tomcat-users.xml, or via the admin tool. appreciate your help. James -Original Message- From: Ostad, James Sent: Tuesday, December 09, 2003 2:13 PM To: Tomcat Users List Subject: RE: digest password setup I am

RE: digest password setup

2003-12-09 Thread Ostad, James
, md5 format? any suggestion? thanks, James -Original Message- From: Ostad, James Sent: Tuesday, December 09, 2003 2:01 PM To: Tomcat Users List Subject: RE: digest password setup got them. Thanks for help. I had to drop the \ in the formula. James -Original Message- From:

RE: digest password setup

2003-12-09 Thread Ostad, James
got them. Thanks for help. I had to drop the \ in the formula. James -Original Message- From: Ostad, James Sent: Tuesday, December 09, 2003 1:46 PM To: Tomcat Users List Subject: RE: digest password setup Hi again, It is asking for credential: usage: realmbase -a what am I

RE: digest password setup

2003-12-09 Thread Ostad, James
path to make the RealmBase class available. Vinh -Original Message- From: Ostad, James [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:39 PM To: Tomcat Users List Subject: RE: digest password setup Hi, I am putting the following command from the URL you send me to: java

RE: digest password setup

2003-12-09 Thread Ostad, James
/tomcat-4.1-doc/realm-howto.html#Digeste d%20 Passwords Vinh -Original Message- From: Ostad, James [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 11:50 AM To: Tom (E-mail) Subject: digest password setup Hi, I have installed Tomcat as usual. Now I want to use digest password with

digest password setup

2003-12-09 Thread Ostad, James
Hi, I have installed Tomcat as usual. Now I want to use digest password with tomcat database by adding digest="MD5" to the realm. But, when I do that, how do I get back in? the original password in the tomcat-user.xml file is normal text. and during the login after the digest is setup, it is using

Authenticate userrole, using form based login

2003-12-04 Thread Ostad, James
Hi, I am using form based authentication with this system: win.2K adv. server SQL 2k Tomcat 4.1 After fixing many problems, thanks to you guys and specially Tim Funk, I am getting this error now, which is giving me a http status 403, access forbidden. I have checked database and each column name,

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
I noticed in the log file that after authentication of admin user, another line indicates that the user admin does not have the role admin. I am checking database to make sure that the role and user have relationship. any suggestion? thanks, james -Original Message- From: Ostad, James

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
n ant) ... ... ... -Tim Ostad, James wrote: > Tim, > I am afraid that I am not familiar with the first line, CP=... > is that a copy command on unix? > > thanks > james > > > -Original Message- > From: Tim Fu

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
pile in this case: > CP=*All jars in $CATALINA/common/lib,All jars in $CATALINA/server/lib* > javac -classpath $CP -d $CATALINA_HOME/server/classes JNDIRealm.java > > -Tim > > Ostad, James wrote: > >> I am new in tomcat. >> I am looking in tomcat site for sour

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
dir in server/classes. (Which has a higher precedence than the lib dir) -Tim Ostad, James wrote: > One more thing, > when I commented out the realm section in server.xml, the program does > work with the default realm. > > James > > -Original Message- > Fr

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
/classes. (Which has a higher precedence than the lib dir) -Tim Ostad, James wrote: > One more thing, > when I commented out the realm section in server.xml, the program does > work with the default realm. > > James > > -Original Message- > From: Ostad, James > S

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
One more thing, when I commented out the realm section in server.xml, the program does work with the default realm. James -Original Message- From: Ostad, James Sent: Wednesday, December 03, 2003 10:08 AM To: Tomcat Users List Subject: RE: JDBCRealm problem I just noticed this errors

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStre am.java:2619) Any help would be appreciated thanks, James -Original Message- From: Ostad, James Sent: Wednesday, December 03, 2003 9:51 AM To: Tomcat Users List Subject: RE: JDBCRealm problem Hi, Thanks for the info

RE: JDBCRealm problem

2003-12-03 Thread Ostad, James
right - he usually is - that there is a config problem with the db or the connection to the db. A quick google later: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313181 HTH, Jon Ostad, James wrote: > The line above the line you mentioned in the error log indicates that &g

RE: JDBCRealm problem

2003-11-26 Thread Ostad, James
entication java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode. Since I don't use SQL server and Java, I can't be of more help, but my guess is - Database setup - Driver parameter missing -Tim Ostad, James wro

RE: JDBCRealm problem

2003-11-26 Thread Ostad, James
one more thing, you might have notice by my first email, I am initializing the database connection within the web.xml. I am not sure that has to do with the problem. The initialization in web.xml is for internal bean usage. thanks, James -Original Message- From: Ostad, James Sent

JDBCRealm problem

2003-11-26 Thread Ostad, James
Hi everyone, Hope everyone will have a great TG Day. Problem: I am not able to login successfully. It keeps failing. Structure: using JDBCRealm + form authentication database property: match exactly as explained in tomcat documentation for setting up JDBCRealm I am including three things: 1-se

RE: download file issue

2003-11-25 Thread Ostad, James
g files? If there is something there that you > can't interpret then post a few of the relevant lines to the list (but not > the whole log file, obviously ;-) ). > > Andoni. > > - Original Message - > From: "Ostad, James" <[EMAIL PROTECTED]> >

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, With your help, I got it to work. Since I am downloading images, I just have to change the way I copy the files from the source to the web app directory. The format of the path was the problem. In the case you are interested: - I get the UNC file path format from SQL database - then copy

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, I am using a JSP to do the download. I pass the relative path to the jsp page with the file name. Before your last email, I was creating a file instance and use that for my hyper link. I changed the code to it will reflect the http:// path rather than the file:// . Now I get the tomcat erro

RE: download file issue

2003-11-24 Thread Ostad, James
You have no idea what I have gone through to figure this out. I will do this as long as you last. That is not a tomcat error. It is an IE error. \\ipaddress\temp$\ceo\test\temp$\00064735.tif I have not activated the DNS yet, that is why the IP address is showing up. when I move the cursor over

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, Here is the error page: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, While I am within the host server, everything works fine. But let say that I try to get the site from a local workstation through internet. I am able to login, pass the information, and even get the database file information with an hyperlink to the file. But when I double click on it gives

download file issue

2003-11-24 Thread Ostad, James
I have created a web site that allows users to download files. It is working at the server level, but not out site of the server, at user level. Server is win2k adv. server. Tomcat is 4.1.29 Any suggestion would appreciated. James Out---> (1)