DO NOT REPLY [Bug 6582] - SERVLETAPI: Sample code does not match behavior

2005-09-24 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=6582.
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=6582


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-09-24 23:07 ---
Fixed now we have commit access to the examples in SVN.

-- 
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 34238] New: - sample .jsp produces literal ${row.foo}

2005-03-30 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=34238.
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=34238

   Summary: sample .jsp produces literal ${row.foo}
   Product: Tomcat 5
   Version: 5.0.28
  Platform: Other
   URL: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-
datasource-examples-howto.html
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Webapps:Documentation
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The sample .jsp (Section 4 of
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html)
has lines like:

c:forEach var=row items=${rs.rows}
   Foo ${row.foo}br/
   Bar ${row.bar}br/
/c:forEach

This produces a literal ${row.foo}, etc.  Changing the taglib
reference from http://java.sun.com/jsp/jstl/core to
http://java.sun.com/jstl/core (i.e. remove /jsp) and rewriting
${row.foo} as c:out value=${row.foo}/ seemed to work, but I
don't know if this is the right solution.

-- 
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 34238] - sample .jsp produces literal ${row.foo}

2005-03-30 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=34238.
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=34238


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-03-30 13:18 ---
Please post on tomcat-user instead, or read the spec on how to use EL in JSP 
2.0.

-- 
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 34238] - sample .jsp produces literal ${row.foo}

2005-03-30 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=34238.
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=34238





--- Additional Comments From [EMAIL PROTECTED]  2005-03-30 17:01 ---
The point of my bug was not to *ask* if this was the right solution; it was to
point out that the example provided in the documentation does not work.  I'm
guessing that it does in fact work with EL 2.0 in Tomcat 5.5, but this was not
the version I was using, nor the documentation version I thought I was using
(going by the URL).

If this is a Tomcat 5.5-only example, can a note to this effect be added to the
document?

-- 
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]



cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample sample.war

2005-03-24 Thread yoavs
yoavs   2005/03/24 06:58:43

  Modified:webapps/docs/appdev/sample sample.war
  Log:
  Bugzilla 32382.
  
  Revision  ChangesPath
  1.2   +71 -11
jakarta-tomcat-catalina/webapps/docs/appdev/sample/sample.war
  
Binary file
  
  

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



Re: Sample

2005-01-26 Thread ccain
I have corrected your document.


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

Re: Sample

2005-01-18 Thread remm
I have corrected your document.


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

DO NOT REPLY [Bug 6582] - SERVLETAPI: Sample code does not match behavior

2005-01-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=6582.
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=6582


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|minor   |blocker
  Component|Unknown |Webapps:Examples
 OS/Version||All
   Priority|P3  |P1
Product|Tomcat 4|Tomcat 5
   Platform|PC  |All
Summary|Sample code does not match  |SERVLETAPI: Sample code does
   |behavior|not match behavior
Version|4.0.2 Final |Nightly Build




--- Additional Comments From [EMAIL PROTECTED]  2005-01-04 23:50 ---
Fixed in TC4 but needs jakarta-servletapi-5 karama to fix for TC5 which means
one of the spec team needs to commmit the patch.

Updating severity as discussed on tomcat-dev mailing list.

-- 
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]



cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample/web sample.war

2004-12-07 Thread yoavs
yoavs   2004/12/07 08:46:22

  Modified:webapps/docs changelog.xml
  Added:   webapps/docs/appdev/sample index.html
   webapps/docs/appdev/sample/web sample.war
  Log:
  Bugzilla 32382.
  
  Revision  ChangesPath
  1.196 +3 -0  jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.195
  retrieving revision 1.196
  diff -u -r1.195 -r1.196
  --- changelog.xml 7 Dec 2004 16:38:14 -   1.195
  +++ changelog.xml 7 Dec 2004 16:46:22 -   1.196
  @@ -32,6 +32,9 @@
 update
   bug32532/bug: updated logging documentation. (yoavs)
 /update
  +  update
  +bug32382/bug: Index page and packaed WAR for sample webapp. 
(yoavs)
  +  /update
   /changelog
 /subsection
   
  
  
  
  1.1  
jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html
  
  Index: index.html
  ===
  html
  head
  meta name=author content=Ben Souther /
  titleSample Application/title
  /head
  body
  h2Sample Application/h2
p 
  The example app has been packaged as a war file and can be downloaded 
  a href=sample/sample.warhere/a (Note: make sure your browser 
doesn't 
  change file extension or append a new one).
/p
p 
  The easiest way to run this application is simply to move the war 
file 
  to your bCATALINA_HOME/webapps/b directory. Tomcat will 
automatically 
  expand and deploy the application for you. You can view it with the 
  following URL (assuming that you're running tomcat on port 8080 
  as is the default):
  br /
  a 
href=http://localhost:8080/sample;http://localhost:8080/sample/a
/p
p
  If you just want to browse the code you can unpack the war file 
  with the bjar/b command.
  source
jar -xvf sample.war
  /source
/p
  /body
  /html
  
  
  1.1  
jakarta-tomcat-catalina/webapps/docs/appdev/sample/web/sample.war
  
Binary file
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs/appdev/sample/web sample.war

2004-12-07 Thread yoavs
yoavs   2004/12/07 08:48:24

  Modified:webapps/docs/appdev/sample index.html
  Added:   webapps/docs/appdev/sample sample.war
  Removed: webapps/docs/appdev/sample/web sample.war
  Log:
  Slight shuffling.
  
  Revision  ChangesPath
  1.2   +1 -1  
jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html
  
  Index: index.html
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/webapps/docs/appdev/sample/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html7 Dec 2004 16:46:22 -   1.1
  +++ index.html7 Dec 2004 16:48:24 -   1.2
  @@ -7,7 +7,7 @@
   h2Sample Application/h2
 p 
   The example app has been packaged as a war file and can be 
downloaded 
  -a href=sample/sample.warhere/a (Note: make sure your browser 
doesn't 
  +a href=sample.warhere/a (Note: make sure your browser doesn't 
   change file extension or append a new one).
 /p
 p 
  
  
  
  1.1  
jakarta-tomcat-catalina/webapps/docs/appdev/sample/sample.war
  
Binary file
  
  

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



xml / xslt sample(xalan) problem

2004-10-06 Thread hermann
i got the xalanservlet.war because i want to parse some xml / xslt with 
servlets.

but i get the following err-msg:
jspSample.jsp?PMA=HellowWorld!XML=birds.xmlXSL=birds.xsl 

org.apache.jasper.JasperException: The output format must have a 
'{http://xml.apache.org/xalan}content-handler' property!

i get the same msg with other samples from the web.

ver.:
xp sp2
tomcat 5.0.27
j2sdk1.4.2_05


ideas?

cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/src/mypackage Hello.java

2004-08-26 Thread markt
markt   2004/08/26 15:04:42

  Modified:webapps/examples/WEB-INF/jsp/applet Clock2.java
   webapps/examples/jsp/colors colrs.jsp
   webapps/tomcat-docs/appdev/sample/src/mypackage Hello.java
  Log:
  Update TC4 branch to Apache License 2.0.
  
  Revision  ChangesPath
  1.2   +13 -56
jakarta-tomcat-4.0/webapps/examples/WEB-INF/jsp/applet/Clock2.java
  
  Index: Clock2.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/examples/WEB-INF/jsp/applet/Clock2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Clock2.java   17 Aug 2000 00:58:02 -  1.1
  +++ Clock2.java   26 Aug 2004 22:04:42 -  1.2
  @@ -1,60 +1,17 @@
   /*
  - * 
  - *
  - * The Apache Software License, Version 1.1
  - *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  - * reserved.
  - *
  - * Redistribution and use in source and binary forms, with or without
  - * modification, are permitted provided that the following conditions
  - * are met:
  - *
  - * 1. Redistributions of source code must retain the above copyright
  - *notice, this list of conditions and the following disclaimer. 
  - *
  - * 2. Redistributions in binary form must reproduce the above copyright
  - *notice, this list of conditions and the following disclaimer in
  - *the documentation and/or other materials provided with the
  - *distribution.
  - *
  - * 3. The end-user documentation included with the redistribution, if
  - *any, must include the following acknowlegement:  
  - *   This product includes software developed by the 
  - *Apache Software Foundation (http://www.apache.org/).
  - *Alternately, this acknowlegement may appear in the software itself,
  - *if and wherever such third-party acknowlegements normally appear.
  - *
  - * 4. The names The Jakarta Project, Tomcat, and Apache Software
  - *Foundation must not be used to endorse or promote products derived
  - *from this software without prior written permission. For written 
  - *permission, please contact [EMAIL PROTECTED]
  - *
  - * 5. Products derived from this software may not be called Apache
  - *nor may Apache appear in their names without prior written
  - *permission of the Apache Group.
  - *
  - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  - * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  - * SUCH DAMAGE.
  - * 
  - *
  - * This software consists of voluntary contributions made by many
  - * individuals on behalf of the Apache Software Foundation.  For more
  - * information on the Apache Software Foundation, please see
  - * http://www.apache.org/.
  - *
  - * [Additional notices, if required by prior licensing conditions]
  - *
  + * Copyright 1999,2004 The Apache Software Foundation.
  + * 
  + * 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.
*/ 
   import java.util.*;
   import java.awt.*;
  
  
  
  1.2   +13 -56jakarta-tomcat-4.0/webapps/examples/jsp/colors/colrs.jsp
  
  Index: colrs.jsp
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/examples/jsp/colors/colrs.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- colrs.jsp 17 Aug 2000 00:58:09 -  1.1
  +++ colrs.jsp 26 Aug 2004 22:04:42 -  1.2
  @@ -1,62 +1,19 @@
   html
   !--
   /*
  - * 
  - *
  - * The Apache Software License, Version 1.1

cvs commit: jakarta-tomcat/src/doc/appdev/sample/web hello.jsp index.html

2004-02-29 Thread billbarker
billbarker2004/02/29 14:42:51

  Modified:src/doc  AJPv13.html JDBCRealm-howto.html
NT-Service-howto.html Tomcat-Workers-HowTo.html
in-process-howto.html index.html internal.html
mod_jk-howto.html serverxml.html
tomcat-apache-howto.html tomcat-iis-howto.html
tomcat-netscape-howto.html tomcat-security.html
tomcat-ssl-howto.html tomcat-ug.html
   src/doc/appdev build.xml.txt contents.html deployment.html
footer.html header.html index.html
installation.html introduction.html processes.html
source.html web.xml.txt
   src/doc/appdev/sample build.bat build.sh build.xml
   src/doc/appdev/sample/etc web.xml
   src/doc/appdev/sample/src Hello.java
   src/doc/appdev/sample/web hello.jsp index.html
  Log:
  Updating to the Apache License v2.0.
  
  Revision  ChangesPath
  1.9   +15 -0 jakarta-tomcat/src/doc/AJPv13.html
  
  Index: AJPv13.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/AJPv13.html,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AJPv13.html   14 Jan 2004 08:22:21 -  1.8
  +++ AJPv13.html   29 Feb 2004 22:42:50 -  1.9
  @@ -1,5 +1,20 @@
   HTML
   HEAD
  +!--
  +   Copyright 200-2004 The Apache Software Foundation
  + 
  +   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.
  +--
   TITLEApache JServ Protocol version 1.3/TITLE
   /HEAD
   
  
  
  
  1.7   +18 -2 jakarta-tomcat/src/doc/JDBCRealm-howto.html
  
  Index: JDBCRealm-howto.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/JDBCRealm-howto.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JDBCRealm-howto.html  14 Jan 2004 08:22:21 -  1.6
  +++ JDBCRealm-howto.html  29 Feb 2004 22:42:50 -  1.7
  @@ -1,4 +1,20 @@
   html
  +head
  +!--
  +   Copyright 1999-2004 The Apache Software Foundation
  + 
  +   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.
  +--
   link rel=stylesheet href=style.css
   style type=text/css
   td {
  @@ -13,7 +29,7 @@
   background-color: #00;
   }
   /style
  -titleWorking with JDBCRealm/titlebody
  +titleWorking with JDBCRealm/title/headbody
   h1Working with JDBCRealm/h1
   h2What is JDBCRealm?/h2
   pIs an implementation of a tomcat 3.X Realm that use a  set of configurable 
tables inside a RDMS to store  user's data, this tables are accessed by means of 
standard JDBC drivers.br
  
  
  
  1.7   +16 -2 jakarta-tomcat/src/doc/NT-Service-howto.html
  
  Index: NT-Service-howto.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/NT-Service-howto.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NT-Service-howto.html 6 Sep 2001 19:12:19 -   1.6
  +++ NT-Service-howto.html 29 Feb 2004 22:42:50 -  1.7
  @@ -2,7 +2,21 @@
   html
   head
 !-- $Id$ --
  -  !-- Copyright 1999-2001, Apache Software Foundation --  
  +!--
  +   Copyright 1999-2004 The Apache Software Foundation
  + 
  +   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

embedded tomcat and JMX sample code

2004-01-28 Thread Mark W. Webb
I am looking for some sample code that will demonstrate how to embed 
tomcat in a java application using JMX.  I would like to write some 
documentation on how to do this, as there is none that exists that I 
have found on tomcat's web site.  I would imagine that there must be 
some code somewhere that was used for testing the new infrastructure.

Everywhere I have turned so far, has told me to look at the JBoss source 
code, but I figure that the tomcat development team must have some code 
laying around that will demonstrate this.

thank you for your time.
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: embedded tomcat and JMX sample code

2004-01-28 Thread Remy Maucherat
Mark W. Webb wrote:
I am looking for some sample code that will demonstrate how to embed 
tomcat in a java application using JMX.  I would like to write some 
documentation on how to do this, as there is none that exists that I 
have found on tomcat's web site.  I would imagine that there must be 
some code somewhere that was used for testing the new infrastructure.

Everywhere I have turned so far, has told me to look at the JBoss source 
code, but I figure that the tomcat development team must have some code 
laying around that will demonstrate this.
The Ant script in the embed distribution can directly be translated into 
JMX commands. Other than that, we have no Java JMX code (so look in the 
JBoss/Tomcat integration for that).

Rémy

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


DO NOT REPLY [Bug 25688] New: - install target broken for sample webapp - java.util.zip.ZipException

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25688

install target broken for sample webapp - java.util.zip.ZipException

   Summary: install target broken for sample webapp -
java.util.zip.ZipException
   Product: Tomcat 5
   Version: 5.0.16
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps:Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In the binary distribution of tomcat-5.0.16

Using ant and the build file for the sample webapp
jakarta-tomcat-5.0.16\webapps\tomcat-docs\appdev\sample\build.xml

The install target fails with
[deploy] FAIL - Encountered exception java.util.zip.ZipException: error in
opening zip file

This problem has been answered on one of the mailing lists
http://www.mail-archive.com/[EMAIL PROTECTED]/msg111456.html

To solve this problem 2 changes are required to the build.xml file.

1) an extra taskdef line is required.  Add the following line to build.xml where
the other taskdefs are.
taskdef name=install   classname=org.apache.catalina.ant.InstallTask/

2) The deploy task within the install target needs to be changed to an
install task.  All the arguments/ parameters remain the same, just change the
line.
from;
deploy url=${manager.url}
to;
install url=${manager.url}

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



DO NOT REPLY [Bug 25688] - install target broken for sample webapp - java.util.zip.ZipException

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25688

install target broken for sample webapp - java.util.zip.ZipException

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2003-12-22 09:20 ---
What you suggest is incorrect. The example needs to be fixed, though.

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



DO NOT REPLY [Bug 6582] - Sample code does not match behavior

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6582

Sample code does not match behavior





--- Additional Comments From [EMAIL PROTECTED]  2003-12-06 19:23 ---
Created an attachment (id=9425)
Patch for TC4 to fix this bug

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



DO NOT REPLY [Bug 6582] - Sample code does not match behavior

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6582

Sample code does not match behavior





--- Additional Comments From [EMAIL PROTECTED]  2003-12-06 19:23 ---
Created an attachment (id=9426)
Patch for TC5 to fix this bug

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



DO NOT REPLY [Bug 8312] - Minor typos in doc and sample app

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8312

Minor typos in doc and sample app

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-06-03 00:40 ---
This appears already fixed in 4.1 and 5. The tomcat 4.0 branch won't be updated.

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



DO NOT REPLY [Bug 12101] - SecurityManager + removal of sample webapps = unprivileged getParameter()!

2002-08-28 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12101

SecurityManager + removal of sample webapps = unprivileged getParameter()!

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Priority|Other   |High



--- Additional Comments From [EMAIL PROTECTED]  2002-08-29 01:41 ---
Ok, I think I tracked the real issue down.  Disregard my previous 
hypotheses.  :)

The problem occurs when the SecurityManager is used with the default policy.  
If a request comes in, if the request processing path does NOT flow through a 
class file that has all permissions granted (e.g., DefaultServlet Catalina-
internal servlet) and there is no call made to request.getParameterNames() 
or request.getParameter() from code with all permissions, BEFORE any other 
[user/untrusted] servlet with fewer permissions granted, the following security 
exception will occur:

StandardClassLoader: Security Violation, attempt to use Restricted Class: 
org.apache.catalina.util.LocalStrings
Security Violation, attempt to use Restricted Class: 
org.apache.catalina.util.LocalStrings_en
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util)

Refer to the complete stack trace in the Bugzilla description for more details.

I have confirmed that this bug also exists in Tomcat 4.0.1 -- likely even 
earlier.  This sounds like a fairly high priority bug.  Can someone take a look?

Thanks.

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




DO NOT REPLY [Bug 12101] New: - SecurityManager + removal of sample webapps = unprivileged getParameter()!

2002-08-27 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12101

SecurityManager + removal of sample webapps = unprivileged getParameter()!

   Summary: SecurityManager + removal of sample webapps =
unprivileged getParameter()!
   Product: Tomcat 4
   Version: 4.0.4 Final
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When the sample webapps that come with Tomcat are removed from the webapps/ 
directory (i.e., when they aren't auto installed on server startup), Catalina 
does not get initialized correctly -- as it does when the sample webapps do 
get auto installed on server startup.

This is very reproducible:

First, build a tester webapp (tester.war) with a sample server that calls 
getParameter() for each request, and perhaps displays some output.

Begin with the stock Tomcat 4.0.4 distribution, remove all the files 
in webapps/ and remove the Context declarations for the sample webapps 
in conf/server.xml.  Next, copy tester.war into webapps/ so that it is 
the only webapp.

Launch the server instance with a SecurityManager, by executing bin/catalina 
start -security.  Note that the only webapp started automatically at server 
startup is the tester.war using the context path /tester.

Now, simply send a request the servlet in tester that calls getParameter().  
You should get a stack trace similar to the following:

StandardClassLoader: Security Violation, attempt to use Restricted Class: 
org.apache.catalina.util.LocalStrings
Security Violation, attempt to use Restricted Class: 
org.apache.catalina.util.LocalStrings_en
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.util)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:267)
at java.security.AccessController.checkPermission
(AccessController.java:394)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at java.lang.SecurityManager.checkPackageAccess
(SecurityManager.java:1496)
at org.apache.catalina.loader.StandardClassLoader.loadClass
(StandardClassLoader.java:1056)
at org.apache.catalina.loader.StandardClassLoader.loadClass
(StandardClassLoader.java:992)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:905)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:786)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:635)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:541)
at org.apache.catalina.util.StringManager.init(StringManager.java:115)
at org.apache.catalina.util.StringManager.getManager
(StringManager.java:260)
at org.apache.catalina.util.ParameterMap.clinit(ParameterMap.java:174)
at org.apache.catalina.connector.HttpRequestBase.parseParameters
(HttpRequestBase.java:615)
at org.apache.catalina.connector.HttpRequestBase.getParameter
(HttpRequestBase.java:691)
at org.apache.catalina.connector.RequestFacade.getParameter
(RequestFacade.java:160)
at com.akamai.edgejava.tests.SessionTest.doGet(SessionTest.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0
(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run
(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943

DO NOT REPLY [Bug 12101] - SecurityManager + removal of sample webapps = unprivileged getParameter()!

2002-08-27 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12101

SecurityManager + removal of sample webapps = unprivileged getParameter()!





--- Additional Comments From [EMAIL PROTECTED]  2002-08-27 22:21 ---
Upon doing some more testing, it appears that this problem occurs when Tomcat 
starts up with only one webapp.  As soon as another webapp gets installed (or 
even if the single webapp gets uninstalled and then reinstalled at runtime), 
the problem no longer occurs (i.e., gets masked).  Hope this helps.

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




RE: [GUMP] cactus-sample-servlet builds

2002-08-09 Thread Costin Manolache

Vincent Massol wrote:

 Thanks Stefan.
 
 I though it was an httpclient issue but it tried it locally with the
 latest HttpClient and it ran fine with Tomcat 3.3.1 and Tomcat 4.0.4.
 
 Thus, I now have the feeling it is a Tomcat 3.3 problem. I just tried
 with yesterday nightly build of Tomcat 3.3 and I get some strange errors
 in my machine (not the same one as you got in your URL below). See
 attached file.
 
 Has Tomcat 3.3.2 switched to commons-logging ?

Not yet. Jk depends on commons-logging tought.

There is code in CVS that would switch tomcat to commons-logging
( it's a one-line change in Log to set the default ). 

Costin

 
 Thanks all for your help!
 -Vincent
 
 -Original Message-
 From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
 Sent: 09 August 2002 07:21
 To: [EMAIL PROTECTED]
 Subject: Re: [GUMP] cactus-sample-servlet builds
 
 On Thu, 8 Aug 2002, Larry Isaacs [EMAIL PROTECTED] wrote:
  Done.
 
 Great.
 
 It seems to have helped a little bit
 http://cvs.apache.org/~bodewig/gump/20020809/jakarta-cactus-sample-
 servlet-12.html
 http://cvs.apache.org/~bodewig/gump/20020809/jakarta-cactus-sample-
 servlet-13.html
 
 Thanks
 
 Stefan
 
 --
 To unsubscribe, e-mail:   mailto:alexandria-dev-
 [EMAIL PROTECTED]
 For additional commands, e-mail: mailto:alexandria-dev-
 [EMAIL PROTECTED]




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




DO NOT REPLY [Bug 9813] New: - typo in build.xml for sample servlet

2002-06-12 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9813

typo in build.xml for sample servlet

   Summary: typo in build.xml for sample servlet
   Product: Tomcat 4
   Version: 4.0.3 Final
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps:Examples
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


In this excerpt from build.xml, notice that the javadoc element is closed twice.

target name=javadoc depends=compile
   description=Create Javadoc API documentation

mkdir  dir=${dist.home}/docs/api/
javadoc sourcepath=src
destdir=${dist.home}/docs/api
   packagenames=*/
  classpath refid=compile.classpath/
/javadoc

  /target

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




DO NOT REPLY [Bug 8312] New: - Minor typos in doc and sample app

2002-04-19 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8312

Minor typos in doc and sample app

   Summary: Minor typos in doc and sample app
   Product: Tomcat 4
   Version: 4.0.3 Final
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Webapps:Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Two minor typos:

1 - In file ./webapps/tomcat-docs/appdev/source.html, look for compiile.  It 
should be compile.

2 - In file ./webapps/tomcat-docs/appdev/sample/build.xml, look for 
build..home. It should be build.home.

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




problem in Struts sample code

2002-02-21 Thread teik

Hello,
I found error in Struts sample code.
ServletEngine fails in compilation for an unnecessary semicolon.

struts-exercise-taglib/html-select.jsp
--- html-select.jsp Sat Jan 12 06:34:48 2002
+++ html-select.jsp Thu Feb 21 19:19:36 2002
@@ -1,4 +1,4 @@
-%@ page language=java import=java.util.*, org.apache.struts.webapp.exercise.*;%
+%@ page language=java import=java.util.*, org.apache.struts.webapp.exercise.*%
 %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
 %@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
 %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %

-
teik,  E-Mail [EMAIL PROTECTED]



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




Re: problem in Struts sample code

2002-02-21 Thread Craig R. McClanahan

Forwarding to STRUTS-DEV, where this belongs.

Craig


On Thu, 21 Feb 2002, teik wrote:

 Date: Thu, 21 Feb 2002 19:46:47 +0900
 From: teik [EMAIL PROTECTED]
 Reply-To: Tomcat Developers List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: problem in Struts sample code

 Hello,
 I found error in Struts sample code.
 ServletEngine fails in compilation for an unnecessary semicolon.

 struts-exercise-taglib/html-select.jsp
 --- html-select.jsp Sat Jan 12 06:34:48 2002
 +++ html-select.jsp Thu Feb 21 19:19:36 2002
 @@ -1,4 +1,4 @@
 -%@ page language=java import=java.util.*, 
org.apache.struts.webapp.exercise.*;%
 +%@ page language=java import=java.util.*, org.apache.struts.webapp.exercise.*%
  %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
  %@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
  %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %

 -
 teik,  E-Mail [EMAIL PROTECTED]



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




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




DO NOT REPLY [Bug 6582] New: - Sample code does not match behavior

2002-02-20 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6582

Sample code does not match behavior

   Summary: Sample code does not match behavior
   Product: Tomcat 4
   Version: 4.0.2 Final
  Platform: PC
   URL: http://127.0.0.1:8080/examples/servlets/reqparams.html
OS/Version: Windows NT/2K
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The Source Code for Request Parameter Example link does 
not show the correct source code for the sample servlet 
that is installed.  This can be verified both by the behavior 
of the servlet and looking at the true sample source at
%CATALINA_HOME%\webapps\examples\WEB-INF\classes\RequestParamExample.java.

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




DO NOT REPLY [Bug 6209] - ?xml version=1.0 encoding=ISO-8859-1? missing from sample web.xml file

2002-02-12 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6209

?xml version=1.0 encoding=ISO-8859-1? missing from sample web.xml file

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-02-12 23:52 ---
Fixed. Thanks for the patch.

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




DO NOT REPLY [Bug 6380] - XML Parsing Error in Sample App docs

2002-02-12 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6380

XML Parsing Error in Sample App docs

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-02-12 23:57 ---
Thanks. This was already fixed in the HEAD branch.

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




DO NOT REPLY [Bug 6385] - Sample webapp build.xml has a xml format mistake preventing compilation

2002-02-12 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6385

Sample webapp build.xml has a xml format mistake preventing compilation

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2002-02-12 23:58 ---


*** This bug has been marked as a duplicate of 6380 ***

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




DO NOT REPLY [Bug 6380] - XML Parsing Error in Sample App docs

2002-02-12 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6380

XML Parsing Error in Sample App docs

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2002-02-12 23:58 ---
*** Bug 6385 has been marked as a duplicate of this bug. ***

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




DO NOT REPLY [Bug 6385] New: - Sample webapp build.xml has a xml format mistake preventing compilation

2002-02-11 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6385

Sample webapp build.xml has a xml format mistake preventing compilation

   Summary: Sample webapp build.xml has a xml format mistake
preventing compilation
   Product: Tomcat 4
   Version: 4.0.2 Final
  Platform: All
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Webapps
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Ant says: BUILD FAILED
 
/home/mikael/java/tomcat/jakarta-tomcat-4.0.2/webapps/tomcat-docs/appdev/sample/build.xml.old:302:
Expected /target to terminate element starting on line 294.

Fix:

jakarta-tomcat-4.0.2/webapps/tomcat-docs/appdev/sample

--- build.xml.old   Tue Feb 12 04:48:35 2002
+++ build.xml   Tue Feb 12 04:54:10 2002
@@ -297,7 +297,7 @@
 mkdir  dir=${dist.home}/docs/api/
 javadoc sourcepath=src
 destdir=${dist.home}/docs/api
-   packagenames=*/
+   packagenames=*
   classpath refid=compile.classpath/
 /javadoc

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




DO NOT REPLY [Bug 6209] New: - ?xml version=1.0 encoding=ISO-8859-1? missing from sample web.xml file

2002-02-03 Thread bugzilla

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6209

?xml version=1.0 encoding=ISO-8859-1? missing from sample web.xml file

   Summary: ?xml version=1.0 encoding=ISO-8859-1? missing from
sample web.xml file
   Product: Tomcat 4
   Version: 4.0.1 Final
  Platform: Other
   URL: http://localhost:8080/tomcat-docs/appdev/web.xml.txt
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The line:

?xml version=1.0 encoding=ISO-8859-1?

is not present at the sample web.xml file in the local Tomcat documentation
available when you first install the server.

http://localhost:8080/tomcat-docs/appdev/web.xml.txt

If a new user copies this file to their WEB-INF directory, their webapp will not
deploy properly and there is very little indication to them what the problem is.

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




cvs commit: jakarta-tomcat/src/doc/appdev/sample/etc web.xml

2001-10-20 Thread larryi

larryi  01/10/20 21:21:36

  Modified:src/doc/appdev build.xml.txt contents.html deployment.html
footer.html installation.html processes.html
source.html web.xml.txt
   src/doc/appdev/sample build.bat build.xml
   src/doc/appdev/sample/etc web.xml
  Added:   src/doc/appdev/sample build.sh
  Removed: src/doc/appdev/sample build
  Log:
  Port updates from tomcat_32.  Make additional updates for Tomcat 3.3.
  
  Revision  ChangesPath
  1.7   +21 -16jakarta-tomcat/src/doc/appdev/build.xml.txt
  
  Index: build.xml.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/build.xml.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml.txt 2000/05/02 20:34:46 1.6
  +++ build.xml.txt 2001/10/21 04:21:36 1.7
  @@ -70,14 +70,18 @@
   --
   
 target name=prepare
  -mkdir dir=${deploy.home}/
  -copydir src=web dest=${deploy.home}/
  -mkdir dir=${deploy.home}/WEB-INF/
  -copyfile src=etc/web.xml dest=${deploy.home}/WEB-INF/web.xml/
  -mkdir dir=${deploy.home}/WEB-INF/classes/
  -mkdir dir=${deploy.home}/WEB-INF/lib/
  -copydir src=lib dest=${deploy.home}/WEB-INF/lib/
  -mkdir dir=${javadoc.home}/
  +mkdir  dir=${deploy.home}/
  +copy todir=${deploy.home}
  +  fileset dir=web/
  +/copy
  +mkdir  dir=${deploy.home}/WEB-INF/
  +copy  file=etc/web.xml tofile=${deploy.home}/WEB-INF/web.xml/
  +mkdir  dir=${deploy.home}/WEB-INF/classes/
  +mkdir  dir=${deploy.home}/WEB-INF/lib/
  +copy todir=${deploy.home}/WEB-INF/lib
  +  fileset dir=lib/
  +/copy
  +mkdir  dir=${javadoc.home}/
 /target
   
   
  @@ -87,7 +91,7 @@
   --
   
 target name=clean
  -deltree dir=${deploy.home}/
  +delete dir=${deploy.home}/
 /target
   
   
  @@ -96,10 +100,7 @@
structure makes this very easy because the javac task automatically
works its way down a source code hierarchy and compiles any class that
has not yet been compiled, or where the source file is newer than the
  - class file.  After compilation is complete, any non-Java files (such as
  - properties files containing resource bundles) found in the source code
  - hierarchy are copied to a corresponding position in the destination
  - directory hierarchy.
  + class file.
   
Feel free to adjust the compilation option parameters (debug,
optimize, and deprecation) to suit your requirements.  It is also
  @@ -114,19 +115,23 @@
   javac srcdir=src destdir=${deploy.home}/WEB-INF/classes
  classpath=${deploy.home}/WEB-INF/classes
  debug=on optimize=off deprecation=off/
  +copy   todir=${deploy.home}/WEB-INF/classes
  +  fileset dir=src includes=**/*.properties/
  +/copy
 /target
   
   
  -
   !-- The javadoc target is used to create the Javadoc API documentation
for the Java classes in this web application.  It is assumed that
this documentation is included in the deployed application, so the
example below generates the Javadoc HTML files in a subdirectory under
  - the deployment home directory.
  + the deployment home directory.  Feel free to customize the options for
  + the JavaDoc task, after consulting the Ant documentation.
   --
   
 target name=javadoc depends=prepare
  -!-- TODO --
  +javadoc sourcepath=src packagenames=*
  +destdir=${javadoc.home}/
 /target
   
   
  
  
  
  1.3   +1 -1  jakarta-tomcat/src/doc/appdev/contents.html
  
  Index: contents.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/contents.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- contents.html 2000/03/28 00:44:11 1.2
  +++ contents.html 2001/10/21 04:21:36 1.3
  @@ -38,7 +38,7 @@
   developer community.  The following authors have provided significant content:
   ul
   liCraig R. McClanahan
  -(a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a)
  +(a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a)
   /ul
   
   
  
  
  
  1.3   +26 -10jakarta-tomcat/src/doc/appdev/deployment.html
  
  Index: deployment.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/deployment.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- deployment.html   2000/03/28 00:44:11 1.2
  +++ deployment.html   2001/10/21 04:21:36 1.3
  @@ -155,27 +155,39 @@
   form, and execute the application that way.  This approach would typically
   be used to install an additional application, provided by a third party
   vendor or by your internal development staff

cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/src/mypackage - New directory

2001-07-29 Thread craigmcc

craigmcc01/07/29 15:23:38

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/src/mypackage - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:49:55

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/docs - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:50:08

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/docs - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/src - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:50:08

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/src - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:50:08

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web/images - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:51:51

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web/images - New directory



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web/WEB-INF - New directory

2001-07-28 Thread craigmcc

craigmcc01/07/28 15:52:04

  jakarta-tomcat-4.0/webapps/tomcat-docs/appdev/sample/web/WEB-INF - New directory



sample code to add interception to url access in tomcat 3.2.1

2001-04-19 Thread Teitelman, Chen
Title: sample code to add interception to url access in tomcat 3.2.1





I am looking for sample code to add interception to URL access in tomcat 3.2.1

Chen Teitelman 

Computer Associates

Manager/ Development

tel: +972 3 645

fax: +972 3 6450001

mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]





cvs commit: jakarta-tomcat-4.0/catalina/docs/appdev/sample - New directory

2001-02-14 Thread remm

remm01/02/14 14:20:41

  jakarta-tomcat-4.0/catalina/docs/appdev/sample - New directory

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




cvs commit: jakarta-tomcat-4.0/catalina/docs/appdev/sample/etc - New directory

2001-02-14 Thread remm

remm01/02/14 14:20:44

  jakarta-tomcat-4.0/catalina/docs/appdev/sample/etc - New directory

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




cvs commit: jakarta-tomcat-4.0/catalina/docs/appdev/sample/src - New directory

2001-02-14 Thread remm

remm01/02/14 14:20:46

  jakarta-tomcat-4.0/catalina/docs/appdev/sample/src - New directory

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




cvs commit: jakarta-tomcat-4.0/catalina/docs/appdev/sample/web/images - New directory

2001-02-14 Thread remm

remm01/02/14 14:20:51

  jakarta-tomcat-4.0/catalina/docs/appdev/sample/web/images - New directory

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




cvs commit: jakarta-tomcat/src/doc/appdev/sample build.bat

2000-12-27 Thread marcsaeg

marcsaeg00/12/27 09:20:16

  Modified:src/doc/appdev/sample Tag: tomcat_32 build.bat
  Log:
  The CP variable is being built up in three steps, but the second step
  didn't include %CP% so the results of the first step were lost.
  
  PR: 591
  Submitted by: Terry Traub ( [EMAIL PROTECTED] )
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.3.2.3   +2 -2  jakarta-tomcat/src/doc/appdev/sample/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/sample/build.bat,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- build.bat 2000/11/27 22:45:57 1.3.2.2
  +++ build.bat 2000/12/27 17:20:11 1.3.2.3
  @@ -1,12 +1,12 @@
   @echo off
   rem build.bat -- Build Script for the "Hello, World" Application
  -rem $Id: build.bat,v 1.3.2.2 2000/11/27 22:45:57 craigmcc Exp $
  +rem $Id: build.bat,v 1.3.2.3 2000/12/27 17:20:11 marcsaeg Exp $
   
   set _CP=%CP%
   
   rem Identify the custom class path components we need
   set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
  -set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
  +set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
   set CP=%CP%;%JAVA_HOME%\lib\tools.jar
   
   rem Execute ANT to perform the requird build target
  
  
  



cvs commit: jakarta-tomcat/src/doc/appdev/sample build.bat build.sh

2000-11-27 Thread craigmcc

craigmcc00/11/27 14:46:08

  Modified:src/doc/appdev Tag: tomcat_32 source.html
   src/doc/appdev/sample Tag: tomcat_32 build.bat build.sh
  Log:
  Update the Application Developer's Guide and sample scripts to by default
  include the JAXP parser classes on the compiler classpath.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.2.4.2   +6 -4  jakarta-tomcat/src/doc/appdev/source.html
  
  Index: source.html
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/source.html,v
  retrieving revision 1.2.4.1
  retrieving revision 1.2.4.2
  diff -u -r1.2.4.1 -r1.2.4.2
  --- source.html   2000/11/06 04:53:51 1.2.4.1
  +++ source.html   2000/11/27 22:45:49 1.2.4.2
  @@ -202,16 +202,17 @@
   line MAKE tool (which processes a makefile) will recognize this approach.
   
   pOn UNIX-based systems, the following script should be saved as file
  -codebuild/code in the project source directory, with file permissions
  +codebuild.sh/code in the project source directory, with file permissions
   that make it executable, and customized as required:
   
   pre
   #!/bin/sh
   # build -- Build Script for the "Hello, World" Application
  -# $Id: source.html,v 1.2.4.1 2000/11/06 04:53:51 craigmcc Exp $
  +# $Id: source.html,v 1.2.4.2 2000/11/27 22:45:49 craigmcc Exp $
   
   # Identify the custom class path components we need
   CP=$TOMCAT_HOME/lib/ant.jar:$TOMCAT_HOME/lib/servlet.jar
  +CP=$CP:$TOMCAT_HOME/lib/jaxp.jar:$TOMCAT_HOME/lib/parser.jar
   CP=$CP:$JAVA_HOME/lib/tools.jar
   
   # Execute ANT to perform the requested build target
  @@ -220,18 +221,19 @@
   /pre
   
   pOn Windows-based systems, the following script should be saved as file
  -codebuild.bat/code in the project source directory, and customzed
  +codebuild.bat/code in the project source directory, and customized
   as required:
   
   pre
   @echo off
   rem build.bat -- Build Script for the "Hello, World" Application
  -rem $Id: source.html,v 1.2.4.1 2000/11/06 04:53:51 craigmcc Exp $
  +rem $Id: source.html,v 1.2.4.2 2000/11/27 22:45:49 craigmcc Exp $
   
   set _CP=%CP%
   
   rem Identify the custom class path components we need
   set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
  +set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
   set CP=%CP%;%JAVA_HOME%\lib\tools.jar
   
   rem Execute ANT to perform the requird build target
  
  
  
  No   revision
  
  
  No   revision
  
  
  1.3.2.2   +2 -1  jakarta-tomcat/src/doc/appdev/sample/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/sample/build.bat,v
  retrieving revision 1.3.2.1
  retrieving revision 1.3.2.2
  diff -u -r1.3.2.1 -r1.3.2.2
  --- build.bat 2000/11/06 04:53:54 1.3.2.1
  +++ build.bat 2000/11/27 22:45:57 1.3.2.2
  @@ -1,11 +1,12 @@
   @echo off
   rem build.bat -- Build Script for the "Hello, World" Application
  -rem $Id: build.bat,v 1.3.2.1 2000/11/06 04:53:54 craigmcc Exp $
  +rem $Id: build.bat,v 1.3.2.2 2000/11/27 22:45:57 craigmcc Exp $
   
   set _CP=%CP%
   
   rem Identify the custom class path components we need
   set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
  +set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
   set CP=%CP%;%JAVA_HOME%\lib\tools.jar
   
   rem Execute ANT to perform the requird build target
  
  
  
  1.1.2.2   +2 -1  jakarta-tomcat/src/doc/appdev/sample/Attic/build.sh
  
  Index: build.sh
  ===
  RCS file: /home/cvs/jakarta-tomcat/src/doc/appdev/sample/Attic/build.sh,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- build.sh  2000/11/12 00:18:19 1.1.2.1
  +++ build.sh  2000/11/27 22:45:59 1.1.2.2
  @@ -1,9 +1,10 @@
   #!/bin/sh
   # build.sh -- Build Script for the "Hello, World" Application
  -# $Id: build.sh,v 1.1.2.1 2000/11/12 00:18:19 craigmcc Exp $
  +# $Id: build.sh,v 1.1.2.2 2000/11/27 22:45:59 craigmcc Exp $
   
   # Identify the custom class path components we need
   CP=$TOMCAT_HOME/lib/ant.jar:$TOMCAT_HOME/lib/servlet.jar
  +CP=$CP:$TOMCAT_HOME/lib/jaxp.jar:$TOMCAT_HOME/lib/parser.jar
   CP=$CP:$JAVA_HOME/lib/tools.jar
   
   # Execute ANT to perform the requested build target