Re: connection timeout reached JK IsapiRedirect.dll

2005-10-12 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
ah sorry, I mean IIS 6 (the newest one).
- -reynir


Reynir Hubner wrote:

> Hi, I'm using tomcat 4.1.x and Coyote JK connector, with IIS 5. I
> just updated to isapi_redirect-1.2.14.dll.
>
> I did that because I've been getting alot of those error messages
> into the log(stderr.log):
>
> - 12.10.2005 09:50:53 org.apache.jk.common.ChannelSocket
> processConnection - INFO: connection timeout reached
>
> Can anyone explaine these (still coming after the update). this is
> the config for the connector :
>
>  port="8009" minProcessors="5" maxProcessors="275"
> enableLookups="false" redirectPort="8443" acceptCount="100"
> debug="0" connectionTimeout="1" useURIValidationHack="false"
> tomcatAuthentication="true"
>
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
> thanx, [EMAIL PROTECTED]
>

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFDTOFG19KgIQihNwgRAtBdAJ9Tzd03Xisk0cmCIzmXN3ijGICvKwCaA/Hw
ZmGsSQ7Sv2iijXswfVLhHV4=
=dnj5
-END PGP SIGNATURE-


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



connection timeout reached JK IsapiRedirect.dll

2005-10-12 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hi,
I'm using tomcat 4.1.x and Coyote JK connector, with IIS 5. I just
updated to isapi_redirect-1.2.14.dll.

I did that because I've been getting alot of those error messages into
the log(stderr.log):

- - 12.10.2005 09:50:53 org.apache.jk.common.ChannelSocket processConnection
- - INFO: connection timeout reached

Can anyone explaine these (still coming after the update). this is the
config for the connector :



thanx,
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFDTN9K19KgIQihNwgRAlEpAJ9sNvVp9B5cVaOROkswt2A0oyZu7ACfVDCA
PE2yIFPgurN3CX0jPv2duHo=
=pm9R
-END PGP SIGNATURE-


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



httpConnector secure="true" problem (second attempt)

2005-10-04 Thread Reynir Hubner
Hi,

I'm trying to have one connector on tomcat 5.0.x open with secure="true"
with
out it being SSL or https. I just want request.isSecure() return true.
This is the setup for the connector :

  

The port is opened with out errors, but does never return anything, and
I see no errors in my log.
Am I missing out on something or is this a bug ?, It works fine with
tomcat 4.1.x.

Any suggestions ?
thanx
[EMAIL PROTECTED]

ps. thanx for the info Mark.


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



http connector secure="true"

2005-10-03 Thread Reynir Hubner
Hi,

I'm trying to have one connector on tomcat open with secure="true" with
out it being SSL or https. I just want request.isSecure() return true.
This is the setup for the connector :

  

The port is opened with out errors, but does never return anything, and
I see no errors in my log.
Am I missing out on something or is this a bug ?, It works fine with
tomcat 4.1.x.

Any suggestions ?
thanx
[EMAIL PROTECTED]


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



RE: file upload using POST

2002-06-06 Thread Reynir Hubner

hi, 

Tomcat does not have any "standard facility" for fileuploads (at least not last time I 
looked).

You need a multipart request parser. As you mentioned O'reilly provides something 
called MultiPartRequest or something like that.
You should be able to download it from their site.

I dont know if it "is the best" but it's "free" and it seems many people like using 
it. 
There are serveral others though, for my self, I thought the license to use oreilly's 
classes was not what I wanted so I implemented my own requestparser, that's not so 
complicated anyways.

hope it helps
-reynir


> -Original Message-
> From: Ushakov, Sergey N [mailto:[EMAIL PROTECTED]]
> Sent: 6. juni 2002 18:26
> To: [EMAIL PROTECTED]
> Subject: file upload using POST
> 
> 
> Sorry, I'm sure my question is a FAQ, but I still can't find 
> an answer.
> 
> Does Jakarta/Tomcat have a standard facility for file upload 
> processing
> using POST?
> 
> I have searched the Tomcat 4 docs, but did not find any trace.
> 
> JGuru mentions the org.apache.tomcat.request.ParseMime class, 
> but it seems
> to be absent from present Tomcat release. And from CVS tree also.
> 
> Seems that most people use Jason Hunter's MultipartRequest . 
> Is it the best
> choice for Tomcat?
> 
> Regards,
> Sergey Ushakov
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: I assume general question about Connectin Pooling. Please help if you know answer.

2002-04-09 Thread Reynir Hubner

use a connection pool.
try http://www.bitmechanic.com/projects/jdbcpool/
hope it helps
[EMAIL PROTECTED]


-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: 9. april 2002 14:52
To: Tomcat Apache
Subject: I assume general question about Connectin Pooling. Please help
if you know answer.


Hi All.

Basic situation.
I have Tomcat + mySQL
And I need to cache my Database connections, to avoid establishing
connection each time.

Please help.

Sincerely yours, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: TC 4 - URLRewrite :: repost

2002-03-20 Thread Reynir Hubner

hey guys, I got no replies.. so this is a repost of the same message
from early this morning.. (hope someone will notice it this time.. ).


> Hi, 
> 
> I'm looking for the best way of writing a URLRewrite for tomcat that
> works similar to mod_rewrite in apache. 
> Does anyone have an opinion on this matter, should I write a filter or
> extend some of the Tomcat base servlets such as DefaultServlet or
> InvokerServlet, or even write some kind of an addition onto coyote.
> 
> I think filter is the correct way to do it.. what's your opinion ?
> 
> thanx... 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




TC 4 - URLRewrite

2002-03-20 Thread Reynir Hubner

Hi, 

I'm looking for the best way of writing a URLRewrite for tomcat that
works similar to mod_rewrite in apache. 
Does anyone have an opinion on this matter, should I write a filter or
extend some of the Tomcat base servlets such as DefaultServlet or
InvokerServlet, or even write some kind of an addition onto coyote.

I think filter is the correct way to do it.. what's your opinion ?

thanx... 
[EMAIL PROTECTED]









--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: DB Connection Pool

2002-03-05 Thread Reynir Hubner

Hi, 

Using connection pools with tomcat or any other J2EE app server or even
with most Java programs is really simple.
many are free, for example :
- www.bitmechanic.com offer JDBC connection pool for free, you only need
to write a startup servlet that suits your style.
- CodeStudio offers poolman for free, available from sourceforge.com
- tyrex jdbc connection pool mechanism comes with Tomcat as explained :

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm
l
Many of the comercial JDBC 2.0 drivers also offer connection pooling,
sometimes more optimized than the generic solutions (above). 

I guess because Tyrex-connection pooling is provided with tomcat your
post was probably not off topic. The problem IS simple, solve it and you
become one of the "Tomcat/JDBC gurus".

while (lev.hasMoreQuestions())
{
  mailingList.ask(lev.getQuestion());
}


[EMAIL PROTECTED] 



> -Original Message-
> From: Lev Assinovsky [mailto:[EMAIL PROTECTED]]
> Sent: 5. mars 2002 20:46
> To: Tomcat Users List
> Subject: Re: DB Connection Pool
> 
> 
> No, Emir!
> Sorry, I don't agree with you.
> 1. My post is not off topic
> 2. I spent few weeks working on the problem before my first 
> post was done.
> 3. We discovered that the problem isn't that simple.
> 4. The famous book "Professional JSP" doesn't recommend to 
> use any custom
>pooling classes, as Jim advises.
> 5. We still didn't hear Tomcat/JDBC guru
> 
> Sincerely,
> 
> 
> Emir Alikadic wrote:
> 
> > On 03/05/2002 02:59 PM, Lev Assinovsky wrote:
> >
> > > Why? Jim, are you the owner of this mailing list?
> >
> > Actually, Lev, Jim is right: it's an established etiquette of public
> > mailing lists to first search for an answer in the existing
> > documentation before posting a question on the list.  One 
> of the venues
> > of information is the list archive - never aske a question that was
> > sufficiently discussed previously.
> >
> > Eric Raymond wrote a very nice document on asking questions 
> on mailing
> > lists and USENET, and it's available at
> > http://www.tuxedo.org/~esr/faqs/smart-questions.html (pay particular
> > attention to "Before you ask" section").  This document is actually
> > linked from the mailing list subscription page on
> > http://jakarta.apache.org/site/mail.html, which you were supposed to
> > have read before you joined this list.  You did read the 
> instructions
> > through, right?
> >
> > Remember: this is a public mailing list for an Open Source 
> Software - we
> > are all stakeholders, not just the list operators.
> >
> > > Jim Urban wrote:
> > >
> > >>> If anyone is currently using a third-part pool that 
> they are well
> > >>> pleased with, I would greatly appreciate that information too.
> > >>
> > >> We just finished this discussion. Please check the archive.
> > >
> >
> > --
> > To unsubscribe:   

> For additional commands: 
> Troubles with the list: 

--
Lev AssinovskyPeterlink Web
ProgrammerSt. Petersburg, Russia
Tel/Fax: +7 812 3275343   197022 ul.Chapigina 7Á
E-mail: [EMAIL PROTECTED]




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Who uses connection pool?

2002-03-05 Thread Reynir Hubner

yeah you can use that one, it is good, and you have docs on it in the
jakarta website.

Bitmechanics pool is not only for GSP. I've never used GSP, but I have
used the JDBC-pool alot. 
it's good for most drivers, I've only had problems using it with DB2
drivers.

hope it helps, 
[EMAIL PROTECTED]




> -Original Message-
> From: Lev Assinovsky [mailto:[EMAIL PROTECTED]]
> Sent: 5. mars 2002 09:37
> To: Tomcat Users List
> Subject: Re: Who uses connection pool?
> 
> 
> I already looked in there.
> I was confused that their pool is for GSP.
> Tomcat uses Tyrex by default. How about that?
> 
> Reynir H?bner wrote:
> 
> > sure
> > check out bitmechanic.com, thats a fine place to start.
> >
> > -hope it helps
> > [EMAIL PROTECTED]
> >
> > > -Original Message-
> > > From: Lev Assinovsky [mailto:[EMAIL PROTECTED]]
> > > Sent: 5. mars 2002 09:09
> > > To: 'Tomcat Users List'
> > > Subject: Who uses connection pool?
> > >
> > >
> > > Hi!
> > > Could you tell me please,
> > > does anybody successfully use database connection pool?
> > >
> > >
> > > --
> > > Lev AssinovskyPeterlink Web
> > > ProgrammerSt. Petersburg, Russia
> > > Tel/Fax: +7 812 3275343   197022 ul.Chapigina 7Ё
> > > E-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe:   
> 
> > > For additional commands: 
> 
> > > Troubles with the list: 
> 
> > >
> > >
> 
> --
> Lev AssinovskyPeterlink Web
> ProgrammerSt. Petersburg, Russia
> Tel/Fax: +7 812 3275343   197022 ul.Chapigina 7Á
> E-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat4 Ajp12

2002-01-22 Thread Reynir Hubner

I think only ajp1.3
it does not work with ajp 1.2

-hope it helps
[EMAIL PROTECTED]



-Original Message-
From: Skondras P. [mailto:[EMAIL PROTECTED]]
Sent: 22. januar 2002 10:24
To: [EMAIL PROTECTED]
Subject: Tomcat4 Ajp12


Hi i would like to know if
tomcat4 works ok with ajp12
or it needs only ajp13


--
To unsubscribe:   
For additional commands: 
Troubles with the list: