[jboss-user] [Installation, Configuration & Deployment] - IIS redirects to JBoss

huaywen do-not-reply at jboss.com
Mon Aug 7 05:12:52 EDT 2006


Hi,

I am using JBoss 4.0.1 SP1 with IIS 6 (Windows 2003).

These are the steps which work on a single box (for redirecting from http://localhost/myapp01 to http://localhost:8080/myapp01) after the research on the web, I am trying to have JBoss and IIS installed on 2 different boxes, what changes should I make?

Thanks in advanced!

++++++++++++++++++++++++++++++++++++++++++++++++++

How to Configure IIS (6.0) with Jboss (4.0.1 SP1)

1.Copy isapi_redirector2.dll into c:\jboss-4.0.1sp1\bin

2.Create worker2.properties file and place into c:\jboss-4.0.1sp1\server\default\conf

	worker2.properties:

	===========================================================

	[shm:]
	file=C:/jboss-4.0.1sp1/server/default/log/jk2.log
	size=1048576

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

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

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

	===========================================================

 3.Create isapi_redirector2.reg and merge it into system registry (right-click isapi_redirector2.reg > Merge)

	 isapi_redirector2.reg:

	===========================================================
	
	Windows Registry Editor Version 5.00

	[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 	Redirector\2.0]
	"workersFile"="C:\\jboss-4.0.1sp1\\server\\default\\conf\\workers2.properties"
	"extensionUri"="/jakarta/isapi_redirector2.dll"
	"logLevel"="debug"
	"serverRoot"="c:\\jboss-4.0.1sp1\\"

	============================================================

	** this file can be deleted once merging is completed


 4.Add an environment variable to the server (CATALINA_HOME = c:\jboss-4.0.1sp1)

 5.Switch IIS 6 into IIS 5 isolation mode:
i.Open IIS Managerm choose the Web Site container
ii.Right-click and choose Properties, then select Service tab
iii.Check the following items:
Run WWW service in IIS 5.0 isolated mode
Compress static files
Maximum temporary directory size > Unlimited

6.Install the ISAPI filter DLL
i.Select ISAPI Filter tab (in Web Sites Properties window)
ii.Press Add... button and type a name for the new filter (eg. Jboss Connector)
iii.Click Browse... and locate isapi_redirector2.dll in c:\jboss-4.0.1sp1\bin
iv.Press OK and restart the IIS (Right-click the server > All tasks > Restart IIS...)

7.Create a virtual directory for the ISAPI filter DLL
i.Select the web site that Jboss services are needed, right-click and choose New,then choose Virtual Directory...
ii.Create a new Virtual Directory named jakarta. It is important to use this exact case and spelling
iii.Enter the path to the directory where isapi_redirector2.dll is stored (c:\jboss-4.0.1sp1\bin)
iv.Enable Execute permission in Directory Access Permission Page

8.Authorise the DLL as a web application
i.Select Web Service Extensions in the IIS Console Server Tree
ii.Add a new extension called Jakarta-JBoss, add isapi_redirector2.dll to the list of required files, and select Set extension status to Allowed
iii.Press the OK button
	

9.Restart IIS services



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963502#3963502

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963502



More information about the jboss-user mailing list