RE: my proposal for "re implement tomcat valves as filters"

2009-04-01 Thread anas Ahmed


> Mark Thomas wrote :
> 
> 
> Feedback:
> Good first draft. There are a coupe of areas I would like to see more detail 
> on:
> 
>1. Impact of Servlet 3 and async processing.

Lack of asynchronous support in the Servlet 2.5 specification has caused 
server vendors to devise workarounds by weaving proprietary classes 
and interfaces that promote scalable Comet programming into 
the Servlet 2.5 API.As Servlet 3 support async processing, 
I think there is no need to Comet programming 
(CometEvent, CometFilter, CometFilterChain, CometProcessor, 
CometEventImpl, CometConnectionManagerValve classes are no longer needed).
I think others features like annotations will not be useful 


>2. The filter requires a ServletContext at initialisation. How might you
>   handle this for a filter defined at the Engine/Host level?

My idea to handle this is as follow - tracks other component that can be 
defined at Context and Host, 
for example  HttpServlet (  tag).- read HttpServlet 
implantation and specification, then try to make 
implementation to FilterClass implement  Filter interface, same as 
HttpServlet, so Filter can be defined at host level. 
Then try to make necessary modification on Filter to wide it at Engine level.
>3. Authentication will require access to Tomcat internals. Is a filter the
>   right solution for these valves? What might a better approach be? What
>   about JSR 196?
still searching , can you explain more.

> I would also suggest you spend a little time to build Tomcat from source
> (http://svn.apache.org/repos/asf/tomcat/trunk). Once you have Tomcat building,
> I'd suggest looking at the AccessLogValve and how that might be converted to a
> Filter to give you a better ide of the issues involved and how long things 
> might
> take.
i will do but there is no lot time ,Friday is the last day for submit proposal 
,what is the necessary modifications to add them to proposal ?

finally how many students will work in this project?

Thanks
Anas Ahmed


 

_
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009

Re: Feedback on my project proposal

2009-04-01 Thread Rahul Saxena
Is Tomcat currently supports JSR 196??

On Thu, Apr 2, 2009 at 3:02 AM, Mark Thomas  wrote:

> Rahul Saxena wrote:
> > If we derive several servlets form s generic servlet and then if we
> specify
> > a filter for that generic servlet, will that filter work for all derived
> > servlets or not???
>
> Filters and servlets are independent. Any filter should work with any
> servlet.
>
> Mark
>
> >
> > Rahul Saxena
> > B.Tech Part III
> > Computer Science And Engineering
> > IT BHU
> >
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


-- 
Rahul Saxena
B.Tech Part III
Computer Science and Engineering
I.T. B.H.U. ,Varanasi
Contact No.-09452196645


I Need Your Feedback on my project proposal

2009-04-01 Thread Xie Xiaodong
Hello, Dear All,
   I have posted my revised proposal on the GSOC site for the project
"Convert current Tomcat valves to Servlet Filters". And I've successfully
build the source code Mark provided, and delved myself into it. I'll add the
deliverables and timescale to this proposal later. Any comments, feedback
and criticism to my proposal are welcomed.


-- 
Sincerely yours and Best Regards,
Xie Xiaodong


Re: The Boundary of this "tomcat-1-valves2filters" project

2009-04-01 Thread Mark Thomas
Xie Xiaodong wrote:
> Hello, All,
>The pipeline and valves mechanism is the foundamental part of Tomcat,
> will we change those "basic" valves like "StandardWrapperValve",
> "StandardHostValve", "StandardEngineValve", "StandardContextValve" in this
> project?

The intention is to replace Valves completely.

You might want to take a look at this thread:
http://markmail.org/thread/rddn6i37r5dp466b

Whether Costin's solution is the only/best solution is TBD.

Mark

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r761079 - /tomcat/trunk/build.xml

2009-04-01 Thread markt
Author: markt
Date: Wed Apr  1 21:53:38 2009
New Revision: 761079

URL: http://svn.apache.org/viewvc?rev=761079&view=rev
Log:
Align build script with recent re-packaging

Modified:
tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=761079&r1=761078&r2=761079&view=diff
==
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Wed Apr  1 21:53:38 2009
@@ -196,7 +196,7 @@
   
 
   
-
+
   

   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



The Boundary of this "tomcat-1-valves2filters" project

2009-04-01 Thread Xie Xiaodong
Hello, All,
   The pipeline and valves mechanism is the foundamental part of Tomcat,
will we change those "basic" valves like "StandardWrapperValve",
"StandardHostValve", "StandardEngineValve", "StandardContextValve" in this
project?



-- 
Sincerely yours and Best Regards,
Xie Xiaodong


Re: Feedback on my project proposal

2009-04-01 Thread Mark Thomas
Rahul Saxena wrote:
> If we derive several servlets form s generic servlet and then if we specify
> a filter for that generic servlet, will that filter work for all derived
> servlets or not???

Filters and servlets are independent. Any filter should work with any servlet.

Mark

> 
> Rahul Saxena
> B.Tech Part III
> Computer Science And Engineering
> IT BHU
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Feedback on my project proposal

2009-04-01 Thread Ian Darwin

Rahul Saxena wrote:

If we derive several servlets form a generic servlet and then if we specify
a filter for that generic servlet, will that filter work for all derived
servlets or not???

  
Indeed. It should make no difference how the servlets are derived; what 
matters
is the filter-mapping in web.xml. You'd have to be sure have  
filter-mappings

that included the derived servlets, in other words.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46950] SSL renegotiation does not occur when resource with CLIENT-CERT auth is requested

2009-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46950


william.bar...@wilshire.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from william.bar...@wilshire.com  2009-04-01 11:43:50 PST ---
There is no  in the configuration, so of course Tomcat doesn't
ask for a certificate.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Feedback on my project proposal

2009-04-01 Thread Rahul Saxena
If we derive several servlets form s generic servlet and then if we specify
a filter for that generic servlet, will that filter work for all derived
servlets or not???

Rahul Saxena
B.Tech Part III
Computer Science And Engineering
IT BHU


Re: 10th anniversary

2009-04-01 Thread Henri Gomez
You should also mention Jserv team :)

2009/4/1 Rainer Jung :
> On 01.04.2009 16:30, Mladen Turk wrote:
>>
>> Hi,
>>
>> Seems this year Tomcat has 10 year anniversary since
>> being part of ASF. I plan to create some artwork and
>> edit the heritage.html page, probably add few more.
>>
>> It would be nice to list all the initial committers
>> on that page and get some more info on the history
>> from the early days.
>>
>> If anyone has some nice story to share, I'd love
>> to publish that as well, so she/he can just mail me
>> or whatever.
>
> Great initiative, ++1
> (though I can't contribute anything about the relevant time).
>
> Rainer
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: 10th anniversary

2009-04-01 Thread Rainer Jung

On 01.04.2009 16:30, Mladen Turk wrote:

Hi,

Seems this year Tomcat has 10 year anniversary since
being part of ASF. I plan to create some artwork and
edit the heritage.html page, probably add few more.

It would be nice to list all the initial committers
on that page and get some more info on the history
from the early days.

If anyone has some nice story to share, I'd love
to publish that as well, so she/he can just mail me
or whatever.


Great initiative, ++1
(though I can't contribute anything about the relevant time).

Rainer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



10th anniversary

2009-04-01 Thread Mladen Turk

Hi,

Seems this  year Tomcat has 10 year anniversary since
being part of ASF. I plan to create some artwork and
edit the heritage.html page, probably add few more.

It would be nice to list all the initial committers
on that page and get some more info on the history
from the early days.

If anyone has some nice story to share, I'd love
to publish that as well, so she/he can just mail me
or whatever.


Regards
--
^(TM)

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46950] New: SSL renegotiation does not occur when resource with CLIENT-CERT auth is requested

2009-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46950

   Summary: SSL renegotiation does not occur when resource with
CLIENT-CERT auth is requested
   Product: Tomcat 6
   Version: 6.0.18
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet & JSP API
AssignedTo: dev@tomcat.apache.org
ReportedBy: an...@cabine.org


When a part of a webapp requires an SSL connection with a client certificate
there should be an SSL renegotiation to request a client certificate from the
browser.

This is the configuration I added to an webapp that already uses an SSL
connector:


CLIENT-CERT
WPS




   
/LoginWithCert.do
DELETE
GET
POST
PUT
HEAD


CONFIDENTIAL



Requests to /LoginWithCert.do require an SSL connection, if there isn't one,
but no client certificate is requested.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: my proposal for "re implement tomcat valves as filters"

2009-04-01 Thread Mark Thomas
anas Ahmed wrote:
> I have posted my application on the GSOC site for the project "re-implement
> tomcat valves as filters" 
> please give your suggestion and  participate with your ideas to make 
> this proposal better

Feedback provided in the GSOC app and repeated below. Feel free to discuss your
ideas regarding these questions on the dev list.

Mark


Feedback:
Good first draft. There are a coupe of areas I would like to see more detail on:

   1. Impact of Servlet 3 and async processing.
   2. The filter requires a ServletContext at initialisation. How might you
  handle this for a filter defined at the Engine/Host level?
   3. Authentication will require access to Tomcat internals. Is a filter the
  right solution for these valves? What might a better approach be? What
  about JSR 196?

I would also suggest you spend a little time to build Tomcat from source
(http://svn.apache.org/repos/asf/tomcat/trunk). Once you have Tomcat building,
I'd suggest looking at the AccessLogValve and how that might be converted to a
Filter to give you a better ide of the issues involved and how long things might
take.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Feedback on my project proposal

2009-04-01 Thread Mark Thomas
Rahul Saxena wrote:
> I have posted my application on the GSOC site for the project "Convert
> tomcat valves to filters" , Can anyone give their comment on the same...

Feedback provided in the GSOC app and repeated below. Feel free to discuss your
ideas regarding these questions on the dev list.

Mark


Feedback:
Good first draft. There are a couple of areas where I would like to see a little
more information:

   1. There are many more valves than the 6 you listed.
   2. The filter requires a ServletContext at initialisation. How might you
handle this for a filter defined at the Engine/Host level?
   3. Authentication will require access to Tomcat internals. Is a filter the
right solution for these valves? What might a better approach be? What about JSR
196?


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: I'd like to take part in the "tomcat-1-valves2filters" project of Google Summer Code of 2009

2009-04-01 Thread Mark Thomas
Xie Xiaodong wrote:
> Dear All,
>I'd like to take part in the "tomcat-1-valves2filters" project of Google
> Summer Code of 2009. Could you provide me some more information? I think we
> already have complete test suits for those valves,

Really? Where did you find those? I'm not aware of any.

> so if I could get the
> chance to participate in this project, I'll replace those valves one by one.
> After finish each valve, I'll test if I break something.

That sounds like a sensible approach. Some valves will be easier than others.

You will need to think about configuration. Valves are configured at Engine,
Host and Context level with Tomcat specific configuration. Filters are
configured at Context level with servlet spec configuration. You'll also need to
consider how they will interact with the new Async support in the Servlet 3.0 
spec.

> Could someone
> provide me some more information of this project?

The info on http://wiki.apache.org/general/SummerOfCode2009 is the best source
of information.

I suggest that you familiarise yourself with the Tomcat source code, starting
with building trunk (Tomcat 7 development branch) from
http://svn.apache.org/repos/asf/tomcat/trunk

There aren't really any valve bugs that need fixing so I suggest you take a look
at converting the AccessLogValve to a filter to give you an idea of what is
involved before your write your proposal with deliverables and timescales.

Mark

> 
> 
> Here is my Biography:
> 
> I'm Xie Xiaodong, come from China. Now I'm in Sweden, pursuing my second
> Master Degree on Software Engineering of Distributed Systems in Royal
> Institute of Technology. Before I came to Sweden, I worked for an famous
> online payment company in China for one and a half years. I'm quite familiar
> with Servlet Specification and Development of Web application using Servlet
> technology. I'm also familiar with many kinds of frameworks such as Spring,
> Hibernate, Ibatis and so on. When I was at school in China for my first
> Master Degree, I took part in a project which was an information system on
> aquaculture. In this project, my role was the architect and main developer.
> This project was based on J2EE architecture, used many open-source
> frameworks, such as Spring, Hibernate, SiteMesh, iText, JFreechart,
> AjaxAnywhere and Quartz. This project was deployed on Tomcat. So I like this
> Web Container very much since it is easy to use, and you can find many
> documentation for it on the Internet. It will be very proud for me to take
> part in the development of Tomcat.
> 
> 
> 
> Thank you for your concerning.
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



my proposal for "re implement tomcat valves as filters"

2009-04-01 Thread anas Ahmed

I have posted my application on the GSOC site for the project "re-implement
tomcat valves as filters" 
please give your suggestion and  participate with your ideas to make 
this proposal better

Thanks
Anas Ahmed

_
Quick access to your favorite MSN content and Windows Live with Internet 
Explorer 8. 
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A