Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 5
Joined: 11 Jun 2012, 13:18

Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

11 Jun 2012, 13:26

Hi,

Testing out the install of Railo on Win 2008 R2 Datacenter with IIS 7.5. I've followed the Environment Installation instructions on this guideline:

http://www.helicontech.com/articles/run ... roduction/

and the installation completed without errors but when trying to access http://localhost/railo-context/admin.cfm I continue to get the same 503 error below. This is a stock EC2 instance on which I installed IIS prior to running the web platform install. I'm happy to provide whatever logging or diagnostics would be helpful for troubleshooting this.

HTTP ERROR 503

Problem accessing /railo-context/admin.cfm. Reason:

javax.servlet.ServletException
Caused by:

javax.servlet.UnavailableException: javax.servlet.ServletException
at org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:409)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:443)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:762)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:244)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339)
at org.eclipse.jetty.util.Scanner.start(Scanner.java:275)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.Server.doStart(Server.java:226)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:477)
at org.eclipse.jetty.start.Main.start(Main.java:623)
at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273)
at org.eclipse.jetty.start.Main.main(Main.java:81)


Thanks!

User avatar
Posts: 27
Joined: 06 Mar 2012, 11:59

Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

12 Jun 2012, 11:04

Hello.
Please provide application.log and exceptions.log from WEB-INF\railo\logs.
Thank you.

User avatar
Posts: 5
Joined: 11 Jun 2012, 13:18

Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

12 Jun 2012, 17:06

Thanks Slavik,

It doesn't appear to have created a Web-INF directory. The directory that was added

C:\Railo

Contains the following a subdirectory 'webroot' but this only contains

CSS (folder)
Images (folder)
Application.cfc
Index.cfm

The IIS webroot (C:\inetpub\wwwroot) also does not have anything. There's no record of a WEB-INF directory anywhere on the server.

Please let me know how you'd like to proceed. Thanks!

User avatar
Posts: 27
Joined: 06 Mar 2012, 11:59

Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

13 Jun 2012, 07:34

Hello.
These are the steps I did:
1. Create new web-site in IIS manager and specify C:\inetpub\wwwroot\railo\ directory for it (on this steps it’s empty)
2. Create web.config in the C:\inetpub\wwwroot\railo\ directory and edit it according to the example in the article.

Note, Railo itself is always in C:\railo.

When you do those two steps and fire initial request, WEB-INF directory is created, in my case it’s C:\inetpub\wwwroot\railo\WEB-INF.
If you did those steps right but still have no WEB-INF, I presume there is NTFS permissions lack.
Make sure directory of your web-site (C:\inetpub\wwwroot\railo\ in my case) is allowed to be changed by IIS_IUSRS group.
The group must have “Modify” permission.

User avatar
Posts: 5
Joined: 11 Jun 2012, 13:18

Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

13 Jun 2012, 16:16

Thanks Slavik,

That was exactly it. I was installing to the default website and with stock settings the IIS_IUSRS group does not have rights to modify this directory. I'm up and running now.

Out of interest, if I wanted to change this so that all railo operations are handled by the applicationpool identity of the website rather than a member of the IIS_IUSRS group how would I go about changing that?

User avatar
Posts: 27
Joined: 06 Mar 2012, 11:59

Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre

14 Jun 2012, 07:33

Hello.
IIS_IUSRS group is actually a common name for all application pool identities. I mean default ones, of course. There is no “ApplicationPoolIdentify” user and you should always use that group.
Besides you should add any other custom user to IIS_IUSRS.

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 7 guests