[Fiware-tech-help] [FI-WARE- CEP] Regarding complex event processing CEP over tomcat7, problem with Docker definition to run proton and web server admin/auth

MIGUEL CARRILLO PACHECO miguel.carrillopacheco at telefonica.com
Thu May 28 17:29:33 CEST 2015


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
________________________________

type Status report

message /AuthoringTool/Main.html

description The 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

description The 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<jar:file:/var/lib/tomcat7/webapps/ProtonOnWebServer/WEB-INF/lib/wink-json4j-provider-1.2.0-incubating.jar%21/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 at lists.fi-ware.org<mailto:Fiware-tech-help at lists.fi-ware.org>
https://lists.fi-ware.org/listinfo/fiware-tech-help



--

Please update your address book with my new e-mail address: miguel.carrillopacheco at telefonica.com<mailto:miguel.carrillopacheco at telefonica.com>

----------------------------------------------------------------------
     _/          _/_/                     Miguel Carrillo Pacheco
    _/   _/     _/  _/   Telefónica       Distrito Telefónica
   _/ _/_/_/   _/   _/   Investigación y  Edifico Oeste 1, Planta 6
  _/   _/     _/  _/     Desarrollo       Ronda de la Comunicación S/N
 _/          _/_/                         28050 Madrid (Spain)
                                          Tel:  (+34) 91 483 26 77

                         e-mail: miguel.carrillopacheco at telefonica.com<mailto:miguel.carrillopacheco at telefonica.com>

Follow FIWARE on the net

        Website:  http://www.fiware.org
        Facebook: https://www.facebook.com/eu.fiware
        Twitter:  http://twitter.com/Fiware
        LinkedIn: https://www.linkedin.com/groups/FIWARE-4239932
----------------------------------------------------------------------

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150528/ca3d3663/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy