cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/config coyote.xml jk2.xml

2004-01-25 Thread remm
remm2004/01/25 05:15:16

  Modified:webapps/tomcat-docs/config coyote.xml jk2.xml
  Log:
  - The default should have been what was in 4.1.27. The change was an unintended
consequence of switching to the TC 5 code.
  
  Revision  ChangesPath
  1.9   +1 -1  jakarta-tomcat-4.0/webapps/tomcat-docs/config/coyote.xml
  
  Index: coyote.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/config/coyote.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- coyote.xml12 Dec 2003 02:45:01 -  1.8
  +++ coyote.xml25 Jan 2004 13:15:16 -  1.9
  @@ -104,7 +104,7 @@
 pThis specifies if the encoding specified in contentType should be used
 for URI query parameters, instead of using the URIEncoding. This
 setting is present for compatibility with Tomcat 4.1.27 and earlier.
  -  The default value is codefalse/code.
  +  The default value is codetrue/code.
 /p
   /attribute
   
  
  
  
  1.8   +1 -1  jakarta-tomcat-4.0/webapps/tomcat-docs/config/jk2.xml
  
  Index: jk2.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/config/jk2.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk2.xml   12 Dec 2003 02:45:01 -  1.7
  +++ jk2.xml   25 Jan 2004 13:15:16 -  1.8
  @@ -92,7 +92,7 @@
 pThis specifies if the encoding specified in contentType should be used
 for URI query parameters, instead of using the URIEncoding. This
 setting is present for compatibility with Tomcat 4.1.27 and earlier.
  -  The default value is codefalse/code.
  +  The default value is codetrue/code.
 /p
   /attribute
   
  
  
  

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



DO NOT REPLY [Bug 26414] New: - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink

   Summary: UserTransaction bound in comp/env Context when using
ResourceLink
   Product: Tomcat 5
   Version: 5.0.18
  Platform: All
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


currently it is not possible to use ResourceLinks to bind a UserTransaction in
the java:comp context of a web application because the way it is implemented
ResourceLinks are always bound in the java:comp/env context. I stumbled across
this because I thought it would make sense to configure my transaction manager
only in one place and have all my webapps access it via ResourceLinks instead of
copying the configuration for each webapp but that did not work. The current
behaviour is a little hard to understand and IMHO it doesn't hurt to treat
ResourceLinks pointing to a UserTransaction differently. I have attached a patch
that does this. Testing the patch I found that the Context implementation does
not seem to throw NameAlreadyBoundException when a name already exists and a
bind fails (therefore after applying the patch you get a warning whenever a
UserTransaction is bound via a ResourceLink). Shall I file this as a separate
report?

Thanks in advance

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



DO NOT REPLY [Bug 26414] - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 13:23 ---
Created an attachment (id=10082)
Patch for proposed enhancement

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



DO NOT REPLY [Bug 26414] - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Priority|Other   |Low

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



DO NOT REPLY [Bug 26414] - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 13:27 ---
I think I'm ok with your patch. However I have a question: did you try to add
the needed resource for the transaction in a DefaultContext ?

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



DO NOT REPLY [Bug 26399] - Path must be entered when adding a root context

2004-01-25 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=26399.
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=26399

Path must be entered when adding a root context

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Enhancement
 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 13:29 ---
For a variety of reasons, this will not be fixed. All management tools will
expose the path for the ROOT context as /. Internally (this includes
server.xml, as the XML is reflected upon objects through reflection), this will
stay as .
This is not a bug anyway.

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



New RM needed for Tomcat 4.x

2004-01-25 Thread Remy Maucherat
Hi,

I have lost the motivation needed for doing the RM work on Tomcat 4.0 
and 4.1, it's just painful after all this time. I'm writing this as I am 
about to tag and upload 4.1.30, BTW ;)

Since there's apparently a need for some to maintain 4.1.x further, 
there's a need for a new RM :) Any volunteers ?

Rémy

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


DO NOT REPLY [Bug 26414] - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 15:03 ---
No, I didn't, since in my case I have the webapps sharing the transactionmanager
deployed in separate services. 

BTW I'll attach a patch for the wrong Exception type thrown in
org.apache.naming.NamingContext implementation. Then my other patch will not
create a warning anymore.

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



DO NOT REPLY [Bug 26414] - UserTransaction bound in comp/env Context when using ResourceLink

2004-01-25 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=26414.
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=26414

UserTransaction bound in comp/env Context when using ResourceLink





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 15:05 ---
Created an attachment (id=10083)
Fixes Exception thrown when bind fails because the name is already bound

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



Bug report for Tomcat 3 [2004/01/25]

2004-01-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 2478|Opn|Cri|2001-07-06|Passing Session variables between JSP's and Servle|
| 4551|Opn|Nor|2001-10-31|Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/|
| 4980|New|Min|2001-11-20|Startup message indicates incorrect log file  |
| 4994|New|Nor|2001-11-21|Tomcat needs a mechanism for clean and certain shu|
| 5064|New|Cri|2001-11-25|Socket write error when include files is more than|
| 5108|New|Maj|2001-11-26|Docs for Tomcat 3.2.x appear to be for Tomcat 3.3 |
| 5137|New|Nor|2001-11-27|Null pointer in class loader after attempting to r|
| 5160|Unc|Maj|2001-11-28|'IllegalStateException'   |
| 5331|New|Nor|2001-12-09|getPathInfo vs URL normalization  |
| 5510|New|Blk|2001-12-19|How to call ejb deployed in JBoss from Tomcat serv|
| 5756|New|Nor|2002-01-08|jspc.bat exits with wrong ERRORLEVEL  |
| 5797|New|Nor|2002-01-10|UnCatched ? StringIndexOutOfBoundsException: Strin|
| 6027|New|Maj|2002-01-25|Tomcat  Automatically shuts down as service   |
| 6168|New|Blk|2002-02-01|IllegalStateException |
| 6451|New|Cri|2002-02-14|Stackoverflow |
| 6478|New|Enh|2002-02-14|Default Tomcat Encoding   |
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 6648|New|Nor|2002-02-25|jakarta-servletapi build with java 1.4 javadoc err|
| 6702|New|Cri|2002-02-27|win 2k services not working   |
| 6796|New|Cri|2002-03-01|Tomcat dies periodically  |
| 6989|New|Maj|2002-03-08|Unable to read tld file during parallel JSP compil|
| 7008|Opn|Maj|2002-03-10|facade.HttpServletRequestFacade.getParameter(HttpS|
| 7013|New|Cri|2002-03-10|Entering a servlet path with non-ISO8859-1 charact|
| 7227|New|Nor|2002-03-19|error-code directive don't work |
| 7236|New|Blk|2002-03-19|Permission denied to do thread.stop   |
| 7626|New|Nor|2002-03-29|classloader not working properly  |
| 7652|New|Cri|2002-04-01|Tomcat stalls periodically|
| 7762|New|Enh|2002-04-05|stdout logfile handling   |
| 7785|New|Blk|2002-04-06|tomcat bug in context reloading   |
| 7789|New|Maj|2002-04-06|JSP Cookie Read/Write Fails With DNS Names|
| 7863|New|Maj|2002-04-09|I have a problem when running Tomcat with IIS |
| 8154|New|Nor|2002-04-16|logrotate script in RPM rotates non-existing file |
| 8187|New|Cri|2002-04-17|Errors when Tomcat used with MS Access database   |
| 8239|New|Cri|2002-04-18|Resource temporary unavailable|
| 8263|New|Cri|2002-04-18|url-pattern easy to circumvent|
| 8634|New|Nor|2002-04-30|no way to specify different modules.xml file  |
| 8992|New|Blk|2002-05-10|IE6/XP: Limitation of POST Area within HTTP reques|
| 9086|New|Enh|2002-05-14|NPE org.apache.tomcat.core.ServerSession.setAttrib|
| 9250|New|Maj|2002-05-20|outOfMemoryError  |
| 9367|New|Maj|2002-05-23|HttpSessionBindingEvent not thrown for HttpSession|
| 9390|New|Nor|2002-05-24|jasper compilation error in tomcat|
| 9480|New|Nor|2002-05-29|Data connection pooling   |
| 9607|New|Maj|2002-06-04|precompile JSP|
| 9737|New|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|1|New|Cri|2002-06-19|IOException Broken Pipe when authenticating JDBCRe|
|10047|New|Cri|2002-06-20|IllegalStateException |
|10202|New|Maj|2002-06-25|Tomcat is not responding in time  |
|10357|Unc|Blk|2002-06-30|java.lang.IllegalArgumentException: Short Read|
|10406|New|Cri|2002-07-02|IllegalStateException |
|11087|New|Blk|2002-07-23|IllegalStateException |

Bug report for Tomcat 4 [2004/01/25]

2004-01-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  218|Unc|Nor|2000-11-02|IIS  in-process tomcat BugRat Report#333 |
| 2885|Opn|Maj|2001-07-30|JspCompiler does not recompile changed JSP's  |
| 3614|Opn|Nor|2001-09-14|bug in manager webapp |
| 3755|Opn|Nor|2001-09-20|freezes at shutdown   |
| 3888|Opn|Blk|2001-09-30|WebappClassLoader: Lifecycle error : CL stopped   |
| 4091|Opn|Nor|2001-10-11|custom host with unpackWARs=true don't expand wa|
| 4138|Opn|Nor|2001-10-12|Processor threads have inconsistent ClassLoader st|
| 4352|Ass|Nor|2001-10-22|JDBCRealm does not work with CLIENT-CERT auth-meth|
| 5329|New|Nor|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5598|Opn|Maj|2001-12-27|(JSP Problem) RequestDispatcher doesn't include HT|
| 5704|Ass|Maj|2002-01-05|CgiServlet corrupting images? |
| 5715|Opn|Nor|2002-01-07|response.setContentType() in Filter.doFilter not c|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5858|New|Enh|2002-01-15|Add tomcat dir to java.library.path   |
| 5952|Opn|Nor|2002-01-22|Refence to $JAVACMD  in tomcat.conf incorrect in R|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 5998|Opn|Maj|2002-01-24|Exception hiding when a JspExceptioin is thrown by|
| 6218|Opn|Nor|2002-02-04|Relative links broken for servlets|
| 6229|New|Enh|2002-02-04|Need way to specify where to write catalina.out   |
| 6399|New|Nor|2002-02-12|unknown protocol: https   |
| 6408|New|Enh|2002-02-12|Starting tomcat from a cygwin bash shell using 'st|
| 6582|New|Min|2002-02-20|Sample code does not match behavior   |
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6659|New|Nor|2002-02-25|HttpUtils.getRequestURL gives incorrect URL with w|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7190|New|Nor|2002-03-18|GenericServlet spurious log's in init(), destroy()|
| 7360|New|Nor|2002-03-22|res-sharing-scope not supported   |
| 7366|New|Enh|2002-03-22|ISAPI Redirector Replacement  |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output|
| 7571|New|Nor|2002-03-28|DataInputStream readLong() Problem|
| 7588|New|Nor|2002-03-28|Session cannot be established if there are multipl|
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in h|
| 7689|New|Min|2002-04-02|Performance problem with Xerces parser|
| 7702|New|Enh|2002-04-03|[PATCH] Speed up Tomcat a tiny bit|
| 7723|New|Enh|2002-04-03|[patch] additional factory for org.apache.naming.f|
| 7831|New|Nor|2002-04-08|[PATCH] JNDIRealm does not work with CLIENT-CERT a|
| 7880|Ver|Cri|2002-04-09|If a TLV flags flags an error during the translati|
| 8026|New|Enh|2002-04-12|Exceptions in StandardHostDeployer.addChild are lo|
| 8079|New|Enh|2002-04-15|Tomcat cannot start if appBase directory is access|
| 8100|New|Maj|2002-04-15|Session Tracking and HttpURLConnection|
| 8217|New|Maj|2002-04-17|Documentation references workers. prefix|
| 8275|Ver|Min|2002-04-18|ContextConfig.start() attempts to create a $CATALI|
| 8323|New|Enh|2002-04-20|No support for running the 64 bit JVM |
| 8343|New|Enh|2002-04-21|adding a absorber logger class to org.apache.ca|
| 8441|New|Enh|2002-04-23|Command line files for NetWare|
| 8465|New|Min|2002-04-24|classpath.sh overwrites existing java_opts setting|
| 8541|New|Nor|2002-04-26|IIS redirector URL-encodes cookie values  |
| 8705|New|Enh|2002-05-01|SessionListener should extend EventListener   |
| 

Bug report for Watchdog [2004/01/25]

2004-01-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld urn should be uri BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()|
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.|
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
+-+---+---+--+--+
| Total   14 bugs   |
+---+

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



[4.1.30] New build available

2004-01-25 Thread Remy Maucherat
http://www.apache.org/dist/jakarta/tomcat-4/v4.1.30-alpha/

Thanks for testing :)

Rémy

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


DO NOT REPLY [Bug 26418] New: - wrong contenttype

2004-01-25 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=26418.
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=26418

wrong contenttype

   Summary: wrong contenttype
   Product: Tomcat 4
   Version: 4.1.29
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


I have set the following contenttype:
%response.setContentType(application/smil);%

the output of tomcat  4.1.27 gives:
Content-Type: application/smil;charset=ISO-8859-1

The realplayer doesn't accept charset in the Contenttype header.

On google I have found the following:
http://groups.google.com/groups?hl=nllr=ie=UTF-8oe=UTF-
8threadm=slrnbs40kh.ajc.legart%40kamel.legart.dkrnum=1prev=/groups%3Fhl%3Dnl%
26ie%3DUTF-8%26oe%3DUTF-8%26q%3DsetContenttype%2Btomcat%2B4.1.29%26sa%3DN%26tab%
3Dwg%26lr%3D

http://tomcat.junlu.com/msg/6179_14860.html

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



DO NOT REPLY [Bug 26420] New: - wrong contenttype

2004-01-25 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=26420.
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=26420

wrong contenttype

   Summary: wrong contenttype
   Product: Tomcat 4
   Version: 4.1.29
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


I have set the following contenttype:
%response.setContentType(application/smil);%

the output of tomcat  4.1.27 gives:
Content-Type: application/smil;charset=ISO-8859-1

The realplayer doesn't accept charset in the Contenttype header.

On google I have found the following:
http://groups.google.com/groups?hl=nllr=ie=UTF-8oe=UTF-
8threadm=slrnbs40kh.ajc.legart%40kamel.legart.dkrnum=1prev=/groups%3Fhl%3Dnl%
26ie%3DUTF-8%26oe%3DUTF-8%26q%3DsetContenttype%2Btomcat%2B4.1.29%26sa%3DN%26tab%
3Dwg%26lr%3D

http://tomcat.junlu.com/msg/6179_14860.html

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



DO NOT REPLY [Bug 26420] - wrong contenttype

2004-01-25 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=26420.
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=26420

wrong contenttype

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

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



DO NOT REPLY [Bug 26418] - wrong contenttype

2004-01-25 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=26418.
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=26418

wrong contenttype

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 18:27 ---


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

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



DO NOT REPLY [Bug 24970] - charset appended to content-type even if not text/*

2004-01-25 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=24970.
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=24970

charset appended to content-type even if not text/*

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 18:27 ---
*** Bug 26418 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 26421] New: - can not config different security-constraint for differenct folders under same webapp

2004-01-25 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=26421.
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=26421

can not config different security-constraint  for differenct folders under same webapp

   Summary: can not config different security-constraint  for
differenct folders under same webapp
   Product: Tomcat 5
   Version: 5.0.16
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


in same webapp's web.xml, I want to all .jsp is protected,
however, I also need to unprotected the themes folder. my folder structure is:
WEB_APP/index.jsp
WEB_APP/contact.jsp
WEB_APP/themes
WEB_APP/themes/logon_pic.gif
WEB_APP/login/login.jsp
WEB_APP/login/login_error.jsp

in web.xml, I have:
  security-constraint
web-resource-collection
web-resource-namepublic themes/web-resource-name
descriptionThemes without security/description
url-pattern/themes/*/url-pattern
http-methodGET/http-method
http-methodHEAD/http-method
/web-resource-collection
  /security-constraint
  security-constraint
web-resource-collection
  web-resource-nameEntire Application/web-resource-name
  descriptionEntire application/description
  url-pattern//url-pattern
/web-resource-collection
auth-constraint
  role-nameuser/role-name
/auth-constraint
  /security-constraint

  login-config
auth-methodFORM/auth-method
form-login-config
  form-login-page/login/login.jsp/form-login-page
  form-error-page/login/login_error.jsp/form-error-page
/form-login-config
  /login-config


In login.jsp, I use an image from themes folder, the result I got is:
index.jsp is protected just as I expected and /login/login.jsp is shown,
however, the image in login.jsp is also protected and can not be shown.

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



Re: cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt

2004-01-25 Thread David Rees
[EMAIL PROTECTED] wrote, On 1/25/2004 5:16 AM:
  RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  @@ -1066,6 +1105,8 @@
   [4.1.27] #21984
HandlerReqest:
Fix potential Dos condition when given a mal-formed URI.
  +
  +[4.1.20] Upgrade to Connectors from Tomcat 5.0.18.
I think you meant 4.1.30 here, not 20.  ;)

-Dave

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


DO NOT REPLY [Bug 26421] - can not config different security-constraint for differenct folders under same webapp

2004-01-25 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=26421.
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=26421

can not config different security-constraint  for differenct folders under same webapp

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 19:55 ---
Try again with 5.0.18. Then, some peer review of the configuration can't hurt
(the tomcat-user list).
I don't think this is a valid use case though (the spec has a rather weird
matching algorithm: if a widcard pattern matches, then your extension pattern
will not be matched).

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



cvs commit: jakarta-tomcat-4.0 RELEASE-NOTES-4.1.txt

2004-01-25 Thread remm
remm2004/01/25 11:56:33

  Modified:.RELEASE-NOTES-4.1.txt
  Log:
  - This should be 4.1.30 here. I won't do a 4.1.31 for that, though.
  
  Revision  ChangesPath
  1.83  +2 -2  jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt
  
  Index: RELEASE-NOTES-4.1.txt
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- RELEASE-NOTES-4.1.txt 25 Jan 2004 13:16:23 -  1.82
  +++ RELEASE-NOTES-4.1.txt 25 Jan 2004 19:56:33 -  1.83
  @@ -1106,7 +1106,7 @@
HandlerReqest:
Fix potential Dos condition when given a mal-formed URI.
   
  -[4.1.20] Upgrade to Connectors from Tomcat 5.0.18.
  +[4.1.30] Upgrade to Connectors from Tomcat 5.0.18.
   
   
   
  
  
  

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



DO NOT REPLY [Bug 26421] - can not config different security-constraint for differenct folders under same webapp

2004-01-25 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=26421.
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=26421

can not config different security-constraint  for differenct folders under same webapp





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 20:27 ---
Changed to 5.0.18, it does solve my problem, thanks a lot.

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



DO NOT REPLY [Bug 26421] - can not config different security-constraint for differenct folders under same webapp

2004-01-25 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=26421.
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=26421

can not config different security-constraint  for differenct folders under same webapp

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 20:28 ---
close it then.

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



cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/util ProcessHelper.java

2004-01-25 Thread remm
remm2004/01/25 12:57:18

  Modified:catalina/src/share/org/apache/catalina/startup
WebRuleSet.java ContextRuleSet.java
CopyParentClassLoaderRule.java
LifecycleListenerRule.java Catalina.java
SetDocBaseRule.java ContextConfig.java
   catalina/src/share/org/apache/catalina/core
StandardContext.java StandardHostValve.java
   catalina/src/share/org/apache/catalina/realm
MemoryRuleSet.java
   catalina/src/share/org/apache/catalina/util
ProcessHelper.java
  Log:
  - Remove deprecation with the digester.
  - Remove a few imports.
  
  Revision  ChangesPath
  1.9   +51 -47
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/WebRuleSet.java
  
  Index: WebRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/WebRuleSet.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WebRuleSet.java   5 Mar 2003 21:42:22 -   1.8
  +++ WebRuleSet.java   25 Jan 2004 20:57:18 -  1.9
  @@ -154,12 +154,12 @@
*  should be added.
*/
   public void addRuleInstances(Digester digester) {
  -sessionConfig = new SetSessionConfig(digester);
  -jspConfig = new SetJspConfig(digester);
  -loginConfig = new SetLoginConfig(digester);
  +sessionConfig = new SetSessionConfig();
  +jspConfig = new SetJspConfig();
  +loginConfig = new SetLoginConfig();
   
   digester.addRule(prefix + web-app,
  - new SetPublicIdRule(digester, setPublicId));
  + new SetPublicIdRule(setPublicId));
   
   digester.addCallMethod(prefix + web-app/context-param,
  addParameter, 2);
  @@ -170,7 +170,7 @@
  setDisplayName, 0);
   
   digester.addRule(prefix + web-app/distributable,
  - new SetDistributableRule(digester));
  + new SetDistributableRule());
   
   digester.addObjectCreate(prefix + web-app/ejb-local-ref,
org.apache.catalina.deploy.ContextLocalEjb);
  @@ -378,7 +378,7 @@
   org.apache.catalina.deploy.SecurityConstraint);
   
   digester.addRule(prefix + web-app/security-constraint/auth-constraint,
  - new SetAuthConstraintRule(digester));
  + new SetAuthConstraintRule());
   digester.addCallMethod(prefix + 
web-app/security-constraint/auth-constraint/role-name,
  addAuthRole, 0);
   digester.addCallMethod(prefix + web-app/security-constraint/display-name,
  @@ -402,7 +402,7 @@
  addSecurityRole, 0);
   
   digester.addRule(prefix + web-app/servlet,
  - new WrapperCreateRule(digester));
  + new WrapperCreateRule());
   digester.addSetNext(prefix + web-app/servlet,
   addChild,
   org.apache.catalina.Container);
  @@ -479,11 +479,11 @@
*/
   final class SetLoginConfig extends Rule {
   protected boolean isLoginConfigSet = false;
  -public SetLoginConfig(Digester digester) {
  -super(digester);
  +public SetLoginConfig() {
   }
   
  -public void begin(Attributes attributes) throws Exception {
  +public void begin(String namespace, String name, Attributes attributes)
  +throws Exception {
   if (isLoginConfigSet){
   throw new IllegalArgumentException(
   login-config element is limited to 1 occurance);
  @@ -500,11 +500,11 @@
*/
   final class SetJspConfig extends Rule {
   protected boolean isJspConfigSet = false;
  -public SetJspConfig(Digester digester) {
  -super(digester);
  +public SetJspConfig() {
   }
   
  -public void begin(Attributes attributes) throws Exception {
  +public void begin(String namespace, String name, Attributes attributes)
  +throws Exception {
   if (isJspConfigSet){
   throw new IllegalArgumentException(
   jsp-config element is limited to 1 occurance);
  @@ -521,11 +521,11 @@
*/
   final class SetSessionConfig extends Rule {
   protected boolean isSessionConfigSet = false;
  -public SetSessionConfig(Digester digester) {
  -super(digester);
  +public SetSessionConfig() {
   }
   
  -public void begin(Attributes attributes) throws Exception {
  +public void begin(String namespace, String name, Attributes attributes)
  +throws Exception {
   if 

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup ContextRuleSet.java EngineRuleSet.java HostRuleSet.java

2004-01-25 Thread remm
remm2004/01/25 13:01:03

  Modified:catalina/src/share/org/apache/catalina/startup
ContextRuleSet.java EngineRuleSet.java
HostRuleSet.java
  Log:
  - Remove deprecation with the digester.
  - Remove a few imports.
  
  Revision  ChangesPath
  1.6   +7 -9  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextRuleSet.java
  
  Index: ContextRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/ContextRuleSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ContextRuleSet.java   25 Jan 2004 20:57:18 -  1.5
  +++ ContextRuleSet.java   25 Jan 2004 21:01:03 -  1.6
  @@ -150,14 +150,12 @@
   digester.addSetProperties(prefix + Context);
   if (!isDefaultContext()) {
   digester.addRule(prefix + Context,
  - new CopyParentClassLoaderRule(digester));
  + new CopyParentClassLoaderRule());
   digester.addRule(prefix + Context,
new LifecycleListenerRule
  - (digester,
  -  org.apache.catalina.startup.ContextConfig,
  + (org.apache.catalina.startup.ContextConfig,
 configClass));
  -digester.addRule(prefix + Context,
  - new SetDocBaseRule(digester));
  +digester.addRule(prefix + Context, new SetDocBaseRule());
   digester.addSetNext(prefix + Context,
   addChild,
   org.apache.catalina.Container);
  
  
  
  1.3   +5 -6  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/EngineRuleSet.java
  
  Index: EngineRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/EngineRuleSet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EngineRuleSet.java2 Sep 2003 21:22:00 -   1.2
  +++ EngineRuleSet.java25 Jan 2004 21:01:03 -  1.3
  @@ -140,8 +140,7 @@
   digester.addSetProperties(prefix + Engine);
   digester.addRule(prefix + Engine,
new LifecycleListenerRule
  - (digester,
  -  org.apache.catalina.startup.EngineConfig,
  + (org.apache.catalina.startup.EngineConfig,
 engineConfigClass));
   digester.addSetNext(prefix + Engine,
   setContainer,
  
  
  
  1.4   +6 -7  
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostRuleSet.java
  
  Index: HostRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostRuleSet.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HostRuleSet.java  2 Sep 2003 21:22:00 -   1.3
  +++ HostRuleSet.java  25 Jan 2004 21:01:03 -  1.4
  @@ -138,11 +138,10 @@
className);
   digester.addSetProperties(prefix + Host);
   digester.addRule(prefix + Host,
  - new CopyParentClassLoaderRule(digester));
  + new CopyParentClassLoaderRule());
   digester.addRule(prefix + Host,
new LifecycleListenerRule
  - (digester,
  -  org.apache.catalina.startup.HostConfig,
  + (org.apache.catalina.startup.HostConfig,
 hostConfigClass));
   digester.addSetNext(prefix + Host,
   addChild,
  
  
  

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



Internal document anchors ?

2004-01-25 Thread NormW
Good morning!
Noticed this morning that in at least one Tomcat document:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
some internal document anchors a name= ? end with a question mark,
which means any link to them will fail due to the question mark being
dropped by the server. I use IE6sp1 and the links to some parts of the above
document are now broken for me.
Perhaps someone can attend?
Norm


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



DO NOT REPLY [Bug 13226] - Can't access files with international characters

2004-01-25 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=13226.
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=13226

Can't access files with international characters

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 21:35 ---
I have tested the latest TC4 from CVS and, providing the new URIEncoding 
attribute is correctly set on the connector this works.

I have noticed a minor complication on Windows XP in that jar (or WinZip for 
that matter) doesn't recognise files with international characters but this is 
not a Tomcat issue.

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



DO NOT REPLY [Bug 22130] - Tomcat VM not shutdown successfull as jk2 JMX handler is active

2004-01-25 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=22130.
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=22130

Tomcat VM not shutdown successfull as jk2 JMX handler is active





--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 21:44 ---
The source of the problem is probably the RMI registry that is being created by 
the mx4j RMIAdapter. There is actually a non-daemon thread, the RMI Reaper 
thread:

RMI Reaper prio=5 tid=0x8e89bd0 nid=0x8b4 waiting on monitor 
[0x9b1f000..0x9b1fdb8]
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:103)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:279)
at java.lang.Thread.run(Thread.java:479)

The RMIAdapter should stop the NamingService, this should eliminate the 
deadlock.

Btw: I got mx4j running with the following properties in jk.properties:

mx.enabled=true
mx.jrmpPort=1099
mx.jrmpHost=localhost

Others mentioned mx.port=9000 which leads to total confusion. I used Tomcat 
4.1.29 and mx4j 1.1.1.

Anybody thinks to be in charge of this problem? Is there a release plan for 
4.1.30?

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



[PROPOSED PATCH] Bug 13307

2004-01-25 Thread Mark Thomas
All,

The patch below has been proposed for bug 13307
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307).

Since it involves class loaders and anything that involves class loaders is
still a bit of a black art to me, I would be grateful for review of this
proposed patch.

Thanks,

Mark


Index: catalina/src/share/org/apache/naming/StringManager.java
===
RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/StringMan
ager.java,v
retrieving revision 1.2
diff -u -r1.2 StringManager.java
--- catalina/src/share/org/apache/naming/StringManager.java 2 Sep 2003
21:21:59 -  1.2
+++ catalina/src/share/org/apache/naming/StringManager.java 25 Jan 2004
22:06:45 -
@@ -66,6 +66,7 @@
 
 import java.text.MessageFormat;
 import java.util.Hashtable;
+import java.util.Locale;
 import java.util.MissingResourceException;
 import java.util.ResourceBundle;
 
@@ -110,8 +111,10 @@
  */
 
 private StringManager(String packageName) {
-   String bundleName = packageName + .LocalStrings;
-   bundle = ResourceBundle.getBundle(bundleName);
+String bundleName = packageName + .LocalStrings;
+bundle = ResourceBundle.getBundle(bundleName,
+  Locale.getDefault(),
+  getClass().getClassLoader());
 }
 
 /**



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



cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4 CoyoteConnector.java CoyoteServerSocketFactory.java

2004-01-25 Thread billbarker
billbarker2004/01/25 14:54:13

  Modified:coyote/src/java/org/apache/coyote/tomcat4
CoyoteConnector.java CoyoteServerSocketFactory.java
  Log:
  Update to allow the SSL connector to only want clientAuth.
  
  Submitted By:  Michael Becker [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.33  +6 -8  
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector.java
  
  Index: CoyoteConnector.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- CoyoteConnector.java  23 Jan 2004 20:47:13 -  1.32
  +++ CoyoteConnector.java  25 Jan 2004 22:54:13 -  1.33
  @@ -1259,10 +1259,8 @@
   (CoyoteServerSocketFactory) factory;
   IntrospectionUtils.setProperty(protocolHandler, algorithm,
  ssf.getAlgorithm());
  -if (ssf.getClientAuth()) {
  -IntrospectionUtils.setProperty(protocolHandler, clientauth,
  -+ ssf.getClientAuth());
  -}
  + IntrospectionUtils.setProperty(protocolHandler, clientauth,
  +   ssf.getClientAuth());
   IntrospectionUtils.setProperty(protocolHandler, keystore,
  ssf.getKeystoreFile());
   IntrospectionUtils.setProperty(protocolHandler, randomfile,
  
  
  
  1.6   +7 -4  
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteServerSocketFactory.java
  
  Index: CoyoteServerSocketFactory.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteServerSocketFactory.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CoyoteServerSocketFactory.java18 Sep 2003 16:13:51 -  1.5
  +++ CoyoteServerSocketFactory.java25 Jan 2004 22:54:13 -  1.6
  @@ -73,7 +73,10 @@
* listrongalgorithm/strong - Certificate encoding algorithm
* to use. [SunX509]/li
* listrongclientAuth/strong - Require client authentication if
  - * set to codetrue/code. [false]/li
  + * set to codetrue/code. Want client authentication if set to
  + * codewant/code. (Note: Only supported in the JSSE included with 
  + * J2SDK 1.4 and above.  Prior versions of JSSE and PureTLS will treat 
  + * 'want' as 'false'.) [false]/li
* listrongkeystoreFile/strong - Pathname to the Key Store file to be
* loaded.  This must be an absolute path, or a relative path that
* is resolved against the catalina.base system property.
  @@ -114,13 +117,13 @@
   /**
* Should we require client authentication?
*/
  -private boolean clientAuth = false;
  +private String clientAuth = false;
   
  -public boolean getClientAuth() {
  +public String getClientAuth() {
   return (this.clientAuth);
   }
   
  -public void setClientAuth(boolean clientAuth) {
  +public void setClientAuth(String clientAuth) {
   this.clientAuth = clientAuth;
   }
   
  
  
  

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



cvs commit: jakarta-tomcat-4.0/webapps/admin/connector connector.jsp

2004-01-25 Thread billbarker
billbarker2004/01/25 14:58:15

  Modified:webapps/admin/WEB-INF/classes/org/apache/webapp/admin
Lists.java
   webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector
AddConnectorAction.java ConnectorForm.java
EditConnectorAction.java SaveConnectorAction.java
   webapps/admin/connector connector.jsp
  Log:
  Adding support for the new clientAuth values to the admin webapp.
  
  Revision  ChangesPath
  1.18  +24 -4 
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/Lists.java
  
  Index: Lists.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/Lists.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Lists.java14 Mar 2003 16:00:15 -  1.17
  +++ Lists.java25 Jan 2004 22:58:15 -  1.18
  @@ -137,6 +137,16 @@
   booleanValues.add(new LabelValueBean(False, false));
   }
   
  +/**
  + * Precomputed list of clientAuth lables and values.
  + */
  +private static List clientAuthValues = new ArrayList();
  +
  +static {
  +clientAuthValues.add(new LabelValueBean(True,true));
  +clientAuthValues.add(new LabelValueBean(False,false));
  +clientAuthValues.add(new LabelValueBean(Want,want));
  +}
   
   // - Public Methods
   
  @@ -168,6 +178,16 @@
   public static List getBooleanValues() {
   
   return (booleanValues);
  +
  +}
  +
  +/**
  + * Return a codeList/code of [EMAIL PROTECTED] LabelValueBean}s for the 
legal
  + * settings for codeclientAuth/code properties.
  + */
  +public static List getClientAuthValues() {
  +
  +return (clientAuthValues);
   
   }
   
  
  
  
  1.10  +5 -4  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/AddConnectorAction.java
  
  Index: AddConnectorAction.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/AddConnectorAction.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AddConnectorAction.java   14 Mar 2003 17:53:50 -  1.9
  +++ AddConnectorAction.java   25 Jan 2004 22:58:15 -  1.10
  @@ -165,6 +165,7 @@
   
   connectorFm.setDebugLvlVals(Lists.getDebugLevels());
   connectorFm.setBooleanVals(Lists.getBooleanValues());
  +connectorFm.setClientAuthVals(Lists.getClientAuthValues());
   
   String schemeTypes[]= new String[3];
   schemeTypes[0] = HTTP;
  
  
  
  1.14  +23 -4 
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/ConnectorForm.java
  
  Index: ConnectorForm.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/ConnectorForm.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ConnectorForm.java24 Jan 2004 13:47:26 -  1.13
  +++ ConnectorForm.java25 Jan 2004 22:58:15 -  1.14
  @@ -225,6 +225,11 @@
*/
   private List connectorTypeVals = null;
   
  +/**
  + * Represent supported clientAuth values.
  + */
  +private List clientAuthVals = null;
  +
   // - Properties
   
  /**
  @@ -585,6 +590,20 @@
   
   this.booleanVals = booleanVals;
   
  +}
  +
  +/**
  + * Return the clientAuth values.
  + */
  +public List getClientAuthVals() {
  +return clientAuthVals;
  +}
  +
  +/**
  + * Set the clientAuth vaues.
  + */
  +public void setClientAuthVals(List clientAuthVals) {
  +this.clientAuthVals = clientAuthVals;
   }
   
   /**
  
  
  
  1.7   +6 -5  
jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java
  
  Index: EditConnectorAction.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/EditConnectorAction.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EditConnectorAction.java  22 Jan 2004 02:39:33 -  1.6
  +++ EditConnectorAction.java  25 Jan 2004 22:58:15 -  1.7
  @@ -172,6 +172,7 @@
   connectorFm.setNodeLabel(sb.toString());
   

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans ConnectorMBean.java mbeans-descriptors.xml

2004-01-25 Thread billbarker
billbarker2004/01/25 15:07:16

  Modified:catalina/src/share/org/apache/catalina/mbeans
ConnectorMBean.java mbeans-descriptors.xml
  Log:
  MBean support for the change in type for clientAuth.
  
  Revision  ChangesPath
  1.5   +11 -11
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/ConnectorMBean.java
  
  Index: ConnectorMBean.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/ConnectorMBean.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ConnectorMBean.java   2 May 2002 02:03:15 -   1.4
  +++ ConnectorMBean.java   25 Jan 2004 23:07:16 -  1.5
  @@ -114,7 +114,7 @@
*
* @exception Exception if an MBean cannot be created or registered
*/
  -public boolean getClientAuth()
  +public String getClientAuth()
   throws Exception {
   
   Object clientAuthObj = null;
  @@ -131,9 +131,9 @@
   }
  
   }
  -if (clientAuthObj instanceof Boolean) {
  -return ((Boolean)clientAuthObj).booleanValue();
  -} else return false;
  +if (clientAuthObj instanceof String) {
  +return (String)clientAuthObj;
  +} else return false;
   
   }
   
  @@ -143,7 +143,7 @@
*
* @exception Exception if an MBean cannot be created or registered
*/
  -public void setClientAuth(boolean clientAuth)
  +public void setClientAuth(String clientAuth)
   throws Exception {
   
   Class coyoteConnectorCls = 
Class.forName(org.apache.coyote.tomcat4.CoyoteConnector);
  @@ -155,10 +155,10 @@
   if (coyoteServerSocketFactoryCls.isInstance(factory)) {
   // set clientAuth
   Class partypes2 [] = new Class[1];
  -partypes2[0] = Boolean.TYPE;
  +partypes2[0] = String.class;
   Method meth2 = 
coyoteServerSocketFactoryCls.getMethod(setClientAuth, partypes2);
   Object arglist2[] = new Object[1];
  -arglist2[0] = new Boolean(clientAuth);
  +arglist2[0] = clientAuth;
   meth2.invoke(factory, arglist2);
   } 
   } 
  
  
  
  1.82  +2 -2  
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- mbeans-descriptors.xml22 Jan 2004 02:34:56 -  1.81
  +++ mbeans-descriptors.xml25 Jan 2004 23:07:16 -  1.82
  @@ -258,7 +258,7 @@
   
   attribute   name=clientAuth
 description=Should we require client authentication?
  - type=boolean/
  + type=java.lang.String/
   
   attribute   name=connectionTimeout
 description=Timeout value on the incoming connection
  
  
  

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



Re: [PROPOSED PATCH] Bug 13307

2004-01-25 Thread Bill Barker

- Original Message - 
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat-Dev [EMAIL PROTECTED]
Sent: Sunday, January 25, 2004 2:15 PM
Subject: [PROPOSED PATCH] Bug 13307


 All,

 The patch below has been proposed for bug 13307
 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13307).

 Since it involves class loaders and anything that involves class loaders
is
 still a bit of a black art to me, I would be grateful for review of this
 proposed patch.


Naming is in the 'server' CL, so the patch looks Ok.

 Thanks,

 Mark


 Index: catalina/src/share/org/apache/naming/StringManager.java
 ===
 RCS file:

/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/naming/Strin
gMan
 ager.java,v
 retrieving revision 1.2
 diff -u -r1.2 StringManager.java
 --- catalina/src/share/org/apache/naming/StringManager.java 2 Sep 2003
 21:21:59 - 1.2
 +++ catalina/src/share/org/apache/naming/StringManager.java 25 Jan 2004
 22:06:45 -
 @@ -66,6 +66,7 @@

  import java.text.MessageFormat;
  import java.util.Hashtable;
 +import java.util.Locale;
  import java.util.MissingResourceException;
  import java.util.ResourceBundle;

 @@ -110,8 +111,10 @@
   */

  private StringManager(String packageName) {
 - String bundleName = packageName + .LocalStrings;
 - bundle = ResourceBundle.getBundle(bundleName);
 +String bundleName = packageName + .LocalStrings;
 +bundle = ResourceBundle.getBundle(bundleName,
 +  Locale.getDefault(),
 +  getClass().getClassLoader());
  }

  /**



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



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

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

DO NOT REPLY [Bug 20391] - no jsp jikes support (encoding option)

2004-01-25 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=20391.
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=20391

no jsp jikes support (encoding option)

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 23:24 ---


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

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



DO NOT REPLY [Bug 13084] - jsp compilation with jikes fails

2004-01-25 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=13084.
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=13084

jsp compilation with jikes fails

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 23:24 ---
*** Bug 20391 has been marked as a duplicate of this bug. ***

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



cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

2004-01-25 Thread billbarker
billbarker2004/01/25 15:51:41

  Modified:jk/native/common jk_ajp_common.c
  Log:
  Correct cut-and-paste bug.
  
  Fix for Bug #26398
  
  Submitted By: Rainer Jung [EMAIL PROTECTED]
  
  Revision  ChangesPath
  1.45  +2 -2  jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- jk_ajp_common.c   6 Jan 2004 21:44:20 -   1.44
  +++ jk_ajp_common.c   25 Jan 2004 23:51:41 -  1.45
  @@ -1565,7 +1565,7 @@
   p-reply_timeout);
   
   p-prepost_timeout =
  -jk_get_worker_reply_timeout(props, p-name, AJP_DEF_PREPOST_TIMEOUT);
  +jk_get_worker_prepost_timeout(props, p-name, AJP_DEF_PREPOST_TIMEOUT);
   
   jk_log(l, JK_LOG_DEBUG,
   In jk_worker_t::init, setting prepost timeout to %d\n,
  
  
  

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



DO NOT REPLY [Bug 26398] - prepost_timeout gets initialized erroneously from reply_timeout

2004-01-25 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=26398.
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=26398

prepost_timeout gets initialized erroneously from reply_timeout

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-25 23:52 ---
Patch committed, thanks much!

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



DO NOT REPLY [Bug 13307] - Need to specify classLoader when loading resources...

2004-01-25 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=13307.
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=13307

Need to specify classLoader when loading resources...





--- Additional Comments From [EMAIL PROTECTED]  2004-01-26 00:07 ---
I'm confused. Did you test and did it help ?

ResourceBundle.getBundle does not use ResourceBundle.class's loader but *the 
caller's* loader, i.e. StringManager's. That renders your change a noop.

ResourceBundle#getBundle:
Gets a resource bundle using the specified base name, the default locale, and 
the caller's class loader.

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



cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs ssl-howto.xml

2004-01-25 Thread billbarker
billbarker2004/01/25 18:07:55

  Modified:webapps/tomcat-docs ssl-howto.xml
  Log:
  Update docs for new value of clientAuth.
  
  Revision  ChangesPath
  1.14  +3 -1  jakarta-tomcat-4.0/webapps/tomcat-docs/ssl-howto.xml
  
  Index: ssl-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/ssl-howto.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ssl-howto.xml 12 Jan 2003 17:26:46 -  1.13
  +++ ssl-howto.xml 26 Jan 2004 02:07:55 -  1.14
  @@ -325,7 +325,9 @@
   tdcodeclientAuth/code/td
   tdSet this value to codetrue/code if you want Tomcat to require
   all SSL clients to present a client Certificate in order to use
  -this socket./td
  +this socket.  Set this value to codewant/code if you want Tomcat
  +to request a client Certificate, but not fail if the user doesn't
  +send a certificate (requires a 1.4.x JVM or higher)./td
 /tr
 tr
   tdcodekeystoreFile/code/td
  
  
  

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



cvs commit: jakarta-tomcat-catalina/webapps/docs ssl-howto.xml

2004-01-25 Thread billbarker
billbarker2004/01/25 18:11:09

  Modified:webapps/docs ssl-howto.xml
  Log:
  Document the new value for clientAuth.
  
  Revision  ChangesPath
  1.11  +3 -1  jakarta-tomcat-catalina/webapps/docs/ssl-howto.xml
  
  Index: ssl-howto.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/ssl-howto.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ssl-howto.xml 18 Dec 2003 05:31:48 -  1.10
  +++ ssl-howto.xml 26 Jan 2004 02:11:09 -  1.11
  @@ -328,7 +328,9 @@
   tdcodeclientAuth/code/td
   tdSet this value to codetrue/code if you want Tomcat to require
   all SSL clients to present a client Certificate in order to use
  -this socket./td
  +this socket.  Set this value to codewant/code if you want Tomcat
  +to request a client Certificate, but not fail if one isn't presented.
  +/td
 /tr
 tr
   tdcodekeystoreFile/code/td
  
  
  

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



DO NOT REPLY [Bug 13307] - Need to specify classLoader when loading resources...

2004-01-25 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=13307.
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=13307

Need to specify classLoader when loading resources...





--- Additional Comments From [EMAIL PROTECTED]  2004-01-26 05:01 ---
It's been awhile since I looked at this code, and I don't have the source in 
front of me now.  But going from my first paragraph, If you don't specify a 
classLoader to ResourceBundle, then it uses the classloader that ResourceBundle 
was loaded with.(--Which is not necessarily the classloader that the calling 
class was loaded with.).

If that doesn't wash with what you know, let me know and I'll investigate it 
some more when I get back to work and have access to the source.

I gave up on trying to embed Catalina within my application.  We had originally 
been using Jetty, but were told at the time that we weren't allowed to use it 
because of it's Foreign origins.(You know...you can't trust those Aussies. ;-
) )  I then tried to embed Tomcat, but found that it was easier to write my own 
simple servlet container.  Eventually, we convinced our security folks to trust 
the Aussies and we reverted to using Jetty.  We still use Tomcat for most of 
our stuff, but Jetty is infinitely easier to embed.

Hope this helps.

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



DO NOT REPLY [Bug 13084] - jsp compilation with jikes fails

2004-01-25 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=13084.
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=13084

jsp compilation with jikes fails





--- Additional Comments From [EMAIL PROTECTED]  2004-01-26 05:30 ---
This should be useful.  Jikes compiled *with* encoding enabled on Windows...
http://www.javaroom.de/index.html

Jake

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