Can Anyone Help With "hello world" demo?

1,002 views
Skip to first unread message

Raymond Jender

unread,
Feb 23, 2015, 8:06:04 PM2/23/15
to kur...@googlegroups.com


ray:kurento-hello-world$ mvn -X compile exec:java

Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-32-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /home/ray/.m2/settings.xml
[DEBUG] Using local repository at /home/ray/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/ray/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project org.kurento.tutorial:kurento-hello-world:jar:5.1.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM org.kurento.tutorial:kurento-hello-world:jar:5.1.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.kurento.tutorial:kurento-hello-world:jar:5.1.0
[DEBUG] Tasks:   [compile, exec:java]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 1 - Hello World 5.1.0
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM org.kurento.tutorial:kurento-hello-world:jar:5.1.0
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       org.kurento.tutorial:kurento-hello-world:5.1.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG] Repositories (dependencies): [central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <arguments>
    <argument>install</argument>
  </arguments>
  <basedir default-value="${basedir}"/>
  <classpathScope default-value="runtime">${exec.classpathScope}</classpathScope>
  <commandlineArgs>${exec.args}</commandlineArgs>
  <executable>bower</executable>
  <failWithEmptyArgument default-value="true"/>
  <failWithNullKeyOrValueInEnvironment default-value="true"/>
  <longClasspath default-value="false">${exec.longClasspath}</longClasspath>
  <outputFile>${exec.outputFile}</outputFile>
  <project default-value="${project}"/>
  <skip default-value="false">${skip}</skip>
  <sourceRoot>${sourceRoot}</sourceRoot>
  <testSourceRoot>${testSourceRoot}</testSourceRoot>
  <workingDirectory>${exec.workingdir}</workingDirectory>
  <session default-value="${session}"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.3:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <filters>${project.build.filters}</filters>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project>${project}</project>
  <resources>${project.resources}</resources>
  <session>${session}</session>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <buildDirectory>${project.build.directory}</buildDirectory>
  <classpathElements>${project.compileClasspathElements}</classpathElements>
  <compileSourceRoots>${project.compileSourceRoots}</compileSourceRoots>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <encoding>${maven.compiler.encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  <outputFileName>${project.build.finalName}</outputFileName>
  <projectArtifact>${project.artifact}</projectArtifact>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <source>${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target>${maven.compiler.target}</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <arguments>
    <argument>install</argument>${exec.arguments}</arguments>
  <classpathScope default-value="runtime">${exec.classpathScope}</classpathScope>
  <cleanupDaemonThreads default-value="true">${exec.cleanupDaemonThreads}</cleanupDaemonThreads>
  <commandlineArgs>${exec.args}</commandlineArgs>
  <daemonThreadJoinTimeout default-value="15000">${exec.daemonThreadJoinTimeout}</daemonThreadJoinTimeout>
  <includePluginDependencies default-value="false">${exec.includePluginsDependencies}</includePluginDependencies>
  <includeProjectDependencies default-value="true">${exec.includeProjectDependencies}</includeProjectDependencies>
  <keepAlive default-value="false">${exec.keepAlive}</keepAlive>
  <killAfter default-value="1">${exec.killAfter}</killAfter>
  <localRepository default-value="${localRepository}"/>
  <mainClass>org.kurento.tutorial.helloworld.HelloWorldApp</mainClass>
  <pluginDependencies default-value="${plugin.artifacts}"/>
  <project default-value="${project}"/>
  <remoteRepositories default-value="${project.remoteArtifactRepositories}"/>
  <skip default-value="false">${skip}</skip>
  <sourceRoot>${sourceRoot}</sourceRoot>
  <stopUnresponsiveDaemonThreads default-value="false">${exec.stopUnresponsiveDaemonThreads}</stopUnresponsiveDaemonThreads>
  <testSourceRoot>${testSourceRoot}</testSourceRoot>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Could not find metadata org.kurento:kurento-client/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kurento-client/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-core/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-core/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-elements/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-elements/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-filters/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-filters/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-core/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-core/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-elements/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-elements/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-core/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-core/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-elements/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-elements/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kms-api-filters/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kms-api-filters/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata org.kurento:kurento-utils-js/maven-metadata.xml in local (/home/ray/.m2/repository)
[DEBUG] Skipped remote update check for org.kurento:kurento-utils-js/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] org.kurento.tutorial:kurento-hello-world:jar:5.1.0
[DEBUG]    org.kurento:kurento-client:jar:5.1.0:compile
[DEBUG]       org.kurento:kurento-jsonrpc-client:jar:5.1.0:compile
[DEBUG]          org.kurento:kurento-commons:jar:5.1.0:compile
[DEBUG]             com.google.code.gson:gson:jar:2.3.1:compile
[DEBUG]             com.google.guava:guava:jar:18.0:compile
[DEBUG]          org.apache.httpcomponents:httpclient:jar:4.3.2:compile
[DEBUG]             org.apache.httpcomponents:httpcore:jar:4.3.1:compile
[DEBUG]             commons-logging:commons-logging:jar:1.1.3:compile
[DEBUG]             commons-codec:commons-codec:jar:1.6:compile
[DEBUG]          org.apache.httpcomponents:fluent-hc:jar:4.3.2:compile
[DEBUG]          org.slf4j:slf4j-api:jar:1.7.5:compile
[DEBUG]          com.woorea:keystone-client:jar:3.2.1:compile
[DEBUG]             com.woorea:openstack-client:jar:3.2.1:compile
[DEBUG]             com.woorea:keystone-model:jar:3.2.1:compile
[DEBUG]             org.codehaus.jackson:jackson-mapper-asl:jar:1.9.4:compile
[DEBUG]                org.codehaus.jackson:jackson-core-asl:jar:1.9.4:compile
[DEBUG]          org.eclipse.jetty.websocket:websocket-client:jar:9.2.5.v20141112:compile
[DEBUG]             org.eclipse.jetty:jetty-util:jar:9.2.5.v20141112:compile
[DEBUG]             org.eclipse.jetty:jetty-io:jar:9.2.5.v20141112:compile
[DEBUG]             org.eclipse.jetty.websocket:websocket-common:jar:9.2.5.v20141112:compile
[DEBUG]                org.eclipse.jetty.websocket:websocket-api:jar:9.2.5.v20141112:compile
[DEBUG]       org.kurento:kurento-jsonrpc-server:jar:5.1.0:compile
[DEBUG]          org.springframework.boot:spring-boot-starter-web:jar:1.2.0.RELEASE:compile
[DEBUG]             org.springframework.boot:spring-boot-starter:jar:1.2.0.RELEASE:compile
[DEBUG]                org.springframework.boot:spring-boot:jar:1.2.0.RELEASE:compile
[DEBUG]                org.springframework.boot:spring-boot-autoconfigure:jar:1.2.0.RELEASE:compile
[DEBUG]                org.springframework.boot:spring-boot-starter-logging:jar:1.2.0.RELEASE:compile
[DEBUG]                   org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
[DEBUG]                   org.slf4j:jul-to-slf4j:jar:1.7.7:compile
[DEBUG]                   org.slf4j:log4j-over-slf4j:jar:1.7.7:compile
[DEBUG]                   ch.qos.logback:logback-classic:jar:1.1.2:compile
[DEBUG]                      ch.qos.logback:logback-core:jar:1.1.2:compile
[DEBUG]                org.yaml:snakeyaml:jar:1.14:runtime
 org.springframework.boot:spring-boot-starter-tomcat:jar:1.2.0.RELEASE:compile
[DEBUG]                org.apache.tomcat.embed:tomcat-embed-el:jar:8.0.15:compile
[DEBUG]                org.apache.tomcat.embed:tomcat-embed-logging-juli:jar:8.0.15:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-databind:jar:2.4.4:compile
[DEBUG]                com.fasterxml.jackson.core:jackson-annotations:jar:2.4.0:compile
[DEBUG]                com.fasterxml.jackson.core:jackson-core:jar:2.4.4:compile
[DEBUG]             org.hibernate:hibernate-validator:jar:5.1.3.Final:compile
[DEBUG]                javax.validation:validation-api:jar:1.1.0.Final:compile
[DEBUG]                org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[DEBUG]                com.fasterxml:classmate:jar:1.0.0:compile
[DEBUG]             org.springframework:spring-core:jar:4.1.3.RELEASE:compile
[DEBUG]             org.springframework:spring-web:jar:4.1.3.RELEASE:compile
[DEBUG]                org.springframework:spring-aop:jar:4.1.3.RELEASE:compile
[DEBUG]                   aopalliance:aopalliance:jar:1.0:compile
[DEBUG]                org.springframework:spring-beans:jar:4.1.3.RELEASE:compile
[DEBUG]             org.springframework:spring-webmvc:jar:4.1.3.RELEASE:compile
[DEBUG]                org.springframework:spring-expression:jar:4.1.3.RELEASE:compile
[DEBUG]          org.springframework:spring-websocket:jar:4.1.3.RELEASE:compile
[DEBUG]             org.springframework:spring-context:jar:4.1.3.RELEASE:compile
[DEBUG]          org.scribe:scribe:jar:1.3.5:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.0.15:compile
[DEBUG]             org.apache.tomcat.embed:tomcat-embed-core:jar:8.0.15:compile
[DEBUG]          com.woorea:jersey2-connector:jar:3.2.1:compile
[DEBUG]             org.glassfish.jersey.core:jersey-client:jar:2.0:compile
[DEBUG]                org.glassfish.jersey.core:jersey-common:jar:2.0:compile
[DEBUG]                   javax.annotation:javax.annotation-api:jar:1.2:compile
[DEBUG]                   org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
[DEBUG]                javax.ws.rs:javax.ws.rs-api:jar:2.0:compile
[DEBUG]                org.glassfish.hk2:hk2-api:jar:2.1.88:compile
[DEBUG]                   org.glassfish.hk2:hk2-utils:jar:2.1.88:compile
[DEBUG]                org.glassfish.hk2.external:javax.inject:jar:2.1.88:compile
[DEBUG]                org.glassfish.hk2:hk2-locator:jar:2.1.88:compile
[DEBUG]                   org.glassfish.hk2.external:asm-all-repackaged:jar:2.1.88:compile
[DEBUG]                   org.glassfish.hk2.external:cglib:jar:2.1.88:compile
[DEBUG]             org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.0:compile
[DEBUG]                org.codehaus.jackson:jackson-jaxrs:jar:1.9.11:compile
[DEBUG]                org.codehaus.jackson:jackson-xc:jar:1.9.11:compile
[DEBUG]       org.kurento:kms-api-core:jar:5.1.0:compile
[DEBUG]       org.kurento:kms-api-elements:jar:5.1.0:compile
[DEBUG]       org.kurento:kms-api-filters:jar:5.1.0:compile
[DEBUG]    org.kurento:kurento-utils-js:jar:5.1.0:compile
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:exec (default) @ kurento-hello-world ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
[DEBUG]   Imported: org.sonatype.aether.version < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
[DEBUG]   Imported: org.sonatype.aether.* < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.3.2:
[DEBUG]    org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:4.11:test (scope managed from compile) (version managed from 3.8.1)
[DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.15:compile
[DEBUG]    org.apache.commons:commons-exec:jar:1.2:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG]   Included: org.codehaus.mojo:exec-maven-plugin:jar:1.3.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.15
[DEBUG]   Included: org.apache.commons:commons-exec:jar:1.2
[DEBUG]   Excluded: org.apache.maven:maven-toolchain:jar:1.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.2.1
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: junit:junit:jar:4.11
[DEBUG]   Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.2.1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.2.1
[DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.3.2:exec from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2, parent: sun.misc.Launcher$AppClassLoader@22cf71b7]
[DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.3.2:exec' with basic configurator -->
[DEBUG]   (f) arguments = [install]
[DEBUG]   (f) basedir = /home/ray/kurento/kurento-tutorial-java/kurento-hello-world
[DEBUG]   (f) classpathScope = runtime
[DEBUG]   (f) executable = bower
[DEBUG]   (f) failWithEmptyArgument = true
[DEBUG]   (f) failWithNullKeyOrValueInEnvironment = true
[DEBUG]   (f) longClasspath = false
[DEBUG]   (f) project = MavenProject: org.kurento.tutorial:kurento-hello-world:5.1.0 @ /home/ray/kurento/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (f) skip = false
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@1b7ea9e6
[DEBUG] -- end configuration --
[DEBUG] env: HOME=/home/ray
[DEBUG] env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
[DEBUG] env: LANG=en_US.UTF-8
[DEBUG] env: LESSCLOSE=/usr/bin/lesspipe %s %s
[DEBUG] env: LESSOPEN=| /usr/bin/lesspipe %s
[DEBUG] env: LOGNAME=ray
[DEBUG] env: LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
[DEBUG] env: MAIL=/var/mail/ray
[DEBUG] env: NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
[DEBUG] env: OLDPWD=/home/ray/kurento/kurento-tutorial-java/kurento-hello-world
[DEBUG] env: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[DEBUG] env: PWD=/home/ray/kurento/kurento-tutorial-java/kurento-hello-world
[DEBUG] env: SHELL=/bin/bash
[DEBUG] env: SHLVL=1
[DEBUG] env: SSH_CLIENT=192.168.1.149 8437 22
[DEBUG] env: SSH_CONNECTION=192.168.1.149 8437 192.168.1.103 22
[DEBUG] env: SSH_TTY=/dev/pts/0
[DEBUG] env: TERM=xterm
[DEBUG] env: USER=ray
[DEBUG] env: XDG_RUNTIME_DIR=/run/user/1000
[DEBUG] env: XDG_SESSION_ID=1
[DEBUG] env: _=/usr/bin/mvn
[DEBUG] Executing command line: [bower, install]
bower adapter.js#*          not-cached git://github.com/webrtc/adapter.git#*
bower adapter.js#*             resolve git://github.com/webrtc/adapter.git#*
bower bootstrap#~3.3.0          cached git://github.com/twbs/bootstrap.git#3.3.2
bower bootstrap#~3.3.0        validate 3.3.2 against git://github.com/twbs/bootstrap.git#~3.3.0
bower ekko-lightbox#~3.1.4      cached git://github.com/ashleydw/lightbox.git#3.1.5
bower ekko-lightbox#~3.1.4    validate 3.1.5 against git://github.com/ashleydw/lightbox.git#~3.1.4
bower adapter.js#*            checkout master
bower bootstrap#>= 3.0.0        cached git://github.com/twbs/bootstrap.git#3.3.2
bower bootstrap#>= 3.0.0      validate 3.3.2 against git://github.com/twbs/bootstrap.git#>= 3.0.0
bower jquery#>= 1.9.1           cached git://github.com/jquery/jquery.git#2.1.3
bower jquery#>= 1.9.1         validate 2.1.3 against git://github.com/jquery/jquery.git#>= 1.9.1
bower adapter.js#*            resolved git://github.com/webrtc/adapter.git#024e5254ed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.715s
[INFO] Finished at: Mon Feb 23 17:54:40 MST 2015
[INFO] Final Memory: 12M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-hello-world: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-hello-world: Command execution failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:303)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
        at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:402)
        at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:164)
        at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:746)
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292)
        ... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Thanks and  I appreciate your comments.

Ray

Ivan Gracia

unread,
Feb 24, 2015, 6:20:07 AM2/24/15
to Kurento Public
Hi,

Looks like there is some issue with the exec-maven-plugin, that runs the bower install command. Could you run this command and post the output?

mvn clean && bower install

The second part is the interesting one, since it looks like it's the one that is failing.

Ivan Gracia



--
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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raymond Jender

unread,
Feb 24, 2015, 6:41:55 PM2/24/15
to kur...@googlegroups.com
Here ya go!

ray:kurento-hello-world$ mvn clean && bower install
[INFO] Scanning for projects...

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 1 - Hello World 5.1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.pom (5 KB at 8.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/26/maven-plugins-26.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/26/maven-plugins-26.pom (12 KB at 160.9 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/25/maven-parent-25.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/25/maven-parent-25.pom (37 KB at 351.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/15/apache-15.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/15/apache-15.pom (15 KB at 222.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.6.1/maven-clean-plugin-2.6.1.jar (29 KB at 303.9 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ kurento-hello-world ---
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.7/maven-shared-utils-0.7.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.7/maven-shared-utils-0.7.pom (5 KB at 75.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/20/maven-shared-components-20.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/20/maven-shared-components-20.pom (5 KB at 74.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.7/maven-shared-utils-0.7.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.7/maven-shared-utils-0.7.jar (167 KB at 843.2 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar (165 KB at 677.4 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.581s
[INFO] Finished at: Tue Feb 24 16:40:21 MST 2015
[INFO] Final Memory: 8M/59M
[INFO] ------------------------------------------------------------------------
[?] May bower anonymously report usage statistics to improve the tool over time? Yes
bower not-cached    git://github.com/webrtc/adapter.git#*
bower resolve       git://github.com/webrtc/adapter.git#*
bower cached        git://github.com/twbs/bootstrap.git#3.3.2
bower validate      3.3.2 against git://github.com/twbs/bootstrap.git#~3.3.0
bower cached        git://github.com/ashleydw/lightbox.git#3.1.5
bower validate      3.1.5 against git://github.com/ashleydw/lightbox.git#~3.1.4
bower checkout      adapter.js#master
bower cached        git://github.com/jquery/jquery.git#2.1.3
bower validate      2.1.3 against git://github.com/jquery/jquery.git#>= 1.9.1
bower invalid-meta  webrtc-adapter is missing "ignore" entry in bower.json
bower resolved      git://github.com/webrtc/adapter.git#024e5254ed
bower EACCES        EACCES, mkdir '/home/ray/kurento/kurento-tutorial-java/kurento-hello-world/src/main/resources/static/bower_components'

Stack trace:
Error: EACCES, mkdir '/home/ray/kurento/kurento-tutorial-java/kurento-hello-world/src/main/resources/static/bower_components'

Console trace:
Trace
    at StandardRenderer.error (/usr/lib/node_modules/bower/lib/renderers/StandardRenderer.js:82:17)
    at Logger.<anonymous> (/usr/lib/node_modules/bower/bin/bower:110:22)
    at Logger.emit (events.js:95:17)
    at Logger.emit (/usr/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
    at /usr/lib/node_modules/bower/lib/commands/index.js:40:20
    at _rejected (/usr/lib/node_modules/bower/node_modules/q/q.js:797:24)
    at /usr/lib/node_modules/bower/node_modules/q/q.js:823:30
    at Promise.when (/usr/lib/node_modules/bower/node_modules/q/q.js:1035:31)
    at Promise.promise.promiseDispatch (/usr/lib/node_modules/bower/node_modules/q/q.js:741:41)
    at /usr/lib/node_modules/bower/node_modules/q/q.js:557:44

System info:
Bower version: 1.3.12
Node version: 0.10.33
OS: Linux 3.13.0-32-generic x64
ray:kurento-hello-world$

matt

unread,
Feb 24, 2015, 6:59:57 PM2/24/15
to kur...@googlegroups.com
Hello,

In the bower.json file replace :

"adapter.js": "kurento-alvar",

by

"adapter.js": "*",

It should solve your problem.
...

Raymond Jender

unread,
Feb 24, 2015, 7:41:11 PM2/24/15
to kur...@googlegroups.com
Thanks but it is already "*"?

Ray
...

Rolla Matthieu

unread,
Feb 24, 2015, 10:01:47 PM2/24/15
to kur...@googlegroups.com

Hum it's seems to be a "rights" problem. Check that the current user have write/read priviledge in the /home/ray/kurento/kurento-
tutorial-java/kurento-hello-world/

--

Raymond Jender

unread,
Feb 25, 2015, 7:50:52 PM2/25/15
to kur...@googlegroups.com
So, most of the files where owned by root.  I change all of the files to :

-rw-r--r-- 1 ray ray   546 Feb 24 19:03 bower.json
-rw-r--r-- 1 ray ray 24460 Feb 23 17:42 LICENSE
drwxr-xr-x 4 ray ray  4096 Feb 23 17:42 package
-rw-r--r-- 1 ray ray  5641 Feb 23 17:42 pom.xml
-rw-r--r-- 1 ray ray  1401 Feb 23 17:42 README.md
drwxrwxrwx 4 ray ray  4096 Feb 23 17:42 src
drwxrwxr-x 3 ray ray  4096 Feb 25 17:21 target

Then:   ray:kurento-hello-world$ mvn compile exec:java

[INFO] Scanning for projects...

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 1 - Hello World 5.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:exec (default) @ kurento-hello-world ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ kurento-hello-world ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 246 resources
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[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.

   .------------------------------------.
   |                                    |
   |   | |/ /  _ _ _ ___ _ _| |_ ___    |
   |   | ' < || | '_/ -_) ' \  _/ _ \   |
   |   |_|\_\_,_|_| \___|_||_\__\___/   |
   |                                    |
   '------------------------------------'

       Kurento Java Tutorial 1 - Hello World
       Version 5.1.0

17:41:19.691 [HelloWorldApp.main()] INFO  - o.k.tutorial.helloworld.HelloWorldApp    - Starting HelloWorldApp on Janus with PID 1717 (/home/ray/kurento/kurento-tutorial-java/kurento-hello-world/target/classes started by ray in /home/ray/kurento/kurento-tutorial-java/kurento-hello-world)
17:41:19.694 [HelloWorldApp.main()] DEBUG - o.k.tutorial.helloworld.HelloWorldApp    - Running with Spring Boot v1.2.0.RELEASE, Spring v4.1.3.RELEASE
17:41:21.209 [HelloWorldApp.main()] INFO  - o.h.validator.internal.util.Version      - HV000001: Hibernate Validator 5.1.3.Final
17:41:23.540 [HelloWorldApp.main()] DEBUG - org.kurento.client.KurentoClient         - Connecting to kms in uri ws://localhost:8888/kurento
17:41:24.183 [HelloWorldApp.main()] INFO  - o.k.tutorial.helloworld.HelloWorldApp    - Started HelloWorldApp in 4.732 seconds (JVM running for 12.534)

Then browsing to http://192.168.1.103:8080 and clicking Start,  the spinners for Local and Remote streams just keep spinning? I am never prompted to allow camera and audio?

Thanks,

Ray

Rolla Matthieu

unread,
Feb 25, 2015, 7:58:50 PM2/25/15
to kur...@googlegroups.com
What do you see in the console of chrome or firefox ?

Raymond Jender

unread,
Feb 25, 2015, 8:13:51 PM2/25/15
to kur...@googlegroups.com
Doesn't look very good.  Firefox console:

Expected ':' but found '}'.  Declaration dropped. kurento.css:25
Expected 'none', URL, or filter function but found 'dropshadow('.  Error in parsing value for 'filter'.  Declaration dropped. ekko-lightbox.min.css:6
Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. bootstrap.min.css:5
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.min.css:5
Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5
Expected media feature name but found '-webkit-min-device-pixel-ratio'. bootstrap.min.css:5
Unknown property 'touch-action'.  Declaration dropped. bootstrap.min.css:5
Unknown property 'user-select'.  Declaration dropped. bootstrap.min.css:5
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5
Unknown property 'zoom'.  Declaration dropped. bootstrap.min.css:5
Expected media feature name but found 'transform-3d'. bootstrap.min.css:5
Expected media feature name but found '-webkit-transform-3d'. bootstrap.min.css:5
Error in parsing value for 'perspective'.  Declaration dropped. bootstrap.min.css:5
Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped. bootstrap.min.css:5

Raymond Jender

unread,
Feb 25, 2015, 8:40:15 PM2/25/15
to kur...@googlegroups.com
I am also getting this in the console:

GET http://192.168.1.103:8080/ [HTTP/1.1 200 OK 125ms]
GET http://192.168.1.103:8080/bower_components/bootstrap/dist/css/bootstrap.min.css [HTTP/1.1 200 OK 77ms]
GET http://192.168.1.103:8080/bower_components/ekko-lightbox/dist/ekko-lightbox.min.css [HTTP/1.1 200 OK 32ms]
GET http://192.168.1.103:8080/css/kurento.css [HTTP/1.1 200 OK 28ms]
GET http://192.168.1.103:8080/bower_components/jquery/dist/jquery.min.js [HTTP/1.1 200 OK 33ms]
GET http://192.168.1.103:8080/bower_components/bootstrap/dist/js/bootstrap.min.js [HTTP/1.1 200 OK 56ms]
GET http://192.168.1.103:8080/bower_components/ekko-lightbox/dist/ekko-lightbox.min.js [HTTP/1.1 200 OK 88ms]
GET http://192.168.1.103:8080/bower_components/adapter.js/samples/web/js/adapter.js [HTTP/1.1 404 Not Found 240ms]
GET http://192.168.1.103:8080/js/kurento-utils.js [HTTP/1.1 200 OK 87ms]
GET http://192.168.1.103:8080/js/console.js [HTTP/1.1 200 OK 87ms]
GET http://192.168.1.103:8080/js/index.js [HTTP/1.1 200 OK 84ms]
GET http://192.168.1.103:8080/img/webrtc.png [HTTP/1.1 200 OK 251ms]
GET http://192.168.1.103:8080/img/urjc.gif [HTTP/1.1 200 OK 254ms]
GET http://192.168.1.103:8080/img/kurento.png [HTTP/1.1 200 OK 253ms]
GET http://192.168.1.103:8080/img/naevatec.png [HTTP/1.1 200 OK 253ms]
GET http://192.168.1.103:8080/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff [HTTP/1.1 200 OK 17ms]
The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.
ReferenceError: getUserMedia is not defined kurento-utils.js:299

GET http://192.168.1.103:8080/img/transparent-1px.png [HTTP/1.1 200 OK 5ms]
GET http://192.168.1.103:8080/img/spinner.gif [HTTP/1.1 200 OK 5ms]
GET http://192.168.1.103:8080/css/kurento.css [HTTP/1.1 200 OK 4ms]
GET http://192.168.1.103:8080/bower_components/bootstrap/dist/css/bootstrap.min.css [HTTP/1.1 200 OK 10ms]
GET http://192.168.1.103:8080/bower_components/ekko-lightbox/dist/ekko-lightbox.min.css [HTTP/1.1 200 OK 3ms]
GET http://192.168.1.103:8080/img/webrtc.png [HTTP/1.1 200 OK 5ms]
GET http://192.168.1.103:8080/ [HTTP/1.1 304 Not Modified 6ms]
HTTP "Content-Type" of "text/html" is not supported. Load of media resource http://192.168.1.103:8080/ failed. 192.168.1.103:8080

Rolla Matthieu

unread,
Feb 25, 2015, 8:46:27 PM2/25/15
to kur...@googlegroups.com
do you have in the folder static/bower_components/adapter.js/samples/web/js the file adapt.js ?


Ivan Gracia

unread,
Feb 26, 2015, 4:40:58 AM2/26/15
to Kurento Public
Rolla is right, looks like you don't have adapter.js so the client fails to load correctly. Tutorials have been fixed in the develop branch, so you can just update to that branch where the adapter.js thing is solved.

Cheers,

Ivan Gracia


Raymond Jender

unread,
Feb 26, 2015, 6:19:41 PM2/26/15
to kur...@googlegroups.com
How to get to the develop branch?   I found this:  https://github.com/KurentoLegacy/kurento-media-framework
but it's months old?   Much older that what I installed?

Ray
...

Raymond Jender

unread,
Feb 26, 2015, 6:30:28 PM2/26/15
to kur...@googlegroups.com
I found the develop branch, but how to install?

Ray
...

Raymond Jender

unread,
Feb 26, 2015, 6:32:04 PM2/26/15
to kur...@googlegroups.com
Actually it's the kurento-tutorial-java ??  Is that correct?
...

Ivan Gracia

unread,
Feb 27, 2015, 4:00:00 AM2/27/15
to Kurento Public
Yes, that's correct. Have a look at the documentation for the tutorials, where the process is detailed.

Ivan Gracia



--
Reply all
Reply to author
Forward
0 new messages