Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-27 Thread Rainer Jung
On 27.10.2011 06:02, Anantaneni Harish wrote: > -Original Message- > From: Anantaneni Harish > Sent: Wednesday, October 26, 2011 3:01 PM > To: Tomcat Users List > Subject: RE: cannot read complete HTTP request body. It reads only 8192 > characters > > Thanks for your response. > > The i

Re: Make Errors for JK-1.2.32 solaris/sparc

2011-10-24 Thread Rainer Jung
On 24.10.2011 19:24, Ben wrote: > Beryle Simmons RaymondJames.com> writes: > >> >> Just checking to see in anyone had any thoughts on this one. >> >> -- > >> >> I normally use the solaris/sparc binary for mod_jk, but

Re: URI mapping

2011-10-23 Thread Rainer Jung
On 22.10.2011 18:42, Eldon Olmstead wrote: > Thanks for the response Mark, > > Ok so if I want to keep mod_jk as part of this, ( it is what we use at > work ), then if I understand right, I have no choice but to make tomcat > support /tomcat7/ in the path. Do I do this just by moving all the > web

Re: Problems with mod_jk 1.2.31

2011-10-13 Thread Rainer Jung
On 13.10.2011 06:16, Jorge Medina wrote: > I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance > using mod_jk (1.2.31) with the AJP protocol. > I am getting errors like the sample below frequently (a few hundred > times a day). The server does not have a heavy load, it serves abou

Re: parallel webapp initializa​tion

2011-10-10 Thread Rainer Jung
On 10.10.2011 19:35, Felix Schumacher wrote: > Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc: >> +1 for this enhancement. With configurable number of threads (default: >> Runtime.getRuntime().availableProcessors()) >> >> I would also like to expand/add to this request: Making contexts av

Re: Log4j per context admin managable configs?

2011-10-06 Thread Rainer Jung
On 07.10.2011 03:12, Ilya Kazakevich wrote: > Hello, > > My app uses log4j. I have several apps running in my tomcat 6 in different > contexts. I want to log them to different files but filenames (as well as > levels and even appenders) should be configurable by admin. > > Something like this: >

Re: ISAPI Redicect - Request Entitiy too large

2011-10-06 Thread Rainer Jung
On 06.10.2011 10:17, Alexander Diedler wrote: > Yes, that´s it. We changed the size to 12k and everything works fine. > It is a lot tricky, that the default value is not fitting in a default > environment. > Thanks to all for your help. I improved logging in this situation a bit for the next relea

Re: Problem with Tomcat 6.0.33 Session replication

2011-10-06 Thread Rainer Jung
On 05.10.2011 16:41, Tobias Quosigk wrote: > I'm running 2 servers with Tomcat 6.0.33 and session replication. > Tomcat session replication only works with Tomcat starting the first time > the server (Windows Server 2008 R2 64-bit) boots. > > When I stop and then start the Tomcat service via Win

Re: ISAPI Redicect - Request Entitiy too large

2011-10-06 Thread Rainer Jung
On 05.10.2011 12:53, chris derham wrote: > Alexander, > > If you are using authorisation header, then you are using SPNGEO. This > header encodes the users group membership in the authorisation header. By > default tomcat has an 8k maximum header, whilst users belonging to many > groups can have a

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-30 Thread Rainer Jung
POST header You cut out the relevant part. I was talkingabout the Tomcat answer, you saw it in the client request. That's now the same ;) Rainer > On Thu, Sep 29, 2011 at 1:49 PM, Rainer Jung wrote: >> On 29.09.2011 18:28, rapponcape wrote: >>> Tomcat version 7.0.6 listening o

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-29 Thread Rainer Jung
On 29.09.2011 18:28, rapponcape wrote: > Tomcat version 7.0.6 listening on local machine 10.3.4.7 and accepting > incoming POST connections from 4 remote machines, 10.12.5.10[2-5]. > Configured in standalone mode, using HTTP connector. 7.0.6 was not ment for production use. Start with the latest 7

Re: HTTP Header requests for siteminder are not passing through ISAPI filter to Tomcat to Webfocus application.

2011-08-17 Thread Rainer Jung
On 16.08.2011 22:00, Lui, Christopher wrote: > Hi - I'm trying to migrate my IBI Web Focus application to new servers with > an upgraded OS and the web focus application is not receiving the sitminder > HTTP Header request through the ISAPI filter through to Tomcat. > > Our server is setup with

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-15 Thread Rainer Jung
On 15.08.2011 21:20, Pid wrote: > On 15/08/2011 19:09, Lataxes, Karl wrote: >> I wrote the code to generate the session id and add it as an HTTP header at >> the recommendation of someone on the users list. The problem now is >> appending the jvmroute to the generated session id in order to get

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-15 Thread Rainer Jung
b_worker.c (946): searching worker for partial > sessionid 2000-1-200-ap-1313413815567 > [Mon Aug 15 09:10:18.495 2011] [3275:1] [debug] > get_most_suitable_worker::jk_lb_worker.c (1001): found best worker tomcat7C > (tomcat7C) using method 'Request' > > You can see

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-13 Thread Rainer Jung
On 12.08.2011 15:30, Lataxes, Karl wrote: > The jvmRoute's for both server.xmls are properly set to the worker names and > are not commented out. This was the first thing I verified. > > > > > Here are the settings in workers.properties (worker tomcat7A identical to > tomcat7C excep

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-12 Thread Rainer Jung
On 11.08.2011 15:32, Lataxes, Karl wrote: > OK, I'm getting close. On the server side, I'm adding a "Set-Cookie" header > containing the session id I want to use. The client emulator I am using has > similarly been modified to add a "Cookie" header with the session id sent by > the server, but

Re: Multiple Tomcat Servers connect to IIS

2011-08-10 Thread Rainer Jung
On 10.08.2011 18:59, Christopher Schultz wrote: > Alexander, > > On 8/10/2011 8:12 AM, Alexander Diedler wrote: >> my uriworkermap.properties /manager=worker1 > > Mapped /manager > >> /manager/*=worker1 /docs=worker1 /*=worker1 /go/*=worker1 >> /go=worker1 /show/*=worker1 > >> # Mapping all UR

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-09 Thread Rainer Jung
On 09.08.2011 23:08, André Warnier wrote: > Rainer Jung wrote: >> On 09.08.2011 20:45, Lataxes, Karl wrote: >> Are you aware of the fact, that a cookie *is* an additional HTTP header, >> namely the header named "Cookie"? So if you can set HTTP headers to >>

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-09 Thread Rainer Jung
On 09.08.2011 20:45, Lataxes, Karl wrote: > Our clients cannot send or process JSESSIONIDs as they are not web > browsers, but proprietary equipment running embedded software that > sends HTTP POST messages to a servlet on our internal network. The > servlet keeps track of sessions internally by a

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Rainer Jung
ess I can try to switch to log4j and see if I get a different > outcome. Or check with version 1.0.6 or even the soon to be announced 1.0.7 just to make sure. Regards, Rainer > On Thu, Aug 4, 2011 at 1:36 PM, Rainer Jung wrote: >> On 04.08.2011 09:44, Mladen Turk wrote: >>>

Re: Tomcat not releasing threads on Solaris 10

2011-08-04 Thread Rainer Jung
On 04.08.2011 19:44, Dante Bell wrote: > Hi Igor & Chuck, > > I don't think I specified, but they are running prefork 2.2 (updated > blog to show this: > http://wp.me/plPvN-ai) So cachesize has been deprecated and is now > connection_pool_size. The notes state that when running Apache prefork, > t

Re: Tomcat 6.0.32 ClientAbortException java.io.IOException

2011-08-04 Thread Rainer Jung
On 04.08.2011 19:34, Alec Swan wrote: > Hello, > > I agree that this is not a bug in Tomcat code, but I would appreciate > any help with troubleshooting this. > > Let me tell you about our app. We have a thousands of Metro SOAP > clients which hit our Tomcat server. Some SOAP HTTP requests take o

Re: Modular Deployment

2011-08-04 Thread Rainer Jung
On 04.08.2011 12:44, spr...@gmx.eu wrote: > Hi, > > I have an application which has a core app, some optional modules and config > files. > > Until now I deploy the app into /webapps (NOT as war-File), copy needed > optional modules into WEB-INF/classes or lib and maintain config files > outsid

Re: Tomcat not releasing threads on Solaris 10

2011-08-04 Thread Rainer Jung
> - >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >> >> ------

Re: 503 error - service not available

2011-08-04 Thread Rainer Jung
On 04.08.2011 04:28, Dave Filchak wrote: > > Not sure what happened here. The app was working just fine until today. > I am getting a 503 Service temporarily unavailable error when trying to > connect to a tomcat site using Apache as the front end and mod_jk > connectors. I have verified that tomc

Re: Log ownership when running Tomcat using jsvc

2011-08-04 Thread Rainer Jung
On 04.08.2011 09:44, Mladen Turk wrote: > On 08/03/2011 10:11 PM, Jorge Medina wrote: >> I run Tomcat in a Solaris 10 SPARC machine using jsvc through a init >> script. >> >> jsvc is started by root, but I specify the "-user" option to change to >> the "application" user. >> I use the option "-outf

Re: Tomcat 6.0.32 ClientAbortException java.io.IOException

2011-08-04 Thread Rainer Jung
On 04.08.2011 18:26, Alec Swan wrote: > Hello, > > We are experiencing a problem on our production servers causing our > HTTP clients to hang. I apologize for cross-posting with Metro forum > but this is a critical problem for us. > > It looks like client SOAP HTTP requests get dropped/terminated

Re: Tomcat 7.0.11: "Find Leaks" Button says there is a leak... then after a few minutes, it says the opposite (without any restarts in between)!

2011-07-30 Thread Rainer Jung
On 31.07.2011 01:10, Brian Braun wrote: > Hi, > > I'm using Tomcat 7.0.11. I have noticed that after a reload of an app, the > "Find Leaks" button sometimes declares that there is a leak. But after a few > minutes (without restarting/stopping/reloading the app) it says that there > are no leaks. >

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-29 Thread Rainer Jung
ADER: accept 'text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2' > HEADER: connection 'keep-alive' > HEADER: content-type 'application/x-www-form-urlencoded' > HEADER: content-length '134' > > PARAMETER INFORMATION > PARAM: '' >

Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-07-29 Thread Rainer Jung
On 28.07.2011 21:20, Filip Hanik - Dev Lists wrote: > that's an academic exercise for you, in the meantime, add in this option > to your startup options > -XX:-DisableExplicitGC I think Filip wanted to suggest -XX:+DisableExplicitGC The plus or minus after the colon decides whether the switch is

Re: thread name in extended access log valve

2011-07-20 Thread Rainer Jung
On 20.07.2011 20:15, Anthony J. Biacco wrote: > I was using AccessLogValve in Tomcat 7 and am now starting to play with > ExtendedAccessLogValve, but can't find an equivalent to AccessLogValve's > %I identifier. > Is there one? No, patches welcome. I very recently added docs for this valve, which

Re: Destroyed sessions without timeout or logout

2011-07-20 Thread Rainer Jung
On 20.07.2011 18:35, smarto wrote: > Hi, > > my SessionListener logs the creation and destruction of sessions. Then add logging the code stack and you will get an idea, where the invalidate originated. Something like log.info("Session destryoes"); changes to log.info("Session destroyed", new Thr

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Rainer Jung
On 20.07.2011 01:32, Monsieur fsfu wrote: > Hi, > > I was checking out the parallel deployment feature of tomcat 7 and > encountered an issue with PermGen space of JVM. After the initial > deployment (xyz##001.war), PermGen space reaches ~120mb of space and > after parallel deployment (xyz##002.wa

Re: RedHat and mod_jk

2011-07-15 Thread Rainer Jung
On 15.07.2011 20:54, Mark Eggers wrote: > I find it a bit odd as well. It appears that mod_jk was never really a part > of Fedora. jpackage.org maintained an RPM for Apache 2.0 and RedHat platforms > until about Fedora 3 or Fedora 4, and then it was dropped. I don't find a > package in Fedora 14

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-15 Thread Rainer Jung
URL, you could likely design a solution using mod_proxy_balancer. Regards, Rainer > -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Friday, July 15, 2011 9:44 AM > To: users@tomcat.apache.org > Subject: Re: Sticky Session Not Working

Re: Binary of mod_jk.so for Apache 2.2.x

2011-07-15 Thread Rainer Jung
On 15.07.2011 14:20, Jeff Allison wrote: > Isn't mod_jk deprecated in favour of mod_ajp. No Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: mod_jk question about lingering close_waits

2011-07-15 Thread Rainer Jung
On 15.07.2011 12:09, Edward Quick wrote: > Thanks for your replies. I found the solution was to set JkWatchdogInterval > (by default this is not on). I set it to 30, and observed the FIN_WAIT > disappears after 60 seconds (this could be the worker.maintain setting?) and > the CLOSE_WAIT thread d

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-07-15 Thread Rainer Jung
On 15.07.2011 12:48, Lataxes, Karl wrote: > Our servlet assigns a session id to a client when it initially contacts the > server. The session id consists of "session-id", a unique client identifier, > and the current time in milliseconds, which is used as session identification > for subsequent

Re: response headers missing ?

2011-07-14 Thread Rainer Jung
On 14.07.2011 12:29, André Warnier wrote: > Hi. > > This is a bit of a side question, or let's say a question-by-proxy. > > I happen to be also subscribed to a support list for mod_perl, and > someone there made the following comment as part of a post : > > quote > > We have 100+ web servers wh

Re: mod_jk question about lingering close_waits

2011-07-13 Thread Rainer Jung
On 13.07.2011 23:16, André Warnier wrote: > Hi. > > I am not the one who can really answer your question, but > > 1) this is the right list for Apache/Tomcat connectors (mod_jk among them) > > 2) a question : do these CLOSE_WAIT sockets bother you for some specific > reason ? > In a totally diff

Re: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-13 Thread Rainer Jung
On 13.07.2011 00:36, eurotrans-Verlag wrote: > Hmm, could it be that the Java ImageIO is re-using OutputStreams after > calling ImageIO.write(img, "PNG", out), so that I'm getting such a > IllegalStateException? (I think I read somewhere that Tomcat is recycling > OutputStream objects) > Maybe tha

Re: tc 7 out-of-box won't run localhost issue on 8005 a vulnerability?

2011-07-12 Thread Rainer Jung
On 12.07.2011 22:08, David Brown wrote: > david@dobbeltganger:~$ ping -c 3 localhost > PING localhost.com (64.99.64.32) 56(84) bytes of data. > 64 bytes from 64.99.64.32: icmp_seq=1 ttl=246 time=16.9 ms > 64 bytes from 64.99.64.32: icmp_seq=2 ttl=246 time=17.0 ms > 64 bytes from 64.99.64.32: icmp_

Re: mod_jk restarting during uploads of large files

2011-07-06 Thread Rainer Jung
It seems it is not a mod_jk problem. mod_jk never shuts down Tomcat, but obviously your Tomcat shuts down during processing the request. I would - update Tomcat *and* the service wrapper (jdvc) to the most recent patch update (e.g. Tomcat 5.5.33). - run Tomcat once without the service wrapper to

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Rainer Jung
On 30.06.2011 22:50, Christopher Schultz wrote: > Konstantin, > > On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >> 2011/6/30 Bob DeRemer : >>> virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> > >> The above should be an absolute path. > >> You can use system variables, e.g. >> ${c

Re: tomcat recovery after hang

2011-06-28 Thread Rainer Jung
On 27.06.2011 18:47, Carlos Juarez wrote: > > Good morning guys. > > I've been working in a RHEL4 box with Apache, two tomcats 7.0.12 trying to > configure mod_jk to work like a high available enviroment > here is my workers.properties: > > ### > worker.list=loadbalancer,jks

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-25 Thread Rainer Jung
On 24.06.2011 18:42, David Wall wrote: > > > On 6/24/2011 5:48 AM, Rainer Jung wrote: >> On 24.06.2011 14:08, Tim Funk wrote:Looks like this is the root cause >> from DefaultServlet ... >>> While the ISE is caught ... since the mimetype for js was changed - it

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Rainer Jung
On 24.06.2011 14:08, Tim Funk wrote: > Looks like this is the root cause from DefaultServlet ... > > While the ISE is caught ... since the mimetype for js was changed - it > doesn't match the fallback method > > try { > ostream = response.getOutputStream(); >

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread Rainer Jung
On 24.06.2011 03:47, David Wall wrote: > >> >>> out.write("\n"); >>> pageContext.include("/static/esf/esf.js",true); >>> out.write("\n"); >>> >>> But the exception IllegalStateException is thrown on the include of >>> the esf.js file. The reason is null, so there's no more details. I >>> find it

Re: Slower start with Tomcat 7.0.14 and higher

2011-06-23 Thread Rainer Jung
On 22.06.2011 19:20, Jess Holle wrote: > On 6/22/2011 10:16 AM, Jess Holle wrote: > The only issue I found at this level is that both > tomcat-juli-adapters.jar and tomcat-juli-adapters.jar are scanned. I'd > think that all the Tomcat "extras" jars should be in Tomcat's > out-of-the-box list of ja

Re: Slower start with Tomcat 7.0.14 and higher

2011-06-20 Thread Rainer Jung
On 20.06.2011 21:41, Jess Holle wrote: > On 6/20/2011 2:16 PM, Mark Thomas wrote: >> It should have improved for the majority of use cases in 7.0.14 but at >> the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib. >> 7.0.16 should have returned scanning of JARs in CATALINA_[HOME_BASE]/l

Re: [cluster] jvmRoute question

2011-06-20 Thread Rainer Jung
On 20.06.2011 18:35, János Löbb wrote: > Hi, > > To take a tomcat instance out from a cluster, now I have a no-cluster.xml and > in content it is exactly the same as the server.xml, except the > > tag is commented out. > > The question is should I also take out the jvmRoute="tc24x" variable f

Re: Adding a webapp via the API to a running instance

2011-06-20 Thread Rainer Jung
Hi Benson, On 20.06.2011 17:51, Benson Margulies wrote: > Reading org.apache.catalina.startup.Tomcat.addWebapp(Host, String, > String, String), I don't understand the following: > > // prevent it from looking ( if it finds one - it'll have dup error ) > ctxCfg.setDefaultWebXml("or

Re: mod_jk problem

2011-06-14 Thread Rainer Jung
On 14.06.2011 13:07, Orgil Tulga wrote: > Hello All, > > I am using apache and tomcat with mod_jk. > apache version : 2.2.19 > tomcat version : 6.0 > mod_jk version : 1.2.30 > > My web runs through servlet. > > http://domainname:8080/contact.shtml - is working > http://domainname/contact.sh

Re: Mod_jk working for failover

2011-06-12 Thread Rainer Jung
with higher distance. Regards, Rainer > 2011/6/11 Rainer Jung > >> On 08.06.2011 12:12, Felix Schumacher wrote: >>> Am Mittwoch, den 08.06.2011, 09:47 +0200 schrieb Manuel Fernández >>> Panzuela: >>>> Yes Felix, you are right i am working with 2 inst

Re: specifying the content-type

2011-06-11 Thread Rainer Jung
On 07.06.2011 21:29, Christopher Schultz wrote: > Bernd, > > On 6/7/2011 2:23 PM, Lentes, Bernd wrote: >> Christopher Schultz wrote: >>> >>> How did you do it? If you use >> CONTENT="text/html" />, it should override any Content-Type >>> sent in the HTTP response headers > >> Yes, we used this. B

Re: serving pre-compressed files

2011-06-11 Thread Rainer Jung
On 09.06.2011 18:22, Christopher Schultz wrote: > Jesse, > > On 6/9/2011 8:34 AM, Jesse Farinacci wrote: >> I just wrote a >> quick javax.servlet.Filter. It sanity checks: 1) no ?gzip=false >> parameter (a la Tomcat's compression filter), and 2) Accept-Encoding: >> {,x-}gzip in any of the headers,

Re: Tomcat shutdown issues

2011-06-11 Thread Rainer Jung
On 10.06.2011 16:55, Caldarale, Charles R wrote: >> From: April Easton [mailto:aeas...@shawneecourt.org] >> Subject: Tomcat shutdown issues > >> I don't see any of my threads in there > > Look harder: > >> "Worker-JM" prio=3D10 tid=3D0x5d7a1800 nid=3D0x521f in Object.wait() >> a

Re: Terminating long running request threads

2011-06-11 Thread Rainer Jung
On 11.06.2011 09:30, Afkham Azeez wrote: > Folks, > Is there any API to get hold of Tomcat's Connector thread pools? Each request is registered with an MBean in the MBeanServer. As long as the request is running, the MBean contains additional info, like the URI, when the request started, the threa

Re: Mod_jk working for failover

2011-06-11 Thread Rainer Jung
On 08.06.2011 12:12, Felix Schumacher wrote: > Am Mittwoch, den 08.06.2011, 09:47 +0200 schrieb Manuel Fernández > Panzuela: >> Yes Felix, you are right i am working with 2 instances. >> I want primary node receives all requests and on failure send requests to >> the secondary node. >> Is it possib

Re: JkExtractSSL not sending SSL information to tomcat

2011-05-27 Thread Rainer Jung
On 25.05.2011 15:18, Christopher Schultz wrote: > André, > > On 5/24/2011 7:13 PM, André Warnier wrote: >> Christopher Schultz wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Marc, >>> >>> On 5/24/2011 10:56 AM, Marc Boorshtein wrote: I've setup a pretty generic httpd(2.2

Re: tomcat and apache log entry correlation with mod_jk

2011-04-06 Thread Rainer Jung
On 05.04.2011 22:44, Anthony J. Biacco wrote: FYI, I have this tentatively working with mod_unique_id by doing: Apache config: RequestHeader set UNIQUE_ID %{UNIQUE_ID}e JkEnvVar UNIQUE_ID Tomcat accesslogvalve pattern: %{UNIQUE_ID}i I might use it like this, I might not. They

Re: Issue with mod_jk

2011-03-30 Thread Rainer Jung
On 30.03.2011 17:23, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/29/2011 3:06 AM, Rainer Jung wrote: On 23.03.2011 22:29, Lance Campbell wrote: I discovered an issue with mod_jk. In the workers.property file I miss typed lbFactor=2 with lbactor=2

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
Additional remark: I still think you should try my first suggestion, because overall the config is much simpler But if for some reason you need the setup like you tried already, you can trick mod_jk to use the right worker: worker.tomcatSSL1.domain=tomcat1 worker.tomcatSSL2.domain=tomcat2 wil

Re: Simulating HTTPS in terminated SSL/Apache 2/Tomcat 6 cluster

2011-03-29 Thread Rainer Jung
On 29.03.2011 12:07, Richard Levy wrote: Hi all, First of all, sorry for the long post, but the reasoning and architecture requires explanation to get the full understanding of the situation. We are currently migrating our website from Oracle 10g to Apache 2/Tomcat 6.0.29. The site itself is a

Re: Tomcat + apache + mod_jk

2011-03-29 Thread Rainer Jung
On 24.03.2011 15:55, ar...@bca-group.com wrote: For the first time we have received this error (many times). Looks to me like tomcat cannot talk to apache to me. Can anyone shed any light on this? Windows Server 2003 Tomcat: 6.0.16 Apache: 2.2 JDK: 1.6.0_23 Tomcat and Apache on same box so I

Re: Issue with mod_jk

2011-03-29 Thread Rainer Jung
On 23.03.2011 22:29, Lance Campbell wrote: I discovered an issue with mod_jk. In the workers.property file I miss typed lbFactor=2 with lbactor=2. Mod_jk was able to continue to work which I appreciate. But I would have liked to have received an error message letting me know that I had a typo.

Re: Mod_JK inserted header case sensitivity issue

2011-03-07 Thread Rainer Jung
Hi John, could you please try the patch I applied in r1078762: http://svn.apache.org/viewvc?view=revision&revision=1078762 Regards, Rainer On 29.01.2011 16:39, Mladen Turk wrote: On 01/29/2011 12:45 PM, Jon Forster wrote: Mladen Finding any Sun documentation can be a painful experience sin

Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-17 Thread Rainer Jung
On 13.01.2011 00:36, Andy Wang wrote: Aahh, having the maintenance thread do a periodic probe would be awesome. I see what you mean about parallel probing delaying request handling, but what would you think about modifying the loop so that after going through all the JK_WORKER_USABLE() workers t

Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-12 Thread Rainer Jung
On 12.01.2011 00:59, Andy Wang wrote: I'm not sure, but it looks like the service() function in jk_lb_worker.c calls puts a recovering worker into the JK_LB_STATE_PROBE state and then doesn't set it to JK_LB_STATE_OK until after the end->service() call. I think this allows a second thread to com

Re: Apache Process going high even after restart of backend server tomcat

2011-01-11 Thread Rainer Jung
On 10.01.2011 17:00, Amol Puglia wrote: Hello Team, I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat connectivity :- mod_jk when i have ch

Re: realm authentication no longer works through apache - mod_jk after upgrade still works via straight tomcat 8080

2011-01-11 Thread Rainer Jung
On 11.01.2011 10:40, David Sperling wrote: Hi- I recently upgraded tomcat, apache, apr and mod_jk. Now when I access via apache --> mod_jk on port 80 ie. www.mydomain.com/myappname/ the Velocity login page displays fine but after hitting the login button /admin/j_security_check displays in the

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Rainer Jung
On 06.01.2011 21:22, Ziggy wrote: Please see my previous response re: open source tools. :) As i mentioned earlier, the project that i need to deploy this tool will not allow any open source tool without it being approved which involves a long security vetting process. I appreciate that there a

Re: Tomcat7 with mod_jk

2011-01-04 Thread Rainer Jung
On 04.01.2011 13:41, Mark Thomas wrote: On 04/01/2011 12:36, Rainer Jung wrote: That listener was only used to generate automatic mod_jk configurations from Tomcat deployments. After starting Tomcat the config was written out and you had to manually copy it into your Apache/mod_jk installation

Re: Tomcat7 with mod_jk

2011-01-04 Thread Rainer Jung
Hi, On 04.01.2011 13:27, ma...@geosar.ch wrote: Hello, why I get this error:java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig with tomcat6 this worked: Is changend something in tomcat7 That listener was only used to generate automatic mod_jk configurations from Tomcat dep

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Rainer Jung
On 23.12.2010 00:08, Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. I'm sure it's some framework/tool they are using. The question now is, if I can't get

Re: How to put restrictions to mod_jk's log

2010-12-21 Thread Rainer Jung
On 21.12.2010 20:56, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kikuchi, On 12/20/2010 10:26 PM, Yu Kikuchi wrote: My Environment: Apache 2.2.11 mod_jk 1.2.30 When my system is highly-loaded, the messeges are printed in mod_jk.log. [mod_jk.log] [Tue Dec 21

Re: Does mod_dosevasive work in this situation?

2010-12-21 Thread Rainer Jung
On 21.12.2010 14:10, AngeloChen wrote: Hi, I have tomcat running behind apache http server using mod_proxy, I'd like to stop some DOS attacks, and thinking of installing http://www.zdziarski.com/blog/?page_id=442 mod_evasive , is this effective considering all the traffic is being proxied to tom

Re: Tomcat vs. web sockets

2010-12-14 Thread Rainer Jung
On 14.12.2010 14:27, Jess Holle wrote: On a related note, we use the JK connector and a front-end web server, most often Apache, to load balance requests to multiple back-end Tomcats. Is there a plan to add web socket support to Apache and the JK connector? Or does one immediately have to jump in

Re: mod_jk is not working correctly

2010-12-13 Thread Rainer Jung
Don't ignore the rest of the recommendation! At least not for a long time. Rainer On 13.12.2010 15:06, Kaps, Michael wrote: Thank you very much, that was it! Best regards Michael -Ursprüngliche Nachricht- Von: Rainer Jung [mailto:rainer.j...@kippdata.de] Gesendet: Monta

Re: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-13 Thread Rainer Jung
On 13.12.2010 14:40, Caldarale, Charles R wrote: From: Luca Gervasi [mailto:tom...@ashetic.net] Subject: [Mostly OT] Sweeping the permgen space: is that a good thing? Studying the JVM, i understand that the permgen is never sweeped by GC. Not sure whether you mean that GC ignores PermGen, or

Re: mod_jk is not working correctly

2010-12-13 Thread Rainer Jung
On 13.12.2010 14:04, Kaps, Michael wrote: Hello together, I've a problem with mod_jk (Apache2 + Tomcat 5.5). Unfortunately if I try to request jsp-Files via Port 80 (Apache2) I only ge= t the source code back. But if I try to request the same files on port 8180 through Tomcat, the pag= e is co

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-12 Thread Rainer Jung
On 12.12.2010 19:09, Konstantin Preißer wrote: I have one additional question about the ISAPI Redirector (I have chunked encoding enabled): In my isapi redirector's log, a lot of lines look like this (I removed the date prefix): [1764:3472] [error] iis_write::jk_isapi_plugin.c (1297): Vector wr

Re: minSpareThreads maxSpareThreads property

2010-12-10 Thread Rainer Jung
On 10.12.2010 16:06, Christoph Kukulies wrote: Am 10.12.2010 14:02, schrieb André Warnier: Christoph, compare this page : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Standard_Implementation to this page : http://tomcat.apache.org/tomcat-5.5-doc/config/http.html In other words, t

Re: About mod_jk's retry setting

2010-12-10 Thread Rainer Jung
On 10.12.2010 04:43, Yu Kikuchi wrote: Hello All. My Environment: RHEL 5.3 Apache 2.2.11 mod_jk 1.2.30 JBoss 5.0.0 GA I have used mod_proxy_ajp to connect Apache and Tomcat(in JBoss). But I decided to use not mod_proxy_ajp but mod_jk 1.2.30. In the default setting of "mod_proxy_xxx", i

Re: Tomcat dying on its own

2010-12-07 Thread Rainer Jung
On 07.12.2010 12:27, Ronald Klop wrote: Op dinsdag, 7 december 2010 09:52 schreef Rainer Jung : On 06.12.2010 23:36, Guillaume Carbonneau wrote: When starting Tomcat interactively you should be aware that some shells kill all child processes when you log out (or get logged out automatically

Re: Tomcat dying on its own

2010-12-07 Thread Rainer Jung
On 06.12.2010 23:36, Guillaume Carbonneau wrote: On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko wrote: 2010/12/6 Guillaume Carbonneau: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.

Re: Place .ini conf file inside the war package.

2010-12-05 Thread Rainer Jung
On 04.12.2010 23:07, Pid wrote: On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called.properties. Snippet of code that can be placed in a ServletContextListener. String resource = "some.properties"; InputStream in = this.getClass().getClassLoader().

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Rainer Jung
On 02.12.2010 16:47, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome Sylvain, and Congratulations! Regards, Rainer ---

Re: org.apache.jasper.util.Entry object Heap Size

2010-11-25 Thread Rainer Jung
On 24.11.2010 21:01, Konstantin Kolinko wrote: 2010/11/24 Christopher Schultz: On 11/24/2010 6:31 AM, amitruwali wrote: Please find below information: Tomcat version: 7.0.2 JDK : Java 1.6 [Class is org.apache.jasper.util.Entry] Class exists in the jar : jasper.jar Path: /lib/jasper.jar $ wget

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-25 Thread Rainer Jung
On 22.11.2010 20:16, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congrats! Keep up the good work. Rainer ---

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-15 Thread Rainer Jung
André, On 14.11.2010 20:11, André Warnier wrote: For the "using JMX clients" page, may I recommend : http://code.google.com/p/jmxsh/ which for Java ignorami of my level, is a useful tool to do nifty things in a scripting (non-graphic) mode. I use it only for really simple things, but I have the

Re: [OT] SecurityManager and Java Policy Files

2010-11-10 Thread Rainer Jung
For debugging purposes, this http://blogs.sun.com/xuelei/entry/fine_granularity_diagnosis_on_security might be useful. And once you succeeded there's always room for improvement, e.g. http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html ;) Regards, Rainer ---

Re: Tomcat as Windows service - I can't set more than 768 Mb of memory

2010-11-08 Thread Rainer Jung
On 08.11.2010 22:34, icarrara wrote: I manually installed Tomcat 6.0.29 on Windows Server 2003 R2 and all was fine. Then I use the "service install Alfresco" command to install Tomcat as Windows service. Using the "tomcat6w //ES//Alfresco" command I'll set up the "-XX:MaxPermSize=256m" in the

Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Rainer Jung
On 08.11.2010 14:46, Anthony Tuffour wrote: Hi all, I managed to setup IIS ISAPI redirect successfully to feed a Geoserver wms to IIS web application. I used the configuration guide below to do the set up; http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html http://tomcat.apache.

Re: Malicious host is crashing my server

2010-11-07 Thread Rainer Jung
On 07.11.2010 18:23, Assaf wrote: Hello, I have a recurring visitor (from a fixed IP address: bzq-79-177-23-102.red.bezeqint.net) who is constantly visiting my site and EACH time causes the server to crash. My server actually gets a JDBC begin failed error for the next http calls. Can you elab

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Rainer Jung
On 05.11.2010 16:17, Rainer Frey wrote: On Friday 05 November 2010 12:51:25 Bill Wang wrote: Hi All, I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the servi

Re: Is there a GOOD AJP-based cluster reference?

2010-11-05 Thread Rainer Jung
On 04.11.2010 21:24, Mark Eggers wrote: Interesting. I'll have to try something similar for my situation. What I'm trying to do is a bit of the reverse. I want hostname:80/tomcat-host/manager to end up at (tomcat-host) /manager for four different tomcat hosts. The forward stuff works fine, but

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-03 Thread Rainer Jung
On 02.11.2010 14:20, Caldarale, Charles R wrote: From: rujin raj [mailto:rujin...@gmail.com] Subject: Connector Setting Problem in tomcat 6.0.29 I am using tomcat 6.0.29 64 bit and java 64 1.6.0 64 bit edition.I configured the http connector minSpareThreads and MaxSpareThreads. There are no

Re: ISAPI-Problem

2010-10-29 Thread Rainer Jung
On 29.10.2010 09:18, Jost Richstein wrote: On 27.10.2010 15:24, Jost Richstein wrote: that is the log output with log level "info": Double check: no other message betwen about 09:00 and the following line which is marked with "3076:4308]"? [Fri Oct 29 09:04:15.312 2010] [3076:4308] [info]

Re: ISAPI-Problem

2010-10-28 Thread Rainer Jung
On 27.10.2010 15:24, Jost Richstein wrote: Hi, I have the following problem on a Windows Server 2003 64Bit (AMD). Configuration: IIS 6, isapi_redirect.dll AMD64 Version 1.2.30, Tomcat 5.5.27, JDk 1.6.0_12 64Bit. I am using the following small worker.properties: ps=\ worker.list=ajp13 worker.a

<    1   2   3   4   5   6   7   8   9   10   >