아파치 제임스 2.3.2 설치에 이상한 오류가 발생했습니다.아파치 제임스 2.3.2 몇 시간 근무 후 종료
i James 소스 코드를 사용하여 전자 메일 서버의 동작을 전자 메일 프록시를 통한 통과로 변경했습니다. 모든 것이 몇 시간 동안 잘 작동합니다. 그 후 James sortof는 분명한 이유없이 종료됩니다.
먼저 나는 phoenix.log에 몇 가지 오류를 얻을 :
30/01/12 18:42:57 ERROR smtpserver: Exception opening socket: Unable to access thread pool due to java.lang.InterruptedException
java.lang.IllegalStateException: Unable to access thread pool due to java.lang.InterruptedException
at org.apache.avalon.excalibur.thread.impl.BasicThreadPool.getWorker(BasicThreadPool.java:164)
at org.apache.excalibur.thread.impl.AbstractThreadPool.execute(AbstractThreadPool.java:131)
at org.apache.excalibur.thread.impl.AbstractThreadPool.execute(AbstractThreadPool.java:120)
at org.apache.avalon.excalibur.thread.impl.DefaultThreadPool.execute(DefaultThreadPool.java:115)
at org.apache.james.util.watchdog.InaccurateTimeoutWatchdog.start(InaccurateTimeoutWatchdog.java:106)
at proxy.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:374)
at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
30/01/12 18:42:57 ERROR smtpserver: Exception opening socket: Unable to access thread pool due to java.lang.InterruptedException
java.lang.IllegalStateException: Unable to access thread pool due to java.lang.InterruptedException
at org.apache.avalon.excalibur.thread.impl.BasicThreadPool.getWorker(BasicThreadPool.java:164)
at org.apache.excalibur.thread.impl.AbstractThreadPool.execute(AbstractThreadPool.java:131)
at org.apache.excalibur.thread.impl.AbstractThreadPool.execute(AbstractThreadPool.java:120)
at org.apache.avalon.excalibur.thread.impl.DefaultThreadPool.execute(DefaultThreadPool.java:115)
at org.apache.james.util.watchdog.InaccurateTimeoutWatchdog.start(InaccurateTimeoutWatchdog.java:106)
at proxy.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:374)
at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
내가 추측 : 얼마 aufter는 SMTP-server.log에 2 개 예외를 보여줍니다 오류가 있음을
INFO 2012-01-30 18:49:55.215 [Phoenix.](): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.skipping-file.notice' Args: '/phoenix/apps/smtp-proxy' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.skipping-file.notice
INFO 2012-01-30 18:49:55.232 [Phoenix.](): Unknown resource. Bundle: 'org.apache.avalon.phoenix.components.monitor.Resources' Key: 'scanner.undeploy.notice' Args: 'smtp-proxy' Reason: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key scanner.undeploy.notice
INFO 2012-01-30 18:49:55.233 [Phoenix.](): 20 Blocks to process for phase "shutdown". Order of processing = [spoolmanager, matcherpackages, mailetpackages, remotemanager, pop3server, smtpserver, fetchmail, James, dnsserver, nntpserver, nntp-repository, spoolrepository, localusersrepository, users-store, mailstore, connections, sockets, scheduler, database-connections, thread-manager].
**INFO 2012-01-30 18:49:55.562 [Phoenix ](): Shutting down because there are not any applications running.**
ERROR 2012-01-30 18:50:00.350 [Phoenix.](): Component named "thread-manager" failed to pass through the Destruction stage. (Reason: java.lang.IllegalThreadStateException).
ERROR 2012-01-30 18:50:00.350 [Phoenix.](): Component named "thread-manager" failed to pass through the Destruction stage. (Reason: java.lang.IllegalThreadStateException).
ERROR 2012-01-30 18:50:00.350 [Phoenix.](): There was an error running phase "shutdown" for Block named "thread-manager". (Reason: Component named "thread-manager" failed to pass through the Destruction stage. (Reason: java.lang.IllegalThreadStateException).).
smtp-server.log의 예외는 피닉스 컨테이너의 종료 때문에 일종의 후속 예외입니다. 난 정말 캔트 잘 작동하는 이유 시간 모두를위한 설명하고 갑자기 피닉스가 종료 때문에
사람은 사전에 ...,
덕분에이 동작을 봤어!
Ups, stacktrace에는 18:42:57가 아닌 18:49:56의 Timestamp가 있습니다. 잘못된 로그 – bigbasti
err을 복사 했으므로 로그가 올 Y 르도록 질문을 편집하십시오. 아마도 다시 뛰는거야? – Thufir