Application url for production mode.

2
I started XAS in production mode, I specefied TCPPortNumber = 8009 and ApplicationRootUrl = http://localhost:8009/ in application.conf file, I'm using same url http://localhost:8009/ to access the application console in web browser. Unfortunately i'm not getting the login page. I got following in log. INFO | jvm 1 | 2010/03/23 13:52:44 | Disabling logging to console... INFO | jvm 1 | 2010/03/23 13:52:44 | Detaching from console... INFO | jvm 1 | 2010/03/23 13:52:44 | Warning: detaching STDIN failed: The handle is invalid
asked
2 answers
4

That log information came from the Windows service wrapper, I think. Can you search in the XAS log for something like this:

2010-03-24 11:20:03.249 INFO - EXTERNALINTERFACE: Starting Jetty
2010-03-24 11:20:03.485 INFO - EXTERNALINTERFACE: Listener will try to use TCP port ????.
...
2010-03-24 11:20:05.790::INFO:  Started SelectChannelConnector@0.0.0.0:????

Then you can see which port is being used.

answered
2

Did you try http://localhost:8009/index.html or http://localhost:8009/login.html ? (or one of the other pages in the web/ folder)

It might be the case that your application is running correctly, but that "/" (as in http://localhost:8009/<nothing>) is not properly redirected to an actual page by your web server.

answered