Closed jinleileiking closed 7 years ago
Not much to work from here. Can you provide more information as to when/where you're seeing this?
What info do your majesty need?
steps:
Then:
Oops, an error occured
This exception has been logged with id 71me77l06.
logs:
ā capillary-1.2 bin/capillary -Dhttp.port=9001
Play server process ID is 31971
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/jinlei1/tools/capillary/target/universal/capillary-1.2/lib/ch.qos.logback.logback-classic-1.1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/jinlei1/tools/capillary/target/universal/capillary-1.2/lib/org.slf4j.slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9001
[error] application -
! @71me77l06 - Internal server error, for (GET) [/] ->
play.api.Application$$anon$1: Execution exception[[JsResultException: JsResultException(errors:List((,List(ValidationError(error.expected.jsstring,WrappedArray())))))]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: play.api.libs.json.JsResultException: JsResultException(errors:List((,List(ValidationError(error.expected.jsstring,WrappedArray())))))
at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[com.typesafe.play.play-json_2.10-2.3.4.jar:2.3.4]
at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[com.typesafe.play.play-json_2.10-2.3.4.jar:2.3.4]
at play.api.libs.json.JsResult$class.fold(JsResult.scala:77) ~[com.typesafe.play.play-json_2.10-2.3.4.jar:2.3.4]
at play.api.libs.json.JsError.fold(JsResult.scala:13) ~[com.typesafe.play.play-json_2.10-2.3.4.jar:2.3.4]
at play.api.libs.json.JsValue$class.as(JsValue.scala:65) ~[com.typesafe.play.play-json_2.10-2.3.4.jar:2.3.4]
I comment
application.secret="rZX^^c3H5mBD[f;]E<MpUy4ZGQK5Is0qSOU:?STePVv>BK1b4R0:QhKxEcjQGBA2"
I am not a wearer of the :crown:, I just contribute here š
Are you seeing anything at http://host:9001/metrics
? You should be able to see basic metrics if capillary is running. As for http://host:9001/
, the topology index will not load correctly without the Kafka/Zookeeper/Storm settings supplied. Here's an example of how to supply them.
My lord,
I can see the 9001/metrics
But nothing from 9001/
. How to debug it ?
conf :
# Root logger:
logger.root=DEBUG
# Logger used by the framework:
logger.play=DEBUG
# Logger provided to your application:
logger.application=DEBUG
capillary.zookeepers="10.64.7.106:2181"
capillary.kafka.zkroot=""
capillary.storm.zkroot=""
capillary.kafkas="10.64.7.106:9092"
include "application-local.conf"
And I only use kakfa, not using storm.
seems this project must be used with storm ?
Not use with kakfa only ?
Correct, it requires Storm, Kafka and Zookeeper.
Thanks, bro.