RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-15 Thread Young, Ed CONT Anteon
Classification:  UNCLASSIFIED 
Caveats: NONE

Woodchuck,
I have completed uninstalled the JK. Re-installed the jk with
the file I got from the website below; do you think I could have a issue
with the configuration in the server.xml file? 

-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 2:03 PM
To: Tomcat Users List
Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

hihi Ed,

i have windows 2003 server, IIS 6.0, Tomcat 5.5.9 and i have
redirection working fine.  i used to have windows 2000, IIS 5.0, Tomcat
4.1 and i also had redirection working fine in that setup as well.

my question to you is, how are you setting up the JK connector?  are
you doing it manually?  or are you using the setupJK204.exe program?

i ran into problems setting up the JK connector manually, even though i
thought i covered everything (including registry).  but i found using
the setup program to be flawless as long as you always uninstall the
previous JK installation before installing the new one (ie. use
windows' add/remove programs to uninstall whenever you add a new Tomcat
webapp and need redirection for example).

to be absolutely safe, you *need* to reboot server after uninstalling
JK.  after rebooting then you can install JK again.  this is my process
and it has worked 100%.

the setup program can be found here:
http://www.shiftomat.com/opensource/

hth,
woodchuck



--- Young, Ed CONT Anteon [EMAIL PROTECTED] wrote:

 Classification:  UNCLASSIFIED 
 Caveats: NONE
 
 I haven't removed any files and the default files and the Default
 page
 is listed above the iisstart.htm. My application is using tomcat now
 but
 needs to be redirected to IIS. The isapi filter is green and pointing
 up. I have also checked the registry settings to ensure the correct
 paths are specified.
 
 -Original Message-
 From: Peter Crowther [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 09, 2005 8:26 AM
 To: Tomcat Users List
 Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)
 
  From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] 
  I have an issue with redirecting my web application from Tomcat
  4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
  configuring the redirect but once I try to access the page using
 port
  80, I get an Under Construction error. How can this be rectified?
 
 If you access the URL to which you're redirecting directly (i.e.
 without
 going through the Tomcat application and it issuing the redirect),
 does
 it work?
 
 What's the default page for the IIS6 directory?  Have you removed
 iisstart.htm from the directory in which you've deployed the IIS6
 files?
 If you look at the list of start pages on the 'Documents' tab of your
 IIS6 sites, property pages, is that default page listed above
 iisstart.htm?
 
   - Peter
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 Classification:  UNCLASSIFIED 
 Caveats: NONE
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

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

Classification:  UNCLASSIFIED 
Caveats: NONE


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



RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-14 Thread Young, Ed CONT Anteon
Classification:  UNCLASSIFIED 
Caveats: NONE

I haven't removed any files and the default files and the Default page
is listed above the iisstart.htm. My application is using tomcat now but
needs to be redirected to IIS. The isapi filter is green and pointing
up. I have also checked the registry settings to ensure the correct
paths are specified.

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 09, 2005 8:26 AM
To: Tomcat Users List
Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

 From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] 
   I have an issue with redirecting my web application from Tomcat
 4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
 configuring the redirect but once I try to access the page using port
 80, I get an Under Construction error. How can this be rectified?

If you access the URL to which you're redirecting directly (i.e. without
going through the Tomcat application and it issuing the redirect), does
it work?

What's the default page for the IIS6 directory?  Have you removed
iisstart.htm from the directory in which you've deployed the IIS6 files?
If you look at the list of start pages on the 'Documents' tab of your
IIS6 sites, property pages, is that default page listed above
iisstart.htm?

- Peter

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

Classification:  UNCLASSIFIED 
Caveats: NONE


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



RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-14 Thread Woodchuck
hihi Ed,

i have windows 2003 server, IIS 6.0, Tomcat 5.5.9 and i have
redirection working fine.  i used to have windows 2000, IIS 5.0, Tomcat
4.1 and i also had redirection working fine in that setup as well.

my question to you is, how are you setting up the JK connector?  are
you doing it manually?  or are you using the setupJK204.exe program?

i ran into problems setting up the JK connector manually, even though i
thought i covered everything (including registry).  but i found using
the setup program to be flawless as long as you always uninstall the
previous JK installation before installing the new one (ie. use
windows' add/remove programs to uninstall whenever you add a new Tomcat
webapp and need redirection for example).

to be absolutely safe, you *need* to reboot server after uninstalling
JK.  after rebooting then you can install JK again.  this is my process
and it has worked 100%.

the setup program can be found here:
http://www.shiftomat.com/opensource/

hth,
woodchuck



--- Young, Ed CONT Anteon [EMAIL PROTECTED] wrote:

 Classification:  UNCLASSIFIED 
 Caveats: NONE
 
 I haven't removed any files and the default files and the Default
 page
 is listed above the iisstart.htm. My application is using tomcat now
 but
 needs to be redirected to IIS. The isapi filter is green and pointing
 up. I have also checked the registry settings to ensure the correct
 paths are specified.
 
 -Original Message-
 From: Peter Crowther [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 09, 2005 8:26 AM
 To: Tomcat Users List
 Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)
 
  From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] 
  I have an issue with redirecting my web application from Tomcat
  4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
  configuring the redirect but once I try to access the page using
 port
  80, I get an Under Construction error. How can this be rectified?
 
 If you access the URL to which you're redirecting directly (i.e.
 without
 going through the Tomcat application and it issuing the redirect),
 does
 it work?
 
 What's the default page for the IIS6 directory?  Have you removed
 iisstart.htm from the directory in which you've deployed the IIS6
 files?
 If you look at the list of start pages on the 'Documents' tab of your
 IIS6 sites, property pages, is that default page listed above
 iisstart.htm?
 
   - Peter
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 Classification:  UNCLASSIFIED 
 Caveats: NONE
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

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



RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-13 Thread Brereton, Stephen
I have an issue with redirecting my web application from Tomcat
4.1 to IIS 6.0 on Windows 2003 Server. 
 I assume this to mean you are running Tomcat under Windows IIS6, and are
trying to redirect pages to the IIS6 server. This means you have (or should
have) at least one page under the default IIS6 install, that is going to
serve the redirected requests.

I have followed the steps in
configuring the redirect but once I try to access the page using port
80, I get an Under Construction error. How can this be rectified?
 this likely means you are missing the normal .htm or .asp/.aspx page
that is delivered when you open the default web site . If this is missing,
there is nothing for the server to show. Port 80 is the default one for web
pages, so that isn't an issue.

-Original Message-
From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED]
Sent: 13 June 2005 16:16
To: [EMAIL PROTECTED]
Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)


Classification:  UNCLASSIFIED 
Caveats: NONE

I am not sure I know what you mean when you speak of using the pages
deployed for the purpose

-Original Message-
From: Brereton, Stephen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 09, 2005 8:13 AM
To: 'Tomcat Users List'
Subject: RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

If you are sure the IIS site is on  port 80 - which it probably will be
-
check the home directory under ISM to make sure IIS is actually using
the
pages deployed for the purpose

HTH 

-Original Message-
From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 12:45
To: Tomcat Users List
Subject: Redirecting Tomcat to IIS (UNCLASSIFIED)


Classification:  UNCLASSIFIED 
Caveats: NONE

Hi,
I have an issue with redirecting my web application from Tomcat
4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
configuring the redirect but once I try to access the page using port
80, I get an Under Construction error. How can this be rectified?

Ed 
  Classification:  UNCLASSIFIED 
Caveats: NONE


* * * * * * * * * * * *
This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply
to
this email may be screened.

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

Classification:  UNCLASSIFIED 
Caveats: NONE

* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

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



Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Young, Ed CONT Anteon
Classification:  UNCLASSIFIED 
Caveats: NONE

Hi,
I have an issue with redirecting my web application from Tomcat
4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
configuring the redirect but once I try to access the page using port
80, I get an Under Construction error. How can this be rectified?

Ed 
  Classification:  UNCLASSIFIED 
Caveats: NONE

How to get Tomcat (Jakarta) to run inside IIS.

References:
- JK2 (Tomcat inside IIS)
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html (does not autostart 
tomcat with IIS service)

Installation:
- Java
Tomcat will use the Java 2 JRE but the SDK will help with debugging. Get it 
from http://java.sun.com. (JRE is included with SDK)

Install Java 2 JRE/SDK. Do not install to a path that includes spaces, like 
Program Files.

Set System Environment Variable JAVA_HOME to installation directory of Java 
JRE/SDK.
If you installed the SDK add %JAVA_HOME%\bin to PATH System Environment 
Variable. (Makes debuging easier.)

- Tomcat
Get it from http://jakarta.apache.org/site/binindex.cgi. This document was 
created using version 5.0.25

Get the ZIP file and extract it to a temporary location. Move the contents of 
the jakarta-tomcat-... directory to your target directory.

Set System Environment Variable CATALINA_HOME to the Tomcat target directory.

- JK2 (Tomcat Webserver Connector)
Get it from http://jakarta.apache.org/site/binindex.cgi. This document was 
created using version jk2.0.4

Get the ZIP file and extract it to a temporary location.

Put the isapi_redirector2.dll and install4iis.js in %CATALINA_HOME%\bin.

You have to configure some files to get IIS/JK2 to start Tomcat in process (as 
a DLL).

Configuration:
- IIS
Open a command prompt and cd to %CATALINA_HOME%\bin.

Execute the JK2 script:
C:\Tomcat\bin cscript install4iis.js

If you get Unable to find Web Server ROOT direcrory, then edit the 
install4iis.js file. Find the line:
if ((IIsROOT = findADSIObject(IIsWebServer, _IIS_WEBDIR, ROOT)) == null) {
and change ', ROOT))' to ', Root))'. Execute the JK2 script again.

- JK2
There is one file to configure in %CATALINA_HOME%\conf:

Copy the workers2.properties content from the bottom of this file and paste it 
into a new %CATALINA_HOME%\conf\workers2.properties file.

- Tomcat
Copy the JAR files from %CATALINA_HOME%\bin, %CATALINA_HOME%\common\lib, and 
%CATALINA_HOME%\server\lib to %JAVA_HOME%\jre\lib\ext

Copy the server.xml content from the bottom of this file and paste it into a 
new %CATALINA_HOME%\conf\server.xml file.

- Install complete.
Reboot so the IIS can get the new System Environment Variables.

Browse to http://localhost/jkstatus, http://localhost/jsp-examples, 
http://localhost/servlets-examples.

Configuration files:
- workers2.properties

## Begin workers2.properties

# Common properties:
# Common properties for all components

# Property name Default Description 
# disabled  0 (false)   disabled state for the component, 
1=true 0=false 
# debug 0 (false)   Debug level for the component, 
0=disabled, 1..10 enabled. Higher levels generate more debug. 
# version   0   'Generation' of the component config. 
Important for runtime reconfiguration. If you edit the config file or set the 
shmem properties, you need to also upgrade the version of the modified 
component. The config layer will detect the change and call the setter method. 

[config:]
debug=0
debugEnv=0

# Shared memory descriptor.
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess 
servers.
file=${CATALINA_HOME}\logs\jk2.shm

# Loggers:
# Levels supported: EMERG, ERROR, INFO, DEBUG

# File Logger.
[logger.file:]
info=File logger
file=${CATALINA_HOME}\logs\jk2.log
level=INFO

# Windows Application Event Logger.
[logger.win32:]
info=Windows Application Event Log
level=ERROR

# Java Virtual Machine:

# Define the parameters for the JVM.
[vm:]
info=Parameters used to load a JVM in the server process
JVM=${JAVA_HOME}/jre/bin/server/jvm.dll
# Use the classpath value as needed for your applets. All of the Tomcat and 
Java JARs should be in %JAVA_HOME%\jre\lib\ext.
classpath=${JAVA_HOME}/jre/lib/jce.jar
OPT=-Dtomcat.home=${CATALINA_HOME}
OPT=-Dcatalina.home=${CATALINA_HOME}
OPT=-Xmx128M

# Channels:

# Socket channel on localhost. This is the main, the only AJP, channel used by 
the webapps.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# JNI channel. This channel is not needed unless a webapp needs it. It is not 
needed for inprocess start/stop.
# [channel.jni:jni]
# info=The jni channel, used if tomcat is started inprocess

# Workers:

# Default environment for all workers.
[workerEnv:]
logger=logger.win32:

# A load balancer named lb. Use even if you only have one machine.
[lb:lb]

# JK2 Status worker. No channel needed.
[status:]
info=Status worker, displays runtime 

RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Brereton, Stephen
If you are sure the IIS site is on  port 80 - which it probably will be -
check the home directory under ISM to make sure IIS is actually using the
pages deployed for the purpose

HTH 

-Original Message-
From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 12:45
To: Tomcat Users List
Subject: Redirecting Tomcat to IIS (UNCLASSIFIED)


Classification:  UNCLASSIFIED 
Caveats: NONE

Hi,
I have an issue with redirecting my web application from Tomcat
4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
configuring the redirect but once I try to access the page using port
80, I get an Under Construction error. How can this be rectified?

Ed 
  Classification:  UNCLASSIFIED 
Caveats: NONE


* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

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



RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Peter Crowther
 From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] 
   I have an issue with redirecting my web application from Tomcat
 4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in
 configuring the redirect but once I try to access the page using port
 80, I get an Under Construction error. How can this be rectified?

If you access the URL to which you're redirecting directly (i.e. without
going through the Tomcat application and it issuing the redirect), does
it work?

What's the default page for the IIS6 directory?  Have you removed
iisstart.htm from the directory in which you've deployed the IIS6 files?
If you look at the list of start pages on the 'Documents' tab of your
IIS6 sites, property pages, is that default page listed above
iisstart.htm?

- Peter

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