Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-942

FIWARE.Request.Tech.Data.Stream-oriented.Error_deploying_a_Kurento_example

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Dismissed
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      Data
    • HD-Enabler:
      Kurento

      Description

      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@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@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@onesource.pt
      [image: OneSource]
      http://onesource.pt

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Hugo Fonseca <htfonseca@onesource.pt>]

        Issue Links

          Activity

          Hide
          llopez NaevaTeC Development Team added a comment -

          Both issues have the same root and description.

          Show
          llopez NaevaTeC Development Team added a comment - Both issues have the same root and description.

            People

            • Assignee:
              llopez NaevaTeC Development Team
              Reporter:
              htfonseca Hugo Fonseca (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: