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

FIWARE.Request.Tech.Data.CEP.CEP over tomcat7, problem with Docker definition

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      /Dear All,/

      /I have dockerized the complex event processing by using Dockerfile provided in/official github https://github.com/ishkin/Proton.

      /But I am facing a problem with getting running the the proton web server// and authoringTool.
      /
      /Please, find pasted different logs for the problem and server.
      /
      /Best,
      //David Raba
      //Ubikwa

      ///---------------------------------------------------
      /GET http://localhost:8080/AuthoringTool/Main.html
      /RESULT:
      //

      HTTP Status 404 - /AuthoringTool/Main.html

      ------------------------------------------------------------------------

      *type*Status report

      message/AuthoringTool/Main.html

      descriptionThe requested resource is not available.

      ------------------------------------------------------------------------

      Apache Tomcat/7.0.52 (Ubuntu)

      /

      ////---------------------------------------------------
      //GET http://localhost:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer
      //RESULT:
      ///

      HTTP Status 404 -
      /ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

      ------------------------------------------------------------------------

      *type*Status report

      message/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

      descriptionThe requested resource is not available.

      ------------------------------------------------------------------------

      Apache Tomcat/7.0.52 (Ubuntu)

      /
      When it should be:
      /

      {"state":"stopped","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/DoSAttack2"}

      /
      ---------------------------------------------------
      TOMCAT LOG
      Using CATALINA_BASE: /var/lib/tomcat7/
      Using CATALINA_HOME: /usr/share/tomcat7/
      Using CATALINA_TMPDIR: /var/lib/tomcat7//temp
      Using JRE_HOME: /usr/lib/jvm/java-7-oracle/jre
      Using CLASSPATH: /usr/share/tomcat7//bin/bootstrap.jar:/usr/share/tomcat7//bin/tomcat-juli.jar
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:40 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
      May 28, 2015 2:26:41 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8080"]
      May 28, 2015 2:26:41 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 645 ms
      May 28, 2015 2:26:41 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      May 28, 2015 2:26:41 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
      May 28, 2015 2:26:41 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
      May 28, 2015 2:26:41 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/host-manager.xml
      May 28, 2015 2:26:41 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive /var/lib/tomcat7/webapps/ProtonOnWebServerAdmin.war
      May 28, 2015 2:26:42 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive /var/lib/tomcat7/webapps/ProtonOnWebServer.war
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.webapp.ProtonServletContextListener contextInitialized
      INFO: initializing ProtonServletContextListener
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.webapp.ProtonServletContextListener$1 run
      INFO: context real path = /var/lib/tomcat7/webapps/ProtonOnWebServer/
      69 [localhost-startStop-1] INFO org.apache.wink.server.internal.servlet.RestServlet - The system is using the com.ibm.hrl.proton.webapp.WebApplication JAX-RS application class that is named in the javax.ws.rs.Application init-param initialization parameter.
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.server.executor.PropertiesParser loadProperties
      INFO: Properties are :
      metadatFile =EmptyDefinition.json
      inputPortNumber =3002
      outputPortNumber =3302
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.webapp.ProtonServletContextListener$1 run
      INFO: init: initializing metadata and all the system singletons
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.webapp.ProtonServletContextListener$1 run
      INFO: init: done initializing metadata, returned the following exceptions:
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.webapp.ProtonServletContextListener$1 run
      INFO: init: done initializing singletons , starting the servers...
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.server.adapter.OutputServer run
      INFO: Proton output server started, listening on output port: 3302
      May 28, 2015 2:26:43 PM com.ibm.hrl.proton.server.adapter.InputServer run
      INFO: Proton server Started, listening on port: 3002
      289 [localhost-startStop-1] INFO org.apache.wink.server.internal.application.ApplicationProcessor - The following JAX-RS application has been processed: com.ibm.hrl.proton.webapp.WebApplication
      290 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class deprecated.EventResourcePlainTextDeprecated with @Path(/events-plain-text).
      290 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class deprecated.EventResourceJSONDeprecated with @Path(/events-json).
      290 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Resources - The server has registered the JAX-RS resource class com.ibm.hrl.proton.webapp.resources.EventResource with @Path(/events).
      293 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Providers - The class com.ibm.hrl.proton.webapp.providers.EventPlainTextMessageReader was registered as a JAX-RS MessageBodyReader provider for com.ibm.hrl.proton.runtime.event.interfaces.IEventInstance Java types and text/plain media types.
      293 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Providers - The class com.ibm.hrl.proton.webapp.providers.EventXmlNgsiMessageReader was registered as a JAX-RS MessageBodyReader provider for com.ibm.hrl.proton.runtime.event.EventInstance Java types and application/xml media types.
      293 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Providers - The class com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader was registered as a JAX-RS MessageBodyReader provider for com.ibm.hrl.proton.runtime.event.EventInstance Java types and application/json media types.
      293 [localhost-startStop-1] INFO org.apache.wink.server.internal.log.Providers - The class com.ibm.hrl.proton.webapp.exceptions.ResponseExceptionMapper was registered as a JAX-RS ExceptionMapper provider for com.ibm.hrl.proton.webapp.exceptions.ResponseException Java types.
      331 [localhost-startStop-1] INFO org.apache.wink.common.internal.application.ApplicationFileLoader - The runtime is loading the JAX-RS application from jar:file:/var/lib/tomcat7/webapps/ProtonOnWebServer/WEB-INF/lib/wink-json4j-provider-1.2.0-incubating.jar!/META-INF/wink-application
      May 28, 2015 2:26:43 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
      May 28, 2015 2:26:44 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      May 28, 2015 2:26:44 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 3246 ms

      /

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

      [Created via e-mail received from: David Raba <draba@ubikwa.com>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Dear David,

        Fabiana (I CC her) should be able to help.

        Fabiana, if you are so kind...

        regards,

        Miguel

        El 28/05/2015 a las 17:18, David Raba escribió:

        Dear All,

        I have dockerized the complex event processing by using Dockerfile provided in official github https://github.com/ishkin/Proton.

        But I am facing a problem with getting running the the proton web server and authoringTool.

        Please, find pasted different logs for the problem and server.

        Best,
        David Raba
        Ubikwa

        ---------------------------------------------------
        GET http://localhost:8080/AuthoringTool/Main.html
        RESULT:

        HTTP Status 404 - /AuthoringTool/Main.html

        Show
        fw.ext.user FW External User added a comment - Dear David, Fabiana (I CC her) should be able to help. Fabiana, if you are so kind... regards, Miguel El 28/05/2015 a las 17:18, David Raba escribió: Dear All, I have dockerized the complex event processing by using Dockerfile provided in official github https://github.com/ishkin/Proton . But I am facing a problem with getting running the the proton web server and authoringTool. Please, find pasted different logs for the problem and server. Best, David Raba Ubikwa --------------------------------------------------- GET http://localhost:8080/AuthoringTool/Main.html RESULT: HTTP Status 404 - /AuthoringTool/Main.html
        Hide
        TALI Fabiana Fournier added a comment -

        Issue was solved with the assistance of people from the Haifa lab

        Show
        TALI Fabiana Fournier added a comment - Issue was solved with the assistance of people from the Haifa lab

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: