1
回答
springside4.1 启动showcase 报错
终于搞明白,存储TCO原来是这样算的>>>   

@江南白衣 你好,想跟你请教个问题:

我启动总是报错,错误信息如下:

java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) ~[na:1.6.0_45]
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) ~[na:1.6.0_45]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) ~[na:1.6.0_45]
	at java.net.Socket.connect(Socket.java:529) ~[na:1.6.0_45]
	at java.net.Socket.connect(Socket.java:478) ~[na:1.6.0_45]
	at java.net.Socket.<init>(Socket.java:375) ~[na:1.6.0_45]
	at java.net.Socket.<init>(Socket.java:218) ~[na:1.6.0_45]
	at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:212) ~[na:1.6]
	at org.springside.modules.metrics.report.GraphiteReporter.connect(GraphiteReporter.java:136) ~[springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.GraphiteReporter.report(GraphiteReporter.java:52) ~[springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.ReportScheduler.report(ReportScheduler.java:63) [springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at org.springside.modules.metrics.report.ReportScheduler$1.run(ReportScheduler.java:72) [springside-metrics-4.1.1-SNAPSHOT.jar:4.1.1-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_45]
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [na:1.6.0_45]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_45]
	at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]



数据库已经启动了,而且连接正常,不知道为什么始终报报这个错误。麻烦帮忙解决一下,谢谢

举报
yh1022
发帖于4年前 1回/461阅
顶部