RE: problem with isapi redirector

2004-05-13 Thread Srinivas Kotapally
Lohan

I am having the same problem!!  I am using Windows 2003 Server, IIS 6 and
isapi_redirector2.dll.  The site is accessible through port 8080 but in that
case I guess we are accessing Tomcat directly.

Guys,

I have checked all my settings... and I have everything set-up as directed.
But to no avail.  I guess would need to go to a lower version of the
isapi_redirector.dll (1.2.5 or even lower maybe!!).  There is no site that
says which redirector works with which version of IIS!?  I guess I would
need to go through the painful way to hit and trial!!

Any help would be greatly appreciated.

Cheers

Srini

-Original Message-
From: Lohan Spies [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 5:27 AM
To: '[EMAIL PROTECTED]'
Subject: problem with isapi redirector


Hi All,

I got a problem getting the examples to show.

When i copy a jsp file into my webroot directory of iis and i open it, it
displays fine.
But when i try to access the localhost/examples/jsp/index.html page it just
gives me a page not found error.

I reconfigured tomcat and iis about 10 times now, with different setup
guides and i get the same result everytime.

Must i publish the examples folder under the default website in iis, or is
the uriworkermap.properties file suppose to go and fetch
it from the webapp folder?

Please help,

Thanks,

Lohan


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



RE: Tomcat 5.0 + IIS 6 + Windows 2003

2004-05-10 Thread Srinivas Kotapally
Hi

My responses:

1. Where does the dll reside (full folder path)

 d:\tomcat5\bin\win32\i386\isapi_redirector2.dll

2. What is the virtual directory name in IIS and what the physical folder
pointing to.

 The virtual directory: jakarta the directory path it is pointing to is:
d:\tomcat5\bin\win32\i386\

3. What is the registry entry value for workers2.properties

 workersFile d:\tomcat5\conf\workers2.properties

4. Is the isapi-director.dll is for the version compatible to tomcat

 Now how do I determine this?


Any help will be most welcome.

Regards

Srini


-Original Message-
From: Kannan Sundararajan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 6:57 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Tomcat 5.0 + IIS 6 + Windows 2003


I went thru this and it just an misdocumented feature gives interesting
results.

Focus on the isapi-director.dll

1. Where does the dll reside (full folder path)

2. What is the virtual directory name in IIS and what the physical folder
pointing to.

3. What is the registry entry value for workers2.properties

4. Is the isapi-director.dll is for the version compatable to tomcat

When you provide answer for this, try as much as possible the correct value
of folder instead of generic.
--
Sent from my BlackBerry Wireless Handheld

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


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



Tomcat 5.0 + IIS 6 + Windows 2003

2004-05-07 Thread Srinivas Kotapally
All

This is my first post to the mailing list!  Hope you guys can help!

I am installing an app on Tomcat 5 + IIS 6.0 + Windows 2003 Server... I am
having issues with the IIS -- Tomcat connectivity.  I have followed the
steps as per the instructions on
http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html... including the
missing steps.  Here is what I have done

1. Installed:
- jsdk1.4.2_04 for windows
- tomcat 5.0.19 for windows
- IIS 6.0 (this came with the Windows 2003 server)
2. Configured tomcat to work on port 8080 and it works perfectly!
3. Added the isapi_redirector2.dll to a virtual directory on the IIS default
site.  (the green arrow shows up in ISAPI Filters tab for the Default
Website properties)
4. Allowed the Jakarta-Tomcat Web Service in the Web Service Extensions.
5. Added the necessary Registry entries for Apache.


I am unable to figure out why am I not able to get the IIS-Tomcat
connectivity to work!!

Can someone guide me?

I noticed that when I change the port parameter to 80 (instead of the
default 8080) non-SSL Coyote HTTP/1.1 Connector in the server.xml, I am able
to access the site without specifying the port.  But in that case I guess I
am simply running Tomcat on port 80 - this is not the solution, I guess.

Here are my config files:

kj2.properties:
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

channelSocket.port=8009
shm.file=d:/tomcat5/work/jk2.shm

server.xml
=

!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
 during installation  --
Connector
port=8080   maxThreads=150 minSpareThreads=25
maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   debug=0 connectionTimeout=2
   disableUploadTimeout=true /
!-- Note : To disable connection timeouts, set connectionTimeout value
 to 0 --

!-- Note : To use gzip compression you could set the following properties
:

   compression=on
   compressionMinSize=2048
   noCompressionUserAgents=gozilla, traviata
   compressableMimeType=text/html,text/xml
--

!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --
!--
Connector port=8443
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false disableUploadTimeout=true
   acceptCount=100 debug=0 scheme=https secure=true
   clientAuth=false sslProtocol=TLS /
--

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /

!-- Define a Proxied HTTP/1.1 Connector on port 8082 --
!-- See proxy documentation for more information about using this. --
!--
Connector port=8082
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false
   acceptCount=100 debug=0 connectionTimeout=2
   proxyPort=80 disableUploadTimeout=true /
--

workers2.properties
===

[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Tomcat5\work\jk2.shm
size=100

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples


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