Re: Tomcat scalability

2002-11-03 Thread Bojan Smojver
Quoting Jon Scott Stevens <[EMAIL PROTECTED]>: > on 2002/11/3 2:24 PM, "Bojan Smojver" <[EMAIL PROTECTED]> wrote: > > > I know you have a much better machine, but 1600 transactions does seem a > > bit high. > > Not for porn. Nah... they wouldn&

Re: Tomcat scalability

2002-11-03 Thread Bojan Smojver
ave a much better machine, but 1600 transactions does seem a bit high. By all means, do your own benchmarks before you commit to anything. Bojan On Sun, 2002-11-03 at 18:39, ryan wrote: > 1. For a project my company is working on we have transactions > requirements of 1600 transactions pe

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-29 Thread Bojan Smojver
(this includes signal delivery and other problems). Bojan -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Bojan Smojver
on algorithm, which is usually "lazy", so more then absolutely necessary will be allocated etc. > I already read in the forum Tomcat don't manage the memory, it is the > JVM... so why the jvm use so many processes ? This is configurable in server.xml, I think. However, if you

Re: TOMCAT memory usage : how to manage and benchmark ?

2002-10-28 Thread Bojan Smojver
dreaming Pier ;-) Bojan -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Re: [VOTE] tomcat-commiters list

2002-10-14 Thread Bojan Smojver
On Tue, 2002-10-15 at 03:24, Costin Manolache wrote: > I would like to propose a new mailing list. > > The list will be closed to commiters only. The main purpose > will be discussions of security and other special issues. > This should avoid [Cc] threads. > > The main target should be active c

Re: jk2 and daemon ( was Re: commons-daemon release ?)

2002-10-10 Thread Bojan Smojver
hat in the range of 640 Mb... > :-) (and it's just 1 web-application out of 6) > > Only problem? Tomcat doesn't scale "that high" :-( Since you like segfaults better then NPE's and you seem to need performance, maybe you should try CSP's: http://astro.temple

Re: mod_jk crash, please help

2002-10-09 Thread Bojan Smojver
Quoting Eugene Gluzberg <[EMAIL PROTECTED]>: > Please help. How can i trace this further? How do i get apache to > generate a core file so i can see where in apache code this is? Any > pointers for help here at all? Have a look at this: http://httpd.apache.org/dev/debugging.htm

Re: Apache 2.0.43 is out

2002-10-04 Thread Bojan Smojver
Just ignore... I should read my e-mail from the most recent :-( Bojan On Sat, 2002-10-05 at 10:39, Bojan Smojver wrote: > So, there was an MMN bump in Apache 2.0.43? From what I can tell, that's > not the case... > > Bojan > > On Fri, 2002-10-04 at 18:13, Henri Gom

Re: Apache 2.0.43 is out

2002-10-04 Thread Bojan Smojver
So, there was an MMN bump in Apache 2.0.43? From what I can tell, that's not the case... Bojan On Fri, 2002-10-04 at 18:13, Henri Gomez wrote: > We should provide new binaries for JK and JK2. > > I'll do JK/JK2 for Linux boxes (and FreeBSD) > > Who could do the same

Re: JK 1.2.1-beta

2002-10-01 Thread Bojan Smojver
h 3 if you don't have time for 1. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: tomcat 3.3.2 cleanup

2002-09-30 Thread Bojan Smojver
+1 Bojan On Mon, 2002-09-30 at 19:13, Henri Gomez wrote: > If everybody agree, what about removing src/native for tomcat 3.3.2 ? > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> &

Re: [ANNOUNCEMENT]: JK 1.2.0 is now available

2002-09-28 Thread Bojan Smojver
Just compiled and tested mod_jk 1.2.0 from CVS, Apache 2.0.42. Seems as solid as ever... Good stuff! Bojan On Sat, 2002-09-28 at 01:03, Henri Gomez wrote: > Hi all, > > The Jakarta-Tomcat-Connector team is pleased to announce the > availability of JK 1.2.0. > > JK, also kno

Re: [OT] Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Bojan Smojver
Quoting Bill Barker <[EMAIL PROTECTED]>: > I'm agreeing with Costin. Please move this discussion to > [EMAIL PROTECTED] It is off-topic here. Promise not to write a single byte on this topic on Tomcat-Dev list after this e-mail. Bojan -

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Bojan Smojver
Quoting Costin Manolache <[EMAIL PROTECTED]>: > Bojan Smojver wrote: > > > All right then, let's talk about JSP's. If I host my clients' JSP's on my > > server and a web designer puts this in (BTW, he wasn't forced, he simply > > decided

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Bojan Smojver
Not if: runtime.interpolate.string.literals = false Bojan Quoting Tim Funk <[EMAIL PROTECTED]>: > That's what code reviews are for and in absence of that - firing your > developers. > > Wouldn't I also get an out of memory with this

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Bojan Smojver
of Tomcat, possibly owned by some other clients of mine. Completely unacceptable... Web applications are collection programs and other stuff, for instance web pages. However, web pages should not be programs because they are (usually) maintained by non-programmers. The fact that yo

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Bojan Smojver
SP's actually is. > Please no flames from the velocity disiples as I will not respond. Why do you think anyone from Velocity crowd would flame you? I found most users and developers to be helpful and constructive. They certainly helped me switch from JSP's in no time at all. Bojan

Re: JK2 logo

2002-09-25 Thread Bojan Smojver
Nicely done! Bojan On Wed, 2002-09-25 at 19:30, Mladen Turk wrote: > Just a suggestion. > > > MT. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/commonjk_requtil.c

2002-09-25 Thread Bojan Smojver
explanation made another one funny, as in "ha, ha". I was just having a few laughs, that's all. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_requtil.c

2002-09-25 Thread Bojan Smojver
Quoting Henri Gomez <[EMAIL PROTECTED]>: > Bojan Smojver wrote: > > Quoting [EMAIL PROTECTED]: > > > > > >> In the C language we use #ifdef not #ifef :-) > > > > > > Only if something like this works: > > > > #define #i

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_requtil.c

2002-09-25 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: > In the C language we use #ifdef not #ifef :-) Only if something like this works: #define #ifef #idef ;-) > -#idef AS400 > +#ifdef AS400 Bojan - This mail sent through IMP: http://horde.org/im

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Bojan Smojver
template doesn't do anything but templating. The beef if elsewhere (i.e. MVC). Bojan PS. Glenn, my apologies, I was just answering a direct question. - This mail sent through IMP: http://horde.org/imp/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Bojan Smojver
of other forums for discussing the merits of one > web templating technology vs another. Sure. But it's fun :-) Bojan - This mail sent through IMP: http://horde.org/imp/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Bojan Smojver
On Wed, 2002-09-25 at 07:31, Matt Fury wrote: > What's easier though? Upgrading a Tomcat server with a > patch or re-architecting your whole site to accomodate > for Velocity?? Short term, upgrading Tomcat. Long term, doing it in Velocity. Bojan -- To unsubscribe, e-mail:

Re: JK2 2.0.0 Release proposal

2002-09-24 Thread Bojan Smojver
+1 Sounds good. If you find nobody to build for Apache 2.0.4x on Linux, let me know. Bojan On Tue, 2002-09-24 at 21:27, Mladen Turk wrote: > Hi, > > Since there is no major showstoppers and > a) The vhosts should work now > b) Socket BUG 12346 is solved > > Here is the

Re: cvs commit: jakarta-tomcat-connectors/jk/xdocs faq.xml

2002-09-24 Thread Bojan Smojver
I think this also applies to 1.3. It's just that MMN in it hasn't been changed for a while. Bojan On Tue, 2002-09-24 at 20:23, [EMAIL PROTECTED] wrote: > hgomez 2002/09/24 03:23:51 > > Modified:jk/xdocs faq.xml > Log: > Add information about MMNB (Mag

Re: [POLL] Tomcat 3.3.2 updates

2002-09-23 Thread Bojan Smojver
n: 1. Disable it completely in server.xml 2. Remove unwanted XML parser JAR's manually I'm OK with any, really. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [VOTE] [4.0.5] [4.1.12] Security releases

2002-09-23 Thread Bojan Smojver
ve this release > -1 [ ] No, because: > Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: mod_jk 1.2.0 release proposal

2002-09-23 Thread Bojan Smojver
On Mon, 2002-09-23 at 20:04, Henri Gomez wrote: > Bojan Smojver wrote: > > Sounds good (although I have to admit I haven't compiled mod_jk from CVS > > for a while). > > Just take a look, cvs should be tagged tomorrow ;) I'll try... Bojan -- To unsubs

Re: mod_jk 1.2.0 release proposal

2002-09-21 Thread Bojan Smojver
Sounds good (although I have to admit I haven't compiled mod_jk from CVS for a while). +1 Bojan On Fri, 2002-09-20 at 20:40, Henri Gomez wrote: > Hi to all, > > Now that code and odc is stabilized in mod_jk 1.2.0, it could be time to > do the release : > > Proposals

RE: Jasper 2 Question

2002-09-19 Thread Bojan Smojver
and easier to maintain. That was the point of my e-mail. As for Jasper, don't know, but I'm sure there will be people that do. Bojan - This mail sent through IMP: http://horde.org/imp/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]&

RE: Jasper 2 Question

2002-09-19 Thread Bojan Smojver
pirits ;-) Anyway, there is a serious side to all this as JSP's are inherently evil. You'll find that creating true MVC applications in Velocity is almost trivial. I suggest you do read Jon's article. The fact that JSP's are "official", doesn't mean they are good. Boj

Re: cvs commit: jakarta-tomcat/src/etc server.xml

2002-09-19 Thread Bojan Smojver
On Thu, 2002-09-19 at 21:14, [EMAIL PROTECTED] wrote: > - + user="admin" password="changeillico"/> Shouldn't the above be "authentication", not "authentification"?

Re: Tomcat 3.3 repository changes

2002-09-13 Thread Bojan Smojver
On Fri, 2002-09-13 at 19:46, Henri Gomez wrote: > Now that we have mod_jk present on JTC, what about removing it from TC > 3.3.2 CVS ? +1 Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Applet Codebase From Servlet

2002-09-12 Thread Bojan Smojver
you'll be laughing. Bojan Quoting Martin Mc Atamney <[EMAIL PROTECTED]>: > I have a servlet which produces straight HTML. In the HTML I'd like to > embed an applet tag. My servlet is in com.test.servlet, my applet in > com.test.applet. > > I set the code value i

Re: [linux CP COMMAND options]

2002-09-09 Thread Bojan Smojver
On Tue, 2002-09-10 at 03:56, micael wrote: > I will investigate this and do thank you. You are welcome. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: SSL Connectors

2002-09-09 Thread Bojan Smojver
Quoting Trevor Nielsen <[EMAIL PROTECTED]>: > I would also like to get an idea of how long it will be until Tomcat 5 > has been released. Although I'm not actively participating in development, I can confidently say that it's going to be befo

Re: [linux CP COMMAND options]

2002-09-08 Thread Bojan Smojver
Quoting micael <[EMAIL PROTECTED]>: > I want to move > particular files out of a group, so the sort of graphic tool you are > talking about is useless to me. Which one was the graphic tool? Not following... Bojan - This mail s

Re: [linux CP COMMAND options]

2002-09-08 Thread Bojan Smojver
s rsync a better choice for this kind of work, especially if you're doing it while Tomcat is running. Also, rsync has sophisticated pattern matching, which makes it, well, suitable for (remote) syncing :-) Bojan Quoting micael <[EMAIL PROTECTED]>: > Thanks, Bojan, but I use a

Re: [linux CP COMMAND options]

2002-09-08 Thread Bojan Smojver
http://rsync.samba.org/ Bojan On Mon, 2002-09-09 at 08:37, micael wrote: > I need to copy all the files (drilled down in directories recursively) that > end in ".jsp" to another location and write over the files in that > location. Anyone have the command for a Red Hat 7.

Re: jk doc works in progress

2002-09-06 Thread Bojan Smojver
e a problem with IE, mozilla allready show it at left, > I'll fix the xsl/css Probably something that was introduced with IE 6. I noticed some of my web work was broken in the same way. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [vote] Possible logos for mod_jk documentation

2002-09-02 Thread Bojan Smojver
[ ] > mod_jk-logo15.png [ ] > mod_jk-logo16.png [ ] > mod_jk-logo3.jpg [ ] > mod_jk-logo4.jpg [ ] > mod_jk-logo5.jpg [X] > mod_jk-logo6.jpg [ ] > > As logo for mod_jk documentation. > The surfing Tomcat! Bojan PS. Actually, I think we should adopt both 5 and 6 and let pe

RE: Spec question: RE BUG 12052

2002-08-30 Thread Bojan Smojver
On Fri, 2002-08-30 at 23:51, Ignacio J. Ortega wrote: > > De: Bojan Smojver [mailto:[EMAIL PROTECTED]] > > Enviado el: 30 de agosto de 2002 1:11 > > Para: Tomcat Dev List > > Asunto: RE: Spec question: RE BUG 12052 > > > > > > On Thu, 2002-08-29 at 23:4

RE: Spec question: RE BUG 12052

2002-08-29 Thread Bojan Smojver
On Thu, 2002-08-29 at 23:49, Ignacio J. Ortega wrote: > We know how r->parsed_uri.port gets his value? Yep. It's getting it from the URL, not the headers. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: tomcat crashes

2002-08-28 Thread Bojan Smojver
. And given the error message (An unexpected exception has been detected in native code outside the VM), I would investigate the patch status of the machine quite seriously. Bojan - This mail sent through IMP: http://horde.org/imp/ -- To unsubs

Re: tomcat crashes

2002-08-28 Thread Bojan Smojver
One more thing - check if the OS has all the relevant patches. Sometimes it's the libraries that JDK's using. Bojan Quoting Bojan Smojver <[EMAIL PROTECTED]>: > Quoting Taral Shah <[EMAIL PROTECTED]>: > > Try a different JDK. This doesn't look a Tomcat prob

Re: Spec question: RE BUG 12052

2002-08-28 Thread Bojan Smojver
ine new meanings for the > CGI spec. Pretty cool, ha? :-)) Bojan - This mail sent through IMP: http://horde.org/imp/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: tomcat crashes

2002-08-28 Thread Bojan Smojver
Quoting Taral Shah <[EMAIL PROTECTED]>: Try a different JDK. This doesn't look a Tomcat problem. Bojan > Hi > > I am facing strange problem at one of my customers side. > I am using tomcat 3.3 for my devlopment and its working fine. > > But at one of customers s

Re: Spec question: RE BUG 12052

2002-08-28 Thread Bojan Smojver
Quoting Bill Barker <[EMAIL PROTECTED]>: > Not anymore. ;-) In the current 2.4 spec draft it is required to be taken > from the Host header. Huh, I guess that's that then. The bug does seem to be valid. At least according to the n

Re: Spec question: RE BUG 12052

2002-08-28 Thread Bojan Smojver
/* default */ return port; } This doesn't seem like coming from headers, but rather from URL or as indicated by the server itself. What do you think? Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Spec question: RE BUG 12052

2002-08-28 Thread Bojan Smojver
source in the bug report. The real problem is that the bug report asks to go a step further and to fake the ports when there is a load balancer or firewall in front of Apache/Tomcat combo. I don't think we should do that - load balancer or firewall is not part of the container. Bojan -- To un

Spec question: RE BUG 12052

2002-08-28 Thread Bojan Smojver
lcome :-) Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Chuid - merging code from daemon into jk2

2002-08-26 Thread Bojan Smojver
Quoting Costin Manolache <[EMAIL PROTECTED]>: > Bojan Smojver wrote: > > > Quoting [EMAIL PROTECTED]: > > > >> In order to change the uid from root to a regular user, you will add > >> user.name=... > >> user.group=... > >> in jk2

Re: Chuid - merging code from daemon into jk2

2002-08-26 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: > In order to change the uid from root to a regular user, you will add > user.name=... > user.group=... > in jk2.properties. I'm not too familiar with this - which part here is running as root? Bojan -- To unsubscribe, e-mail: <mailto:[E

Re: tomcat 4.1.9 rpms available

2002-08-22 Thread Bojan Smojver
Legend! Bojan On Thu, 2002-08-22 at 18:37, Henri Gomez wrote: > The TC 4.1.9 beta rpms are available : > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.9-beta/rpms/ > > Nota that we share now the rpms with the jpackage project (www.jpackage.org), so > fo

Re: jtc rpms

2002-08-20 Thread Bojan Smojver
On Tue, 2002-08-20 at 18:56, Henri Gomez wrote: > Quoting Bojan Smojver <[EMAIL PROTECTED]>: > > > On Tue, 2002-08-20 at 00:50, Henri Gomez wrote: > > > > Welcome back from holidays, > > Thanks > > > hope you had a good time... > > Rainy ;[

Re: jtc rpms

2002-08-19 Thread Bojan Smojver
ur example to 4.1.9? My understanding is that the web server (Apache) part doesn't care much about what's behind it, as long as it speaks the correct protocol version. Maybe there should be a README file instead, listing all known Tomcat version combos for a particular JTC version... Bojan

Re: [COMMENT] mod_jk2 reverse mappings

2002-08-15 Thread Bojan Smojver
Neat :-) Bojan On Thu, 2002-08-15 at 19:43, Mladen Turk wrote: > Hi, > > Some comments regarding reverse uri mappings. > > This is the simplest way of accomplishing the reverse mapping (I'm not > sure if this is correct terminology). > > There is addi

RE: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]

2002-08-10 Thread Bojan Smojver
will then happily serve them. 2. Anything else, rewrite to URL that match something that's in mod_jk's space. Bojan On Sat, 2002-08-10 at 16:31, Mladen Turk wrote: > > -Original Message- > > From: Bojan Smojver [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, Augu

Re: uri_map using regex [WAS: mod_jk, mod_jk2 URI spaces]

2002-08-09 Thread Bojan Smojver
Doesn't mod_rewrite do what you want here? In combination with mod_proxy, it can rewrite URL to URL as well, so you can get the resulting URL back in mod_jk and then just use normal mappings. Or maybe I'm on a totally wrong track here... As for IIS, dunno, don't care ;-) Bojan

RE: mod_jk, mod_jk2 URI spaces

2002-07-31 Thread Bojan Smojver
Cool! Bojan Quoting Mladen Turk <[EMAIL PROTECTED]>: > > -Original Message- > > From: Bojan Smojver [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 01, 2002 12:00 AM > > To: Tomcat Dev List > > Subject: RE: mod_jk, mod_jk2 URI spaces >

RE: mod_jk, mod_jk2 URI spaces

2002-07-31 Thread Bojan Smojver
anything not specifically targeted for Apache goes to Tomcat. As long as this doesn't affect current situation (and I don't see how it would) where I can set up that Tomcat only gets what's not specifically targeted for Apache, I'm +1. This would make mod_jk configuration really fl

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c

2002-07-29 Thread Bojan Smojver
. Please test and let me know if anything is broken or just plain unacceptable. Bojan Quoting [EMAIL PROTECTED]: > bojan 2002/07/29 19:13:05 > > Modified:jk/native/apache-1.3 mod_jk.c > Log: > Introduce a working ForwardDirectories implementation into mod

cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c

2002-07-29 Thread bojan
bojan 2002/07/29 19:13:05 Modified:jk/native/apache-1.3 mod_jk.c Log: Introduce a working ForwardDirectories implementation into mod_jk 1.2.0 for Apache 1.3.x. Major changes: - mod_jk requires mod_dir - jk_fixups() function introduced - jk_translate() knows how

Re: Mod_jk for Apache2.

2002-07-29 Thread Bojan Smojver
isn't included in the native build's includes. This is probably a > known issue, but a quick search doesn't appear to reveal any > hits. Shall I post a proper bug report? By all means. Unless, of course, you can find such bug in Bugzilla already. If you attach a patch with the bug

Re: ForwardDirectories option with mod_jk 1.2.0/Apache 1.3.x

2002-07-28 Thread Bojan Smojver
Quoting Bojan Smojver <[EMAIL PROTECTED]>: > 2. Make explicit request from jk_fixups (new function) Actually, this would break Apache completely, because serving requests from non-handlers is not allowed. However... I have developed solution for this problem invol

Re: Mod_jk for Apache2.

2002-07-26 Thread Bojan Smojver
thing else, build from source or use the old version. If someone contributes a binary, then by all means, it should be published, but otherwise it shouldn't be a target. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

cvs commit: jakarta-tomcat-connectors/jk/native/apache-1.3 mod_jk.c

2002-07-24 Thread bojan
bojan 2002/07/24 04:38:13 Modified:jk/native/apache-1.3 mod_jk.c Log: Introduce ForwardDirectories option into mod_jk for Apache 1.3.x, for compatibility with Apache 2.x version. Does nothing for now. Revision ChangesPath 1.28 +5 -1 jakarta-tomcat

Re: [VOTE]: Re: cvscommit:jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-24 Thread Bojan Smojver
hanks. I'm not sure about mod_jk2 either. The latest reports show that > > the code still doesn't work. > > Great to have it in jk 1.2.x. > > BTW, what's the default behaviour ? Default is to let Apache do it's thing. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [connectors] compile error on jk_jni_aprImpl.c

2002-07-24 Thread Bojan Smojver
Try running: ./buildconf.sh ./configure --apxs2=/path/to/apxs and then just dump the mod_jk2.so (should be in jk/build/jk2/apache2) into your Apache *.so directory, apply the appropriate LoadModule and you should be set. I had problems building with ant too... Bojan On Wed, 2002-07-24 at 17

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-23 Thread Bojan Smojver
apply something like the above to it. Bojan On Wed, 2002-07-24 at 14:48, [EMAIL PROTECTED] wrote: > bojan 2002/07/23 21:48:52 > > Modified:jk/native/apache-2.0 mod_jk.c -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-23 Thread bojan
bojan 2002/07/23 21:48:52 Modified:jk/native/apache-2.0 mod_jk.c Log: Save a strcmp() call. Revision ChangesPath 1.54 +3 -3 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-23 Thread bojan
bojan 2002/07/23 19:38:32 Modified:jk/native/apache-2.0 mod_jk.c Log: Refine directory handling a bit more. Make use of the new JkOption, ForwardDirectories. When enabled, all unresolved directory requests go to Tomcat. This option is disabled by default. Revision

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_global.h

2002-07-23 Thread bojan
bojan 2002/07/23 19:36:36 Modified:jk/native/common jk_global.h Log: New JkOption: ForwardDirectories. If used, all unresolved directory requests will be handled by Tomcat. By default, this option will be turned off. Revision ChangesPath 1.19 +3 -1 jakarta

cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-23 Thread bojan
bojan 2002/07/23 17:44:20 Modified:jk/native2/server/apache2 mod_jk2.c Log: Kick out DIR_MAGIC_TYPE from jk2_handler() since it is never given to it anyway. This will have to be resolved later for mod_jk2. Make sure main request gets the appropriate info when the sub

Re: [VOTE]: Re: cvscommit:jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-23 Thread Bojan Smojver
onfig > option however. JkOptions is probably fine for 1.2. Not sure where it > should be set in Jk2. Thanks. I'm not sure about mod_jk2 either. The latest reports show that the code still doesn't work. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: [VOTE]: Re: cvs commit:jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-23 Thread Bojan Smojver
t > *.jsp ajp13. That would be handled by Apache anyway through the usual DirectoryIndex machinery, so no problems there. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

[VOTE]: Re: cvs commit:jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-23 Thread Bojan Smojver
And I answer (to myself :-) On Tue, 2002-07-23 at 14:47, Bojan Smojver wrote: > So, the unsolved questions for me are: > > 1. What is it then that jk_handler() does that makes it actually serve the > request when DIR_MAGIC_TYPE is included in the test? It must be that its mapping

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-22 Thread Bojan Smojver
on DIR_MAGIC_TYPE test in jk_handler(). How's that going to work in mod_jk2, I have no idea... Hopefully, Mark will do a few tests and then we'll know more. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-22 Thread Bojan Smojver
be that its mapping is 'better' than mapping of jk_translate()... 2. Or is it that jk_translate() never even gets involved during that request and therefore never has the chance to do the mapping? Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-22 Thread Bojan Smojver
I made an initial, most likely broken commit of this code for mod_jk2. Can you go through it as I'm making assumptions in there that I am not sure about. They are just a parallel from mod_jk, but that could be totally bogus. At least there is some 'meat' for you guys to play with.

cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-22 Thread bojan
bojan 2002/07/22 16:18:38 Modified:jk/native2/server/apache2 mod_jk2.c Log: Initial, most likely *BROKEN* code to handle default directory files. The code in jk2_map_to_storage() should be OK. Most critical stuff is in jk2_handler() function, the part of code that

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-22 Thread Bojan Smojver
gt; 0 ) How do I go through this mine field? What's going to be the value of uriEnv if r->handler is DIR_MAGIC_TYPE? If it's going to be NULL, I have to change a lot of code in the whole function to make sure we don't bump into a NULL pointer somewhere... Bojan On Tue, 2002-07-2

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-22 Thread Bojan Smojver
--- THE CODE IN mod_jk2 IS STILL BROKEN, WITH DocumentRoot LOGIC. - Do you want me to: [ ] Revert it back to what it was before I put my fingers in it [ ] Leave it alone [ ] Attempt to apply the same stuff that's in this patch

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-22 Thread bojan
bojan 2002/07/22 14:03:19 Modified:jk/native/apache-2.0 mod_jk.c Log: Put back DIR_MAGIC_TYPE in case there is no DirectoryIndex and/or no pysical files to stat. Lose one stat, not really needed. Fix a typo. Revision ChangesPath 1.52 +10 -5 jakarta

