Default Context in Tomcat 5.0.19

2004-03-25 Thread Chaikin, Yaakov Y (US SSA)
Hi, I am a bit confused about this one. I am able to run servlets using the invoker servlet by placing the classes in the ROOT/WEB-INF/classes directory. Yet, I don't see in server.xml any mention of the default context. Has this changed since 4.1.x version? I've looked into conf/Catalina/localh

Tomcat service doesn't start the server

2004-01-07 Thread Chaikin, Yaakov Y (US SSA)
Hi, I downloaded tomcat 4.1.29 for windows and installed it. A service was installed as part of the installation. However, the server doesn't appear to be running. Only after I click on "Start Tomcat" link does the server respond to requests. When I first installed it, I seem to remember that it

Older versions of IE

2004-01-05 Thread Chaikin, Yaakov Y (US SSA)
Does anyone know where I can download older version of IE (5.x and 4.x)? Thanks. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Auto reload war file

2004-01-05 Thread Chaikin, Yaakov Y (US SSA)
Hi, I have a war file that gets packages at the command line using ant. Tomcat uses that war for the application and I've set it up that it doesn't unpack it. I keep having to restart the server whenever I change anything, recompile and repackage. Does anyone know what and where in the server.xml

How to get username

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
Hi, Does anyone know how to get back the username once the person logged in with declarative security? Thanks. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To unsubs

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
the same machine and objects in > session take-up system memory. But, I don't put a lot into that object, > it's very minimal, and I don't get many users for it to be an issue, and I > bumped up the memory on that web-server anyway. > > Hope this helps.

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
gt; Subject: Re: How to prevent direct access to login.jsp > > On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: > > I realized that my user can mess himself by bookmarking the login page > > he is asked to log in. The login.jsp appears in the URL address in the > > bro

RE: How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
> Put the file in something like WEB-INF/jsp/login.jsp. Then either > configure form-based authentication for the path to that JSP I tried doing that, but when I specified /WEB-INF/jsp/login.html in FORM /WEB-INF/jsp /login.html /WEB-INF/jsp /lo

How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the server? Thanks. Yaakov Chaikin Software Engineer

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Rod, Actually, I am pretty sure that the welcome-file has nothing to do with it. All that does is tell the server which URL to try to serve up if you were to leave off the file name from the url you are typing in. So, in my case typing localhost/xxxWEB/ is equivalent to localhost/xxxWEB/welcome.js

RE: Custom Realm deployment, was "More sophisticated JDBCRealm Security"

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Basically, jar your package that you are using for your JDBCRealm and put the .jar file into common/lib directory. That will make your package visible to both your webapps and Tomcat server. Well, in your case, you only care about the server seeing this package. HTH. Yaakov Chaikin Software Engi

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Rod, I am sorry, but I am not 100% following you... Yes, you are right. I have the following situation: I am trying url: localhost/xxxWEB/ This gets forwared by the to welcome.jsp, which I want to be protected. welcome.jsp page is in xxxWEB/ directory. Could you explain what you are suggestin

RE: login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Yes, you are right. However, when I changed the pattern to /*.jsp, the login page was skipped and the browser went straight to the protected page without any authentication. I am not sure what's going on. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL

login page css not applied

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I have a problem where the login page is not showing any images and not having the css applied to it. Here is my web.xml: --- Controller corej2ee.web.Controller corej2ee.web.naviga

RE: Lock on database file not being released...

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
probably set > for Yes and should be set to No. > > If you are not using an ODBC Connection entry, then you need to pass > these as arguments in the connection string. > > -----Original Message- > From: Chaikin, Yaakov Y (US SSA) > [mailto:[EMAIL PROTECTED] > Sen

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
and see what happens. > > > > -Original Message- > From: Chaikin, Yaakov Y (US SSA) > [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 07, 2003 2:13 PM > To: Tomcat Users List > Subject: RE: Lock on database file not being released... > > > > > Ho

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
uck [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 07, 2003 9:53 PM > To: Tomcat Users List > Subject: Re: Lock on database file not being released... > > Chaikin, Yaakov Y (US SSA) wrote: > > >Ok, I don't know why, but it's not letting me attach it. &

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
;George Sexton" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Sunday, December 07, 2003 1:15 PM > Subject: RE: Lock on database file not being released... > > > > One other question. What is the setting of Au

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
Sexton" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Sunday, December 07, 2003 1:15 PM > Subject: RE: Lock on database file not being released... > > > > One other question. What is the setting of AutoCommit?

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
essage - > From: "George Sexton" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Sunday, December 07, 2003 1:15 PM > Subject: RE: Lock on database file not being released... > > > > One other question. Wh

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
> One other question. What is the setting of AutoCommit? Are you setting > it to TRUE? It's not touched, i.e., it's default, which is "true". All I am doing in my jsp is doing a regular "select * from tableName". Nothing fancy. Returns 2 rows that are in that table. I am just testing this out fir

RE: Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
> > However, I have used this driver before in a standalone app and when you > close a connection, it certainly does release the lock on the database file. > > This makes me think, you didn't use pooling in this standalone app. Therefor > check weather you close all your ResultSets and Statements.

Lock on database file not being released...

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
Hi, I am having a problem where the lock on the database is not being released. I am using database connection pooling and I am just running a test app and certainly DO close my connections. I double checked that the code that closes the connection is being called and it is. What other things can

RE: Database pool problem (new problem)

2003-12-07 Thread Chaikin, Yaakov Y (US SSA)
> I understand that you do not have a choice, but please not that the > JDBC-ODBC bridge is *not for production* [according to Sun], it is > *solely* for development and evaluation. > > The bridge contains identified bugs that will not be addressed [i e > support is EOLed]. So, you are using this

RE: common dbcp question

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Check out "Preventing dB connection pool leaks" at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations HTH Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTE

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
> > | user > ^ > That worked! THANKS! Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To unsubscribe, e-mail:

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ); > > Connection dbConn = DriverManager.getConnection( "jdbc:odbc:afec", > "UserName", "UserPassword" ); > > > -- > > De: Chaikin, Yaakov Y (US SSA)[SMTP:[EMAIL

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
> Could you show us how you make a simple connection to that M$ Acess > database to compare? Well, I sort of already did. The realm is working 100% using that database. Here is my tag: This works and it's the same attributes, just with different names to comply with Realm tag dtd. Any i

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
> Maybe M$ Access isnĀ“t a good database to test. Could you use some > real database? Like MySQL, PostgreeSQL, HypersonicSQL, Oracle and so on. I told you, it's not my choice at this point. I am not about to tell my clients to since they are using M Access I am going to develop. And yes

Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Hi, I am having the following problem and how someone can point out to me what I am doing wrong. I am trying to configure Tomcat to have a database connection pool for my database, but when I try to access the database through a jsp, it gives me "wrong password" for the database... BUT it IS the

Testing, please ignore

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]