Re: Getting other Sessions

2005-03-23 Thread Joseph Shraibman
Michael Greer wrote: List servers = MBeanServerFactory.findMBeanServer(null); MBeanServer server = (MBeanServer)servers.get(0); ObjectName objName = new ObjectName(Catalina:type=Manager,path=/contextPath,host=localhost); String sessionIds =

Getting other Sessions

2005-02-22 Thread Joseph Shraibman
I want to make an admin page in my application. I needs to be able to get access to all the current Session objects to access their attributes. Is this possible? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Getting other Sessions

2005-02-22 Thread Joseph Shraibman
Antony Paul wrote: You can put all the sessions in List or Map when they login or use HttpSessionListener to listen to session events. That was my fallback plan, if there wasn't an easier way. - To unsubscribe, e-mail: [EMAIL

Re: tomcat 5.5.7 won't start because of NPE

2005-02-13 Thread Joseph Shraibman
Yup, that was it. I could have sworn I chwoned all the files but I guess I didn't. Thanks. Parsons Technical Services wrote: The real problem is the lines above it. Either the server.xml is hosed, missing, corrupted or Tomcat doesn't have rights to it. What OS are you running on? Doug

tomcat 5.5.7 won't start because of NPE

2005-02-10 Thread Joseph Shraibman
Using the out of box config files and webapps: java version 1.5.0_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing) This appears on catalina.out: Feb 11, 2005 12:35:51 AM

Re: Analysing dead threads

2004-11-17 Thread Joseph Shraibman
Is this a redhat 9 box by any chance? Steffen Heil wrote: Hi I have a situation, where a lot of threads seem to stop working right in my servlet. From debug output, I know they entered the servlet but never leave it. My problem is that this never occurs on our development system, but only on the

Re: mod_jk2 Ready/Recommended For Production?

2004-10-13 Thread Joseph Shraibman
From the tomcat-devel list: So is JK2 dead because of proxy_ajp? Why doesn't JK2 just replace JK? JK2 is dead because (like mod_webapp before it :), it failed to attract a community interested in maintaining it. You might as well ask 'why doesn't mod_webapp just replace JK?' For some reason the

Re: JK2 2.0.4

2004-10-04 Thread Joseph Shraibman
No, this is a known bug and will not work. See http://issues.apache.org/bugzilla/show_bug.cgi?id=28758 Cox, Charlie wrote: To avoid all confusion, I would remove your [uri: mappings from the workers2.properties and then specify the mappings in your httpd.conf: VirtualHost 1.1.1.1:80

Re: mod_jk2 and subdirectories

2004-08-19 Thread Joseph Shraibman
YOu have to use LocationMatch instead because * won't match a /. I had this problem myself. Webmaster wrote: Hi all, I'm trying to upgrade a setup I was using with mod_jk to mod_jk2. This setup has 2 workers. Here it is: With mod_jk: JkMount /webapp1/*.jsp worker1 JkMount /webapp2/*.jsp worker2

Re: FW: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread Joseph Shraibman
, but the issue is still alive with RedHat 9.0. I am in the process probing the linux boex's mepry to see what the is going on. Nandish Rudra ECI Conference Call Services, LLC -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 8:54 PM To: Tomcat

Re: LD_ASSUME_KERNEL

2004-08-11 Thread Joseph Shraibman
Sunitha Kumar wrote: Hey folks: Would setting CATALINA_OPTS to -DLD_ASSUME_KERNEL=2.2.5 work? No, this isn't a java option. It is an environment variable you want to set at the shell level. In catalina.sh at the top: export LD_ASSUME_KERNEL=2.4.1 See http://www.blackdown.org/java-linux/[EMAIL

Re: FW: Memory Usage - Tomcat 5.0.25

2004-08-11 Thread Joseph Shraibman
Nandish Rudra wrote: Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance of the

Re: Can't compile jk 1.2.6

2004-08-04 Thread Joseph Shraibman
The problem was that my notes said to use -with-apxs2= instead of -with-apxs= David Rees wrote: Joseph Shraibman wrote, On 8/3/2004 7:29 PM: no apxs given checking for target platform... unix no apache given configure: error: Cannot find the WebServer But the apxs does exist. This is apache

Re: How do I manage the thread pool in 5.0.27?

2004-08-04 Thread Joseph Shraibman
-Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 12:15 AM To: Tomcat Users List Subject: How do I manage the thread pool in 5.0.27? After handling a lot of requests in 5.0.27 I'm left with a lot of threads with names like TP-Processor245. How do

jsp:forward

2004-08-03 Thread Joseph Shraibman
What is supposed to happen when a jsp:forward tag is encountered? Logically when writing a jsp I would think that execution stops there and the client goes ahead to the new url. Does jasper always do this? Did it always do this?

Re: iis, jk2, virtual hosts.

2004-08-03 Thread Joseph Shraibman
jk2 has problems with virtual hosts. See http://issues.apache.org/bugzilla/show_bug.cgi?id=22045 and http://issues.apache.org/bugzilla/show_bug.cgi?id=18472 Alex wrote: is this something that no one has had experience with? On Wed, 21 Jul 2004, Alex wrote: Date: Wed, 21 Jul 2004 09:39:15 -0400

Can't compile jk 1.2.6

2004-08-03 Thread Joseph Shraibman
# ./buildconf.sh rm autom4te.cache libtoolize --force --automake --copy aclocal autoheader automake -a --foreign --copy configure.in:8: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' configure.in: installing `scripts/build/unix/mkinstalldirs' autoconf rm autom4te.cache Then

How do I manage the thread pool in 5.0.27?

2004-08-03 Thread Joseph Shraibman
After handling a lot of requests in 5.0.27 I'm left with a lot of threads with names like TP-Processor245. How do I make these go away? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Trouble running Tomcat using Sun's JDK1.4.2_05

2004-07-09 Thread Joseph Shraibman
Are you sure when you upgraded that you moved everything over, like jars in lib/endorsed, you java.policy, etc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 Apache Authentication

2004-07-09 Thread Joseph Shraibman
[EMAIL PROTECTED] wrote: Hmmm...so is there any workaround? For example, using an older version of the JK connector or some older combination of Tomcat/Apache and the JK connector? Thanks, Kevin Not as far as I know. - To

Re: Tomcat 5 Apache Authentication

2004-07-08 Thread Joseph Shraibman
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25367 [EMAIL PROTECTED] wrote: Hi all, I am having a problem getting Tomcat 5 to use Apache authentication. We have an existing CGI application that is handled by Apache 2, and I am tring to integrate some java stuff using Tomcat 5. Here is

Problem using jsp to handle 404s from nonjsps

2004-06-25 Thread Joseph Shraibman
I have a 404.jsp for logging broken links. I get the missing page by doing this: String url = request.getRequestURL().toString(); This works when the missing page is a jsp. When it is something else like a .html, my url variable ends up with the url to my 404 handler. I assume this is a

Re: Problem using jsp to handle 404s from nonjsps

2004-06-25 Thread Joseph Shraibman
Akash Jauhar wrote: Assuming that you have an apache in front of tomcat configure apache to specify that 404.jsp is your custom page for handling 404 errors for content that is served by apache. This should help you log all broken links as well as missing images and other content Hope this helps

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-02 Thread Joseph Shraibman
Try this: http://marc.theaimsgroup.com/?l=tomcat-userm=107976963131361w=2 I wasn't able to get it to work myself, but maybe you can. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to get the offending uri when handling a 404 error?

2004-06-01 Thread Joseph Shraibman
I put this in my web.xml: error-page error-code404/error-code location/404.jsp/location /error-page ... and this in 404.jsp: ErrorData ed = pageContext.getErrorData(); if (ed != null) url = ed.getRequestURI() ; but it throws: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw

Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks

2004-05-11 Thread Joseph Shraibman
Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How to scan Jakarta-Tomcat full-space

Re: strange memory problem

2004-05-11 Thread Joseph Shraibman
java.lang.OutOfMemoryError is also thrown when java can't start up a thread because it reached the system limit. Could that be your problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks

2004-05-11 Thread Joseph Shraibman
Jacob Kjome wrote: At 11:47 PM 5/11/2004 -0400, you wrote: Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java webapplication http://jb2works.com/refscan/tomcat.html - How

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-22 Thread Joseph Shraibman
I know, I ran a few hundred lynx's at a time. Ralph Einfeldt wrote: To your question: I don't know. Having a delay in the jsp (or servlet) isn't enough to enshure concurrent requests. You have to do something on the calling site to enforce this. If you just call lynx as in your example, lynx

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joseph Shraibman
Sounds like the same memory leak problem I've been having. The problem is when new threads are created to handle concurrent connections. Marco Pöhler wrote: Hi, I'm running tomcat 5.0.19 J2SDK1.4.2_03 on a suse linux 8.1. I wrote a really simple application, just one servlet and a few jsp

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-19 Thread Joseph Shraibman
Ralph Einfeldt wrote: That may be a bit to simple, as this is just performing one request after the other. You may have to force concurrent request: Why are those message generated by a thread starting up or something? If so I already have a jsp with a built in delay I can use to make sure

Re: Horrible memory leak in tomcat 5.0.19

2004-03-19 Thread Joseph Shraibman
Robert Krüger wrote: Hi, we had the same problem (enormous memory leak which frequently made our production system crash), downgraded to 5.0.18 and everything went back to normal. Just yesterday a colleague of mine came to the conclusion that it is not too unlikely that it is the problem

Re: Out of memory -Tomcat4.x

2004-03-18 Thread Joseph Shraibman
Put this in catalina.sh: CATALINA_OPTS=$CATALINA_OPTS -Xmx512M; armalai wrote: Hi., I'm getting out of memory Error. How do i know the current jvm memory? I know the hardware memory details? Please advise me which one is causing this error and how do i know the current settings? Thanks.,

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-18 Thread Joseph Shraibman
Great, thanks for the info! But I already downgraded my production machine to 4.1.18 to avoid this problem. I wish I knew how to reproduce this on my development box so I can know for sure if this solves the problem. Otherwise I can't justify trying this in productions. My test to try to

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Joseph Shraibman
Robert Hall wrote: Joseph, We're using Apache 1.3.27 on solaris with mod_jk2 to connect to two JBoss/Tomcat instances listening on separate ports. I experienced the same thing you described, all requests going to one of the jk2 ports. However, if I shutdown the JBoss/Tomcat instance that was

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-18 Thread Joseph Shraibman
So how do I reproduce these messages: Mar 18, 2004 2:33:31 PM org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 Mar 18, 2004 2:46:46 PM org.apache.jk.common.HandlerRequest decodeRequest WARNING: Error registering request ... which presumably are related to the memory leak?

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Joseph Shraibman
Robert Hall wrote: Hi, Actually, I'm leaning towards a bug in mod_jk2 since a change in workers2.properties resulted in everything (so far) working. The only extra detail I had to add was explicit reference to index.jsp for both app's. Did you have a chance to try the config change I suggested?

Re: how to use multiple jk2 connectors?

2004-03-18 Thread Joseph Shraibman
Robert Hall wrote: Hi, No offense intended, but I have to ask: o Does your jk2.log give any hints as to what is going on? Nope. o Did you try stopping the TC instance that is listening on 8009 to see if one or more of the others would respond? No, when I have time I'll try that on my test

Horrible memory leak in tomcat 5.0.19

2004-03-17 Thread Joseph Shraibman
I recently upgraded my production server from jk 1.2.5/tomcat 4.1.18 to jk 2.0.2/tomcat 5.0.19. I'm having a horrible memory leak now and need to restart tomcat frequently when it runs out of memory. I always had set the max memory to 512m, now after running around 50 minutes memory usage is

Re: Horrible memory leak in tomcat 5.0.19

2004-03-17 Thread Joseph Shraibman
Shapira, Yoav wrote: Hi, Does the memory leak occur when you run tomcat standalone? I can't run the production server in standalone, and I can't seem to hit my test server hard enough to reproduce the problem clearly. I'll keep trying. Can you point out its source e.g. by running with a

Re: Apache not starting with Mod_JK

2004-03-17 Thread Joseph Shraibman
Seems strange that apache would complain about a file only tomcat should deal with. Chris Haines wrote: Hello, I am trying to start Apache with mod_jk. When I try starting apache, I get the following error. I haven't modified the admin.xml file. If anyone can help, I would greatly appreciated

how to use multiple jk2 connectors?

2004-03-17 Thread Joseph Shraibman
I have multiple ip based virtual hosts, so in tomcat I configured three seperate engines with connectors on different ports, and in the apache VirtualHost I JkMount the worker that I configured in worker.properties to connect on a specific port. This works fine for mod_jk, but when I try

How to set CATALINA_OPTS?

2004-03-15 Thread Joseph Shraibman
My tomcat rc script looks like this: start) echo -n Starting tomcat: su - ${TOMCAT_USER} -c . ~/.bashrc ; CATALINA_OPTS=-Xmx512M $TOMCAT_HOME/startup.sh echo ;; ... but CATALINA_OPTS is not making it into startup.sh. What am I doing wrong? I don't like

Re: can't get tomcat 5 to work

2004-02-26 Thread Joseph Shraibman
What I really want is more error messages, so I can figure out what is going wrong with my webapps. Bill Barker wrote: You can get rid of the messages by setting: request.registerRequests=false in your jk2.properties file. However the error itself is harmless. Joseph Shraibman [EMAIL

Re: can't get tomcat 5 to work

2004-02-26 Thread Joseph Shraibman
Oswald Campesato wrote: Hello, Joseph: Perhaps you can try starting with startup.bat debug and/or copying some JSPs into webapps\ROOT or webapps\jsp-examples to see if the problem occurs. starting with startup.sh -debug doesn't produce any good error messages. Copying my webapp to the

can't get tomcat 5 to work

2004-02-26 Thread Joseph Shraibman
I set up tomcat 5 but when I try to view a jsp or servlet all I get is a blank page and these unhelpful messages in catalina.out: Feb 27, 2004 12:01:26 AM org.apache.jk.common.HandlerRequest decodeRequest WARNING: Error registering request Feb 27, 2004 12:01:27 AM

Re: Number Format

2004-02-26 Thread Joseph Shraibman
Quick and easy way: cast to an int Cui Xiaojing-a13339 wrote: Hello All, I need to format number 12345.00 to 12345, I use below code to do the format, but the result is 12,345. Could please give some advice about how to delete the separator. Thanks a lot. NumberFormat nf=

Re: crash on startup: java.util.zip.ZipException: Permission denied

2003-09-03 Thread Joseph Shraibman
I've discovered the problem is that I have a symlink to bsh-1.3b2.jar (beanshell) in shared/lib. I don't know why that is a problem but it is. I tried both 1.3.0 and 2.0b1 and they both have the problem, but 1.2b7 does not Joseph Shraibman wrote: I've been running tomcat 4.1.18 on rh9

crash on startup: java.util.zip.ZipException: Permission denied

2003-09-02 Thread Joseph Shraibman
I've been running tomcat 4.1.18 on rh9 with jdk 1.4.2 for a while. Suddenly today trying to start tomcat results in: java.util.zip.ZipException: Permission denied at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at

Re: crash on startup: java.util.zip.ZipException: Permission denied

2003-09-02 Thread Joseph Shraibman
Even if that would cause a webapp not to load, it wouldn't keep tomcat from starting, would it? Filip Hanik wrote: check your permissions on your libraries in WEB-INF/lib did you copy them in under a different user? Filip - To

Re: crash on startup: java.util.zip.ZipException: Permission denied

2003-09-02 Thread Joseph Shraibman
Filip Hanik wrote: actually looking at the stack trace, looks like a tomcat classloader, so this could be related to jar files in common/lib and server/lib and yes, this would keep tomcat from starting :) Filip All of those have global read permission, and haven't changed recently. So why would

Re: Form Data IE vs NS

2003-01-23 Thread Joseph Shraibman
-- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://xis.xtenit.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Memory leak with ThreadGroups

2003-01-23 Thread Joseph Shraibman
One of my classes creates a static ThreadGroup. I notice that when I update a class and tomcat reloads that context the ThreadGroup is still around. If the ThreadGroup is still around that means the old class is still around, which means that class loader is still around. Why is it still

Re: Memory leak with ThreadGroups

2003-01-23 Thread Joseph Shraibman
Sorry, forgot to mention: tomcat 4.1.18, jdk 1.4.1_01 on linux. Joseph Shraibman wrote: One of my classes creates a static ThreadGroup. I notice that when I update a class and tomcat reloads that context the ThreadGroup is still around. If the ThreadGroup is still around that means the old

Re: can tomcat do dynamic virtual hosts?

2003-01-05 Thread Joseph Shraibman
Turner, John wrote: Tomcat has an Alias element in server.xml. It goes under Host. OK thanks for pointing that out. Tomcat needs to do what it needs to do because a web app is more than just a directory that has content in it. Right, but sometimes you might want to lump

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Apache already supports dynamic virtual hosting. See http://httpd.apache.org/docs-2.0/vhosts/mass.html. That's what I'm talking about. The problem is that when connecting apache to tomcat you can't map into a contect directly, you only pass the request along to tomcat so somcat has to find the

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Sorry, having a bad keyboard day. 'contect' should be context and 'somcat' should be tomcat. Joseph Shraibman wrote: Apache already supports dynamic virtual hosting. See http://httpd.apache.org/docs-2.0/vhosts/mass.html. That's what I'm talking about. The problem is that when connecting apache

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Turner, John wrote: Hmmm...you lost me there. Yes, you do map to a Context directly, at least you do with JK. That's exactly what having a JK block for /examples, does, for example. With Apaches 'apachectl restart' or 'apachectl graceful' you can pick up both new virtual hosts and new JkMounts

mysterious parse exception on startup

2003-01-01 Thread Joseph Shraibman
If I put the latest xerces and xalan in tomcat/common/endorsed, I get the following error on startup. I don't get this with the xerces/xalan that comes with jdk 1.4.1. What is causing this? What *file* is this? Starting service Tomcat-Apache Apache Tomcat/4.1.18-LE-jdk14 Parse Fatal Error at

Re: mysterious parse exception on startup

2003-01-01 Thread Joseph Shraibman
trace. Jerry wrote: If it were me, I'd check server.xml carefully for nested comments, or an extraneous !-- or -- Jerry Joseph Shraibman wrote: If I put the latest xerces and xalan in tomcat/common/endorsed, I get the following error on startup. I don't get this with the xerces/xalan

can tomcat do dynamic virtual hosts?

2003-01-01 Thread Joseph Shraibman
Can tomcat do dynamic virtual hosts? I'm currently doing dynamic virtual hosts with apache + Jserv but I don't know how to do that with tomcat. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

FileDirContext and case sensitivity

2002-12-25 Thread Joseph Shraibman
The following is in the relase notes: [4.1.15] FileDirContext: allowLinking will also disable case sensitivity checks (which are relatively similar). What exactly does it mean when it says disable case sensitivity? Is that a windows thing? -- To unsubscribe, e-mail:

Re: why can't tomcat 4.1.17 can't find javamail?

2002-12-23 Thread Joseph Shraibman
My bean is in classes. Cox, Charlie wrote: is your bean in WEB-INF/classes(or lib) or in the same directory as mail.jar? did you review the classloading document to make sure your classses/libs are in the correct places? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

why can't tomcat 4.1.17 can't find javamail?

2002-12-19 Thread Joseph Shraibman
I tried putting the javamail jar in tomcat/shared/lib, tomcat/common/lib, and in myapp/WEB-INF/lib. I still get: java.lang.NoClassDefFoundError: javax/mail/internet/AddressException at mybean.init(mybean.java:56) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Re: why can't tomcat 4.1.17 can't find javamail?

2002-12-19 Thread Joseph Shraibman
Dodd Gatsos wrote: Still using Tomcat 4.0.3, so don't know if this is valid. I use Tomcat/lib I tried that and that didn't work either. Have to restart Tomcat after you place it in there though. mail.jar right? Right Don't know if you already had it working in 4.0.3 or something.

Re: jsps and servlets don't work

2002-12-18 Thread Joseph Shraibman
team is focusing on JK2, and ApacheConfig only works for JK, I'm not sure they will give it much attention. Worth a shot, though. John -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 7:22 PM To: Tomcat Users List Subject: Re: jsps

Re: ssl and mod_jk won't work

2002-12-18 Thread Joseph Shraibman
Nevermind, I worked around it by playing with VirtualHost directives. Now I want to create a standard conf file for including in VirtualHost directives to enable ssl. One of the things I want to do is CustomLog logs/serveramegoeshere-log.txt Is there any kind of macro expansion I can use? --

ssl and mod_jk won't work

2002-12-18 Thread Joseph Shraibman
I have a mod_jk.conf I include in my apache.conf If it looks like this: IfModule !mod_jk.c LoadModule jk_module /usr/local/apache2/modules/mod_jk.so /IfModule JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel warn ... I have no

Tomcat Documentation WAS: jsps and servlets don't work

2002-12-18 Thread Joseph Shraibman
Jerry Ford wrote: With all due respect and recognition to the enormous efforts you personally appear to have put into making Tomcat accessible, the documentation is neither comprehensive nor adequate, for either Tomcat or whatever is the connector du jour. There are pockets of good

Re: jsps and servlets don't work

2002-12-17 Thread Joseph Shraibman
-Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 7:36 PM To: Tomcat Users List Subject: Re: jsps and servlets don't work Turner, John wrote: Check the last error message: wc_get_worker_for_name ajp13. Your workers.properties file has a worker

Re: jsps and servlets don't work

2002-12-16 Thread Joseph Shraibman
but they didn't change anything. -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://xis.xtenit.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Configuring mod_jk2

2002-12-16 Thread Joseph Shraibman
documented? On Thu, 12 Dec 2002, Bill Barker wrote: ApacheConfig is for use with mod_jk 1.x. It doesn't work with jk2. With jk2, you only need the 'LoadModule' statement in httpd.conf. The rest of the configuration is handled by the 'jk2.properties' file. Joseph Shraibman [EMAIL

Re: jsps and servlets don't work

2002-12-16 Thread Joseph Shraibman
=/ worker.list=test1 worker.test1.type=ajp13 worker.test1.host=d1.selectacast.net #worker.test1.port=8008 worker.test1.port=8009 == Where can I find detailed information on the workers file (besides the howto) and the autogeneration? -- Joseph Shraibman [EMAIL PROTECTED

Re: jsps and servlets don't work

2002-12-16 Thread Joseph Shraibman
, not test1. Ah, I was wondering about that. Is there any way to get the autogenerated conf file to have test1 instead of ajp13? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://xis.xtenit.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RemoteAddrValve and ajp13 connections

2002-12-16 Thread Joseph Shraibman
className=org.apache.catalina.valves.RemoteAddrValve allow=real ip of the server/ -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://xis.xtenit.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: app roll out.

2002-12-16 Thread Joseph Shraibman
But that doesn't explain why apache would be any better at that than tomcat. James Higginbotham wrote: That's probably the case if you were using cookies to track sessions. The cookie spec mentions that the port is also part of the scope of a cookie, so when you went from www.foo.com:80 to

Apache threads and tomcat connections

2002-12-16 Thread Joseph Shraibman
Will apache create on connection to tomcat for each child server, or for each thread? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to build jk2?

2002-12-12 Thread Joseph Shraibman
Turner, John wrote: Using configure is familiar to most systems administrators. once you find it. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Where did the tomcat javadocs go?

2002-12-12 Thread Joseph Shraibman
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/ is empty. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Configuring mod_jk2

2002-12-12 Thread Joseph Shraibman
I have in my server.xml: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk2.so / ... which generated: ## Auto generated on Thu Dec 12 16:58:06 EST 2002## IfModule !mod_jk.c LoadModule jk_module

Re: How does mod_jk2 find properties file.

2002-12-12 Thread Joseph Shraibman
Bill Barker wrote: One of the reasons that jk2 is a beta :-). It looks like it is trying to jk2 is beta? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Configuring mod_jk2

2002-12-12 Thread Joseph Shraibman
Jacob Kjome wrote: Hello Joseph, Yeah, that is a problem. That line should be output as a relative path, but I've never been able to figure out how to set up the aut-generation in the Listener to do that for me without messing other stuff up. What I do is auto-generate once, make a copy and

jsps and servlets don't work

2002-12-12 Thread Joseph Shraibman
I finally got apache to connect to tomcat using mod_jk, but jsps and servlets don't work. Going to a jsp just shows the source. Is having the web.xml in my conf directory enough, or do I have to include in some other config file? To see what is happening:

How to build jk2?

2002-12-11 Thread Joseph Shraibman
On http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html it talks about configure scripts, but the actual source I downloaded from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/ doesn't have configure scripts. It does have README.txt that says:

Re: How to build jk2?

2002-12-11 Thread Joseph Shraibman
or even my own site at: http://www.johnturner.com/howto That said, building the Apache side of the connectors is fairly straight-forward, yeah, easy once you figure out you need to run the configure script in the native2 directory. Why isn't there a README in the tarball? -- Joseph Shraibman