Re: new velocity user

2002-07-21 Thread Bojan Smojver
urely selfish reasons ;-) - map you servlet in web.xml to your liking - read excellent Velocity User Guide and Velocity Programmers Guide - ask about anything you'd like to know on Velocity user list; majority of the people are very friendly and don't mind being asked questions Have fun,

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
My apologies everyone... Just ignore the part of my previous e-mail marked here with between the stars. It just plain stupid :-( ** Quoting Bojan Smojver <[EMAIL PROTECTED]>: > Quoting [EMAIL

Re: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
asically, static files would be preferred (I don't like the idea of involving Tomcat if I don't need to either). Does that eliminate the objection? Bojan PS. I have applied ap_is_directory() call in the latest version of the patch. Do you think I should have stuck with determining if t

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
> > I think this would work and is the best short-term solution. > > If it is a DIR, let tomcat serve it for now. I can implement that easily. But there is one catch: static files would get checked first (through the code in jk_map_to_storage()) and if the match wasn't found (either because there is no DirecoryIndex or there were no physical files that Apache can find), the the raw directory would hit jk_handler(). Is that a problem? Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
lso to DIR_MAGIC_TYPE requests. Now, jk_handler() would find the mapping (since the request is for a directory, not a file) and the request would be served by Tomcat. Would this work? I think it might... Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
t I try to fix it properly in mod_jk 1.2.0 and let you guys do whatever you like in mod_jk2? Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-21 Thread bojan
bojan 2002/07/21 19:48:11 Modified:jk/native/apache-2.0 mod_jk.c Log: Be a bit more specific about what is a directory. Revision ChangesPath 1.51 +10 -13jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
t term, I think we should just let tomcat deal > with that, until we have the fix. Are you referring here to mod_jk2 only or both mod_jk 1.2.0 and mod_jk2? Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2 mod_jk2.c

2002-07-21 Thread Bojan Smojver
Quoting [EMAIL PROTECTED]: > On 22 Jul 2002, Bojan Smojver wrote: > > > If there is no physical file, then nothing will get done by the patch > at > > all (since r->finfo.filetype is 0). It won't affect mod_dir's old > > behaviour at all. I'm not sur

Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0mod_jk.c

2002-07-21 Thread Bojan Smojver
are major objections to the code in the first place. Please consider this as just an attempt to correct the brain dead code that involved DocumentRoot, rather then actual file location and mixing URI's with filenames, nothing more. Bojan On Mon, 2002-07-22 at 08:34, [EMAIL PROTECTED] wrote: &g

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

2002-07-21 Thread bojan
bojan 2002/07/21 15:34:25 Modified:jk/native/apache-2.0 mod_jk.c Log: Instead of mixing URI's with filenames, which was wrong, just use filenames to stat. This will also take care of aliases, but be warned - URI will still be passed to Tomcat unchanged. Revision Ch

RE: cvs commit:jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
re why would that be a must for all cases. I don't want Java engaged if C does can do the job and faster. Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
e not physical and local, mod_dir and DirectoryIndex don't make sense and should not be used Bojan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: cvs commit:jakarta-tomcat-connectors/jk/native2/server/apache2mod_jk2.c

2002-07-21 Thread Bojan Smojver
let people know about it I can live with any of the above since I fully control my own environment and can adjust accordingly. Bojan On Sun, 2002-07-21 at 21:20, Mladen Turk wrote: > Just to prove the concept put the following in your workers2.properties > > [uri:/*.jsp] > info=

  1   2   3   4   >