Re: tomcat binary page links not up

2003-09-27 Thread Yuri Schimke
This page says 4.1.17.

Also is it a good idea to link to the the binaries directly when a
hotfix is required?

On Sat, 2003-09-27 at 10:59, Tetsuya Kitahata wrote:

 I fixed .htaccess @ jakarta-site2.
 
 I think you all won't jump to 
 http://jakarta.apache.org/site/binindex.html
 http://jakarta.apache.org/site/sourceindex.html
 anymore.
 
 - (redirect to)
 (http://jakarta.apache.org/site/binindex.cgi
  http://jakarta.apache.org/site/sourceindex.cgi)
 
 
 It is *HIGHLY* recommended for users using mirror site
 when downloading the ASF products.
 (Of course, this goes for the linking and announcing for
 committers, too ...)
 
 Sincerely,
 
 -- Tetsuya. ([EMAIL PROTECTED])
 
 --
 
 On Sat, 27 Sep 2003 09:41:23 +0200
 (Subject: Re: FW: tomcat binary page links not up)
 Remy Maucherat [EMAIL PROTECTED] wrote:
 
  jean-frederic clere wrote:
   Pier Fumagalli wrote:
   
   FYI
   
   
   There is really something wrong. I have clicked in the page 
   http://jakarta.apache.org/site/binindex.html and the links are giving 
   something like:
   +++
   Not Found
   
   The requested URL /site/[preferred]/jakarta/taglibs/ was not found on 
   this server.
   Apache/2.0.48-dev (Unix) Server at jakarta.apache.org Port 80
   +++
   That is not a Tomcat specfic problem.
  
  The links are only valid if they are processed by a CGI. So the right 
  URL is http://jakarta.apache.org/site/binindex.cgi. The old URL was what 
  was used before switching to mirrors.
  
  Remy
 
 ---
 Tetsuya Kitahata --  Terra-International, Inc.
 E-mail: [EMAIL PROTECTED]  http://www.terra-intl.com/
 (Accredited Herrmann Brain Dominance Instrument Facilitator)
 http://www.hbdi.com/
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

--
Yuri Schimke
Aqris Software
+372 53 415 579


AccessLogValve.java - Missing +

2003-07-18 Thread Yuri Schimke
Funkman, Thanks for fixing the timezone calculation bug.  I know I'm
just being picky now, but shouldn't positive timezone offsets have a
(redundant) '+' at the start.

From http://httpd.apache.org/docs/logs.html#common

[10/Oct/2000:13:55:36 -0700] (%t)
The time that the server finished processing the
request. The format is: 
[day/month/year:hour:minute:second zone]
day = 2*digit
month = 3*letter
year = 4*digit
hour = 2*digit
minute = 2*digit
second = 2*digit
zone = (`+' | `-') 4*digit
It is possible to have the time displayed in another
format by specifying %{format}t in the log format
string, where format is as in strftime(3) from the C
standard library.


On Wed, 2003-07-09 at 02:12, [EMAIL PROTECTED] wrote:



   +private String calculateTimeZoneOffset(long offset) {
   +StringBuffer tz = new StringBuffer();
   +if ((offset0))  {
   +tz.append(-);
   +offset = -offset;
   +}
   +
   +long hourOffset = offset/(1000*60*60);
   +long minuteOffset = (offset/(1000*60)) % 60;
   +
   +if (hourOffset10)
   +tz.append(0);
   +tz.append(hourOffset);
   +
   +if (minuteOffset10)
   +tz.append(0);
   +tz.append(minuteOffset);
   +
   +return tz.toString();
   +}
   +

--
Yuri Schimke
Aqris Software
+372 53 415 579

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



How to set ServerSocketFactory

2003-07-03 Thread Yuri Schimke
Hi,

I'm trying to set the ServerSocketFactory in Tomcat 4.1.24.  My factory
is getting created (by the catalina digester), but it never actually
gets used by the PoolTcpEndpoint. I can see this from debugging I am
using.  Its using the DefaultServerSocketFactory instead of mine.

0 [main] INFO net.BlahServerSocketFactory  - new
BlahServerSocketFactory()
java.net.BindException: Permission denied
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.init(ServerSocket.java:185)
at net.DefaultServerSocketFactory.createSocket(:102)
at PoolTcpEndpoint.initEndpoint(:277)
at http11.Http11Protocol.init(:150)
at CoyoteConnector.initialize(:1117)


My class is like (I also tried extending
tomcat.util.ServerSocketFactory)

public final class BlahServerSocketFactory 
implements org.apache.catalina.net.ServerSocketFactory {

}

My config is 

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   address=localhost port=80
   minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=6
   useURIValidationHack=false disableUploadTimeout=true
  Factory className=com.zed.tomcat.net.BlahServerSocketFactory /
/Connector

  
I searched for anywhere PoolTcpEndpoint.setServerSocketFactory() gets
called, but I don't think it ever is.

Could someone let me know how I am meant to achieve this?

Thanks.

--
Yuri Schimke
Aqris Software
+372 53 415 579

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