Re: How copyright notices on contributed files should be handled.

2004-12-22 Thread Davanum Srinivas
fyi


-- Forwarded message --
From: Brian Behlendorf <[EMAIL PROTECTED]>
Date: Wed, 22 Dec 2004 16:36:39 -0800 (PST)
Subject: How copyright notices on contributed files should be handled.
To: tomcat-dev ,
[EMAIL PROTECTED], Remy Maucherat <[EMAIL PROTECTED]>



The below message really should have been sent more widely, it seems.
The message applies more in the incubator context, where we're getting new
source code into the ASF in bulk form, but would also apply any time
you're bringing in new snippets of code under acceptable licenses.  Note
that if the license on the code you're bringing in doesn't allow for
inclusion in an ASL 2.0-licensed work (good rule of thumb: it must make no
demands above and beyond the ASL, so MIT/X/BSD-1.1 is fine; when in any
doubt, ask) then you must get either a separate acceptable license from
the copyright holder, or have the copyright holder sign a CLA with the
ASF.  Note, as described below, *only* the copyright holder has the right
to remove their own license from the contribution.

Brian

-- Forwarded message --
Date: Thu, 04 Nov 2004 14:03:34 -0500
From: Rodent of Unusual Size <[EMAIL PROTECTED]>
Reply-To: general@incubator.apache.org
To: general@incubator.apache.org, [EMAIL PROTECTED]
Subject: Reolution of the copyright question

Based upon advice for our counsel, the ASF has today adopted
a policy governing how copyright notices on contributed files
should be handled.

Here's what happens: The following notice gets added to the
top of each source file:

Copyright [] The Apache Software Foundation or its licensors, as
applicable.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

The contributor may

a) remove any copyright notice it may currently have in the file(s); OR
b) move it to a package-wide COPYRIGHT file, changing 'Copyright []'
to 'Portions Copyright []'; OR
c) provide permission in writing to the ASF to do one or the other of the
above.

If the contributor doesn't have a copyright notice in the files, that's
fine; nothing needs be done beyond the adding of the section above.
--
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Ken.Coar.Org/
Author, developer, opinionist  http://Apache-Server.Com/

"Millennium hand and shrimp!"



-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

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



Re: [OT] Tomcat as "top level" ASF Project

2004-03-19 Thread Davanum Srinivas
Henri,

it's a recommendation, NOT a mandate. So even if this is not done it's ok
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg06498.html)

-- dims

--- Henri Gomez <[EMAIL PROTECTED]> wrote:
> Remy Maucherat wrote:
> 
> > Filip Hanik (lists) wrote:
> > 
> >> Politics require mature representation...and
> >> are we sure that Tomcat has this.
> > 
> > 
> > We have Costin :)
> 
> Yes !
> 
> >> Unless becoming a TLP gives us an instant advantage or will change some
> >> things that really do need to change, is it worth the time and effort. 
> >> IMHO
> >> becoming a TLP should have a really good reason, political leverage is a
> >> reason, is it validated?
> >>
> >> One of our big barriers today is the licensing issue, but that is 
> >> still in
> >> the "being resolved" mode. There was an email to all committers yesterday
> >> saying to not turn things upside down quite yet, as they want to try to
> >> address the issue. Quoted:
> >> " For now, don't worry about taking any harsh measures to deal
> >> with third-party code. Ensure you're following their licenses, of
> >> course, but a formal policy will be drafted up and discussed."
> >>
> >> For me, my vote would be 0. Cause at present moment, unless I worked 
> >> for an
> >> organization that paid me to get involved in all the politics of a PMC, I
> >> just want to write code, not push papers around.
> > 
> > 
> > I was thinking like that. And then stuff happens (the authors tag thing 
> > and the binaries thing), and I then realize maybe it would be better to 
> > do things differently :(
> 
> Well what will happen to commiters or projects where the
> authors tag are not removed ?
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

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



RE: [OT] Tomcat as "top level" ASF Project

2004-03-18 Thread Davanum Srinivas
Just as existing committers VOTE to add new committers, ASF Members do the same. 

So my 2 cents, If you wish to effect change, lobby/hint someone you know that you are 
interested
(see list at http://www.apache.org/foundation/members.html) as there are periodic 
VOTE's (there
was one during last ApacheCon). 

Thanks,
dims 

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >So, again what is the board, why do I need it, are they going to make
> me
> >more productive, did anyone received some dev tool?
> >There is a PayPal account. Where is the money?
> 
> I'm not a Board member, but AFAIK most of the above money questions are
> answered at http://www.apache.org/foundation/contributing.html.  It's in
> the technical infrastructure that transfers this message, hosts our CVS
> and downloads, etc.  Board members don't get paid and are all working
> developers.  They're elected by Members of the ASF as explained in
> http://www.apache.org/foundation/.
> 
> They make all of us more productive (and have been doing so for years)
> by providing the technical infrastructure described above.
> 
> I don't agree with all their policies and recommendations, especially
> the recent ones on removing author tags and not including 3rd party
> jars.  But by and large I think they're doing and have done a good job,
> have not muddled in individual projects, and their success is evident
> from the status of the ASF as the leading provider of open source
> software.
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, 
> and may
> contain information that is confidential, proprietary and/or privileged.  This 
> e-mail is
> intended only for the individual(s) to whom it is addressed, and may not be saved, 
> copied,
> printed, disclosed or used by anyone else.  If you are not the(an) intended 
> recipient, please
> immediately delete this e-mail from your computer system and notify the sender.  
> Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

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



Re: Does Geronimo use tomcat?

2004-03-18 Thread Davanum Srinivas
Yoav,

'senor srinivas' - That's me :) I was thinking about Jetty/Tomcat and ran across this 
article on
O'Reilly (http://www.onjava.com/lpt/a/1547) and hence the question about updating 
maven repository
to be able to hack something up using 5.0.18. However i have not been able to 
contribute my time
to this effort and it would be GREAT if some tomcat-dev folks can give us a jump start.

thanks,
dims

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> I was browsing the various Geronimo web sites today, starting with
> http://incubator.apache.org/geronimo/.  I see mention of Jetty on the
> left-hand menu bar, which I assume is used for Servlets, and maybe also
> HTTP connection handling.  Is my assumption wrong?
> 
> If my assumption is right, I'd like to know why Jetty was chosen over
> Tomcat.  This is surprising, especially in light of the statement on the
> incubator front page that "The aim of the project is to produce a large
> and healthy community of J2EE developers tasked with the development of
> an open source, certified J2EE server, that is ASF licensed and passes
> Sun's TCK reusing the best ASF/BSD licensed code available today and
> adding new code to complete the J2EE stack."  Jetty is neither ASF nor
> BSD licensed from what I see, choosing its own license
> (http://jetty.mortbay.org/jetty/LICENSE.html).
> 
> A search of this list's archives
> (http://marc.theaimsgroup.com/?l=geronimo-dev&w=2&r=1&s=tomcat&q=b)
> comes up with a few hits and references, including one from Senor
> Srinivas asking to update the Geronimo Maven repository with Tomcat
> 5.0.18.
> 
> So what's the status?  If tomcat is used, shouldn't that be documented
> somewhere?  If tomcat is not used, why?  Do we need a bit more
> communications between tomcat-dev and Geronimo-dev?
> 
> Thanks,
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, 
> and may
> contain information that is confidential, proprietary and/or privileged.  This 
> e-mail is
> intended only for the individual(s) to whom it is addressed, and may not be saved, 
> copied,
> printed, disclosed or used by anyone else.  If you are not the(an) intended 
> recipient, please
> immediately delete this e-mail from your computer system and notify the sender.  
> Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

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



RE: Geronimo using Jetty

2004-03-18 Thread Davanum Srinivas
Yoav,

How about some of the tomcat developers show up on the geronimo-dev@ list and start 
contributing.
Last time i checked there is no one there who DOES NOT want a tomcat integration. They 
are just
waiting for some of the tomcat-dev folks to show up and help :)

-- dims

--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >> Why is Geronimo using Jetty (presumably for servlets and maybe for
> HTTP
> >> connector) instead of Tomcat?
> >
> >Maybe because their top committers work with coredevelopers.net, and
> the
> >Jetty Release Manager is a coredeveloper himself
> 
> Maybe, but the Geronimo front page
> (http://incubator.apache.org/geronimo/index.html) says
> "The aim of the project is to produce a large and healthy community of
> J2EE developers tasked with the development of an open source, certified
> J2EE server, that is ASF licensed and passes Sun's TCK reusing the best
> ASF/BSD licensed code available today and adding new code to complete
> the J2EE stack."  Jetty is not ASF or BSD licensed, it's got its own
> license.
> 
> This seems wrong to me.
> 
> As an aside, every time I look at the Jetty web site I get annoyed at
> something else.  Today's annoyance is the number of items on their
> "powered by Jetty" page (http://www.mortbay.com/mortbay/powered.html)
> that aren't powered by Jetty: Cactus?  Cocoon?  BrowserTunnel
> (decommissioned)?  DieselPoint (mentions tomcat and other compatible
> servers, doesn't even mention Jetty)?  The list goes on and on, I don't
> have time to get past D in the alphabet.  And last time it was the 300K
> claim which they admitted on their list is false for any realistic
> context.  I have to stop myself here, before I get too angry/frustrated.
> I just can't stand false advertising.
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, 
> and may
> contain information that is confidential, proprietary and/or privileged.  This 
> e-mail is
> intended only for the individual(s) to whom it is addressed, and may not be saved, 
> copied,
> printed, disclosed or used by anyone else.  If you are not the(an) intended 
> recipient, please
> immediately delete this e-mail from your computer system and notify the sender.  
> Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

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



Re: Bug in JkMX.java

2003-07-18 Thread Davanum Srinivas
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21714

--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Do you want me to create a bugzilla report? here's the diff. Need to check for the 
> whole class
> ("mx4j.adaptor.http.HttpAdaptor")
> 
> Thanks,
> dims
> 
> Index: JkMX.java
> ===
> RCS file: 
> /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java,v
> retrieving revision 1.12
> diff -d -u -b -B -w -u -r1.12 JkMX.java
> --- JkMX.java   2 Jun 2003 01:22:32 -   1.12
> +++ JkMX.java   18 Jul 2003 15:24:29 -
> @@ -112,7 +112,7 @@
>  public void loadAdapter() throws IOException {
>  boolean adapterLoaded = false;
> 
> -if (classExists("mx4j.adaptor.http")) {
> +if (classExists("mx4j.adaptor.http.HttpAdaptor")) {
>  try {
>  serverName = new ObjectName("Http:name=HttpAdaptor");
>  mserver.createMBean("mx4j.adaptor.http.HttpAdaptor", serverName, 
> null);
> 
> 
> =
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> __
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Bug in JkMX.java

2003-07-18 Thread Davanum Srinivas
Do you want me to create a bugzilla report? here's the diff. Need to check for the 
whole class
("mx4j.adaptor.http.HttpAdaptor")

Thanks,
dims

Index: JkMX.java
===
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/JkMX.java,v
retrieving revision 1.12
diff -d -u -b -B -w -u -r1.12 JkMX.java
--- JkMX.java   2 Jun 2003 01:22:32 -   1.12
+++ JkMX.java   18 Jul 2003 15:24:29 -
@@ -112,7 +112,7 @@
 public void loadAdapter() throws IOException {
 boolean adapterLoaded = false;

-if (classExists("mx4j.adaptor.http")) {
+if (classExists("mx4j.adaptor.http.HttpAdaptor")) {
 try {
 serverName = new ObjectName("Http:name=HttpAdaptor");
 mserver.createMBean("mx4j.adaptor.http.HttpAdaptor", serverName, 
null);


=
Davanum Srinivas - http://webservices.apache.org/~dims/

__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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



Browse using MC4J (Re: [Novice] JMX / Tomcat 4.1.X)

2003-07-16 Thread Davanum Srinivas
For the record...Waz able to run MC4J (http://mc4j.sourceforge.net/) and JMX enabled 
stuff in
Tomcat 4.1.24.

Steps to setup MX4J (http://mx4j.sourceforge.net/) in Tomcat 4.1.24

#1: Edit jk2.properties and add a line "mx.port=9000"
#2: Edit server.xml, enable the Connector under "Coyote/JK2 AJP 1.3 Connector on port 
8009"
#3: Copy mx4j-tools.jar from your MX4J distribution and copy it to 
$CATALINA_HOME/server/lib
directory.
#4: Start using "catalina run" - makes it easy to look for any exceptions.
#5: go to your MC4J bin directory, start runide.exe
#6: Switch to the tab that says  "MC4J for MX4J"
#7: In the tree root node, right click and click on "Connect"
#8: Enter say tomcat4.1.24 in the wizard and click on finish.
#9: Expand the tree and browse the hierarchy.

Thanks,
dims

--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Hi folks,
> 
> 1. Is there some sample code that starts and stops a tomcat webapp via JMX?
> 2. Where is the actual implementation? (I get lost of the maze of tomcat modules).
> 
> Thanks,
> dims
> 
> =
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
Davanum Srinivas - http://webservices.apache.org/~dims/

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



[Novice] JMX / Tomcat 4.1.X

2003-07-16 Thread Davanum Srinivas
Hi folks,

1. Is there some sample code that starts and stops a tomcat webapp via JMX?
2. Where is the actual implementation? (I get lost of the maze of tomcat modules).

Thanks,
dims

=
Davanum Srinivas - http://webservices.apache.org/~dims/

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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



Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Davanum Srinivas

Thanks Craig. I was mixing two things.I got it to work by removing the 
directive for now.

-- dims

--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> 
> Davanum Srinivas wrote:
> 
> > Hi all,
> > Attached is a JSP Sample file which generates WML. It works with no problems on 
>Tomcat3.1, but
> > fails miserably with the latest dev nightly snapshot and m4. Can someone shed 
>light?
> >
> 
> Well, your page certainly doesn't work under Tomcat 4.0 (which implements JSP 1.2). 
> Furthermore, it
> *should* not.
> 
> Because you are starting this page with an  directive, the JSP 
>compiler
> assumes that
> you have created this page in the XML syntax for JSP pages, as described in the 1.2 
>spec
> <http://java.sun.com/products/jsp/download.html>.  However, this page violates 
>several of the
> rules:
> * It does not start with a  element (this is
>   what the parse error is complaining about).
> * It uses <% %> for a scriptlet, instead of the
>   required  element.
> 
> You will need to rewrite your page conforming to the new syntax rules in order for 
>it to work
> correctly
> under 4.0.
> 
> >
> > Thanks in advance,
> > dims
> >
> > PS: Am not currently subscribed to the list. So please CC me at "[EMAIL PROTECTED]"
> >
> 
> Craig McClanahan
> 
> PS:  Why did it work under 3.1?  Because 3.1 didn't support the XML syntax, so it 
>just passed
> the 
> directive through as template text.
> 
> 
> 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



WML Generation from JSP broken!!!!

2000-11-29 Thread Davanum Srinivas

Hi all,
Attached is a JSP Sample file which generates WML. It works with no problems on 
Tomcat3.1, but
fails miserably with the latest dev nightly snapshot and m4. Can someone shed light? 

Thanks in advance,
dims

PS: Am not currently subscribed to the list. So please CC me at "[EMAIL PROTECTED]"

= Begin Stack Trace =
org.apache.jasper.compiler.ParseException:
D:\jakarta-tomcat-4.0\bin\..\webapps\examples\jsp\datewml.jsp(4,-1) Document root 
element is
missing.
at org.apache.jasper.compiler.ParserXJspSax.parse(ParserXJspSax.java:194)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:166)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:193)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:464)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:435)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:156)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:168)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:393)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:177)
at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:443)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2014)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:807)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:886)
at java.lang.Thread.run(Thread.java:484)
= End Stack Trace =


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


http://www.wapforum.org/DTD/wml_1.1.xml">

<%
response.setContentType("text/vnd.wap.wml");
out.println("");
out.println("");
out.println(" ");
out.println("Date and Time Service");
out.println("Date is: "+ new java.util.Date());
out.println("");
out.println("");
out.println("");
%>