[Fiware-lab-help] [Kurento Lab] Error deploying a Kurento example

Hugo Fonseca htfonseca at onesource.pt
Fri Oct 31 19:21:37 CET 2014


Hello,

I'm using the Kurento image from the lab (kurento-image-R5.0.33
<https://cloud.lab.fi-ware.org/#nova/images/7af4b98a-2528-4114-9614-b8879e033811>
).

After deploy the machine and connection by ssh, i use the command "mvn
compile exec:java" to deploy the example "kurento-hello-world".
The application doesn't deploy and after some time it presents an error to
the user, as show in the following code:

root at kurento:~/kurento-tutorial-java/kurento-hello-world# mvn compile
exec:java
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 1 5.0.3
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
kurento-hello-world ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
kurento-hello-world ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ kurento-hello-world
---
[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please
comment on MEXEC-6.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.1.4.RELEASE)

19:14:17.628 [App.main()] INFO  - o.k.tutorial.helloworld.HelloWorldApp
- Starting HelloWorldApp on kurento.novalocal with PID 1242
(/root/kurento-tutorial-java/kurento-hello-world/target/classes started by
root in /root/kurento-tutorial-java/kurento-hello-world)
19:14:17.632 [App.main()] DEBUG - o.k.tutorial.helloworld.HelloWorldApp
- Running with Spring Boot v1.1.4.RELEASE, Spring v4.0.6.RELEASE
19:14:19.709 [App.main()] INFO  - o.h.validator.internal.util.Version
- HV000001: Hibernate Validator 5.0.3.Final
^C19:14:35.077 [  Thread-1] WARN  -
ationConfigEmbeddedWebApplicationContext - Exception thrown from
LifecycleProcessor on context close
19:18:37.476 [App.main()] ERROR - o.s.boot.SpringApplication
- Application startup failed
java.lang.IllegalStateException:
org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext at 1531dde4
has been closed already
    at
org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:956)
~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
    at
org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1056)
~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
    at
org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:729)
~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
    at
org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)
~[spring-boot-1.1.4.RELEASE.jar:1.1.4.RELEASE]
    at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
~[spring-boot-1.1.4.RELEASE.jar:1.1.4.RELEASE]
    at
org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
~[spring-boot-1.1.4.RELEASE.jar:1.1.4.RELEASE]
    at
org.kurento.tutorial.helloworld.HelloWorldApp.main(HelloWorldApp.java:42)
[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.7.0_65]
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_65]
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_65]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
[exec-maven-plugin-1.3.2.jar:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]

Regards,


*--Hugo Fonseca*
htfonseca at onesource.pt
 [image: OneSource]
http://onesource.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141031/65f311e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffgedihg.jpg
Type: image/jpeg
Size: 1728 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141031/65f311e5/attachment.jpg>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy