Authenticate a virtual JK2 context on IIS side ?

2004-09-03 Thread Bjoern . Andersen
Hi, we want out frontend-webserver to do the authentication autorisation. The Tomcat-apps are on a different server connected via JK2/AJP13. Now, when we map a URI-context to tomcat, there are no physical files on IIS-Side to bind security permissions to. We also can't use dummy-files coz the

AW: JK2: Partition workers2.properties

2004-08-26 Thread Bjoern . Andersen
Hi, Instead of including all your mappings in the workers2.properties, you can use Location and LocationMatch in httpd.conf to set up your mappings. Thanks, but... We got JK2 running as a ISAPI-Filter on IIS6. ... not httpd.conf on

JK2: Partition workers2.properties

2004-08-25 Thread Bjoern . Andersen
Hi, is it possible to partition the workers2.properties for the JK2? We got JK2 running as a ISAPI-Filter on IIS6. Now, the new structure of workers2.properties is better against workers.properties and uriworkermap.properties. But now, that we have loads of webs with many contexts each, which

Howto IIS6/JK2/TC5 (german)

2004-08-23 Thread Bjoern . Andersen
Hi, i implemented a proof-of-concept for my company, resulting in a howto that covers Tomcat5 with jk2 and iis6 (in full iis6-mode), jmx configuring of tomcat and jk2 on webserver-side and some other side-knowledge. There are lots of guides out there, but most win32-guides work with jk1 or iis6

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-19 Thread Bjoern . Andersen
Thanx. To end this original thread, yes, that's the answer. When you take the Reciever-Part in Clustering... Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=auto tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6/ ...just

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Hi again, you are right with the 2Gb, sorry. It's leaving a netto of 1.6 GB ish for Tomcat here. My problem was referring to the clustersection of server.xml rather than the standard IP: mcastAddr = the multicast address, has to be the same for all the nodes mcastPort = the multicast port,

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Here's a little batch I modified from the service-batch that comes with TC5. You can mod it to your needs.Find the mem part in the middle. Remember that there might be CR/LF added by the mailer. - @echo off rem set SERVICE_NAME=keine Leer|_|-|.; nur Alpahnum!! set MEM_MIN=64 set

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Forgot to mention, that is for multiinstance-services (Which this thread was all about at the beginning...). For single instance, you don't need the CATALINA_BASE stuff... just compare it to the standard batch ... Take a closer look to the line... %EXECUTABLE% //US//%SERVICE_NAME% --JvmOptions

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
When the Tomcat really SERVES someone, as in real SERVERS, there are numerous reasons why you want to run it as a SERVICE. When you use Tomcat as a Developer in a test or integration state on your workstation, I think it doesn't matter if run as service or from command line. Main use of services

AW: Tomcat clustering

2004-08-17 Thread Bjoern . Andersen
Hmm, not sure, but hasn't mcastAddr=srao got to be an IP-Address? Or at least I hope that srao resolves well on all HOSTS-Files/DNS to a valid MCast-Adress which is configured on the tomcat-servers. Say, if you got one tomcat on each server and each server got one NIC, you need 2 ip-adresses on

Tomcat Clusterin Multicast Multiinstances

2004-08-17 Thread Bjoern . Andersen
Hi, can anyone tell me how Tomcats can be configured as a cluster with session replication when there is more than one TC-Instance on one machine? We need multi-instance because of the 1 Gig mem-limit to the jvm's. Or has that changed meanwhile too? -- Björn Andersen Webservices www.premiere.de

JK2 ISAPI in IIS6 - Where to put it?

2004-08-11 Thread Bjoern . Andersen
the JK2 during runtime via JMX, but the JK's on the other web's do not seem to catch that change. Runtime-reconfigure via a change of workers2.properties do not seem to work either. -- Bjoern Andersen - To unsubscribe, e-mail: [EMAIL

JK2 ISAPI Reconfiguration not working?

2004-08-11 Thread Bjoern . Andersen
threads have no chance to get the changes - which I'd doubt the'd do anyway, because of point 1. Has anyone similar experiences, or, better, has anyone got runtime-reconfiguration working on W2k3, IIS6 (IIS6-Mode) and JK2.0.4 ? -- Bjoern Andersen

Request: Webpage update jakarta.apache.org/tomcat/connectors-doc /jk2/jk2/ for IIS-Setup

2004-08-11 Thread Bjoern . Andersen
, would be nice to update the IIS-Part of that site, a lot referes only to JK1, and IIS6 in IIS6-mode works too now. Last thing: The anchors on the side would work better when you would not use spaces in them. (e.g. ..m.html#Common%20properties - ...html#Common_properties or similar) -- Bjoern

Tomcat 5 drops remote user ?

2004-07-20 Thread Bjoern . Andersen
Hello, is it true that TC5 drops the remote user info from the Webserver ? with IIS-JK-TC4 remote user appears in snoop.jsp with IIS-JK-TC5 it's gone (NULL). Any way to bring it back? Where (in which source-file) is it dropped? -- Björn Andersen Webservices

JK-Connector 2 with IIS and Tomcat on different machines ?

2004-07-16 Thread Bjoern . Andersen
Hello, we ad IIS 5 with JK 1.x running as a frontend against TC 4.x-Cluster. All works well. Now we wanna change to IIS6, JK2 and TC5. In the proof-of-concept, I saw that JK2 needs Tomcat-Path to be configured in the registry. Why that? On our IIS-Machines, there is no Tomcat. It is running on

JK-Connector 1.2.x on IIS6 ?

2004-07-12 Thread Bjoern . Andersen
Hello, We run a TomCat4-Farm with JK-Connector's 1.2.x on IIS6 Frontends. We can't upgrade to Tomcat5 / JK 2.x jet. IIS 6 is set to IIS 5 Compatible Mode as described in the Setup. Now I heared it is also possible to run that in normal IIS6-Mode somehow... Can anyone help / supply a Howto? --

AW: Tomcat 5 and IIS

2004-03-09 Thread Bjoern . Andersen
Hi Dave, I'm not an expert, but we use your proposed environment. Tomcat normally runs with Apache, even in Windows. That's why most How-To's Refere to that configuration. (e.g. http://raibledesigns.com/tomcat/) I've heared that it runs better with Apache, but with out IIS's it does also well.

AW: Problem with session persistence

2004-03-09 Thread Bjoern . Andersen
I don't think so. When you open a new browser via File-New-Window, It inherits all the sessiondata (cookie), so there is no way for Tomcat to tell a difference between the 2 clients. However when you open a brand new browser on the same client, it should create a new session coz the session

AW: Tomcat 5 and IIS

2004-03-09 Thread Bjoern . Andersen
No Apache at all. Like described in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html You set up your IIS, then integrate the isapi_redirector into IIS (IIS-part of JK). This is then configured to communicate with the tomcat-instance(s) on that machine or somewhere in the

AW: IIS + Tomcat 4.1.x + Load Balancing with session affinity (s ticky sessions) possible ? Yes !

2004-03-08 Thread Bjoern . Andersen
Thanks a lot, Ralph. After some work on the jvmroute-attrib it works. Didn't realize that the names must be exactly equal to the Worker names. But now, thinking about it, it's the only way it makes sense. -- MfG Björn Andersen _ Webservices -Ursprüngliche

AW: JK contra JK2 with IIS-Authentification

2004-03-08 Thread Bjoern . Andersen
Hi Piccoli Group, Yes, it works (-ish) with request.tomcatAuthentication=false, but despite of what the switch should do, the Tomcat is still Requesting a full groups-list from the DC / AD every time, even if the IIS has already done the auth. On big systems this creates a not bearable network

IIS + Tomcat 4.1.x + Load Balancing with session affinity (stick y sessions) possible ?

2004-03-08 Thread Bjoern . Andersen
Hi Group, We got a small webfarm with 2 IIS JK on a WLBS balancer. Behind them are two Tomcat workers on different machines. So we need Session affinity to have the JK choose the right (same) Tomcat for the session. Client (Browser) || WLBS /\

AW: IIS + Tomcat 4.1.x + Load Balancing with session affinity (s ticky sessions) possible ?

2004-03-08 Thread Bjoern . Andersen
Thanks, but that is exactly what I need to know. We can't replicate sessions coz our crap Framework can't serialize the sessions. So we depend on sticky sessions to get to the right worker. I thought the code for mod_jk and isapi redirector is quite similar or equal, apart from the interface bit,

JK contra JK2 with IIS-Authentification

2004-03-08 Thread Bjoern . Andersen
Hi Group, We used JK 1.2.5 isapi-redirector in our IIS. The IIS authenticates the Users against the domain, and many applications take this info from request.getremoteuser and work with it. With JK2, this doesn't work any more. There is no Username passed to Tomcat. Why? Or anybody knows a