A Survey on Defect Management Practices in Free/Open Source Software

2007-04-04 Thread Anu Gupta DCSA
Dear Tomcat Contributors,

I seek help from designers, developers, testers,defect fixers,project 
managers or playing any other key role in Free/Open Source software 
development or maintenence 
in carrying out a study on practices and problems of defect management in 
various Free/Open Source Software projects. The 
insights gained from the study can further help us to extract publicly 
accessible defect data and determine impact of defect management practices 
on software quality. 
Please spend a few minutes of your precious time to fill up the 
Questionnaire. The most of the questions follow multiple choice formats and 
are quite easy to answer. 

To have the Online Questionnaire, please visit: 

http://anu.puchd.ac.in/phpESP/public/survey.php?name=FOSS_Defect_Survey 

(You can also copy and paste this link into your browser, and hit the 
'Return' key.) 

I hope you will find all the questions interesting and thought-provoking. 
Your answers will be kept anonymous.The data thus collected will 
only be used for research purpose.It would be nice if you may further refer 
this mail to others actively engaged with Free/Open Source Software 
development. If you have any query or suggestions then 
feel free to contact. 

Thank You 

With regards, 

Anu Gupta 
Senior Lecturer 
Department of Computer Science and Applications, 
Panjab University, Chandigarh. 
INDIA


In case of any problem in accessing/using the above mentioned link please 
contact:
E-mail: [EMAIL PROTECTED] 
[EMAIL PROTECTED] 


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



DO NOT REPLY [Bug 41463] - Exception report with IE but not firefox!

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41463.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41463





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 00:03 ---
It's IE bug.

http://support.microsoft.com/kb/294807

resin is do this :


title404 Not Found/title
h1404 Not Found/h1
/asfsfdsd.jsp was not found on this server.
p /hr /
small
Resin 2.0.3 (built Wed Oct 17 10:11:08 PDT 2001)
/small
/address

!--
  -- Unfortunately, Microsoft has added a clever new
  -- feature to Internet Explorer.  If the text in
  -- an error's message is too small, specifically
  -- less than 512 bytes, Internet Explorer returns
  -- its own error message.  Yes, you can turn that
  -- off, but *surprise* it's pretty tricky to find
  -- buried as a switch called smart error
  -- messages  That means, of course, that many of
  -- Resin's error messages are censored by default.
  -- And, of course, you'll be shocked to learn that
  -- IIS always returns error messages that are long
  -- enough to make Internet Explorer happy.  The
  -- workaround is pretty simple: pad the error
  -- message with a big comment to push it over the
  -- five hundred and twelve byte minimum.  Of course,
  -- that's exactly what you're reading right now.
  --



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

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



DO NOT REPLY [Bug 41289] - Error when deploying XML Configuration file URL

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41289.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41289





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 00:05 ---
I got the same problem,
then I submited in: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=42041



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

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



DO NOT REPLY [Bug 41463] - Exception report with IE but not firefox!

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41463.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41463





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 00:16 ---
It's IE bug.

http://support.microsoft.com/kb/294807

resin is do this :


title404 Not Found/title
h1404 Not Found/h1
/asfsfdsd.jsp was not found on this server.
p /hr /
small
Resin 2.0.3 (built Wed Oct 17 10:11:08 PDT 2001)
/small
/address

!--
  -- Unfortunately, Microsoft has added a clever new
  -- feature to Internet Explorer.  If the text in
  -- an error's message is too small, specifically
  -- less than 512 bytes, Internet Explorer returns
  -- its own error message.  Yes, you can turn that
  -- off, but *surprise* it's pretty tricky to find
  -- buried as a switch called smart error
  -- messages  That means, of course, that many of
  -- Resin's error messages are censored by default.
  -- And, of course, you'll be shocked to learn that
  -- IIS always returns error messages that are long
  -- enough to make Internet Explorer happy.  The
  -- workaround is pretty simple: pad the error
  -- message with a big comment to push it over the
  -- five hundred and twelve byte minimum.  Of course,
  -- that's exactly what you're reading right now.
  --



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

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



Re: Is there a tomcat/jasper test suite?

2007-04-04 Thread David Jencks


On Apr 3, 2007, at 7:19 PM, Yoav Shapira wrote:


Hi,

On 4/3/07, David Jencks [EMAIL PROTECTED] wrote:

Following Remy's suggestion I implemented web.xml overrides of
annotations but although the result compiles I have no very good way
to determine if it works.  I looked around a bit but didn't see any
unit tests or integration testsuite.  What am I missing?  Right now I
can really only test the geronimo javaee integration with the javaee
tck, but that doesn't use the code in question.  If the standalone
tck is the normal test method, is there some way I could get access
to it?


If you run ant tester on the main Tomcat build.xml, that will run
the internal test suite.  It covers many, but not all, of the same
tests as the TCK.


I appreciate the info but I'm having some trouble following these  
instructions


$ grep https .svn/entries
   url=https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk;
   repos=https://svn.apache.org/repos/asf;

$ ant tester
Buildfile: build.xml

BUILD FAILED
Target `tester' does not exist in this project.

Total time: 0 seconds

$ ant -p
Buildfile: build.xml

Main targets:

download  Builds and download dependent components
Default target: deploy

In addition I don't see any targets in build.xml that look like they  
run any tests, and with the exception of a few tribes tests I haven't  
found anything that looks like a junit test in the source tree.


Did I check out the wrong source or run the build from the wrong place?

thanks
david jencks


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



svn commit: r525491 - /tomcat/connectors/trunk/jni/native/src/proc.c

2007-04-04 Thread mturk
Author: mturk
Date: Wed Apr  4 04:19:28 2007
New Revision: 525491

URL: http://svn.apache.org/viewvc?view=revrev=525491
Log:
Add missing get_env function

Modified:
tomcat/connectors/trunk/jni/native/src/proc.c

Modified: tomcat/connectors/trunk/jni/native/src/proc.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/proc.c?view=diffrev=525491r1=525490r2=525491
==
--- tomcat/connectors/trunk/jni/native/src/proc.c (original)
+++ tomcat/connectors/trunk/jni/native/src/proc.c Wed Apr  4 04:19:28 2007
@@ -52,6 +52,7 @@
 
 if (data) {
 JNIEnv *env;
+tcn_get_java_env(env);
 if (!TCN_IS_NULL(env, cb-obj)) {
 TCN_UNLOAD_CLASS(env, cb-obj);
 }
@@ -178,13 +179,11 @@
 apr_pool_t *p = J2P(pool, apr_pool_t *);
 apr_proc_t *proc;
 
-
 UNREFERENCED_STDARGS;
 proc = (apr_proc_t *)apr_pcalloc(p, sizeof(apr_proc_t));
 
 return P2J(proc);
 }
-
 
 #define MAX_ARGS_SIZE 1024
 #define MAX_ENV_SIZE  1024



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



svn commit: r525493 - /tomcat/connectors/trunk/jni/native/src/multicast.c

2007-04-04 Thread mturk
Author: mturk
Date: Wed Apr  4 04:25:29 2007
New Revision: 525493

URL: http://svn.apache.org/viewvc?view=revrev=525493
Log:
Fix compile time warning. No functional change

Modified:
tomcat/connectors/trunk/jni/native/src/multicast.c

Modified: tomcat/connectors/trunk/jni/native/src/multicast.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/multicast.c?view=diffrev=525493r1=525492r2=525493
==
--- tomcat/connectors/trunk/jni/native/src/multicast.c (original)
+++ tomcat/connectors/trunk/jni/native/src/multicast.c Wed Apr  4 04:25:29 2007
@@ -58,8 +58,11 @@
  jlong sock, jboolean opt)
 {
 tcn_socket_t *s = J2P(sock, tcn_socket_t *);
+apr_byte_t on = 0;
 UNREFERENCED_STDARGS;
-return (jint)apr_mcast_loopback(s-sock, opt == JNI_TRUE ? 1 : 0);
+if (opt)
+on = 1;
+return (jint)apr_mcast_loopback(s-sock, on);
 };
 
 TCN_IMPLEMENT_CALL(jint, Mulicast, ointerface)(TCN_STDARGS,



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



Re: Is there a tomcat/jasper test suite?

2007-04-04 Thread Yoav Shapira

Hi,

On 4/4/07, David Jencks [EMAIL PROTECTED] wrote:

$ ant tester
Buildfile: build.xml

BUILD FAILED
Target `tester' does not exist in this project.


You're right, it's gone from the 6.0 trunk.  It's been in the 4.x and
5.x build.xmls, e.g.
https://svn.apache.org/repos/asf/tomcat/build/tc5.5.x/build.xml,
forever, so I assumed it was still in 6.0.

Remy or someone who's run the tests for 6.0: what replaced the tester target?

Yoav

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



svn commit: r525499 - /tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_11/

2007-04-04 Thread mturk
Author: mturk
Date: Wed Apr  4 05:08:42 2007
New Revision: 525499

URL: http://svn.apache.org/viewvc?view=revrev=525499
Log:
Create tag with latest patches. The tag won't be used for builds unless there 
is problems with SSL initialization on some platforms.

Added:
tomcat/connectors/tags/other/TOMCAT_NATIVE_1_1_11/
  - copied from r525498, tomcat/connectors/trunk/


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



DO NOT REPLY [Bug 42041] - Tomcat deployer can not auto create directory apache-tomcat-6.0.10\conf\Catalina\localhost

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42041.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42041





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 06:58 ---
Could reproduce the problem. Now investigating as to whether it is a Tomcat
deployer's bug or a Netbeans' bug.

- Shiva

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

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



Re: Is there a tomcat/jasper test suite?

2007-04-04 Thread Remy Maucherat

Yoav Shapira wrote:

Hi,

On 4/4/07, David Jencks [EMAIL PROTECTED] wrote:

$ ant tester
Buildfile: build.xml

BUILD FAILED
Target `tester' does not exist in this project.


You're right, it's gone from the 6.0 trunk.  It's been in the 4.x and
5.x build.xmls, e.g.
https://svn.apache.org/repos/asf/tomcat/build/tc5.5.x/build.xml,
forever, so I assumed it was still in 6.0.

Remy or someone who's run the tests for 6.0: what replaced the tester 
target?


We're running the TCK pretty much all the time. Porting the tester 
webapp is possible, of course (and it should be relatively easy; there's 
a test folder which could be used for that).


David Jencks wrote:
 Following Remy's suggestion I implemented web.xml overrides of
 annotations

Cool :)

It is true that annotations is a specific topic, since the Tomcat 
implementation (which is very simple, though) is never tested in the TCK.


Rémy

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



svn commit: r525514 - /tomcat/tc6.0.x/trunk/build.xml

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 07:00:57 2007
New Revision: 525514

URL: http://svn.apache.org/viewvc?view=revrev=525514
Log:
- Polish.

Modified:
tomcat/tc6.0.x/trunk/build.xml

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diffrev=525514r1=525513r2=525514
==
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Wed Apr  4 07:00:57 2007
@@ -322,6 +322,9 @@
 include name=RUNNING.txt/
   /fileset
 /copy
+filter token=VERSION value=${version}/
+copy tofile=${tomcat.build}/webapps/docs/RELEASE-NOTES.txt 
file=RELEASE-NOTES 
+  filtering=true /
 
 copy   tofile=${tomcat.build}/webapps/docs/appdev/sample/build.xml
   file=webapps/docs/appdev/build.xml.txt/
@@ -490,6 +493,14 @@
  debug=${compile.debug} deprecation=${compile.deprecation}
  optimize=${compile.optimize}
 classpath=${tomcat.classes}
+ excludes=**/CVS/**,**/.svn/**
+/javac
+   
+javac   srcdir=webapps/examples/jsp/plugin/applet 
+ destdir=${tomcat.build}/webapps/examples/jsp/plugin/applet
+ debug=${compile.debug} deprecation=${compile.deprecation}
+ optimize=${compile.optimize}
+classpath=$tomcat.lcasses}
  excludes=**/CVS/**,**/.svn/**
 /javac
 



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



svn commit: r525516 - in /tomcat/tc6.0.x/trunk/webapps/examples: WEB-INF/classes/chat/ChatServlet.java WEB-INF/classes/servletToJsp.java jsp/error/err.jsp jsp/forward/forward.jsp jsp/include/include.j

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 07:06:41 2007
New Revision: 525516

URL: http://svn.apache.org/viewvc?view=revrev=525516
Log:
- Examples cleanup.
- Submitted by Takayuki Kaneko and Markus Schönhaber.

Modified:
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java
tomcat/tc6.0.x/trunk/webapps/examples/jsp/error/err.jsp
tomcat/tc6.0.x/trunk/webapps/examples/jsp/forward/forward.jsp
tomcat/tc6.0.x/trunk/webapps/examples/jsp/include/include.jsp
tomcat/tc6.0.x/trunk/webapps/examples/jsp/jsp2/jspx/svgexample.html
tomcat/tc6.0.x/trunk/webapps/examples/jsp/sessions/carts.jsp

Modified: 
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java?view=diffrev=525516r1=525515r2=525516
==
--- tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java 
(original)
+++ tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java 
Wed Apr  4 07:06:41 2007
@@ -73,37 +73,15 @@
 HttpServletResponse response = event.getHttpServletResponse();
 
 if (event.getEventType() == CometEvent.EventType.BEGIN) {
-String action = request.getParameter(action);
-if (action != null) {
-if (login.equals(action)) {
-String nickname = request.getParameter(nickname);
-request.getSession(true).setAttribute(nickname, 
nickname);
-response.sendRedirect(post.jsp);
-event.close();
-return;
-} else {
-String nickname = (String) 
request.getSession(true).getAttribute(nickname);
-String message = request.getParameter(message);
-messageSender.send(nickname, message);
-response.sendRedirect(post.jsp);
-event.close();
-return;
-}
-} else {
-if (request.getSession(true).getAttribute(nickname) == null) 
{
-// Redirect to login
-log(Redirect to login for session:  + 
request.getSession(true).getId());
-response.sendRedirect(login.jsp);
-event.close();
-return;
-}
-}
-begin(event, request, response);
+System.out.println(Begin for session:  + 
request.getSession(true).getId());
 } else if (event.getEventType() == CometEvent.EventType.ERROR) {
-error(event, request, response);
+System.out.println(Error for session:  + 
request.getSession(true).getId());
+throw new ServletException(error: test message);
 } else if (event.getEventType() == CometEvent.EventType.END) {
-end(event, request, response);
+System.out.println(End for session:  + 
request.getSession(true).getId());
+throw new ServletException(end: test message);
 } else if (event.getEventType() == CometEvent.EventType.READ) {
+System.out.println(Read for session:  + 
request.getSession(true).getId());
 read(event, request, response);
 }
 }
@@ -139,6 +117,7 @@
 protected void error(CometEvent event, HttpServletRequest request, 
HttpServletResponse response)
 throws IOException, ServletException {
 log(Error for session:  + request.getSession(true).getId());
+System.out.println(Error2 for session:  + 
request.getSession(true).getId());
 synchronized(connections) {
 connections.remove(response);
 }
@@ -151,7 +130,10 @@
 byte[] buf = new byte[512];
 do {
 int n = is.read(buf);
+System.out.println(Read  + n +  for session:  + 
request.getSession(true).getId());
 if (n  0) {
+System.out.println(Read  + n +  bytes:  + new String(buf, 
0, n) 
++  for session:  + request.getSession(true).getId());
 log(Read  + n +  bytes:  + new String(buf, 0, n) 
 +  for session:  + request.getSession(true).getId());
 } else if (n  0) {

Modified: 
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java?view=diffrev=525516r1=525515r2=525516
==
--- tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java 
(original)
+++ tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java Wed 
Apr  4 07:06:41 2007
@@ -24,7 +24,7 @@
try {
// 

svn commit: r525517 - /tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 07:07:51 2007
New Revision: 525517

URL: http://svn.apache.org/viewvc?view=revrev=525517
Log:
- Oops.

Modified:
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java

Modified: 
tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java?view=diffrev=525517r1=525516r2=525517
==
--- tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java 
(original)
+++ tomcat/tc6.0.x/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java 
Wed Apr  4 07:07:51 2007
@@ -73,15 +73,37 @@
 HttpServletResponse response = event.getHttpServletResponse();
 
 if (event.getEventType() == CometEvent.EventType.BEGIN) {
-System.out.println(Begin for session:  + 
request.getSession(true).getId());
+String action = request.getParameter(action);
+if (action != null) {
+if (login.equals(action)) {
+String nickname = request.getParameter(nickname);
+request.getSession(true).setAttribute(nickname, 
nickname);
+response.sendRedirect(post.jsp);
+event.close();
+return;
+} else {
+String nickname = (String) 
request.getSession(true).getAttribute(nickname);
+String message = request.getParameter(message);
+messageSender.send(nickname, message);
+response.sendRedirect(post.jsp);
+event.close();
+return;
+}
+} else {
+if (request.getSession(true).getAttribute(nickname) == null) 
{
+// Redirect to login
+log(Redirect to login for session:  + 
request.getSession(true).getId());
+response.sendRedirect(login.jsp);
+event.close();
+return;
+}
+}
+begin(event, request, response);
 } else if (event.getEventType() == CometEvent.EventType.ERROR) {
-System.out.println(Error for session:  + 
request.getSession(true).getId());
-throw new ServletException(error: test message);
+error(event, request, response);
 } else if (event.getEventType() == CometEvent.EventType.END) {
-System.out.println(End for session:  + 
request.getSession(true).getId());
-throw new ServletException(end: test message);
+end(event, request, response);
 } else if (event.getEventType() == CometEvent.EventType.READ) {
-System.out.println(Read for session:  + 
request.getSession(true).getId());
 read(event, request, response);
 }
 }
@@ -117,7 +139,6 @@
 protected void error(CometEvent event, HttpServletRequest request, 
HttpServletResponse response)
 throws IOException, ServletException {
 log(Error for session:  + request.getSession(true).getId());
-System.out.println(Error2 for session:  + 
request.getSession(true).getId());
 synchronized(connections) {
 connections.remove(response);
 }
@@ -130,10 +151,7 @@
 byte[] buf = new byte[512];
 do {
 int n = is.read(buf);
-System.out.println(Read  + n +  for session:  + 
request.getSession(true).getId());
 if (n  0) {
-System.out.println(Read  + n +  bytes:  + new String(buf, 
0, n) 
-+  for session:  + request.getSession(true).getId());
 log(Read  + n +  bytes:  + new String(buf, 0, n) 
 +  for session:  + request.getSession(true).getId());
 } else if (n  0) {



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



svn commit: r525529 - in /tomcat/tc6.0.x/trunk/webapps/docs: changelog.xml extras.xml

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 08:17:29 2007
New Revision: 525529

URL: http://svn.apache.org/viewvc?view=revrev=525529
Log:
- Add the factories for ws.
- Submitted by Fabien Carrion.

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
tomcat/tc6.0.x/trunk/webapps/docs/extras.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?view=diffrev=525529r1=525528r2=525529
==
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Wed Apr  4 08:17:29 2007
@@ -80,8 +80,8 @@
 Remove excessive syncing from listener support. (remm)
   /fix
   add
-Web services support, except the actual factory implementations. 
Submitted by
-Fabien Carrion. (remm)
+Web services support. The actual factory implementations are 
implemented in the
+extras. Submitted by Fabien Carrion. (remm)
   /add
   update
 Add logging to display APR capabilities on the platform. (remm)

Modified: tomcat/tc6.0.x/trunk/webapps/docs/extras.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/extras.xml?view=diffrev=525529r1=525528r2=525529
==
--- tomcat/tc6.0.x/trunk/webapps/docs/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/extras.xml Wed Apr  4 08:17:29 2007
@@ -55,6 +55,16 @@
 
   /subsection
 
+  subsection name=Web Services support (JSR 109)
+
+  p
+Tomcat provides factories for JSR 109 which may be used to resolve web 
services references.
+Place the generated catalina-ws.jar as well as jaxrpc.jar and wsdl4j.jar 
(or another implementation
+of JSR 109) in the Tomcat lib folder.
+  /p
+
+  /subsection
+
   /section
 
 /body



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



svn commit: r525530 - in /tomcat/tc6.0.x/trunk/java/org/apache/naming/factory: Constants.java webservices/ webservices/ServiceProxy.java webservices/ServiceRefFactory.java

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 08:18:32 2007
New Revision: 525530

URL: http://svn.apache.org/viewvc?view=revrev=525530
Log:
- Add the factories for ws.
- Submitted by Fabien Carrion.

Added:
tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/

tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceProxy.java
   (with props)

tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceRefFactory.java
   (with props)
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/Constants.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/Constants.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/Constants.java?view=diffrev=525530r1=525529r2=525530
==
--- tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/Constants.java 
(original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/Constants.java Wed Apr  
4 08:18:32 2007
@@ -43,7 +43,7 @@
 Package + .EjbFactory;
 
 public static final String DEFAULT_SERVICE_FACTORY = 
-Package + .ServiceRefFactory;
+Package + .webservices.ServiceRefFactory;
 
 public static final String DEFAULT_HANDLER_FACTORY = 
 Package + .HandlerFactory;

Added: 
tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceProxy.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceProxy.java?view=autorev=525530
==
--- 
tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceProxy.java
 (added)
+++ 
tomcat/tc6.0.x/trunk/java/org/apache/naming/factory/webservices/ServiceProxy.java
 Wed Apr  4 08:18:32 2007
@@ -0,0 +1,147 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */ 
+
+
+package org.apache.naming.factory.webservices;
+
+import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.rmi.Remote;
+import java.util.Hashtable;
+import java.util.Iterator;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceException;
+
+/**
+ * Object proxy for Web Services.
+ * 
+ * @author Fabien Carrion
+ */
+
+public class ServiceProxy
+implements InvocationHandler {
+
+/**
+ * Service object.
+ * used for delegation
+ */
+private Service service = null;
+
+/**
+ * changing behavior to method : Service.getPort(QName, Class)
+ */
+private static Method portQNameClass = null;
+
+/**
+ * changing behavior to method : Service.getPort(Class)
+ */
+private static Method portClass = null;
+
+/**
+ * PortComponentRef list
+ */
+private Hashtable portComponentRef = null;
+
+/**
+ * Constructs a new ServiceProxy wrapping given Service instance.
+ * @param service the wrapped Service instance
+ * @throws ServiceException should be never thrown
+ */
+public ServiceProxy(Service service) throws ServiceException {
+this.service = service;
+try {
+portQNameClass = Service.class.getDeclaredMethod(getPort, new 
Class[]{QName.class, Class.class});
+portClass = Service.class.getDeclaredMethod(getPort, new 
Class[]{Class.class});
+} catch (Exception e) {
+throw new ServiceException(e);
+}
+}
+
+/**
+ * @see java.lang.reflect.InvocationHandler#invoke(java.lang.Object, 
java.lang.reflect.Method, java.lang.Object[])
+ */
+public Object invoke(Object proxy, Method method, Object[] args) throws 
Throwable {
+
+if (portQNameClass.equals(method)) {
+return getProxyPortQNameClass(args);
+}
+
+if (portClass.equals(method)) {
+return getProxyPortClass(args);
+}
+
+try {
+return method.invoke(service, args);
+} catch (InvocationTargetException ite) {
+throw ite.getTargetException();
+}
+}
+
+/**
+ * @param args Method call arguments
+ * @return Returns the correct 

svn commit: r525532 - in /tomcat/tc6.0.x/trunk: build.properties.default build.xml extras.xml

2007-04-04 Thread remm
Author: remm
Date: Wed Apr  4 08:18:53 2007
New Revision: 525532

URL: http://svn.apache.org/viewvc?view=revrev=525532
Log:
- Add the factories for ws.
- Submitted by Fabien Carrion.

Modified:
tomcat/tc6.0.x/trunk/build.properties.default
tomcat/tc6.0.x/trunk/build.xml
tomcat/tc6.0.x/trunk/extras.xml

Modified: tomcat/tc6.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/build.properties.default (original)
+++ tomcat/tc6.0.x/trunk/build.properties.default Wed Apr  4 08:18:53 2007
@@ -34,6 +34,10 @@
 # - Commons Logging, version 1.1 or later -
 
commons-logging-src.loc=${base-jakarta.loc}/commons/logging/source/commons-logging-1.1-src.tar.gz
 
+# - Webservices -
+jaxrpc-src.loc=http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jaxrpc/1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar
+wsdl4j-src.loc=http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
+
 # - Eclipse JDT, version 3.2 or later -
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Wed Apr  4 08:18:53 2007
@@ -95,6 +95,7 @@
 !-- Comment this in to show unchecked warnings: compilerarg 
value=-Xlint:unchecked/ --
   classpath refid=tomcat.classpath /
   exclude name=org/apache/tomcat/util/net/puretls/** /
+  exclude name=org/apache/naming/factory/webservices/** /
 /javac
 tstamp
   format property=TODAY pattern=MMM d  locale=en/
@@ -213,6 +214,7 @@
 exclude name=org/apache/catalina/tribes/** /
 exclude name=org/apache/catalina/launcher/** /
 exclude name=org/apache/catalina/storeconfig/** /
+exclude name=org/apache/naming/factory/webservices/** /
   /fileset
 /jar
 

Modified: tomcat/tc6.0.x/trunk/extras.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/extras.xml Wed Apr  4 08:18:53 2007
@@ -59,6 +59,7 @@
 
   property name=tomcat-juli.jar value=${tomcat.extras}/tomcat-juli.jar/
   property name=tomcat-juli-adapters.jar 
value=${tomcat.extras}/tomcat-juli-adapters.jar/
+  property name=catalina-ws.jar value=${tomcat.extras}/catalina-ws.jar/

   !-- Classpath --
   path id=tomcat.classpath
@@ -150,7 +151,54 @@
 
   /target
 
-  target name=extras depends=prepare,commons-logging
+  target name=webservices
+   
+   mkdir dir=${tomcat.extras}/webservices/
+   
+   antcall target=downloadfile
+ param name=sourcefile value=${jaxrpc-src.loc}/
+ param name=destfile 
value=${tomcat.extras}/webservices/jaxrpc.jar/
+ param name=destdir value=${tomcat.extras}/webservices//
+   /antcall
+   
+   antcall target=downloadfile
+ param name=sourcefile value=${wsdl4j-src.loc}/
+ param name=destfile 
value=${tomcat.extras}/webservices/wsdl4j.jar/
+ param name=destdir value=${tomcat.extras}/webservices//
+   /antcall
+   
+   !-- Classpath --
+   path id=tomcat.webservices.classpath
+ pathelement path=${tomcat.classpath}/
+ fileset dir=${tomcat.extras}/webservices
+   include name=jaxrpc.jar/
+   include name=wsdl4j.jar/
+ /fileset
+   /path
+   
+   !-- Compile internal server components --
+   javac srcdir=java destdir=${tomcat.classes}
+  debug=${compile.debug}
+  deprecation=${compile.deprecation}
+  source=${compile.source}
+  optimize=${compile.optimize}
+ classpath refid=tomcat.webservices.classpath /
+ include name=org/apache/naming/factory/webservices/** /
+   /javac
+   
+   !-- Catalina Main JAR File --
+   jar jarfile=${catalina-ws.jar}
+ fileset dir=${tomcat.classes}
+include name=org/apache/naming/factory/webservices/** /
+   !-- Javadoc and i18n exclusions --
+   exclude name=**/package.html /
+   exclude name=**/LocalStrings_* /
+ /fileset
+   /jar
+   
+  /target
+
+  target name=extras depends=prepare,commons-logging,webservices
   /target
 
   !-- Download and dependency building --



-
To unsubscribe, 

DO NOT REPLY [Bug 42047] New: - Typo on security-3

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42047.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42047

   Summary: Typo on security-3
   Product: Tomcat 6
   Version: unspecified
  Platform: Other
OS/Version: other
Status: NEW
  Severity: trivial
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


fixed typo.

Index: xdocs/security-3.xml

===

--- xdocs/security-3.xml(revision 525537)

+++ xdocs/security-3.xml(working copy)

@@ -165,7 +165,7 @@

   section name=Fixed in Apache Tomcat 3.1
 pstrongimportant: Information disclosure/strong
a href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-1210;
-   CVE-2001-0590/abr//p
+   CVE-2000-1210/abr//p
 
 psource.jsp, provided as part of the examples, allows an attacker to read
arbitary files via a .. (dot dot) in the argument to source.jsp./p
Index: docs/security-3.html

===

--- docs/security-3.html(revision 525537)

+++ docs/security-3.html(working copy)

@@ -544,7 +544,7 @@

 p
 strongimportant: Information disclosure/strong
a href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-1210;
-   CVE-2001-0590/a
+   CVE-2000-1210/a
 br/
 /p

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

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



DO NOT REPLY [Bug 42047] - Typo on security-3

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42047.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42047





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 08:41 ---
Sorry, I found another typo :)

Index: xdocs/security-3.xml

===

--- xdocs/security-3.xml(revision 525537)

+++ xdocs/security-3.xml(working copy)

@@ -165,10 +165,10 @@

   section name=Fixed in Apache Tomcat 3.1
 pstrongimportant: Information disclosure/strong
a href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-1210;
-   CVE-2001-0590/abr//p
+   CVE-2000-1210/abr//p
 
 psource.jsp, provided as part of the examples, allows an attacker to read
-   arbitary files via a .. (dot dot) in the argument to source.jsp./p
+   arbitrary files via a .. (dot dot) in the argument to source.jsp./p
 
 pAffects: 3.0/p
   /section
Index: docs/security-3.html

===

--- docs/security-3.html(revision 525537)

+++ docs/security-3.html(working copy)

@@ -544,12 +544,12 @@

 p
 strongimportant: Information disclosure/strong
a href=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-1210;
-   CVE-2001-0590/a
+   CVE-2000-1210/a
 br/
 /p
 
 psource.jsp, provided as part of the examples, allows an attacker to read
-   arbitary files via a .. (dot dot) in the argument to source.jsp./p
+   arbitrary files via a .. (dot dot) in the argument to source.jsp./p
 
 pAffects: 3.0/p
   /blockquote


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

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



DO NOT REPLY [Bug 42038] - JK uriworkermap case sensitive exclusion rules ignored

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42038.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42038





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 12:16 ---
Created an attachment (id=19914)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19914action=view)
log file for the ISAPI Redirector

This is the log file, set to debug.

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

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



DO NOT REPLY [Bug 42038] - JK uriworkermap ROOT mapping causes exclusions to be ignored

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42038.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42038


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|JK uriworkermap case|JK uriworkermap ROOT mapping
   |sensitive exclusion rules   |causes exclusions to be
   |ignored |ignored




--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 13:10 ---
Turns out it has nothing to do with case. The presence of a root context mapping
means that any exclusion rules such as !/UMICH appear to be ignored. I had an
old /System context that was causing that to properly work (Tomcat was serving
the static files). 

Requests to /umich are sent appropriately to Tomcat. [Correct]
Requests to /UMICH are sent to Tomcat (resulting in a Tomcat 404 error) [Bug]
Request to /System  sent to Tomcat (resulting in a Tomcat 404 error) [Bug]

I have updated the summary to reflect this.

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

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



Re: svn commit: r525532 - in /tomcat/tc6.0.x/trunk: build.properties.default build.xml extras.xml

2007-04-04 Thread Filip Hanik - Dev Lists

I thought Mr Fabien was all setup with an account, is he not yet?

Filip

[EMAIL PROTECTED] wrote:

Author: remm
Date: Wed Apr  4 08:18:53 2007
New Revision: 525532

URL: http://svn.apache.org/viewvc?view=revrev=525532
Log:
- Add the factories for ws.
- Submitted by Fabien Carrion.

Modified:
tomcat/tc6.0.x/trunk/build.properties.default
tomcat/tc6.0.x/trunk/build.xml
tomcat/tc6.0.x/trunk/extras.xml

Modified: tomcat/tc6.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/build.properties.default (original)
+++ tomcat/tc6.0.x/trunk/build.properties.default Wed Apr  4 08:18:53 2007
@@ -34,6 +34,10 @@
 # - Commons Logging, version 1.1 or later -
 
commons-logging-src.loc=${base-jakarta.loc}/commons/logging/source/commons-logging-1.1-src.tar.gz
 
+# - Webservices -

+jaxrpc-src.loc=http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jaxrpc/1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar
+wsdl4j-src.loc=http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
+
 # - Eclipse JDT, version 3.2 or later -
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Wed Apr  4 08:18:53 2007
@@ -95,6 +95,7 @@
 !-- Comment this in to show unchecked warnings: compilerarg 
value=-Xlint:unchecked/ --
   classpath refid=tomcat.classpath /
   exclude name=org/apache/tomcat/util/net/puretls/** /
+  exclude name=org/apache/naming/factory/webservices/** /
 /javac
 tstamp
   format property=TODAY pattern=MMM d  locale=en/
@@ -213,6 +214,7 @@
 exclude name=org/apache/catalina/tribes/** /
 exclude name=org/apache/catalina/launcher/** /
 exclude name=org/apache/catalina/storeconfig/** /
+exclude name=org/apache/naming/factory/webservices/** /
   /fileset
 /jar
 


Modified: tomcat/tc6.0.x/trunk/extras.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?view=diffrev=525532r1=525531r2=525532
==
--- tomcat/tc6.0.x/trunk/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/extras.xml Wed Apr  4 08:18:53 2007
@@ -59,6 +59,7 @@
 
   property name=tomcat-juli.jar value=${tomcat.extras}/tomcat-juli.jar/

   property name=tomcat-juli-adapters.jar 
value=${tomcat.extras}/tomcat-juli-adapters.jar/
+  property name=catalina-ws.jar value=${tomcat.extras}/catalina-ws.jar/

   !-- Classpath --
   path id=tomcat.classpath
@@ -150,7 +151,54 @@
 
   /target
 
-  target name=extras depends=prepare,commons-logging

+  target name=webservices
+   
+   mkdir dir=${tomcat.extras}/webservices/
+   
+   antcall target=downloadfile
+ param name=sourcefile value=${jaxrpc-src.loc}/
+ param name=destfile 
value=${tomcat.extras}/webservices/jaxrpc.jar/
+ param name=destdir value=${tomcat.extras}/webservices//
+   /antcall
+   
+   antcall target=downloadfile
+ param name=sourcefile value=${wsdl4j-src.loc}/
+ param name=destfile 
value=${tomcat.extras}/webservices/wsdl4j.jar/
+ param name=destdir value=${tomcat.extras}/webservices//
+   /antcall
+   
+   !-- Classpath --
+   path id=tomcat.webservices.classpath
+ pathelement path=${tomcat.classpath}/
+ fileset dir=${tomcat.extras}/webservices
+   include name=jaxrpc.jar/
+   include name=wsdl4j.jar/
+ /fileset
+   /path
+   
+   !-- Compile internal server components --
+   javac srcdir=java destdir=${tomcat.classes}
+  debug=${compile.debug}
+  deprecation=${compile.deprecation}
+  source=${compile.source}
+  optimize=${compile.optimize}
+ classpath refid=tomcat.webservices.classpath /
+ include name=org/apache/naming/factory/webservices/** /
+   /javac
+   
+   !-- Catalina Main JAR File --
+   jar jarfile=${catalina-ws.jar}
+ fileset dir=${tomcat.classes}
+include name=org/apache/naming/factory/webservices/** /
+   !-- Javadoc and i18n exclusions --
+   exclude name=**/package.html /
+   exclude name=**/LocalStrings_* /
+ /fileset
+   /jar
+   
+  /target
+
+  target name=extras depends=prepare,commons-logging,webservices
   /target
 
   !-- Download and dependency 

Re: Commons EL

2007-04-04 Thread Niall Pemberton

OK theres no interest in Commons here but, thinking about it, location
is minor - the real issue is about having a separatly released
artifact that other projects can depend on - which Tomcat could do
with EL. Any chance of a separate EL release (with a jar in the maven
repo)?

I noticed today that Geronimo copied the Tomcat 6 EL implementation
[3] and now appear to be maintaing it independantly[4][5] - they have
also published it as a separate artifact[6] in the maven repo.

Seems a shame to duplicate and waste effort in this way - and I can
think of quite a few projects that could benefit by plugging in the
standard EL.

Niall

[3] http://svn.apache.org/viewvc?view=revrevision=481390
[4] http://svn.apache.org/viewvc?view=revrevision=514550
[5] https://issues.apache.org/jira/browse/GERONIMO-2930
[6] http://tinyurl.com/2g8oek


On 2/8/07, Niall Pemberton [EMAIL PROTECTED] wrote:

Following a discussion on Commons Dev[1] about using the independent
EL implementation associated with the JSP 2.1 spec I wondered if there
is any interest in moving what Tomcat has over to Jakarta Commons?

The motivation for all of this is it would IMO be extremely useful for
projects to be able to use/depend on an in dependant EL
project/component.

I realize that this is probably a year too late[2] and that the Tomcat
team decided to in house EL development and ditch Commons EL because
of problems that Commons components can have getting releases out of
the door. I would say that I believe we have improved on this in the
last year - but probably the best option would be to open up Commons
to Tomcat devs (my guess there is already some overlap already?) so
that you would have no issues committing and releasing. I would also
be prepared to to assist with or RM any EL releases.

If this is of interest I'd be happy to propose bringing in both the
code and developers to Jakarta Commons.

Niall

[1] http://tinyurl.com/yqpbnz
[2] http://tinyurl.com/32osfx



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



Re: Commons EL

2007-04-04 Thread Filip Hanik - Dev Lists

Niall Pemberton wrote:

OK theres no interest in Commons here but, thinking about it, location
is minor - the real issue is about having a separatly released
artifact that other projects can depend on - which Tomcat could do
with EL. Any chance of a separate EL release (with a jar in the maven
repo)?
I'm not an EL expert by any way, but the reason there might not be any 
interest, is because no one has time to take and replace an EL 
implementation.
If you need additional individual JARs from tomcat published to the 
repo, just let me know and I can get it done.

http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-el/



I noticed today that Geronimo copied the Tomcat 6 EL implementation
[3] and now appear to be maintaing it independantly[4][5] - they have
also published it as a separate artifact[6] in the maven repo.
That is their prerogative, we don't encourage this, but the license 
doesn't stop anyone from doing so.




Seems a shame to duplicate and waste effort in this way - and I can
think of quite a few projects that could benefit by plugging in the
standard EL.
I agree, we're not in a place in our development cycle to be swapping 
out a library. That happens only early in a development cycle or a major 
release.
We've just released a stable version, another one coming out, so stuff 
like this would go to something like a 6.x where x0.


Hope this explains it, I don't think anyone is ignoring you

Filip


Niall

[3] http://svn.apache.org/viewvc?view=revrevision=481390
[4] http://svn.apache.org/viewvc?view=revrevision=514550
[5] https://issues.apache.org/jira/browse/GERONIMO-2930
[6] http://tinyurl.com/2g8oek


On 2/8/07, Niall Pemberton [EMAIL PROTECTED] wrote:

Following a discussion on Commons Dev[1] about using the independent
EL implementation associated with the JSP 2.1 spec I wondered if there
is any interest in moving what Tomcat has over to Jakarta Commons?

The motivation for all of this is it would IMO be extremely useful for
projects to be able to use/depend on an in dependant EL
project/component.

I realize that this is probably a year too late[2] and that the Tomcat
team decided to in house EL development and ditch Commons EL because
of problems that Commons components can have getting releases out of
the door. I would say that I believe we have improved on this in the
last year - but probably the best option would be to open up Commons
to Tomcat devs (my guess there is already some overlap already?) so
that you would have no issues committing and releasing. I would also
be prepared to to assist with or RM any EL releases.

If this is of interest I'd be happy to propose bringing in both the
code and developers to Jakarta Commons.

Niall

[1] http://tinyurl.com/yqpbnz
[2] http://tinyurl.com/32osfx



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






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



DO NOT REPLY [Bug 42041] - Tomcat deployer can not auto create directory apache-tomcat-6.0.10\conf\Catalina\localhost

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42041.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42041





--- Additional Comments From [EMAIL PROTECTED]  2007-04-04 19:03 ---
It's tomcat deployer's bug:

see: http://issues.apache.org/bugzilla/show_bug.cgi?id=41289


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

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



Re: Commons EL

2007-04-04 Thread Wendy Smoak

On 4/4/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:


If you need additional individual JARs from tomcat published to the
repo, just let me know and I can get it done.
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-el/


Whatever happened with getting the Tomcat artifacts synced to the central repo?

I gather the gpg plugin is only for things built with Maven 2, but a
script to sign the jars locally and upload signatures isn't hard at
all... it's what we used to do before the gpg plugin existed.

--
Wendy

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



Re: Commons EL

2007-04-04 Thread Paul McMahan
Thanks for bringing this up.  I made the copy for Geronimo as part of  
a bigger effort[7] to integrate TC6 with Geronimo 2.0  The underlying  
motivation was to have the spec jars available in a m2 repo, so I  
followed a precedent I noticed for the servlet 2.5 spec[8].


Since that time the tomcat jars are now being published to tomcat's  
maven repo[9].  I'm certainly not in favor of duplicating effort so I  
think Geronimo should consider using the jars in the tomcat repo now  
and I will approach the Geronimo team with that idea.  However, there  
have recently been concerns raised in Geronimo about importing from  
non-standard (sorry I can't think of a better word) maven repos,  
and there was also an issue with copyrights in certain schemas in the  
TC6 tree (which have been replaced in Geronimo's spec jars).  So I'm  
unsure how the discussion will turn out.


Best wishes,
Paul

[7] http://www.mail-archive.com/dev@geronimo.apache.org/msg37311.html
[8] https://svn.apache.org/viewvc?view=revrevision=417806
[9] http://tomcat.apache.org/dev/dist/m2-repository/

On Apr 4, 2007, at 8:11 PM, Niall Pemberton wrote:


OK theres no interest in Commons here but, thinking about it, location
is minor - the real issue is about having a separatly released
artifact that other projects can depend on - which Tomcat could do
with EL. Any chance of a separate EL release (with a jar in the maven
repo)?

I noticed today that Geronimo copied the Tomcat 6 EL implementation
[3] and now appear to be maintaing it independantly[4][5] - they have
also published it as a separate artifact[6] in the maven repo.

Seems a shame to duplicate and waste effort in this way - and I can
think of quite a few projects that could benefit by plugging in the
standard EL.

Niall

[3] http://svn.apache.org/viewvc?view=revrevision=481390
[4] http://svn.apache.org/viewvc?view=revrevision=514550
[5] https://issues.apache.org/jira/browse/GERONIMO-2930
[6] http://tinyurl.com/2g8oek


On 2/8/07, Niall Pemberton [EMAIL PROTECTED] wrote:

Following a discussion on Commons Dev[1] about using the independent
EL implementation associated with the JSP 2.1 spec I wondered if  
there

is any interest in moving what Tomcat has over to Jakarta Commons?

The motivation for all of this is it would IMO be extremely useful  
for

projects to be able to use/depend on an in dependant EL
project/component.

I realize that this is probably a year too late[2] and that the  
Tomcat
team decided to in house EL development and ditch Commons EL  
because

of problems that Commons components can have getting releases out of
the door. I would say that I believe we have improved on this in the
last year - but probably the best option would be to open up Commons
to Tomcat devs (my guess there is already some overlap already?) so
that you would have no issues committing and releasing. I would also
be prepared to to assist with or RM any EL releases.

If this is of interest I'd be happy to propose bringing in both the
code and developers to Jakarta Commons.

Niall

[1] http://tinyurl.com/yqpbnz
[2] http://tinyurl.com/32osfx



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




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



Re: Commons EL

2007-04-04 Thread Remy Maucherat

Paul McMahan wrote:
Thanks for bringing this up.  I made the copy for Geronimo as part of a 
bigger effort[7] to integrate TC6 with Geronimo 2.0  The underlying 
motivation was to have the spec jars available in a m2 repo, so I 
followed a precedent I noticed for the servlet 2.5 spec[8].


Yes, it's only javax.el. I think you need it.

Rémy

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



DO NOT REPLY [Bug 42056] New: - EL: Port Geronimo fixes to EL back to Tomcat

2007-04-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=42056.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42056

   Summary: EL: Port Geronimo fixes to EL back to Tomcat
   Product: Tomcat 6
   Version: 6.0.11
  Platform: Other
   URL: https://issues.apache.org/jira/browse/GERONIMO-2930
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Geronimo have patched three EL classes since they copied them from Tomcat (Jira
issue# GERONIMO-2930). I haven't reviewed their changes but if, as the issue
ticket says, they're fixing bug(s) then the changes should be ported back into
Tomcat.

Issue:
https://issues.apache.org/jira/browse/GERONIMO-2930

Changes:
http://svn.apache.org/viewvc?view=revrevision=514550

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

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



Re: Commons EL

2007-04-04 Thread Filip Hanik - Dev Lists

Wendy Smoak wrote:

On 4/4/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:


If you need additional individual JARs from tomcat published to the
repo, just let me know and I can get it done.
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-el/ 



Whatever happened with getting the Tomcat artifacts synced to the 
central repo?


I gather the gpg plugin is only for things built with Maven 2, but a
script to sign the jars locally and upload signatures isn't hard at
all... it's what we used to do before the gpg plugin existed.
still haven't got around the fact that maven command line has the 
limitation around simply being able to attach a signature and send it up.
do you have a script that does what you say, that will prevent me from 
having to duplicate this effort.
as of now, people have only said, you can only do it if you build your 
project with maven, we'll that has not been an option, and probably 
will not be as ANT is working really well for us, and the only reason we 
haven't got around to it, is that i haven't had the time to research 
these workarounds.


Filip


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



Re: Commons EL

2007-04-04 Thread Wendy Smoak

On 4/4/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:


still haven't got around the fact that maven command line has the
limitation around simply being able to attach a signature and send it up.
do you have a script that does what you say, that will prevent me from
having to duplicate this effort.


It's probably more manual effort than you'll want, and can surely be
improved, but...

Since you're using 'mvn deploy:deploy-file' [1], Maven will put the
jars in your local Maven repo as part of the deployment.

So, if you delete ~/.m2/repository/org/apache/tomcat/ (from your local
repo) before doing the deployment, you'll have a local directory
structure matching what you just deployed to the remote repo.

Run (something like) this from ~/.m2/repository/org/apache/tomcat/ :

# Recursively pgp sign files in a directory structure
# Adapted from: http://gleamynode.net/wordpress/archives/129

echo -n PGP Key Password: 
stty -echo
read PASSWORD
stty echo
echo 

for FILE in $(find . -name *.jar -or -name *.pom); do

  echo -n Signing: $FILE ... 

  echo $PASSWORD | gpg --default-key $DEFAULT_KEY --detach-sign
--armor --no-tty --yes --passphrase-fd 0 $FILE  echo done.

done

Then upload the signatures:

for FILE in $(find . -name *.asc); do

  scp $FILE 
people.apache.org:/www/tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/$FILE

done

Once you're sure it works, switch over and deploy/upload directly to
people.apache.org/repo/m2-ibiblio-rsync-repository, and it will sync
automatically with central.

I also opened an issue to see about making signing work with deploy:deploy-file:
http://jira.codehaus.org/browse/MGPG-7

[1] http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/res/maven/mvn-pub.xml

--
Wendy

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



Re: Commons EL

2007-04-04 Thread Jason Dillon

FYI, I created a patch for the Maven Ant tasks, which allow you to attach
files (in the same way that things can attach files in Maven).  I thought
Jason released this, though looks like it might still be in process. 
Anyways, the issue is here:

http://jira.codehaus.org/browse/MANTTASKS-42

If you use the new tasks, then you should be able to:

artifact:deploy file=somefile.jar
pom file=somefile.pom /
remoteRepository refid=deploy.repository /
attach file=somefile.pom.asc type=pom.asc/
attach file=somefile.jar.asc type=jar.asc/
/artifact:deploy

Then your ant build can generate jars and sign them as well as poms however
you like, then use this task to deploy them to the Maven repository.

I whipped this up for you guys specifically... I hope you can integrate this
and get your deployment issues sorted.

If you need more help please let me know.  Though I'm not subscribed to this
list (i've already got a ton of email to sort through each day, but if you
ping [EMAIL PROTECTED], I'd be more than happy to help you guys if I can).

Cheers,

--jason



Filip Hanik - Dev Lists wrote:
 
 Wendy Smoak wrote:
 On 4/4/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote:

 If you need additional individual JARs from tomcat published to the
 repo, just let me know and I can get it done.
 http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-el/
  


 Whatever happened with getting the Tomcat artifacts synced to the 
 central repo?

 I gather the gpg plugin is only for things built with Maven 2, but a
 script to sign the jars locally and upload signatures isn't hard at
 all... it's what we used to do before the gpg plugin existed.
 still haven't got around the fact that maven command line has the 
 limitation around simply being able to attach a signature and send it up.
 do you have a script that does what you say, that will prevent me from 
 having to duplicate this effort.
 as of now, people have only said, you can only do it if you build your 
 project with maven, we'll that has not been an option, and probably 
 will not be as ANT is working really well for us, and the only reason we 
 haven't got around to it, is that i haven't had the time to research 
 these workarounds.
 
 Filip
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Commons-EL-tf3195018.html#a9849949
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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