(I am in the process and upgrading from resin 3.1.10 to 4.0.14)
My server seems to starting and running great. My question comes when I
stop it. I am getting the following in my watchdog-manager.log
[2011/02/03 11:48:17.351] {http://10.10.1.141:6701-1}
*HmtpServlet[WebApp[production/webapp/admin.resin/ROOT]] requires an
active com.caucho.security.Authenticator because HMTP messaging requires
authenticated login for security. In the resin.xml, add an
<sec:AdminAuthenticator>*
[2011/02/03 11:48:17.416] {resin-18} Watchdog received warning from
Resin[1,pid=17178]:
Resin shutdown from watchdog
stop '[email protected]'
[2011/02/03 11:48:18.039] {watchdog-lms} Watchdog detected close of
Resin[lms,pid=17178]
exit reason: normal exit
(exit code=0)
[2011/02/03 11:48:18.041] {resin-18} java.lang.RuntimeException:
java.net.SocketException: Socket closed
at
com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker.java:117)
at
com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
at
com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
Caused by:
java.net.SocketException: Socket closed
at
java.net.SocketInputStream.read(SocketInputStream.java:162)
at
java.net.SocketInputStream.read(SocketInputStream.java:182)
at
com.caucho.remote.websocket.WebSocketInputStream.startBinaryMessage(WebSocketInputStream.java:80)
at
com.caucho.hmtp.HmtpWebSocketReader.readPacket(HmtpWebSocketReader.java:63)
at
com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker.java:114)
... 2 more
[2011/02/03 11:48:18.041] {watchdog-lms} WatchdogChild[lms] stopped
the thing is... I do have a <sec:AdminAuthenticator> node in my config.
(Although to be honest... I am not really sure why I need it)
the instance does seem to stop successfully (despite the
SocketException), but I am not sure what is wrong with my config file
(see snippet below)
<resin xmlns:admin="urn:java:com.caucho.admin"
xmlns:sec="urn:java:com.caucho.security"
xmlns:resin="http://caucho.com/ns/resin/core"
xmlns="http://caucho.com/ns/resin">
<sec:AdminAuthenticator password-digest="none">
<sec:user name="admin" password="pa55w0rd"/>
</sec:AdminAuthenticator>
<class-loader>
<tree-loader path="/opt/resin/pro-4.0.14/lib"/>
<tree-loader path="/opt/resin/pro-4.0.14/ext-lib"/>
</class-loader>
<log-handler name="" level="info" path="stdout:" timestamp="%m-%d
%H:%M:%S.%s "/>
<logger name="com.caucho.java" level="config"/>
<logger name="com.caucho.loader" level="config"/>
<dependency-check-interval>-1</dependency-check-interval>
<cluster id="app-tier">
......
</cluster>
</resin>
thanks
Eric
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest