No connection in web page?
I can't seem to get StokerWeb to connect to my stoker. I followed the guide for the Jetty deploy on Windows and I see the stokerweb page, but it says no connection and I don't see any gauges or other info. I can login so I assume that means it's finding the stokerwebdir. When I look at the screen output below it looks like it is connecting but that isn't what it shows in the web page. Any thoughts on what I'm doing wrong?
C:\Users\Paul\Desktop>cd C:\ProgramData\StokerWeb\jetty-6.1.23\
C:\ProgramData\StokerWeb\jetty-6.1.23>java -jar start.jar
2012-11-18 15:14:44.733:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2012-11-18 15:14:44.921:INFO::jetty-6.1.23
2012-11-18 15:14:44.999:INFO:
eploy C:\ProgramData\StokerWeb\jetty-6.1.23\conte
xts\test.xml -> org.mortbay.jetty.webapp.WebAppContext@2cd2434c{/,C:\ProgramData
\StokerWeb\jetty-6.1.23/webapps/test}
2012-11-18 15:14:45.014:INFO:
eploy C:\ProgramData\StokerWeb\jetty-6.1.23\conte
xts\StokerWeb.xml -> org.mortbay.jetty.webapp.WebAppContext@a41f08{/stokerweb,C:
\ProgramData\StokerWeb\jetty-6.1.23/webapps/stokerweb.war}
2012-11-18 15:14:45.061:INFO:
eploy C:\ProgramData\StokerWeb\jetty-6.1.23\conte
xts\javadoc.xml -> org.mortbay.jetty.handler.ContextHandler@7f716083{/javadoc,fi
le:/C:/ProgramData/StokerWeb/jetty-6.1.23/javadoc/}
2012-11-18 15:14:45.092:INFO:
eploy C:\ProgramData\StokerWeb\jetty-6.1.23\conte
xts\test-jndi.xml -> org.mortbay.jetty.webapp.WebAppContext@2810b7f7{/test-jndi,
C:\ProgramData\StokerWeb\jetty-6.1.23/contexts/test-jndi.d}
2012-11-18 15:14:45.749:INFO:/:Transparent AsyncProxyServlet @ /google to http:/
/www.google.com
StokerWebServletConfig...
0 [main] INFO sweb.server.monitors.ConnectionMonitor - Connection monitor s
tarting
6547 [main] ERROR sweb.server.config.StokerWebConfiguration - Stokerweb config
file [C:\StokerWebDir\CookerConfig.json] was not found
java.io.FileNotFoundException: C:\StokerWebDir\CookerConfig.json (The system can
not find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at sweb.server.config.StokerWebConfiguration.loadConfig(StokerWebConfigu
ration.java:295)
at sweb.server.config.StokerWebConfiguration.init(StokerWebConfiguration
.java:88)
at sweb.server.config.StokerWebConfiguration.listenForConfigInit(StokerW
ebConfiguration.java:81)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java
:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(Synch
ronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.jav
a:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at sweb.server.monitors.stoker.StokerPitMonitor.start(StokerPitMonitor.j
ava:313)
at sweb.server.monitors.ConnectionMonitor.start(ConnectionMonitor.java:7
8)
at sweb.server.StokerWebServletConfig.getInjector(StokerWebServletConfig
.java:41)
at com.google.inject.servlet.GuiceServletContextListener.contextInitiali
zed(GuiceServletContextListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.
java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467
)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan
dlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection
.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
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.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
6640 [main] INFO sweb.server.weather.WeatherController - Starting weather cont
roller
2012-11-18 15:14:54.467:INFO:/stokerweb:Creating Jetty6 async servlet handler fo
r server jetty/6.1.23
6672 [Timer-7] INFO sweb.server.data.telnet.StokerTelnetController - Creating
Telnet connection.
6672 [Timer-8] INFO sweb.server.weather.WeatherController - Fetching Weather
2012-11-18 15:14:54.561:INFO::No Transaction manager found - if your webapp requ
ires one, please configure one.
7500 [Thread-25] WARN sweb.server.data.telnet.StokerTelnetController - Invalid
Data Point: [Welcome to slush. (Version 1.16)
]
7531 [Timer-8] WARN sweb.server.weather.WeatherController - Error getting weat
her.
net.sf.json.JSONException: Invalid JSON String
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84)
at sweb.server.weather.WeatherController.fetchWeather(WeatherController.
java:108)
at sweb.server.weather.WeatherController.updateWeatherAndFireEvent(Weath
erController.java:202)
at sweb.server.weather.WeatherController.access$0(WeatherController.java
:199)
at sweb.server.weather.WeatherController$RunTimer.run(WeatherController.
java:238)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
7562 [Timer-8] INFO sweb.server.weather.WeatherController - Weather fetch comp
lete
7765 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found l
ogin string
9187 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found p
assword string
9859 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found t
ini prompt
2012-11-18 15:14:58.092:INFO::Extract file:/C:/ProgramData/StokerWeb/jetty-6.1.2
3/webapps/cometd.war to C:\Users\Paul\AppData\Local\Temp\Jetty_0_0_0_0_8080_come
td.war__cometd__.t2qfkl\webapp
11469 [Thread-25] WARN sweb.server.data.telnet.StokerTelnetController - Invali
d Data Point: [tini15d17d /> stkcmd:stop
]
12937 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found
tini prompt
13703 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found
tini prompt
15281 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - Stoker
Start response detected
15281 [Thread-25] WARN sweb.server.data.telnet.StokerTelnetController - Invali
d Data Point: [tini15d17d /> tini15d17d /> stoker: start
]
16750 [Thread-25] INFO sweb.server.data.telnet.StokerTelnetController - found
tini prompt
18406 [Thread-25] WARN sweb.server.data.telnet.StokerTelnetController - Invali
d Data Point: [tini15d17d /> 91000012997E5E30: 1.0 22.8 72.9 -6.3 -0.2 0.9 0.8 1
9.8 67.7 PID: NORM tgt:98.9 temp below low threshold blwr
n
]
19219 [Timer-7] INFO sweb.server.data.telnet.StokerTelnetController - waitForT
emps(): Found TEMPS
19219 [Timer-7] INFO sweb.server.data.telnet.StokerTelnetController - waitForT
emps(): Found TEMPS
2012-11-18 15:15:09.624:WARN::Unknown realm: Test JAAS Realm
2012-11-18 15:15:09.686:INFO::Opened C:\ProgramData\StokerWeb\jetty-6.1.23\logs\
2012_11_18.request.log
2012-11-18 15:15:09.702:INFO::Started SelectChannelConnector@0.0.0.0:8080