Re: apache cvs and eclipse

2003-07-14 Thread kev
At the moment, when I check out a project from cvs (jakarta-tomcat) it
doesn't seem to bring back all the required files
(org.apache.tomcat.util.http) being a good example.
These moved to j-t-c a while ago.  jakarta-tomcat officially uses type
coyote_10 branch in j-t-c.
Ok I looked in jakarta-tomcat-catalina and I can't find the 
org.apache.tomcat.util.http classes, am I being unobservant or are they 
hidden in some weird location, as I can't get the catalina code to 
compile without these classes, and looking in the cvs doesn't show me 
any coyote_10 branches under either jakarta-tomcat, jakarta-tomcat-4 or 
jakarta-tomcat-catalina.

Again I'm very sorry for disturbing people.

Kev

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[PATCH] org.apache.catalina.Context

2003-07-13 Thread kev
A minor one,
needless import statement stopped the code from compiling and wasn't  
being used

Index: Context.java
===
RCS file:  
/home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/ 
catalina/Context.java,v
retrieving revision 1.6
diff -u -r1.6 Context.java
--- Context.java	19 May 2003 21:56:28 -	1.6
+++ Context.java	13 Jul 2003 11:26:13 -
@@ -67,8 +67,6 @@

 import javax.servlet.ServletContext;

-import org.apache.tomcat.util.http.mapper.Mapper;
-
 import org.apache.catalina.deploy.ApplicationParameter;
 import org.apache.catalina.deploy.ContextEjb;
 import org.apache.catalina.deploy.ContextEnvironment;
--
To be governed is to be watched over, inspected, spied on, directed,  
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


apache cvs and eclipse

2003-07-13 Thread kev
This is a little of topic (sorry), but I'm trying to use Eclipse as my 
main dev environment, and I'm getting some strange behaviour when 
connecting to the apache cvs.  I'm guessing that other developers on 
this list use Eclipse (there are TODO tags in code) and I was wandering 
how they managed to setup eclipse to check in/out to the apache cvs 
repository?

At the moment, when I check out a project from cvs (jakarta-tomcat) it 
doesn't seem to bring back all the required files 
(org.apache.tomcat.util.http) being a good example.

Any help to resolve this would be greatly appreciated, off list/direct 
to personal mail would probably be best.

Thanks

Kev

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [5.0] Removing session recycling code

2003-07-07 Thread kev
I'd like to completely remove session recycling code from TC 5, as it 
is a potentially dangerous feature (which has been disabled in TC 
4.1.x) and does not bring any actual performance improvement while 
using memory.
The biggest impact of the change is the removal of the recycled array 
list for base manager, which can break existing TC 4 managers. OTOH, 
using that is unsafe, and fixing an affected manager is very easy 
(just remove whatever recylcling code was used).

I plan to keep Session.recycle around (nulling out references can help 
GC, esp since there could be a lot of session objects - with all their 
children - waiting to be GCed).

Comments ?
If it can't be used safely at all my gut instinct would be to remove it 
to prevent something from blowing up in peoples faces.  It also sounds 
like a performance enhancement which has gone wrong, so it's a prime 
candidate for removal in my opinion. (But then what do I know :)

erm +1 is it?

Kev

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Hey, we're famous !

2003-07-02 Thread kev

http://news.com.com/2100-1012_3-1022469.html?tag=fd_top
Crikey the staff writers at news.com are pretty poor.

Terrible doesn't begin to describe this paragraph...

Reasoning next is studying Tomcat , an Apache module that lets Web 
servers run Java programs, said Tom Fry, Apache's director of 
marketing. The company plans to release that study in about two weeks, 
he said. 

[sigh]

or maybe...

Reasoning is turning their attention to Tomcat next.  Tomcat, a 
component or standalone web server solution, is written in Java and is 
part of the jakarta project to create industrial strength open-source 
solutions.  The company intends to release the study of the Tomcat 
source code in about two weeks

Kev

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon


Re: [OT] Dead laptop

2003-06-30 Thread kev
For laptoppy goodness you can't beat a Powerbook G4[1], java 1.4.1 on 
these guys rocks, and Eclipse is available now.  Project builder isn't 
so great, but the form factor, battery life, unix/gnu tools built-in 
and OS makes it the best laptop (IMHO) that you can buy.

On the other hand they're a bit more expensive than a PC, but you get 
what you pay for.

Kev

[1] www.apple.com/powerbook/index15.html
--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: security of server.xml in tomcat

2003-06-09 Thread kev
On Monday, June 9, 2003, at 03:31 PM, Mohamed Tagari wrote:

Hi,

Is there any way of instantiating the password and username
parameters for connecting to a database in the application code rather
than having it as plain text in the server.xml.
As having the username and password as plain text is not
very secure..
Any help/information will be apprectiated..

ok store the username/password as an encrypted text string and use the 
JAAS API to a: encrypt it in the first place, and b: read it back into 
the the application from the encrypted text string in the server.xml 
file.

I was looking into this myself (not using tomcat but in another 
Oracle/Java project), but the time it would take for me to implement 
and test the secure/encrypted version (2 days including test) was 
deemed to be not worthwhile. C'est la vie.

Kev

  parameter
nameusername/name
valuescott/value
  /parameter
  parameter
namepassword/name
valuetiger/value
  /parameter
especially the default scott/tiger :)

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: FAQ location

2003-06-09 Thread kev
(I is horrible on grammar and spellng, so I hope to clean up the worst 
of those mistakes this upcoming week. Sorry if some of the sentences 
are so horribly constructed that it hurts the brain.)
I was a professional technical author (in another life) would you like 
help going over this for grammar/punctuation etc, I've already spotted 
(http://cvs.apache.org/~funkman/faq/unix.html) I wish there was more 
to say right here or to link to something. On the the questions... 
which should be On to the questions...

Kev

--
To be governed is to be watched over, inspected, spied on, directed, 
legislated... - Pierre-Joseph Proudhon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]