Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
6 posts
• Page 1 of 1
Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
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!
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!
Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
Hello.
Please provide application.log and exceptions.log from WEB-INF\railo\logs.
Thank you.
Please provide application.log and exceptions.log from WEB-INF\railo\logs.
Thank you.
Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
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!
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!
Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
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.
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.
Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
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?
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?
Re: Installing Railo on IIS 7.5, Win 2008 R2 Datacentre
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.
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.
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests