Re: [OFF-TOPIC] RE: Source Control Ideas.

2004-08-06 Thread Anastasios Angelidis
Robert Bateman wrote: On Friday 06 August 2004 11:36 am, Anastasios Angelidis wrote: The general approach is to set up a separate "component" in source control for each component of your code that can be depended upon. All modern source control systems allow you to label branches,

Re: [OFF-TOPIC] RE: Source Control Ideas.

2004-08-06 Thread Anastasios Angelidis
Shapira, Yoav wrote: Hola, (or perhaps, Kalimera?) Since this is a nice active list of plenty of developers and I have no other idea where I can post theses questions... My questions are concerning source control in general We ask that you prepend [OFF-TOPIC] to the subject line of messages

Source Control Ideas.

2004-08-06 Thread Anastasios Angelidis
Since this is a nice active list of plenty of developers and I have no other idea where I can post theses questions... My questions are concerning source control in general 1- Is there any good books, articles, web sites tutorials... 2- May I pick the brains of a few of you guys... Now here is my

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
management system (CMS), more like a home grown one. Anyways, JBoss ported PostNuke (a CMS written in PHP) to their platform, you might want to check it out ... On 7/27/2004 11:25 AM, Anastasios Angelidis wrote: I want to do exactly like the serverside.com You have alogin form on each

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
, Anastasios Angelidis wrote: So if I understand you... On my index page which is not protected put a form with And somewhere at the top of page have something like if(getUserPrincipal()) redirect I guess we can both try it lol... No, that won't work. The login page cannot be expli

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
That what Iwas saying previously. So how can I put a login page on my home page to allow access to the protected. Resources. theserverside.com has it and all kinds of web sites. Dennis Dai wrote: On 7/27/2004 10:34 AM, Anastasios Angelidis wrote: So if I understand you... On my index page which

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
, IF I am correct..otherwise I'll put the second D hat on. -Original Message- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 15:10 To: Tomcat Users List Subject: Re: Beyond bassic form authentication? That wont work. Try navigating to the login page of the sec

Re: Beyond bassic form authentication?

2004-07-27 Thread Anastasios Angelidis
authenticate and then use getUserPrincipal() to determine whether you need to redirect them to the secured pages. -Original Message- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 14:34 To: Yiannis Mavroukakis Subject: Re: Beyond bassic form authentication? Yeah it will but

Re: Multiple Webbapps, single login.jsp??

2004-07-26 Thread Anastasios Angelidis
Actually there is a sample on the tomcat web page. Something to do with an access valve http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/authenticator/SingleSignOn.html Schalk Neethling wrote: Jonathan You can probably do this by giving each user a specif

Re: DBCP + Tomcat Issues?

2004-07-26 Thread Anastasios Angelidis
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations Look at the link. Make sure you are closing the connections. Anastasios Angelidis wrote: What are the sql exceptions? Looks like the connections arent beeing

Re: DBCP + Tomcat Issues?

2004-07-26 Thread Anastasios Angelidis
What are the sql exceptions? Looks like the connections arent beeing released in the connection pool. Eventually they all are beeing used. Rahman Syed wrote: Hello, I realize this may not be the best place to ask but I'll give it a shot. I'm using DBCP in a Struts application to make requests to

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
" is using another set of code as a kind of example... copy it and modify it as necessary. -Original Message- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 09:13 To: Tomcat Users List Subject: Re: Beyond bassic form authentication? Does any one have an

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
is you should "steal" some code from the existing examples in Tomcat. Yparxoune epishs kai alloi tropoi pou boreis na to kaneis ayto..boreis kalista na exeis authentication mesw tou Apache kai enos module pou koitaei gia valid accounts sthn mySQL sou. Happy coding, Yiannis -----Original Mes

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 7:37 AM To: [EMAIL PROTECTED] Subject: Beyond bassic form authentication? So I setup my web app to use Form Authentication with a User Realm in my MySQL DB. It all works fine. I type the protected resources URL

Re: Beyond bassic form authentication?

2004-07-23 Thread Anastasios Angelidis
In english please! :P What's scabbing? Robert Harper wrote: Did you try scabbing code from the login.jsp? You may want to use that and the user will gain access to the areas allowed with their group or role. Robert S. Harper 801.265.8800 ex. 255 -Original Message- From: Anast

Beyond bassic form authentication?

2004-07-23 Thread Anastasios Angelidis
So I setup my web app to use Form Authentication with a User Realm in my MySQL DB. It all works fine. I type the protected resources URL into the browser, I get redirected to the login page, I login and behold it works! ;) Now how would I give access to a secure resource from an unsecure resour

Re: How to set up default web app?

2003-01-03 Thread Anastasios Angelidis
Actually I got it finally working When I put my app in the root folder... even if I set up the context for root my jndi names for my db where failling and returning an invalid pointer for my db connection. I fixed the problem by creating a default context Noel J. Bergman wrote: Wha

Re: How to set up default web app?

2003-01-03 Thread Anastasios Angelidis
Actually, I solved my problem why still the tomcat indx.jsp was beeing served... It's because it was beeing compiled, but I still have my context problem how will I set this up now? Thanks Anastasios Angelidis wrote: I tried that... I also have a context setup for my we

Re: How to set up default web app?

2003-01-03 Thread Anastasios Angelidis
Not only that it still serving the tomcat index.jsp but the images dont get displayed... I made a back up of the root folder, the I removed all it's content and I put my web app... Anastasios Angelidis wrote: I tried that... I also have a context setup for my we

Re: How to set up default web app?

2003-01-03 Thread Anastasios Angelidis
listening on from 8080 to 82. Put your webapp in $CATALINA_HOME/webapps/ROOT. You might want to read the docs. John -Original Message- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 4:23 PM To: [EMAIL PROTECTED] Subject: How to set up default web

How to set up default web app?

2003-01-03 Thread Anastasios Angelidis
When browsing to http://localhost:8080, Tomcat servs the default tomcat web app What would I have to do to setup a container on port 82 and have it server my web app as default thanks... -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: jdbc, mysql and character encoding

2003-01-02 Thread Anastasios Angelidis
Well I know for a fact that if you are using windows, the console window canot display extended characters. Only the standard ASCII chars... It doesnt really matter, as long as you get the desired result in your application... All characters in the end are bytes, a byte is a byte it all depends

Setting root web app. How?

2003-01-02 Thread Anastasios Angelidis
When you start tomcat and then navigate with your browser to http://localhost:8080, you get the tomcat default web app/info pages etc... I want it to go to my web application, so what I did is I backed up the ROOT folder and put my web app in the ROOT folder. Is this the correct method or is th

Re: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-01-02 Thread Anastasios Angelidis
Doh! Teach me for staying up so late :P Thanks it works. shawn wrote: Try changing this value Shouldn't it be jdbc/InfectedDB ? That's my guess. Shawn On Thu, 2003-01-02 at 12:29, Anastasios Angelidis wrote: Hi I downloaded the MySQL Connector/J 2.0.14 JDBC drivers and I c

java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-01-01 Thread Anastasios Angelidis
Hi I downloaded the MySQL Connector/J 2.0.14 JDBC drivers and I copied the mysql-connector-java-2.0.14-bin.jar to the common/lib folder... Here is my server.xml config... factoryorg.apache.commons.dbcp.BasicDataSourceFactory maxActive100 maxIdle30 maxWa