Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13295

cannot source deploy ticketmonster to OpenShift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 4.1.0.Alpha1
    • 4.0.0.Final
    • openshift
    • None

      We need to find a way how to deploy TicketMonster (https://github.com/jboss-jdf/ticket-monster) to OpenShift, so we can update the TicketMonster tutorial afterwards.

      Due to GWT a medium sized geer needs to be used on OpenShift and build failed on:

                               
      Downloaded: http://mirror1.ops.rhcloud.com:80/nexus/content/groups/public/org/apache/maven/surefire/surefire-api/2.7.2/surefire-api-2.7.2.jar (119 KB at 1249.3 KB/sec)
                               
      Downloaded: http://mirror1.ops.rhcloud.com:80/nexus/content/groups/public/org/apache/maven/surefire/maven-surefire-common/2.7.2/maven-surefire-common-2.7.2.jar (60 KB at 602.9 KB/sec)
                               
      Downloaded: http://mirror1.ops.rhcloud.com:80/nexus/content/groups/public/org/apache/maven/surefire/surefire-booter/2.7.2/surefire-booter-2.7.2.jar (32 KB at 320.3 KB/sec)
      [INFO] Tests are skipped.
      [INFO] 
      [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ ticket-monster ---
      [INFO] auto discovered modules [org.jboss.jdf.example.ticketmonster.BookingMonitor]
      [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
      [ERROR] Dec 13, 2012 8:05:03 AM java.util.prefs.FileSystemPreferences$1 run
      [ERROR] INFO: Created user preferences directory.
      [INFO] Compiling module org.jboss.jdf.example.ticketmonster.BookingMonitor
      [INFO]    Scanning for additional dependencies: jar:file:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-ioc/2.0.0.Final/errai-ioc-2.0.0.Final.jar!/org/jboss/errai/ioc/client/Container.java
      [INFO]       Computing all possible rebind results for 'org.jboss.errai.ioc.client.Bootstrapper'
      [INFO]          Rebinding org.jboss.errai.ioc.client.Bootstrapper
      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
      [INFO]                Generating Extensions Bootstrapper...
      [INFO] INFO [IOCBootstrapGenerator] generating IOC bootstrapping class...
      [INFO] INFO [Reflections] Reflections took 10501 ms to scan 8 urls, producing 350 keys and 1287 values 
      [INFO] INFO [Reflections] Reflections took 2287 ms to scan 8 urls, producing 350 keys and 1287 values 
      [INFO]                Checking ErraiApp.properties for configured types ...
      [INFO] INFO [IOCBootstrapGenerator] generated IOC bootstrapping class in 29400ms
      [INFO] INFO [IOCBootstrapGenerator] using IOC bootstrapping code at: /var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/.errai/BootstrapperImpl.java
      [INFO]          Rebinding org.jboss.errai.ioc.client.Bootstrapper
      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
      [INFO]                Generating Extensions Bootstrapper...
      [INFO]          Rebinding org.jboss.errai.ioc.client.Bootstrapper
      [INFO]             Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
      [INFO]                Generating Extensions Bootstrapper...
      [INFO]    Scanning for additional dependencies: jar:file:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-marshalling/2.0.0.Final/errai-marshalling-2.0.0.Final.jar!/org/jboss/errai/marshalling/client/api/MarshallerFramework.java
      [INFO]       Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
      [INFO]                Generating Marshallers Bootstrapper...
      [INFO] INFO [MarshallerGeneratorFactory] generating marshalling class...
      [INFO] INFO [MarshallerGeneratorFactory] generated marshalling class in 12828ms.
      [INFO] INFO [Generator] considering '/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/target/classes/' as module output path ...
      [INFO] INFO [Generator]    found '/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/target/classes' output directory
      [INFO] INFO [Generator] ** deposited marshaller class in : /var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/target/classes
      [INFO] INFO [MarshallerGeneratorFactory] generating marshalling class...
      [INFO] INFO [MarshallerGeneratorFactory] generated marshalling class in 5825ms.
      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
      [INFO]                Generating Marshallers Bootstrapper...
      [INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
      [INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
      [INFO]                Generating Marshallers Bootstrapper...
      [INFO] INFO [RpcProxyLoaderGenerator] generating rpc proxy loader class.
      [INFO]    Compiling 3 permutations
      [INFO]       Creating PermutationWorkerFactory instances
      [INFO]          [ERROR] Unable to create socket
      [INFO] java.net.BindException: Permission denied
      [INFO] 	at java.net.PlainSocketImpl.socketBind(Native Method)
      [INFO] 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
      [INFO] 	at java.net.ServerSocket.bind(ServerSocket.java:376)
      [INFO] 	at java.net.ServerSocket.bind(ServerSocket.java:330)
      [INFO] 	at com.google.gwt.dev.ExternalPermutationWorkerFactory.init(ExternalPermutationWorkerFactory.java:383)
      [INFO] 	at com.google.gwt.dev.PermutationWorkerFactory.createAll(PermutationWorkerFactory.java:314)
      [INFO] 	at com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:355)
      [INFO] 	at com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267)
      [INFO] 	at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:207)
      [INFO] 	at com.google.gwt.dev.Compiler.run(Compiler.java:242)
      [INFO] 	at com.google.gwt.dev.Compiler.run(Compiler.java:198)
      [INFO] 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
      [INFO] 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
      [INFO] 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
      [INFO] 	at com.google.gwt.dev.Compiler.main(Compiler.java:177)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7:23.007s
      [INFO] Finished at: Thu Dec 13 08:09:39 EST 2012
      [INFO] Final Memory: 31M/309M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default) on project ticket-monster: Command [[
      [ERROR] /bin/sh -c /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9/jre/bin/java -Xmx512m -classpath /var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/src/main/java:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/src/main/resources:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/target/classes:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/enterprise/cdi-api/1.0-SP4/cdi-api-1.0-SP4.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.1.Final/jboss-interceptors-api_1.1_spec-1.0.1.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.1.Final/jboss-annotations-api_1.1_spec-1.0.1.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_1.1_spec/1.0.0.Final/jboss-jaxrs-api_1.1_spec-1.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.2.Final/jboss-ejb-api_3.1_spec-1.0.2.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/spec/javax/faces/jboss-jsf-api_2.1_spec/2.0.2.Final/jboss-jsf-api_2.1_spec-2.0.2.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/hibernate/hibernate-validator/4.2.0.Final/hibernate-validator-4.2.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-bus/2.0.0.Final/errai-bus-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-common/2.0.0.Final/errai-common-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/reflections/reflections/2.0.0.Final/reflections-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-marshalling/2.0.0.Final/errai-marshalling-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/javassist/javassist/3.15.0-GA/javassist-3.15.0-GA.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/io/netty/netty/4.0.0.Alpha1.errai.r1/netty-4.0.0.Alpha1.errai.r1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-ioc/2.0.0.Final/errai-ioc-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-codegen/2.0.0.Final/errai-codegen-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-tools/2.0.0.Final/errai-tools-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/mvel/mvel2/2.1.Beta8/mvel2-2.1.Beta8.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-cdi-client/2.0.0.Final/errai-cdi-client-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-javax-enterprise/2.0.0.Final/errai-javax-enterprise-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-weld-integration/2.0.0.Final/errai-weld-integration-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/jboss/errai/errai-cdi-jetty/2.0.0.Final/errai-cdi-jetty-2.0.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/gwt/gwt-dev/2.4.0/gwt-dev-2.4.0.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/hibernate/hibernate-jpamodelgen/1.2.0.Final/hibernate-jpamodelgen-1.2.0.Final.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.1/jackson-core-asl-1.8.1.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/.m2/repository/com/google/gwt/gwt-dev/2.4.0/gwt-dev-2.4.0.jar com.google.gwt.dev.Compiler -gen /var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/target/.generated -logLevel INFO -style OBF -war /var/lib/openshift/88d23ca5d5a84284903ecd0bd407ef49/app-root/runtime/repo/src/main/webapp -localWorkers 2 -draftCompile org.jboss.jdf.example.ticketmonster.BookingMonitor
      [ERROR] ]] failed with status 1
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [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
      Running .openshift/action_hooks/build
      Running .openshift/action_hooks/deploy
      hot_deploy_added=false
      Found 127.7.106.1:8080 listening port
      Done
      

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: