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

FIWARE.Request.Tech.WebUI.RealVirtualInteraction.Unable_configure_cross-origin_requests

    Details

    • HD-Chapter:
      WebUI
    • HD-Enabler:
      Real Virtual Interaction

      Description

      Responsible: fiware@ulpgc.es
      Tested GE(s): GIS Data Provider - GeoServer 3D GE

      Environment:

      • Filab Cloud
        Machine ID: c3bb506b-3aaa-4a91-bd08-1fe7b7364aac
        Region: Spain
        Test user: ulpgc-test-web-ui3
        Image name: Ubuntu Server 14.04.1 (64 bits)
      • Local
        Operating System: Ubuntu 14.04.1 (64 bits)
        Virtualization software: VirtualBox 4.3.18
        Host Operating System: Windows 8 (64 bits)

      Link:
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/GIS_Data_Provider_-_Installation_and_Administration_Guide#Configuration_for_allowing_cross-origin_requests

      Description:

      In the section Configuration for allowing cross-origin requests of the
      Installation and Administration Guide we are told to allow cross-origin
      requests by modifying src/web/app/pom.xml and
      src/web/app/src/main/webapp/WEB-INF/web.xml. However, when we try to run
      again the server we get an error regarding the new dependency added in
      src/web/app/pom.xml. The error can be seen in the console output shared
      below.

      Console output:
      test@tesgis-14-04:~/geoserver/src/web/app$ mvn -Djetty.port=9090 jetty:run
      -Pw3ds
      [INFO] Scanning for projects...
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Building GeoServer Web Application
      [INFO] task-segment: [jetty:run]
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Preparing jetty:run
      [INFO] [git-commit-id:revision

      {execution: default}

      ]
      [INFO] [GitCommitIdMojo] .git directory could not be found, skipping
      execution
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory
      /home/test/geoserver/src/web/app/src/main/resources
      [INFO] skip non existing resourceDirectory
      /home/test/geoserver/src/web/app/src/main/java
      [INFO]
      ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Error building POM (may not be this project's POM).

      Project ID: null:jetty-project:pom:9.0.6.v20130930

      Reason: Cannot find parent: org.eclipse.jetty:jetty-parent for project:
      null:jetty-project:pom:9.0.6.v20130930 for project
      null:jetty-project:pom:9.0.6.v20130930

      [INFO]
      ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO]
      ------------------------------------------------------------------------
      [INFO] Total time: 20 seconds
      [INFO] Finished at: Wed Nov 05 12:28:28 CET 2014
      [INFO] Final Memory: 41M/98M
      [INFO]
      ------------------------------------------------------------------------

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

        Activity

        pablo.fernandez Pablo Fernandez Moniz created issue -
        sami_jylkk J-P Viuhkola made changes -
        Field Original Value New Value
        Link This issue is cloned by HELP-1163 [ HELP-1163 ]
        Hide
        sami_jylkk J-P Viuhkola added a comment -

        Most probably error was caused due wrong jetty version number. Documentation is now updated with correct version number:

        <dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-servlets</artifactId>
        <version>9.2.4.v20141103</version>
        </dependency>

        Show
        sami_jylkk J-P Viuhkola added a comment - Most probably error was caused due wrong jetty version number. Documentation is now updated with correct version number: <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlets</artifactId> <version>9.2.4.v20141103</version> </dependency>
        sami_jylkk J-P Viuhkola made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        pablo.fernandez Pablo Fernandez Moniz added a comment -

        Hi Sami,

        We changed the Jetty Servlet version in the pom.xml and the geoserver was executed succesfully with Jetty. We confirm that it worked for both our local machine and the one deployed in FiLab cloud. Thank you very much for the correction!

        Best regards,

        Show
        pablo.fernandez Pablo Fernandez Moniz added a comment - Hi Sami, We changed the Jetty Servlet version in the pom.xml and the geoserver was executed succesfully with Jetty. We confirm that it worked for both our local machine and the one deployed in FiLab cloud. Thank you very much for the correction! Best regards,
        Hide
        sami_jylkk J-P Viuhkola added a comment -

        Hi Pablo,
        Glad to hear that problem is now verified and thank you for reporting problem!

        Best regards,
        Sami

        Show
        sami_jylkk J-P Viuhkola added a comment - Hi Pablo, Glad to hear that problem is now verified and thank you for reporting problem! Best regards, Sami
        sami_jylkk J-P Viuhkola made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Done [ 10000 ]
        mev Manuel Escriche made changes -
        Assignee Sami Jylkkä [ sami.jylkka ]
        mev Manuel Escriche made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        mev Manuel Escriche made changes -
        Fix Version/s Sprint 4.1.2 [ 10738 ]
        sami_jylkk J-P Viuhkola made changes -
        Summary [Fiware-tech-help] [WebUI][Geoserver 3D] Unable to configure cross-origin requests with the installation guide FIWARE.Request.Lab.WebUI.RealVirtualInteraction.Unable_configure_cross-origin_requests
        sami_jylkk J-P Viuhkola made changes -
        Link This issue is cloned by WEB-76 [ WEB-76 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.WebUI.RealVirtualInteraction.Unable_configure_cross-origin_requests FIWARE.Request.Tech.WebUI.RealVirtualInteraction.Unable_configure_cross-origin_requests
        mev Manuel Escriche made changes -
        Workflow FW eRequest Workflow [ 18674 ] FW extRequest Workflow-II [ 40674 ]
        Status Done [ 10000 ] Closed [ 6 ]
        Issue Type eRequest [ 10101 ] extRequest [ 10104 ]
        FI-WARE Environment FI-LAB [ 10100 ]
        mev Manuel Escriche made changes -
        HD-Enabler Real Virtual Interaction [ 10899 ]
        HD-Chapter WebUI [ 10842 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        4d 32m 1 J-P Viuhkola 10/Nov/14 2:26 PM
        In Progress In Progress Done Done
        16h 48m 1 J-P Viuhkola 11/Nov/14 7:14 AM
        Done Done Closed Closed
        427d 1h 53m 1 Manuel Escriche 12/Jan/16 9:08 AM

          People

          • Assignee:
            sami_jylkk J-P Viuhkola
            Reporter:
            pablo.fernandez Pablo Fernandez Moniz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: