anyone have any idea why i get this error:-
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: D:\output.log (The device is not ready)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender .java:273)
at org.apache.log4j.FileAppender.activateOptions(File Appender.java:152)
at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollin
gFileAppender.java:206)
at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:2
47)
at org.apache.log4j.xml.DOMConfigurator.parseAppender (DOMConfigurator.ja
va:210)
at org.apache.log4j.xml.DOMConfigurator.findAppenderB yName(DOMConfigurat
or.java:140)
at org.apache.log4j.xml.DOMConfigurator.findAppenderB yReference(DOMConfi
gurator.java:153)
at org.apache.log4j.xml.DOMConfigurator.parseChildren OfLoggerElement(DOM
Configurator.java:415)
at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOM Configurator.java:3
84)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConf igurator.java:783)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(D OMConfigurator.java
:666)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(D OMConfigurator.java
:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(D OMConfigurator.java
:584)
at org.apache.log4j.xml.DOMConfigurator.configure(DOM Configurator.java:6
87)
at protocol.AuAgentServer.GetLog(Unknown Source)
at Auagent.main(Unknown Source)
log4j:ERROR Either File or DatePattern options are not set for appender [FILE].
auagent: 2012-07-19 17:48:17 INFO - zoneid=904,aid=9
auagent: 2012-07-19 17:48:17 INFO - SpeedLimit:window=20,high=2
auagent: 2012-07-19 17:48:17 INFO - CouponLimit:window=300,high=2
auagent: 2012-07-19 17:48:17 INFO - CouponExchangeLimit:window=120,high=2
auagent: 2012-07-19 17:48:18 INFO - TimeoutLimit:window=180,high=200
auagent: 2012-07-19 17:48:18 INFO - issupport_cert=0
auagent: 2012-07-19 17:48:18 INFO - d:\cash_backup.data is not exist,create one
auagent: 2012-07-19 17:48:18 INFO - auagent.conf GameDBClient parse Exception T
he device is not ready
auagent: 2012-07-19 17:48:18 INFO - Auagent setup success!
auagent: 2012-07-19 17:48:18 INFO - (zoneid=904,aid=9) send AnnounceZoneid3 to
au ok,blreset=1,version=1,ip1=0.0.0.0,ip2=127.0.0.1,i p3=254.128.0.0
auagent: 2012-07-19 17:48:18 INFO - GAuthClient::connect to au success!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@b2a2d8 activeio = com.goldhuma
n.IO.ActiveIO@1e13d52
auagent: 2012-07-19 17:48:19 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@166aa18 activeio = com.goldhum
an.IO.ActiveIO@1292d26
auagent: 2012-07-19 17:48:25 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@1f26605 activeio = com.goldhum
an.IO.ActiveIO@107ebe1
auagent: 2012-07-19 17:48:36 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@fe748f activeio = com.goldhuma
n.IO.ActiveIO@1968e23
auagent: 2012-07-19 17:48:57 INFO - GameDBClient::connect to gamedb failed!
auagent: 2012-07-19 17:49:18 INFO - free_memory=471,max_memory=742,total_memory
=494
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@78a212 activeio = com.goldhuma
n.IO.ActiveIO@1d85f79
auagent: 2012-07-19 17:49:18 INFO - GameDBClient::connect to gamedb failed!
auagent: 2012-07-19 17:49:28 INFO - AuAgentServer::OnAddSession,add a link,peer
=/192.168.1.67:49218
auagent: 2012-07-19 17:49:28 INFO - AuAgentServer::Send AgentAnnounceZoneid to
link ok!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@11a64ed activeio = com.goldhum
an.IO.ActiveIO@1d80e6d
auagent: 2012-07-19 17:49:39 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@4e79f1 activeio = com.goldhuma
n.IO.ActiveIO@27e353
auagent: 2012-07-19 17:50:00 INFO - GameDBClient::connect to gamedb failed!
auagent: 2012-07-19 17:50:18 INFO - free_memory=465,max_memory=742,total_memory
=494
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@10f6d3 activeio = com.goldhuma
n.IO.ActiveIO@1bcc0bc
auagent: 2012-07-19 17:50:21 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@12a0f6c activeio = com.goldhum
an.IO.ActiveIO@5a9de6
auagent: 2012-07-19 17:50:42 INFO - GameDBClient::connect to gamedb failed!
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at com.goldhuman.IO.ActiveIO.Close(Unknown Source)
at com.goldhuman.IO.PollIO.Poll(Unknown Source)
at com.goldhuman.IO.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
assoc_session = com.goldhuman.IO.Protocol.Session@1c9a690 activeio = com.goldhum
an.IO.ActiveIO@1d6776d
auagent: 2012-07-19 17:51:03 INFO - GameDBClient::connect to gamedb failed!