git clone https://github.com/Kurento/kurento-tutorial-java.git
cd kurento-tutorial-java/kurento-hello-world
git checkout 6.6.0
mvn compile exec:java
and I have this result
ted by vagrant in /vagrant/kurento-tutorial-java/kurento-hello-world)
2017-03-03 16:24:57.828 INFO 17100 --- [WorldApp.main()] o.k.tutorial.helloworld.HelloWorldApp : No active profile set, falling back to default profiles: default
2017-03-03 16:24:58.009 INFO 17100 --- [WorldApp.main()] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1ae5a3d8: startup date [Fri Mar 03 16:24:57 UTC 2017]; root of context hierarchy
2017-03-03 16:25:01.877 INFO 17100 --- [WorldApp.main()] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-03-03 16:25:02.933 INFO 17100 --- [WorldApp.main()] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8443 (https)
2017-03-03 16:25:02.958 INFO 17100 --- [WorldApp.main()] o.apache.catalina.core.StandardService : Starting service Tomcat
2017-03-03 16:25:02.972 INFO 17100 --- [WorldApp.main()] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.28
2017-03-03 16:25:03.489 INFO 17100 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2017-03-03 16:25:03.490 INFO 17100 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 5491 ms
2017-03-03 16:25:04.479 INFO 17100 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2017-03-03 16:25:04.494 INFO 17100 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2017-03-03 16:25:04.495 INFO 17100 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2017-03-03 16:25:04.496 INFO 17100 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2017-03-03 16:25:04.497 INFO 17100 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2017-03-03 16:25:04.691 INFO 17100 --- [WorldApp.main()] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'defaultSockJsTaskScheduler'
2017-03-03 16:25:04.975 INFO 17100 --- [WorldApp.main()] org.eclipse.jetty.util.log : Logging initialized @22688ms
2017-03-03 16:25:05.324 INFO 17100 --- [ntLoopGroup-2-1] o.k.j.c.JsonRpcClientNettyWebSocket : [KurentoClient] Inititating new Netty channel. Will create new handler too!
2017-03-03 16:25:05.476 WARN 17100 --- [rbeatExec-e1-t0] o.k.j.c.JsonRpcClientNettyWebSocket : [KurentoClient] Trying to close a JsonRpcClientNettyWebSocket with channel == null
2017-03-03 16:25:05.477 WARN 17100 --- [rbeatExec-e1-t0] o.kurento.jsonrpc.client.JsonRpcClient : [KurentoClient] Error sending heartbeat to server. Exception: [KurentoClient] Exception connecting to WebSocket server ws://127.0.0.1:8888/kurento
2017-03-03 16:25:05.481 WARN 17100 --- [rbeatExec-e1-t0] o.kurento.jsonrpc.client.JsonRpcClient : [KurentoClient] Stopping heartbeat and closing client: failure during heartbeat mechanism
2017-03-03 16:25:05.486 INFO 17100 --- [ntLoopGroup-3-1] o.k.j.c.JsonRpcClientNettyWebSocket : [KurentoClient] Inititating new Netty channel. Will create new handler too!
2017-03-03 16:25:05.488 WARN 17100 --- [WorldApp.main()] o.k.j.c.JsonRpcClientNettyWebSocket : [KurentoClient] Trying to close a JsonRpcClientNettyWebSocket with channel == null
2017-03-03 16:25:05.491 WARN 17100 --- [WorldApp.main()] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketHandlerMapping' defined in class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerMapping]: Factory method 'webSocketHandlerMapping' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kurento.client.KurentoClient org.kurento.tutorial.helloworld.HelloWorldHandler.kurento; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kurentoClient' defined in org.kurento.tutorial.helloworld.HelloWorldApp: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kurento.client.KurentoClient]: Factory method 'kurentoClient' threw exception; nested exception is org.kurento.commons.exception.KurentoException: Exception connecting to KMS
2017-03-03 16:25:05.492 INFO 17100 --- [WorldApp.main()] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'defaultSockJsTaskScheduler'
2017-03-03 16:25:05.504 INFO 17100 --- [WorldApp.main()] o.apache.catalina.core.StandardService : Stopping service Tomcat
2017-03-03 16:25:05.547 ERROR 17100 --- [WorldApp.main()] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketHandlerMapping' defined in class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.HandlerMapping]: Factory method 'webSocketHandlerMapping' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kurento.client.KurentoClient org.kurento.tutorial.helloworld.HelloWorldHandler.kurento; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kurentoClient' defined in org.kurento.tutorial.helloworld.HelloWorldApp: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kurento.client.KurentoClient]: Factory method 'kurentoClient' threw exception; nested exception is org.kurento.commons.exception.KurentoException: Exception connecting to KMS
I was trying to solve it, but even if I solved something there are another problem.
So - is there any stable version? Or vagrant box/image of VM which is configured for running Kurento?
$ docker run --name kms -p 8888:8888 -d
kurento/kurento-media-server:6.6.0
And the Java application can be executed in the host machine regarding its operating system.--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/995a23dc-a914-4401-9675-a4dae868b261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.