From alvaro.vegagarcia at telefonica.com Mon Mar 2 15:03:17 2015 From: alvaro.vegagarcia at telefonica.com (Alvaro Vega) Date: Mon, 2 Mar 2015 15:03:17 +0100 Subject: [Fiware-tech-help] Typeform: New request to FIWARE.AzPDP.Contact In-Reply-To: References: <0000014bda63dd5d-292d3a22-f35a-4a77-90cb-14c3ac9b4344-000000@email.amazonses.com> Message-ID: <1425304997.6685.13.camel@telefonica.com> Hi, Regarding with this issue, this is the full data: GE: Authzforce-fiware-bin-dist-4.1 (from http://catalogue.fiware.org/sites/default/files/storage/enablers/authzforce-fiware-bin-dist-4.1.zip) REQUEST: curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ -d 'MyDomainThis is my domain.' \ -H "Accept: application/xml" \ http://localhost:8180/authzforce/domains/ RESPONSE: HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 1472 Date: Mon, 02 Mar 2015 13:40:55 GMT Connection: close GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NoSuchMethodError: javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.


GlassFish Server Open Source Edition 3.1.2.2

FULL-LOGS::/opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.log 2015-03-02 14:43:41,107|WARN |http-thread-pool-8180(3)| AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; cvc-elt.1: Cannot find the declaration of element 'taz:properties'.] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:435) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:372) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:342) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStream(JAXBElementProvider.java:263) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBElementProvider.java:216) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementProvider.java:175) at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUtils.java:1196) at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1144) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:695) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:655) at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:238) at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:99) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper $AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool $Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool $Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:745) Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; cvc-elt.1: Cannot find the declaration of element 'taz:properties'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1906) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:746) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:570) at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:101) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:246) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:180) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:370) ... 45 more | I guess XML provided is wrong defined or uncompleted: MyDomain This is my domain. Could you provide me one right? Thanks in advance, ?lvaro Vega BTW: I'm pretty sure that your input request form is translating xml code. On Mon, 2015-03-02 at 14:31 +0100, DANGERVILLE Cyril wrote: > Hello, > > This form is only for first contact (before you decide to use the GE). > Would you mind resending your issue to the following mailing list, > please? > > fiware-tech-help at lists.fi-ware.org > > Please also indicate the version of the GEi you are trying to install, > and the full stracktrace you got in the logs (not just the first/last > exception). Thank you. > > > > Then it will be assigned to me by the FIWARE helpdesk and I will take > care of it. > > Sorry for the extra effort, but it will be better handled this way. > Besides, it seems your XML in the curl request was stripped off (see > mail below). I guess you didn?t just send ?'MyDomainThis is my > domain ? in the request body. > > > > Regards, > > Cyril > > > > De : notifications at typeform.com [mailto:notifications at typeform.com] > Envoy? : lundi 2 mars 2015 13:09 > ? : cyril.dangerville at thalesgroup.com > Objet : Typeform: New request to FIWARE.AzPDP.Contact > > > > > Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the > results: > > * Please describe the use case for which you intend to use the > FIWARE Authorization PDP. > test > > > > * What type of service do you want to control access to? > (Protocol, API... e.g. HTTP/REST) > rest > > > > * You can now formulate your request, at last :) > I'm trying to set up authzforce. After configure opendj and > deploy authz I'm trying to create a new domain following > instructions: > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Access_Control_-_Installation_and_Administration_Guide#Domain_Creation > $ curl -i -X POST -H "Content-Type: > application/xml;charset=UTF-8" \ > -d 'MyDomainThis is my domain.' \ > -H "Accept: application/xml" \ > http://localhost:8180/authzforce/domains > > and the response is: > HTTP/1.1 500 Internal Server Error > Content-Type: text/html > Content-Length: 1472 > Date: Mon, 02 Mar 2015 12:03:30 GMT > Connection: close > HTTP Status 500 - > > ______________________________________________________________________ > type Exception report > > message > > descriptionThe server encountered an internal error () that prevented > it from fulfilling this request. > > exception > > java.lang.NoSuchMethodError: javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response; > > note The full stack traces of the exception and its root causes are > available in the GlassFish Server Open Source Edition 3.1.2.2 logs. > > > ______________________________________________________________________ > GlassFish Server Open Source Edition 3.1.2.2 > > > > But in authz traces I've see: > 015-03-02 13:03:30,706|WARN |http-thread-pool-8180(4)| > AbstractJAXBProvider:655| > javax.xml.bind.UnmarshalException > - with linked exception: > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > cvc-elt.1: Cann > ot find the declaration of element 'taz:properties'.] > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStrea > mException(UnmarshallerImpl.java:435) > > I guess XML provided is wrong: > 'MyDomainThis is my domain.' > > Could you provide me one right? > Thanks in advance > > > > To complete, please give me some contact information so that we can > get back to you. > > * Your full name (last name last): > Alvaro Vega > > > > * Your email address: > alvaro.vegagarcia at telefonica.com > > > > * Name of your organization (company, institution, etc.): > Telefonica I+D > > > > * Your job function (especially in relation to FIWARE): > R&D Engineer > > > > > > Have a nice day :) > Team Typeform > > ________________________________ 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 From fearff99 at yahoo.com Mon Mar 2 23:23:54 2015 From: fearff99 at yahoo.com (Jessie Tripp) Date: Mon, 2 Mar 2015 23:23:54 +0100 (CET) Subject: [Fiware-tech-help] [SPAM] Jim Humble Newsletter Message-ID: <20150302222354.7F85C3FCFF@mail.fi-ware.eu> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: ?????? ?????? Online Version ?????? ?????? ?????? ?????? ?????? GESUNDHEIT - EIN SCHRITT WEITER Liebe Leserinnen und Leser, es freut uns sehr, Sie heute wieder ????ber Neuigkeiten aus dem Jim Humble Verlag informieren zu k??nnen. [...] Content analysis details: (14.0 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (fearff99[at]yahoo.com) 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [125.112.224.185 listed in bl.score.senderscore.com] 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [125.112.224.185 listed in psbl.surriel.com] 1.6 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers 1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [125.112.224.185 listed in bb.barracudacentral.org] 0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [125.112.224.185 listed in zen.spamhaus.org] 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.5 MISSING_MID Missing Message-Id: header 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 1.4 MISSING_DATE Missing Date: header 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. -------------- next part -------------- An embedded message was scrubbed... From: "Jessie Tripp" Subject: Jim Humble Newsletter Date: no date Size: 64172 URL: From cyril.dangerville at thalesgroup.com Wed Mar 4 00:04:04 2015 From: cyril.dangerville at thalesgroup.com (DANGERVILLE Cyril) Date: Wed, 4 Mar 2015 00:04:04 +0100 Subject: [Fiware-tech-help] Typeform: New request to FIWARE.AzPDP.Contact In-Reply-To: <1425304997.6685.13.camel@telefonica.com> References: <0000014bda63dd5d-292d3a22-f35a-4a77-90cb-14c3ac9b4344-000000@email.amazonses.com> <1425304997.6685.13.camel@telefonica.com> Message-ID: Hello, Indeed, the documentation on the public wiki has not been updated yet for release 4.1 (I had instructions not to), although it is very close. A few XML namespaces and formats have changed (partly due to shift from XACML 2.0 to 3.0), which seems to be the cause here. I have attached the latest documentation for release 4.1 as PDF (exported from our private wiki). You will find out that the namespace "http://thalesgroup.com/authz/model" used in your request has to be replaced now with "http://thalesgroup.com/authz/model/3.0/resource". curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ -d 'MyDomainThis is my domain.' \ -H "Accept: application/xml" \ http://localhost:8180/authzforce/domains/ Sorry for the trouble. If this is not fixing it, don't hesitate to let me know. FYI, the REST API specification is described by WADL here: http://localhost:8180/authzforce/?_wadl Some REST clients (e.g. SoapUI) can use that for generating valid requests. Regards, Cyril > -----Message d'origine----- > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > Envoy? : lundi 2 mars 2015 15:03 > ? : DANGERVILLE Cyril > Cc : fiware-tech-help at lists.fi-ware.org > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > Hi, > Regarding with this issue, this is the full data: > > GE: Authzforce-fiware-bin-dist-4.1 (from > http://catalogue.fiware.org/sites/default/files/storage/enablers/authzf > orce-fiware-bin-dist-4.1.zip) > > > REQUEST: > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > -d ' xmlns:taz="http://thalesgroup.com/authz/model">MyDomain scription>This is my domain.' \ > -H "Accept: application/xml" \ > http://localhost:8180/authzforce/domains/ > > > RESPONSE: > HTTP/1.1 500 Internal Server Error > Content-Type: text/html > Content-Length: 1472 > Date: Mon, 02 Mar 2015 13:40:55 GMT > Connection: close > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> xmlns="http://www.w3.org/1999/xhtml">GlassFish Server Open > Source Edition 3.1.2.2 - Error report >

HTTP Status 500 -


type Exception > report

message

descriptionThe server > encountered an internal error () that prevented it from fulfilling this > request.

exception

java.lang.NoSuchMethodError:
> javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lja
> vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

>note The full stack traces of the exception and its root > causes are available in the GlassFish Server Open Source Edition > 3.1.2.2 logs.


GlassFish Server Open Source Edition > 3.1.2.2

> > FULL- > LOGS::/opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.l > og > > 2015-03-02 14:43:41,107|WARN |http-thread-pool-8180(3)| > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > - with linked exception: > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > cvc-elt.1: Cannot find the declaration of element 'taz:properties'.] > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamE > xception(UnmarshallerImpl.java:435) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > marshallerImpl.java:372) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unm > arshallerImpl.java:342) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStr > eam(JAXBElementProvider.java:263) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBEleme > ntProvider.java:216) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementP > rovider.java:175) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUt > ils.java:1196) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.ja > va:1144) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > 695) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java > :655) > at > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXR > SInInterceptor.java:238) > at > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRS > InInterceptor.java:99) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor > Chain.java:271) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat > ionObserver.java:121) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHT > TPDestination.java:239) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se > rvletController.java:223) > at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > ller.java:203) > at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > ller.java:137) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSprin > gServlet.java:158) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst > ractHTTPServlet.java:243) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTT > PServlet.java:163) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT > TPServlet.java:219) > at > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1 > 550) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal > ve.java:281) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal > ve.java:175) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.jav > a:655) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 595) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav > a:161) > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav > a:331) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 231) > at com.sun.enterprise.v3.services.impl.ContainerMapper > $AdapterCallable.call(ContainerMapper.java:317) > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa > pper.java:195) > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860 > ) > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte > r.java:229) > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto > colChain.java:137) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > 104) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > 90) > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7 > 9) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas > k.java:54) > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja > va:59) > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > at com.sun.grizzly.util.AbstractThreadPool > $Worker.doWork(AbstractThreadPool.java:532) > at com.sun.grizzly.util.AbstractThreadPool > $Worker.run(AbstractThreadPool.java:513) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: > 39; cvc-elt.1: Cannot find the declaration of element 'taz:properties'. > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa > rseException(ErrorHandlerWrapper.java:198) > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Error > HandlerWrapper.java:134) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:437) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:368) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:325) > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleSta > rtElement(XMLSchemaValidator.java:1906) > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem > ent(XMLSchemaValidator.java:746) > at > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl > .startElement(ValidatorHandlerImpl.java:570) > at > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startEl > ement(ValidatingUnmarshaller.java:101) > at > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStar > tElement(StAXStreamConnector.java:246) > at > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StA > XStreamConnector.java:180) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > marshallerImpl.java:370) > ... 45 more > | > > I guess XML provided is wrong defined or uncompleted: > > > > MyDomain > This is my domain. > > Could you provide me one right? > > Thanks in advance, > ?lvaro Vega > > BTW: I'm pretty sure that your input request form is translating xml > code. > > > On Mon, 2015-03-02 at 14:31 +0100, DANGERVILLE Cyril wrote: > > Hello, > > > > This form is only for first contact (before you decide to use the > GE). > > Would you mind resending your issue to the following mailing list, > > please? > > > > fiware-tech-help at lists.fi-ware.org > > > > Please also indicate the version of the GEi you are trying to > install, > > and the full stracktrace you got in the logs (not just the first/last > > exception). Thank you. > > > > > > > > Then it will be assigned to me by the FIWARE helpdesk and I will take > > care of it. > > > > Sorry for the extra effort, but it will be better handled this way. > > Besides, it seems your XML in the curl request was stripped off (see > > mail below). I guess you didn?t just send ?'MyDomainThis is my domain > > ? in the request body. > > > > > > > > Regards, > > > > Cyril > > > > > > > > De : notifications at typeform.com [mailto:notifications at typeform.com] > > Envoy? : lundi 2 mars 2015 13:09 > > ? : cyril.dangerville at thalesgroup.com > > Objet : Typeform: New request to FIWARE.AzPDP.Contact > > > > > > > > > > Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the > > results: > > > > * Please describe the use case for which you intend to use the > > FIWARE Authorization PDP. > > test > > > > > > > > * What type of service do you want to control access to? > > (Protocol, API... e.g. HTTP/REST) > > rest > > > > > > > > * You can now formulate your request, at last :) > > I'm trying to set up authzforce. After configure opendj and > > deploy authz I'm trying to create a new domain following > > instructions: > > > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Access > _Control_-_Installation_and_Administration_Guide#Domain_Creation > > $ curl -i -X POST -H "Content-Type: > > application/xml;charset=UTF-8" \ > > -d 'MyDomainThis is my domain.' \ > > -H "Accept: application/xml" \ > > http://localhost:8180/authzforce/domains > > > > and the response is: > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/html > > Content-Length: 1472 > > Date: Mon, 02 Mar 2015 12:03:30 GMT > > Connection: close > > HTTP Status 500 - > > > > > ______________________________________________________________________ > > type Exception report > > > > message > > > > descriptionThe server encountered an internal error () that prevented > > it from fulfilling this request. > > > > exception > > > > java.lang.NoSuchMethodError: > > > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lj > > avax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response; > > > > note The full stack traces of the exception and its root causes are > > available in the GlassFish Server Open Source Edition 3.1.2.2 logs. > > > > > > > ______________________________________________________________________ > > GlassFish Server Open Source Edition 3.1.2.2 > > > > > > > > But in authz traces I've see: > > 015-03-02 13:03:30,706|WARN |http-thread-pool-8180(4)| > > AbstractJAXBProvider:655| javax.xml.bind.UnmarshalException > > - with linked exception: > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > cvc-elt.1: Cann > > ot find the declaration of element 'taz:properties'.] at > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStrea > > mException(UnmarshallerImpl.java:435) > > > > I guess XML provided is wrong: > > 'MyDomainThis is my domain.' > > > > Could you provide me one right? > > Thanks in advance > > > > > > > > To complete, please give me some contact information so that we can > > get back to you. > > > > * Your full name (last name last): > > Alvaro Vega > > > > > > > > * Your email address: > > alvaro.vegagarcia at telefonica.com > > > > > > > > * Name of your organization (company, institution, etc.): > > Telefonica I+D > > > > > > > > * Your job function (especially in relation to FIWARE): > > R&D Engineer > > > > > > > > > > > > Have a nice day :) > > Team Typeform > > > > > > > > ________________________________ > > 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 -------------- A non-text attachment was scrubbed... Name: Authorization PDP - AuthZForce - Installation and Administration Guide.v4.1.draft.pdf Type: application/pdf Size: 126710 bytes Desc: Authorization PDP - AuthZForce - Installation and Administration Guide.v4.1.draft.pdf URL: From mailing at e-mailmasivo.com Wed Mar 4 10:10:36 2015 From: mailing at e-mailmasivo.com (info@e-mailmasivo.com) Date: Wed, 4 Mar 2015 03:10:36 -0600 Subject: [Fiware-tech-help] Necesita incrementar sus ventas? Message-ID: <20150304091039.0CC613FC4E@mail.fi-ware.eu> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From alvaro.vegagarcia at telefonica.com Wed Mar 4 11:36:45 2015 From: alvaro.vegagarcia at telefonica.com (Alvaro Vega) Date: Wed, 4 Mar 2015 11:36:45 +0100 Subject: [Fiware-tech-help] Typeform: New request to FIWARE.AzPDP.Contact In-Reply-To: References: <0000014bda63dd5d-292d3a22-f35a-4a77-90cb-14c3ac9b4344-000000@email.amazonses.com> <1425304997.6685.13.camel@telefonica.com> Message-ID: <1425465405.5527.4.camel@telefonica.com> Hi Cyril, It works! I was able to create a new domain: 8659d855-c24e-11e4-bd29-60672094ecb8 Now I'm trying to set up a new rule: $ curl -i -H "Accept: application/xml" -H "Content-type: application/xml" -X PUT -d @policyset_example_authz.xml http://localhost:8180/authzforce/domains/8659d855-c24e-11e4-bd29-60672094ecb8/pap/policySet/ But I'm getting a server error: HTTP/1.1 100 Continue HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 1472 Date: Wed, 04 Mar 2015 09:41:06 GMT Connection: close GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NoSuchMethodError: javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.


GlassFish Server Open Source Edition 3.1.2.2

And traces: /opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.log 2015-03-04 10:41:06,970|WARN |http-thread-pool-8180(5)| AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 56; cvc-elt.1: Cannot find the declaration of element 'PolicySet'.] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:435) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:372) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:342) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStream(JAXBElementProvider.java:263) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBElementProvider.java:216) at org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementProvider.java:175) at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUtils.java:1196) at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1144) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:695) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:655) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:254) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:102) at org.apache.cxf.interceptor.ServiceInvokerInterceptor $1.run(ServiceInvokerInterceptor.java:58) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:691) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.v3.services.impl.ContainerMapper $AdapterCallable.call(ContainerMapper.java:317) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool $Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool $Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:745) Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 56; cvc-elt.1: Cannot find the declaration of element 'PolicySet'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:437) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1906) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:746) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:570) at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:101) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:246) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:180) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:370) ... 49 more | Do you know what is happening? Thanks in advance, ?lvaro Vega On Wed, 2015-03-04 at 00:04 +0100, DANGERVILLE Cyril wrote: > Hello, > Indeed, the documentation on the public wiki has not been updated yet for release 4.1 (I had instructions not to), although it is very close. A few XML namespaces and formats have changed (partly due to shift from XACML 2.0 to 3.0), which seems to be the cause here. > I have attached the latest documentation for release 4.1 as PDF (exported from our private wiki). You will find out that the namespace "http://thalesgroup.com/authz/model" used in your request has to be replaced now with "http://thalesgroup.com/authz/model/3.0/resource". > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > -d 'MyDomainThis is my domain.' \ > -H "Accept: application/xml" \ > http://localhost:8180/authzforce/domains/ > > Sorry for the trouble. If this is not fixing it, don't hesitate to let me know. > > FYI, the REST API specification is described by WADL here: > http://localhost:8180/authzforce/?_wadl > Some REST clients (e.g. SoapUI) can use that for generating valid requests. > > Regards, > Cyril > > > -----Message d'origine----- > > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > > Envoy? : lundi 2 mars 2015 15:03 > > ? : DANGERVILLE Cyril > > Cc : fiware-tech-help at lists.fi-ware.org > > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > > > Hi, > > Regarding with this issue, this is the full data: > > > > GE: Authzforce-fiware-bin-dist-4.1 (from > > http://catalogue.fiware.org/sites/default/files/storage/enablers/authzf > > orce-fiware-bin-dist-4.1.zip) > > > > > > REQUEST: > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > > -d ' > xmlns:taz="http://thalesgroup.com/authz/model">MyDomain > scription>This is my domain.' \ > > -H "Accept: application/xml" \ > > http://localhost:8180/authzforce/domains/ > > > > > > RESPONSE: > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/html > > Content-Length: 1472 > > Date: Mon, 02 Mar 2015 13:40:55 GMT > > Connection: close > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > xmlns="http://www.w3.org/1999/xhtml">GlassFish Server Open > > Source Edition 3.1.2.2 - Error report > >

HTTP Status 500 -


type Exception > > report

message

descriptionThe server > > encountered an internal error () that prevented it from fulfilling this > > request.

exception

java.lang.NoSuchMethodError:
> > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lja
> > vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

> >note The full stack traces of the exception and its root > > causes are available in the GlassFish Server Open Source Edition > > 3.1.2.2 logs.


GlassFish Server Open Source Edition > > 3.1.2.2

> > > > FULL- > > LOGS::/opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.l > > og > > > > 2015-03-02 14:43:41,107|WARN |http-thread-pool-8180(3)| > > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > > - with linked exception: > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > cvc-elt.1: Cannot find the declaration of element 'taz:properties'.] > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamE > > xception(UnmarshallerImpl.java:435) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > > marshallerImpl.java:372) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unm > > arshallerImpl.java:342) > > at > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStr > > eam(JAXBElementProvider.java:263) > > at > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBEleme > > ntProvider.java:216) > > at > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementP > > rovider.java:175) > > at > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUt > > ils.java:1196) > > at > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.ja > > va:1144) > > at > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > > 695) > > at > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java > > :655) > > at > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXR > > SInInterceptor.java:238) > > at > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRS > > InInterceptor.java:99) > > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor > > Chain.java:271) > > at > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat > > ionObserver.java:121) > > at > > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHT > > TPDestination.java:239) > > at > > org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se > > rvletController.java:223) > > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > > ller.java:203) > > at > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > > ller.java:137) > > at > > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSprin > > gServlet.java:158) > > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst > > ractHTTPServlet.java:243) > > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTT > > PServlet.java:163) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > at > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT > > TPServlet.java:219) > > at > > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1 > > 550) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal > > ve.java:281) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal > > ve.java:175) > > at > > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.jav > > a:655) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > > 595) > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav > > a:161) > > at > > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav > > a:331) > > at > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 231) > > at com.sun.enterprise.v3.services.impl.ContainerMapper > > $AdapterCallable.call(ContainerMapper.java:317) > > at > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa > > pper.java:195) > > at > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860 > > ) > > at > > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > > at > > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > > at > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte > > r.java:229) > > at > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto > > colChain.java:137) > > at > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > 104) > > at > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > 90) > > at > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7 > > 9) > > at > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas > > k.java:54) > > at > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja > > va:59) > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > > at com.sun.grizzly.util.AbstractThreadPool > > $Worker.doWork(AbstractThreadPool.java:532) > > at com.sun.grizzly.util.AbstractThreadPool > > $Worker.run(AbstractThreadPool.java:513) > > at java.lang.Thread.run(Thread.java:745) > > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: > > 39; cvc-elt.1: Cannot find the declaration of element 'taz:properties'. > > at > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa > > rseException(ErrorHandlerWrapper.java:198) > > at > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Error > > HandlerWrapper.java:134) > > at > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > > LErrorReporter.java:437) > > at > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > > LErrorReporter.java:368) > > at > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > > LErrorReporter.java:325) > > at > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleSta > > rtElement(XMLSchemaValidator.java:1906) > > at > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem > > ent(XMLSchemaValidator.java:746) > > at > > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl > > .startElement(ValidatorHandlerImpl.java:570) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startEl > > ement(ValidatingUnmarshaller.java:101) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStar > > tElement(StAXStreamConnector.java:246) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StA > > XStreamConnector.java:180) > > at > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > > marshallerImpl.java:370) > > ... 45 more > > | > > > > I guess XML provided is wrong defined or uncompleted: > > > > > > > > MyDomain > > This is my domain. > > > > Could you provide me one right? > > > > Thanks in advance, > > ?lvaro Vega > > > > BTW: I'm pretty sure that your input request form is translating xml > > code. > > > > > > On Mon, 2015-03-02 at 14:31 +0100, DANGERVILLE Cyril wrote: > > > Hello, > > > > > > This form is only for first contact (before you decide to use the > > GE). > > > Would you mind resending your issue to the following mailing list, > > > please? > > > > > > fiware-tech-help at lists.fi-ware.org > > > > > > Please also indicate the version of the GEi you are trying to > > install, > > > and the full stracktrace you got in the logs (not just the first/last > > > exception). Thank you. > > > > > > > > > > > > Then it will be assigned to me by the FIWARE helpdesk and I will take > > > care of it. > > > > > > Sorry for the extra effort, but it will be better handled this way. > > > Besides, it seems your XML in the curl request was stripped off (see > > > mail below). I guess you didn?t just send ?'MyDomainThis is my domain > > > ? in the request body. > > > > > > > > > > > > Regards, > > > > > > Cyril > > > > > > > > > > > > De : notifications at typeform.com [mailto:notifications at typeform.com] > > > Envoy? : lundi 2 mars 2015 13:09 > > > ? : cyril.dangerville at thalesgroup.com > > > Objet : Typeform: New request to FIWARE.AzPDP.Contact > > > > > > > > > > > > > > > Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the > > > results: > > > > > > * Please describe the use case for which you intend to use the > > > FIWARE Authorization PDP. > > > test > > > > > > > > > > > > * What type of service do you want to control access to? > > > (Protocol, API... e.g. HTTP/REST) > > > rest > > > > > > > > > > > > * You can now formulate your request, at last :) > > > I'm trying to set up authzforce. After configure opendj and > > > deploy authz I'm trying to create a new domain following > > > instructions: > > > > > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Access > > _Control_-_Installation_and_Administration_Guide#Domain_Creation > > > $ curl -i -X POST -H "Content-Type: > > > application/xml;charset=UTF-8" \ > > > -d 'MyDomainThis is my domain.' \ > > > -H "Accept: application/xml" \ > > > http://localhost:8180/authzforce/domains > > > > > > and the response is: > > > HTTP/1.1 500 Internal Server Error > > > Content-Type: text/html > > > Content-Length: 1472 > > > Date: Mon, 02 Mar 2015 12:03:30 GMT > > > Connection: close > > > HTTP Status 500 - > > > > > > > > ______________________________________________________________________ > > > type Exception report > > > > > > message > > > > > > descriptionThe server encountered an internal error () that prevented > > > it from fulfilling this request. > > > > > > exception > > > > > > java.lang.NoSuchMethodError: > > > > > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lj > > > avax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response; > > > > > > note The full stack traces of the exception and its root causes are > > > available in the GlassFish Server Open Source Edition 3.1.2.2 logs. > > > > > > > > > > > ______________________________________________________________________ > > > GlassFish Server Open Source Edition 3.1.2.2 > > > > > > > > > > > > But in authz traces I've see: > > > 015-03-02 13:03:30,706|WARN |http-thread-pool-8180(4)| > > > AbstractJAXBProvider:655| javax.xml.bind.UnmarshalException > > > - with linked exception: > > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > > cvc-elt.1: Cann > > > ot find the declaration of element 'taz:properties'.] at > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStrea > > > mException(UnmarshallerImpl.java:435) > > > > > > I guess XML provided is wrong: > > > 'MyDomainThis is my domain.' > > > > > > Could you provide me one right? > > > Thanks in advance > > > > > > > > > > > > To complete, please give me some contact information so that we can > > > get back to you. > > > > > > * Your full name (last name last): > > > Alvaro Vega > > > > > > > > > > > > * Your email address: > > > alvaro.vegagarcia at telefonica.com > > > > > > > > > > > > * Name of your organization (company, institution, etc.): > > > Telefonica I+D > > > > > > > > > > > > * Your job function (especially in relation to FIWARE): > > > R&D Engineer > > > > > > > > > > > > > > > > > > Have a nice day :) > > > Team Typeform > > > > > > > > > > > > > > ________________________________ > > > > 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 ________________________________ 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 -------------- A non-text attachment was scrubbed... Name: policyset_example_authz.xml Type: application/xml Size: 3328 bytes Desc: not available URL: From cyril.dangerville at thalesgroup.com Wed Mar 4 16:59:42 2015 From: cyril.dangerville at thalesgroup.com (DANGERVILLE Cyril) Date: Wed, 4 Mar 2015 16:59:42 +0100 Subject: [Fiware-tech-help] Typeform: New request to FIWARE.AzPDP.Contact In-Reply-To: <1425465405.5527.4.camel@telefonica.com> References: <0000014bda63dd5d-292d3a22-f35a-4a77-90cb-14c3ac9b4344-000000@email.amazonses.com> <1425304997.6685.13.camel@telefonica.com> <1425465405.5527.4.camel@telefonica.com> Message-ID: Yes, the new 4.1 version is using XACML 3.0 for policies/resquests/responses. So you have to convert your policyset to XACML 3.0. I will send you the updated User Guide with valid XACML 3.0 examples. The current user guide on the public wiki is for the previous version that was using XACML 2.0. Regards, Cyril > -----Message d'origine----- > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > Envoy? : mercredi 4 mars 2015 11:37 > ? : DANGERVILLE Cyril > Cc : fiware-tech-help at lists.fi-ware.org > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > Hi Cyril, > It works! I was able to create a new domain: > 8659d855-c24e-11e4-bd29-60672094ecb8 > > Now I'm trying to set up a new rule: > > $ curl -i -H "Accept: application/xml" -H "Content-type: > application/xml" -X PUT -d @policyset_example_authz.xml > http://localhost:8180/authzforce/domains/8659d855-c24e-11e4-bd29- > 60672094ecb8/pap/policySet/ > > But I'm getting a server error: > > HTTP/1.1 100 Continue > > HTTP/1.1 500 Internal Server Error > Content-Type: text/html > Content-Length: 1472 > Date: Wed, 04 Mar 2015 09:41:06 GMT > Connection: close > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> xmlns="http://www.w3.org/1999/xhtml">GlassFish Server Open > Source Edition 3.1.2.2 - Error report >

HTTP Status 500 -


type Exception > report

message

descriptionThe server > encountered an internal error () that prevented it from fulfilling this > request.

exception

java.lang.NoSuchMethodError:
> javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lja
> vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

>note The full stack traces of the exception and its root > causes are available in the GlassFish Server Open Source Edition > 3.1.2.2 logs.


GlassFish Server Open Source Edition > 3.1.2.2

> > > And traces: > /opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.log > > 2015-03-04 10:41:06,970|WARN |http-thread-pool-8180(5)| > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > - with linked exception: > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 56; > cvc-elt.1: Cannot find the declaration of element 'PolicySet'.] > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamE > xception(UnmarshallerImpl.java:435) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > marshallerImpl.java:372) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unm > arshallerImpl.java:342) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStr > eam(JAXBElementProvider.java:263) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBEleme > ntProvider.java:216) > at > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementP > rovider.java:175) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUt > ils.java:1196) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.ja > va:1144) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > 695) > at > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java > :655) > at > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:254) > at > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) > at > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) > at > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:102) > at org.apache.cxf.interceptor.ServiceInvokerInterceptor > $1.run(ServiceInvokerInterceptor.java:58) > at > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv > iceInvokerInterceptor.java:94) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor > Chain.java:271) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat > ionObserver.java:121) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHT > TPDestination.java:239) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se > rvletController.java:223) > at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > ller.java:203) > at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro > ller.java:137) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSprin > gServlet.java:158) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst > ractHTTPServlet.java:243) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTP > Servlet.java:180) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:691) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT > TPServlet.java:219) > at > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1 > 550) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal > ve.java:281) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal > ve.java:175) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.jav > a:655) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 595) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav > a:161) > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav > a:331) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 231) > at com.sun.enterprise.v3.services.impl.ContainerMapper > $AdapterCallable.call(ContainerMapper.java:317) > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa > pper.java:195) > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860 > ) > at > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > at > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte > r.java:229) > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto > colChain.java:137) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > 104) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > 90) > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7 > 9) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas > k.java:54) > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja > va:59) > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > at com.sun.grizzly.util.AbstractThreadPool > $Worker.doWork(AbstractThreadPool.java:532) > at com.sun.grizzly.util.AbstractThreadPool > $Worker.run(AbstractThreadPool.java:513) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: > 56; cvc-elt.1: Cannot find the declaration of element 'PolicySet'. > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa > rseException(ErrorHandlerWrapper.java:198) > at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Error > HandlerWrapper.java:134) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:437) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:368) > at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM > LErrorReporter.java:325) > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleSta > rtElement(XMLSchemaValidator.java:1906) > at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem > ent(XMLSchemaValidator.java:746) > at > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl > .startElement(ValidatorHandlerImpl.java:570) > at > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startEl > ement(ValidatingUnmarshaller.java:101) > at > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStar > tElement(StAXStreamConnector.java:246) > at > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StA > XStreamConnector.java:180) > at > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Un > marshallerImpl.java:370) > ... 49 more > | > > Do you know what is happening? > Thanks in advance, > ?lvaro Vega > > On Wed, 2015-03-04 at 00:04 +0100, DANGERVILLE Cyril wrote: > > Hello, > > Indeed, the documentation on the public wiki has not been updated yet > for release 4.1 (I had instructions not to), although it is very close. > A few XML namespaces and formats have changed (partly due to shift from > XACML 2.0 to 3.0), which seems to be the cause here. > > I have attached the latest documentation for release 4.1 as PDF > (exported from our private wiki). You will find out that the namespace > "http://thalesgroup.com/authz/model" used in your request has to be > replaced now with "http://thalesgroup.com/authz/model/3.0/resource". > > > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > > -d ' xmlns:taz="http://thalesgroup.com/authz/model/3.0/resource">MyDom > ainThis is my > domain.' \ > > -H "Accept: application/xml" \ > > http://localhost:8180/authzforce/domains/ > > > > Sorry for the trouble. If this is not fixing it, don't hesitate to > let me know. > > > > FYI, the REST API specification is described by WADL here: > > http://localhost:8180/authzforce/?_wadl > > Some REST clients (e.g. SoapUI) can use that for generating valid > requests. > > > > Regards, > > Cyril > > > > > -----Message d'origine----- > > > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > > > Envoy? : lundi 2 mars 2015 15:03 > > > ? : DANGERVILLE Cyril > > > Cc : fiware-tech-help at lists.fi-ware.org > > > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > > > > > Hi, > > > Regarding with this issue, this is the full data: > > > > > > GE: Authzforce-fiware-bin-dist-4.1 (from > > > > http://catalogue.fiware.org/sites/default/files/storage/enablers/aut > > > hzf > > > orce-fiware-bin-dist-4.1.zip) > > > > > > > > > REQUEST: > > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > > > -d ' > > > xmlns:taz="http://thalesgroup.com/authz/model">MyDomain > > > > > scription>This is my domain.' \ > > > -H "Accept: application/xml" \ > > > http://localhost:8180/authzforce/domains/ > > > > > > > > > RESPONSE: > > > HTTP/1.1 500 Internal Server Error > > > Content-Type: text/html > > > Content-Length: 1472 > > > Date: Mon, 02 Mar 2015 13:40:55 GMT > > > Connection: close > > > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > xmlns="http://www.w3.org/1999/xhtml">GlassFish Server > > > Open Source Edition 3.1.2.2 - Error report > > >

HTTP Status 500 -


type > > > Exception report

message

descriptionThe > > > server encountered an internal error () that prevented it from > > > fulfilling this request.

exception >

java.lang.NoSuchMethodError:
> > >
> javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;
> > > Lja
> > >
> vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

> > >

> > >note The full stack traces of the exception and its root > > > causes are available in the GlassFish Server Open Source Edition > > > 3.1.2.2 logs.


GlassFish Server Open Source Edition > > > 3.1.2.2

> > > > > > FULL- > > > > LOGS::/opt/glassfish3/glassfish/domains/domain1/logs/authzforce/erro > > > r.l > > > og > > > > > > 2015-03-02 14:43:41,107|WARN |http-thread-pool-8180(3)| > > > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > > > - with linked exception: > > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > > cvc-elt.1: Cannot find the declaration of element > 'taz:properties'.] > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStre > > > amE > > > xception(UnmarshallerImpl.java:435) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 > > > (Un > > > marshallerImpl.java:372) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal( > > > Unm > > > arshallerImpl.java:342) > > > at > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInput > > > Str > > > eam(JAXBElementProvider.java:263) > > > at > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBEl > > > eme > > > ntProvider.java:216) > > > at > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBEleme > > > ntP > > > rovider.java:175) > > > at > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXR > > > SUt > > > ils.java:1196) > > > at > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils > > > .ja > > > va:1144) > > > at > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > > > 695) > > > at > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.j > > > ava > > > :655) > > > at > > > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(J > > > AXR > > > SInInterceptor.java:238) > > > at > > > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JA > > > XRS > > > InInterceptor.java:99) > > > at > > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep > > > tor > > > Chain.java:271) > > > at > > > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInit > > > iat > > > ionObserver.java:121) > > > at > > > > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abstrac > > > tHT > > > TPDestination.java:239) > > > at > > > > org.apache.cxf.transport.servlet.ServletController.invokeDestination > > > (Se > > > rvletController.java:223) > > > at > > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletCon > > > tro > > > ller.java:203) > > > at > > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletCon > > > tro > > > ller.java:137) > > > at > > > > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSp > > > rin > > > gServlet.java:158) > > > at > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(A > > > bst > > > ractHTTPServlet.java:243) > > > at > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(Abstract > > > HTT > > > PServlet.java:163) > > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > > at > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstrac > > > tHT > > > TPServlet.java:219) > > > at > > > > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.jav > > > a:1 > > > 550) > > > at > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper > > > Val > > > ve.java:281) > > > at > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContext > > > Val > > > ve.java:175) > > > at > > > > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline. > > > jav > > > a:655) > > > at > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > > > 595) > > > at > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. > > > jav > > > a:161) > > > at > > > > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter. > > > jav > > > a:331) > > > at > > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > > 231) > > > at com.sun.enterprise.v3.services.impl.ContainerMapper > > > $AdapterCallable.call(ContainerMapper.java:317) > > > at > > > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(Containe > > > rMa > > > pper.java:195) > > > at > > > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java: > > > 860 > > > ) > > > at > > > > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > > > at > > > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > > > at > > > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFi > > > lte > > > r.java:229) > > > at > > > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPr > > > oto > > > colChain.java:137) > > > at > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > > 104) > > > at > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > > 90) > > > at > > > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.jav > > > a:7 > > > 9) > > > at > > > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContext > > > Tas > > > k.java:54) > > > at > > > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask > > > .ja > > > va:59) > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > > > at com.sun.grizzly.util.AbstractThreadPool > > > $Worker.doWork(AbstractThreadPool.java:532) > > > at com.sun.grizzly.util.AbstractThreadPool > > > $Worker.run(AbstractThreadPool.java:513) > > > at java.lang.Thread.run(Thread.java:745) > > > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; > columnNumber: > > > 39; cvc-elt.1: Cannot find the declaration of element > 'taz:properties'. > > > at > > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSA > > > XPa > > > rseException(ErrorHandlerWrapper.java:198) > > > at > > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Er > > > ror > > > HandlerWrapper.java:134) > > > at > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > (XM > > > LErrorReporter.java:437) > > > at > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > (XM > > > LErrorReporter.java:368) > > > at > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > (XM > > > LErrorReporter.java:325) > > > at > > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handle > > > Sta > > > rtElement(XMLSchemaValidator.java:1906) > > > at > > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startE > > > lem > > > ent(XMLSchemaValidator.java:746) > > > at > > > > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerI > > > mpl > > > .startElement(ValidatorHandlerImpl.java:570) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.star > > > tEl > > > ement(ValidatingUnmarshaller.java:101) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleS > > > tar > > > tElement(StAXStreamConnector.java:246) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge( > > > StA > > > XStreamConnector.java:180) > > > at > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 > > > (Un > > > marshallerImpl.java:370) > > > ... 45 more > > > | > > > > > > I guess XML provided is wrong defined or uncompleted: > > > > > > > > xmlns:taz="http://thalesgroup.com/authz/model"> > > > MyDomain > > > This is my domain. > > > > > > Could you provide me one right? > > > > > > Thanks in advance, > > > ?lvaro Vega > > > > > > BTW: I'm pretty sure that your input request form is translating > xml > > > code. > > > > > > > > > On Mon, 2015-03-02 at 14:31 +0100, DANGERVILLE Cyril wrote: > > > > Hello, > > > > > > > > This form is only for first contact (before you decide to use the > > > GE). > > > > Would you mind resending your issue to the following mailing > list, > > > > please? > > > > > > > > fiware-tech-help at lists.fi-ware.org > > > > > > > > Please also indicate the version of the GEi you are trying to > > > install, > > > > and the full stracktrace you got in the logs (not just the > > > > first/last exception). Thank you. > > > > > > > > > > > > > > > > Then it will be assigned to me by the FIWARE helpdesk and I will > > > > take care of it. > > > > > > > > Sorry for the extra effort, but it will be better handled this > way. > > > > Besides, it seems your XML in the curl request was stripped off > > > > (see mail below). I guess you didn?t just send ?'MyDomainThis is > > > > my domain ? in the request body. > > > > > > > > > > > > > > > > Regards, > > > > > > > > Cyril > > > > > > > > > > > > > > > > De : notifications at typeform.com > > > > [mailto:notifications at typeform.com] > > > > Envoy? : lundi 2 mars 2015 13:09 > > > > ? : cyril.dangerville at thalesgroup.com Objet : Typeform: New > > > > request to FIWARE.AzPDP.Contact > > > > > > > > > > > > > > > > > > > > Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the > > > > results: > > > > > > > > * Please describe the use case for which you intend to use > the > > > > FIWARE Authorization PDP. > > > > test > > > > > > > > > > > > > > > > * What type of service do you want to control access to? > > > > (Protocol, API... e.g. HTTP/REST) > > > > rest > > > > > > > > > > > > > > > > * You can now formulate your request, at last :) > > > > I'm trying to set up authzforce. After configure opendj > and > > > > deploy authz I'm trying to create a new domain following > > > > instructions: > > > > > > > > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Acc > > > ess _Control_- > _Installation_and_Administration_Guide#Domain_Creation > > > > $ curl -i -X POST -H "Content-Type: > > > > application/xml;charset=UTF-8" \ > > > > -d 'MyDomainThis is my domain.' \ > > > > -H "Accept: application/xml" \ > > > > http://localhost:8180/authzforce/domains > > > > > > > > and the response is: > > > > HTTP/1.1 500 Internal Server Error > > > > Content-Type: text/html > > > > Content-Length: 1472 > > > > Date: Mon, 02 Mar 2015 12:03:30 GMT > > > > Connection: close > > > > HTTP Status 500 - > > > > > > > > > > > > ____________________________________________________________________ > > > __ > > > > type Exception report > > > > > > > > message > > > > > > > > descriptionThe server encountered an internal error () that > > > > prevented it from fulfilling this request. > > > > > > > > exception > > > > > > > > java.lang.NoSuchMethodError: > > > > > > > > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response; > > > Lj > > > > avax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response; > > > > > > > > note The full stack traces of the exception and its root causes > > > > are available in the GlassFish Server Open Source Edition 3.1.2.2 > logs. > > > > > > > > > > > > > > > > ____________________________________________________________________ > > > __ > > > > GlassFish Server Open Source Edition 3.1.2.2 > > > > > > > > > > > > > > > > But in authz traces I've see: > > > > 015-03-02 13:03:30,706|WARN |http-thread-pool-8180(4)| > > > > AbstractJAXBProvider:655| javax.xml.bind.UnmarshalException > > > > - with linked exception: > > > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > > > cvc-elt.1: Cann > > > > ot find the declaration of element 'taz:properties'.] at > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleSt > > > > rea > > > > mException(UnmarshallerImpl.java:435) > > > > > > > > I guess XML provided is wrong: > > > > 'MyDomainThis is my domain.' > > > > > > > > Could you provide me one right? > > > > Thanks in advance > > > > > > > > > > > > > > > > To complete, please give me some contact information so that we > > > > can get back to you. > > > > > > > > * Your full name (last name last): > > > > Alvaro Vega > > > > > > > > > > > > > > > > * Your email address: > > > > alvaro.vegagarcia at telefonica.com > > > > > > > > > > > > > > > > * Name of your organization (company, institution, etc.): > > > > Telefonica I+D > > > > > > > > > > > > > > > > * Your job function (especially in relation to FIWARE): > > > > R&D Engineer > > > > > > > > > > > > > > > > > > > > > > > > Have a nice day :) > > > > Team Typeform > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > 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 > > > ________________________________ > > 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 From kts at wei-medicine.com Thu Mar 5 18:04:36 2015 From: kts at wei-medicine.com (Kah Tong, SEOW) Date: Thu, 05 Mar 2015 18:04:36 +0100 Subject: [Fiware-tech-help] Request for improving wirecloud In-Reply-To: <54F88A87.3060209@wei-medicine.com> References: <54F88A87.3060209@wei-medicine.com> Message-ID: <54F88CA4.9090305@wei-medicine.com> Suggestion1: For both local and cloud installation of wirecloud, it would be useful to be able to upload a list of selected widgets (a) this can be done either as bulk select of more than one widget files OR (b) given a text file of the file location of widget, with a single click, that wirecloud read the text file and local upload these widget files This is important when the number of freely available widgets is approaching 30 t0 50s, it makes better sense to be able to automatically upload many widget files Suggestion 2: For behind firewall 2 to 3 hours of wirecloud teaching workshop to e.g. 10 people, it will be good to enable wirecloud to manage multiple users. Perhaps given the directory where to create e.g. wirecloud_instance, the wirecloud program create e.g. for 10 users, the following 10 directories wirecloud_instance1, wirecloud_instance2 etc. each instance is associated with a pre-defined sqlite file e.g. sqlite1.db, sqllite2.db and user1, password1 etc. So that after successful installation of an instance of wirecloud, it is possible to create additional wirecloud instance running on different ports from the same computer using a fixed IP This allow 10 participants with access to the router of the same classroom to access the wircloud server of that fixed IP to learn and practice wirecloud standalone. ==> without IdM From miguel.carrillopacheco at telefonica.com Fri Mar 6 12:12:10 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Fri, 6 Mar 2015 12:12:10 +0100 Subject: [Fiware-tech-help] Request for improving wirecloud In-Reply-To: <54F88CA4.9090305@wei-medicine.com> References: <54F88A87.3060209@wei-medicine.com> <54F88CA4.9090305@wei-medicine.com> Message-ID: <54F98B8A.3040605@telefonica.com> hi, Thanks so much for all the constructive feedback. I add the GE owner to the loop, they are ultimately the ones who receive the inputs and decide on the roadmap and future enhancements. Best regards & have a nice weekend, Miguel El 05/03/2015 a las 18:04, Kah Tong, SEOW escribi?: > > > > Suggestion1: > > For both local and cloud installation of wirecloud, it would be useful > to be able to upload a list of selected widgets > (a) this can be done either as bulk select of more than one widget > files OR > (b) given a text file of the file location of widget, with a single > click, that wirecloud read the text file and local upload these widget > files > > This is important when the number of freely available widgets is > approaching 30 t0 50s, it makes better sense to be able to automatically > upload many widget files > > Suggestion 2: > > For behind firewall 2 to 3 hours of wirecloud teaching workshop to e.g. > 10 people, it will be good to enable wirecloud to manage multiple users. > > Perhaps given the directory where to create e.g. wirecloud_instance, the > wirecloud program create e.g. for 10 users, the following 10 directories > wirecloud_instance1, wirecloud_instance2 etc. each instance is > associated with a pre-defined sqlite file e.g. sqlite1.db, sqllite2.db > and user1, password1 etc. > > So that after successful installation of an instance of wirecloud, it is > possible to create additional wirecloud instance running on different > ports from the same computer using a fixed IP > > This allow 10 participants with access to the router of the same > classroom to access the wircloud server of that fixed IP to learn and > practice wirecloud standalone. > > ==> without IdM > > > > _______________________________________________ > Fiware-tech-help mailing list > 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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 From aarranz at conwet.com Fri Mar 6 13:01:08 2015 From: aarranz at conwet.com (=?UTF-8?Q?=C3=81lvaro_Arranz?=) Date: Fri, 6 Mar 2015 13:01:08 +0100 Subject: [Fiware-tech-help] Request for improving wirecloud In-Reply-To: <54F88CA4.9090305@wei-medicine.com> References: <54F88A87.3060209@wei-medicine.com> <54F88CA4.9090305@wei-medicine.com> Message-ID: Dear Kah, I have created a new internal ticket for implementing "suggestion 1" and we are working on it, will be ready soon. About "Suggestion 2", can you detail a bit more what do you expect from Wirecloud for solving it?. It seems easy to solve without requiring new features from Wirecloud, for example, you can create all these instances using a bash script: for i in `seq 1 9`; do wirecloud-admin startproject wirecloud_instance$i --quick-start cd wirecloud_instance$i python manage.py runserver 0.0.0.0:800$i & cd .. done Keep in mind this is only an example, but can be used as starting point. Best regards, ?lvaro On 5 March 2015 at 18:04, Kah Tong, SEOW wrote: > > > > Suggestion1: > > For both local and cloud installation of wirecloud, it would be useful > to be able to upload a list of selected widgets > (a) this can be done either as bulk select of more than one widget files OR > (b) given a text file of the file location of widget, with a single > click, that wirecloud read the text file and local upload these widget > files > > This is important when the number of freely available widgets is > approaching 30 t0 50s, it makes better sense to be able to automatically > upload many widget files > > Suggestion 2: > > For behind firewall 2 to 3 hours of wirecloud teaching workshop to e.g. > 10 people, it will be good to enable wirecloud to manage multiple users. > > Perhaps given the directory where to create e.g. wirecloud_instance, the > wirecloud program create e.g. for 10 users, the following 10 directories > wirecloud_instance1, wirecloud_instance2 etc. each instance is > associated with a pre-defined sqlite file e.g. sqlite1.db, sqllite2.db > and user1, password1 etc. > > So that after successful installation of an instance of wirecloud, it is > possible to create additional wirecloud instance running on different > ports from the same computer using a fixed IP > > This allow 10 participants with access to the router of the same > classroom to access the wircloud server of that fixed IP to learn and > practice wirecloud standalone. > > ==> without IdM > > > > _______________________________________________ > Fiware-tech-help mailing list > Fiware-tech-help at lists.fi-ware.org > https://lists.fi-ware.org/listinfo/fiware-tech-help > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guest_1921298729 at qunar.com Fri Mar 6 13:09:17 2015 From: guest_1921298729 at qunar.com (Tyson Dodson) Date: Fri, 6 Mar 2015 13:09:17 +0100 (CET) Subject: [Fiware-tech-help] [SPAM] 16000 Woodworking Plans Inside Message-ID: <20150306120917.D56D13F254@mail.fi-ware.eu> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hello! I just discovered these woodworking plans and suggest you check them out now: 16,000 Wodworking Plans [...] Content analysis details: (10.9 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [115.210.44.175 listed in zen.spamhaus.org] 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [115.210.44.175 listed in psbl.surriel.com] 1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [115.210.44.175 listed in bb.barracudacentral.org] 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [115.210.44.175 listed in bl.score.senderscore.com] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% [score: 0.0897] 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.5 MISSING_MID Missing Message-Id: header 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 1.4 MISSING_DATE Missing Date: header 0.0 TO_NO_BRKTS_NORDNS_HTML To: misformatted and no rDNS and HTML only 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. -------------- next part -------------- An embedded message was scrubbed... From: "Tyson Dodson" Subject: 16000 Woodworking Plans Inside Date: no date Size: 1739 URL: From tsdxbgshi at 126.com Wed Mar 11 00:34:22 2015 From: tsdxbgshi at 126.com (Shawn Tolbert) Date: Wed, 11 Mar 2015 00:34:22 +0100 (CET) Subject: [Fiware-tech-help] [SPAM] Jim Humble Newsletter Message-ID: <20150310233422.E787F45FEA@mail.fi-ware.eu> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: ?????? ?????? Online Version ?????? ?????? ?????? ?????? ?????? GESUNDHEIT - EIN SCHRITT WEITER Liebe Leserinnen und Leser, es freut uns sehr, Sie heute wieder ????ber Neuigkeiten aus dem Jim Humble Verlag informieren zu k??nnen. [...] Content analysis details: (12.1 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters 1.0 RCVD_IN_CSS RBL: Received via a relay in Spamhaus CSS [115.210.44.135 listed in zen.spamhaus.org] 0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [115.210.44.135 listed in psbl.surriel.com] 1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [115.210.44.135 listed in bb.barracudacentral.org] 1.6 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist [URIs: jim-humble-verlag.com] 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [115.210.44.135 listed in bl.score.senderscore.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.5 MISSING_MID Missing Message-Id: header 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 1.4 MISSING_DATE Missing Date: header 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. -------------- next part -------------- An embedded message was scrubbed... From: "Shawn Tolbert" Subject: Jim Humble Newsletter Date: no date Size: 64171 URL: From don1559 at gmail.com Wed Mar 11 14:56:33 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Wed, 11 Mar 2015 14:56:33 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Message-ID: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:49:29.png Type: image/png Size: 154433 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:49:21.png Type: image/png Size: 266096 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:48:43.png Type: image/png Size: 259365 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:55:09.png Type: image/png Size: 133870 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:55:03.png Type: image/png Size: 122012 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:54:43.png Type: image/png Size: 125689 bytes Desc: not available URL: From miguel.carrillopacheco at telefonica.com Wed Mar 11 15:24:45 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Wed, 11 Mar 2015 15:24:45 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: Message-ID: <5500502D.80407@telefonica.com> Dear Ahmed, Tali is the GE owner, as per the catalogue. http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online I add her to the loop, she must be able to help Regards, Miguel El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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: From miguel.carrillopacheco at telefonica.com Wed Mar 11 15:37:20 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Wed, 11 Mar 2015 15:37:20 +0100 Subject: [Fiware-tech-help] FI-ADOPT application In-Reply-To: References: Message-ID: <55005320.4030401@telefonica.com> Dear Teuvo, I have been passed this query that apparently got stuck. We apologise for that. If your question is about the rules of the calls, may I point you at the specific mailbox for the acceleration programme, expressed in * http://www.fi-ware.org/contact-us/ This list is for specific questions on FIWARE (the core platform). If you need support on specific enablers, you will need to contact the project that produced them. Going down to the GEs that we offer in FIWARE, you can check them out on our online catalogue: http://catalogue.fiware.org/enablers/. This is all we offer and the basic pointers to the information we have for each one of them and the software. You ultimately need to see what we have here and see if it is of any use in the scenario you handle. You may want to take a look at future developments on http://wiki.fiware.org/FIWARE_Technical_Roadmap An alternative pointer you may want to look at is http://www.fiware.org/developers-entrepreneurs/ Best regards, Miguel El 21/01/2015 a las 13:09, Teuvo Hatva escribi?: Dear all, I'm running a start-up and making an application to FI-ADOPT programme but I find few difficulties. The plan is to make a game app with educational perspective. The most common tool for coding is UNITY web platform and that is my problem; there is hard to find suitable tools from FI WARE tools. Do you have some help or can I make the application when there is no use for FI-WARE Generic enabler or FI-PPP Specific enabler? Thanks for advance Teuvo Hatva CEO, partner Viistopro oy +358 50 53 67890 _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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: From TALI at il.ibm.com Thu Mar 12 08:09:26 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 12 Mar 2015 09:09:26 +0200 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Dear Alex, Glad to hear you are using the CEP! What you can do: 1. Have one EPA, lets call it EPA1, that uses the temporal context you defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of EPA1 to be deferred and don't set it conditions or input event. Make it generate a new type of event (that you need to define), lets call it E2. The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If you don't want to have a warning on empty input events you can put Event_X as an input event of EPA1) 2. Now you can define another temporal context, lets call it TC2 that uses E2 as initiator. Hope this is what you wanted. I cc the FIWARE help, so this corresponding will be documented in the FIWARE issue tracking system. Please cc it as well in future correspondence. Thanks. Best regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 11/03/2015 04:20 PM Subject: Complex Event Processing, help Dear Tali, I am a Software Engineer who collaborates with the FiWARE GE, I am working on the IBM Proton about 2 weeks now, and I ma trying to configure a use case for the company I work for. I created a temporal context that starts the time that an Event_X is fired and it expires after 24hours, but I want a second temporal context start after 24hours of the event creation, can you please provide me some help on this? I tried to set the condition: Event_x.duration == 86400000, but that didn't work for me. Thanks in advance! Alex Zacharopoulos, Software Engineer @ Konnektid. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at konnektid.com Thu Mar 12 10:40:59 2015 From: alex at konnektid.com (Theologos Zacharopoulos) Date: Thu, 12 Mar 2015 10:40:59 +0100 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Dear Tali, That was exactly the solution I was looking for, thank you very much that was very helpful! Also thanks for the quick response, Best regards, Theologos Alex Zacharopoulos On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: > Dear Alex, > > Glad to hear you are using the CEP! > > What you can do: > 1. Have one EPA, lets call it EPA1, that uses the temporal context you > defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). > Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of > EPA1 to be deferred and don't set it conditions or input event. Make it > generate a new type of event (that you need to define), lets call it E2. > The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If > you don't want to have a warning on empty input events you can put Event_X > as an input event of EPA1) > > 2. Now you can define another temporal context, lets call it TC2 that uses > E2 as initiator. > > Hope this is what you wanted. > > I cc the FIWARE help, so this corresponding will be documented in the > FIWARE issue tracking system. Please cc it as well in future > correspondence. Thanks. > > Best regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > tali at il.ibm.com 972-4-8296320 > > > > > From: Theologos Zacharopoulos > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Date: 11/03/2015 04:20 PM > Subject: Complex Event Processing, help > ------------------------------ > > > > Dear Tali, > > I am a Software Engineer who collaborates with the FiWARE GE, > I am working on the IBM Proton about 2 weeks now, and I ma trying to > configure a use case for the company I work for. > I created a temporal context that starts the time that an Event_X is fired > and it expires after 24hours, but I want a second temporal context start > after 24hours of the event creation, can you please provide me some help on > this? > I tried to set the condition: Event_x.duration == 86400000, but that > didn't work for me. > > Thanks in advance! > Alex Zacharopoulos, Software Engineer @ Konnektid. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 12 12:55:05 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 12 Mar 2015 12:55:05 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: <5500502D.80407@telefonica.com> References: <5500502D.80407@telefonica.com> Message-ID: Dear Tali, Any ideas on troubleshooting this problem, I really need to run the CEP. Best, Ahmed On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> wrote: > Dear Ahmed, > > Tali is the GE owner, as per the catalogue. > > http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online > > I add her to the loop, she must be able to help > > Regards, > > Miguel > > El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: > > Dear All, > > I have installed the complex event processing over tomcat7 and followed > the instruction on this page. > > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance > > But I am facing a problem with getting the status of the proton web > server as explained in the tutorial, I should get 200 ok, as it seem the > tomcat is only checking at the /usr/share/tomcat7 and not looking in the > /var/lib/tomcat7. > > I have set both CATALINA HOME / BASE environment variables. but still > the same problem. > > Attached is different print screens for the the problem and server. > > Best, > Ahmed Sadek > KTH > > > > _______________________________________________ > Fiware-tech-help mailing listFiware-tech-help at lists.fi-ware.orghttps://lists.fi-ware.org/listinfo/fiware-tech-help > > > -- > > Please update your address book with my new e-mail address: miguel.carrillopacheco at telefonica.com > > ---------------------------------------------------------------------- > _/ _/_/ Miguel Carrillo Pacheco > _/ _/ _/ _/ Telef?nica Distrito Telef?nica > _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 > _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N > _/ _/_/ 28050 Madrid (Spain) > Tel: (+34) 91 483 26 77 > > e-mail: 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: From TALI at il.ibm.com Thu Mar 12 13:22:26 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 12 Mar 2015 14:22:26 +0200 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: Dear Ahmed, I must say that I'm not a Tomcat expert. If you send me the tomcat log, and the command you make, I might be able to help. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO Date: 12/03/2015 01:55 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Any ideas on troubleshooting this problem, I really need to run the CEP. Best, Ahmed On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> wrote: Dear Ahmed, Tali is the GE owner, as per the catalogue. http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online I add her to the loop, she must be able to help Regards, Miguel El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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: From don1559 at gmail.com Thu Mar 12 14:51:03 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 12 Mar 2015 14:51:03 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: Dear Tali, Thank you for your reply, attached is the log folder of the tomcat server. I don't use any commands, I only use the web interface : http://127.0.0.1:8080/manager and from there I click on different component of the proton application, the authoring tool respond with me with the application page while the ProtonOnWebServer and /ProtonOnWebServerAdmin don't respond. Please let me know if you need any further information/logs, if you want and have time I can give you a remote access to the machine using team viewer. Best, Ahmed On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham wrote: > Dear Ahmed, > > I must say that I'm not a Tomcat expert. > If you send me the tomcat log, and the command you make, I might be able > to help. > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > tali at il.ibm.com 972-4-8296320 > > > > > From: Ahmed Sadek > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < > miguel.carrillopacheco at telefonica.com> > Date: 12/03/2015 01:55 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > Dear Tali, > > Any ideas on troubleshooting this problem, I really need to run the CEP. > > Best, > Ahmed > > On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > wrote: > Dear Ahmed, > > Tali is the GE owner, as per the catalogue. > > *http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online* > > > I add her to the loop, she must be able to help > > Regards, > > Miguel > > El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: > Dear All, > > I have installed the complex event processing over tomcat7 and followed > the instruction on this page. > > *https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance* > > > But I am facing a problem with getting the status of the proton web server > as explained in the tutorial, I should get 200 ok, as it seem the tomcat is > only checking at the /usr/share/tomcat7 and not looking in the > /var/lib/tomcat7. > > I have set both CATALINA HOME / BASE environment variables. but still the > same problem. > > Attached is different print screens for the the problem and server. > > Best, > Ahmed Sadek > KTH > > > > _______________________________________________ > Fiware-tech-help mailing list > *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* > > > ---------------------------------------------------------------------- > _/ _/_/ Miguel Carrillo Pacheco > _/ _/ _/ _/ Telef?nica Distrito Telef?nica > _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 > _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N > _/ _/_/ 28050 Madrid (Spain) > Tel: *(+34) 91 483 26 77* > <%28%2B34%29%2091%20483%2026%2077> > > e-mail: *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: -------------- next part -------------- A non-text attachment was scrubbed... Name: logs.zip Type: application/zip Size: 140426 bytes Desc: not available URL: From TALI at il.ibm.com Thu Mar 12 15:04:39 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 12 Mar 2015 16:04:39 +0200 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: Unfortunately I can't open your zip file. Please stop tomcat, delete the files from the log file, start tomcat, and send me the log file from the log directory (should be catalina.out) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO Date: 12/03/2015 03:51 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Thank you for your reply, attached is the log folder of the tomcat server. I don't use any commands, I only use the web interface : http://127.0.0.1:8080/manager and from there I click on different component of the proton application, the authoring tool respond with me with the application page while the ProtonOnWebServer and /ProtonOnWebServerAdmin don't respond. Please let me know if you need any further information/logs, if you want and have time I can give you a remote access to the machine using team viewer. Best, Ahmed On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham wrote: Dear Ahmed, I must say that I'm not a Tomcat expert. If you send me the tomcat log, and the command you make, I might be able to help. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 01:55 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Any ideas on troubleshooting this problem, I really need to run the CEP. Best, Ahmed On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> wrote: Dear Ahmed, Tali is the GE owner, as per the catalogue. http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online I add her to the loop, she must be able to help Regards, Miguel El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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 [attachment "logs.zip" deleted by Tali Yatzkar-Haham/Haifa/IBM] -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 12 15:21:31 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 12 Mar 2015 15:21:31 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: I did it, stooped the tomcat -> delete catalina.out -> start tomcat Attached is the generated log files after starting tomcat files and also catalina properties. Thank you for your help. Ahmed On Thu, Mar 12, 2015 at 3:04 PM, Tali Yatzkar-Haham wrote: > Unfortunately I can't open your zip file. > > Please stop tomcat, delete the files from the log file, start tomcat, and > send me the log file from the log directory (should be catalina.out) > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > tali at il.ibm.com 972-4-8296320 > > > > > From: Ahmed Sadek > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < > miguel.carrillopacheco at telefonica.com> > Date: 12/03/2015 03:51 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > Dear Tali, > > Thank you for your reply, attached is the log folder of the tomcat server. > I don't use any commands, I only use the web interface : > > *http://127.0.0.1:8080/manager* > > and from there I click on different component of the proton application, > the authoring tool respond with me with the application page while the > *ProtonOnWebServer* and > */ProtonOnWebServerAdmin* don't > respond. > > Please let me know if you need any further information/logs, if you want > and have time I can give you a remote access to the machine using team > viewer. > > Best, > Ahmed > > On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham <*TALI at il.ibm.com* > > wrote: > Dear Ahmed, > > I must say that I'm not a Tomcat expert. > If you send me the tomcat log, and the command you make, I might be able > to help. > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > *tali at il.ibm.com* 972-4-8296320 > > > > > From: Ahmed Sadek <*don1559 at gmail.com* > > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: *fiware-tech-help at lists.fi-ware.org* > , MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > > Date: 12/03/2015 01:55 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > > Dear Tali, > > Any ideas on troubleshooting this problem, I really need to run the CEP. > > Best, > Ahmed > > On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > wrote: > Dear Ahmed, > > Tali is the GE owner, as per the catalogue. > > *http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online* > > > I add her to the loop, she must be able to help > > Regards, > > Miguel > > El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: > Dear All, > > I have installed the complex event processing over tomcat7 and followed > the instruction on this page. > > *https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance* > > > But I am facing a problem with getting the status of the proton web server > as explained in the tutorial, I should get 200 ok, as it seem the tomcat is > only checking at the /usr/share/tomcat7 and not looking in the > /var/lib/tomcat7. > > I have set both CATALINA HOME / BASE environment variables. but still the > same problem. > > Attached is different print screens for the the problem and server. > > Best, > Ahmed Sadek > KTH > > > > _______________________________________________ > Fiware-tech-help mailing list > *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* > > > ---------------------------------------------------------------------- > _/ _/_/ Miguel Carrillo Pacheco > _/ _/ _/ _/ Telef?nica Distrito Telef?nica > _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 > _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N > _/ _/_/ 28050 Madrid (Spain) > Tel: *(+34) 91 483 26 77* > <%28%2B34%29%2091%20483%2026%2077> > > e-mail: *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 > > [attachment "logs.zip" deleted by Tali Yatzkar-Haham/Haifa/IBM] > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 127.0.0.1 - - [12/Mar/2015:15:20:07 +0100] "GET / HTTP/1.1" 304 - -------------- next part -------------- A non-text attachment was scrubbed... Name: catalina.out Type: application/octet-stream Size: 13195 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: catalina.2015-03-12.log Type: text/x-log Size: 8100 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: localhost.2015-03-12.log Type: text/x-log Size: 447 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: catalina.properties Type: application/octet-stream Size: 6426 bytes Desc: not available URL: From TALI at il.ibm.com Thu Mar 12 15:37:57 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 12 Mar 2015 16:37:57 +0200 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: There are some warnings at the beginning of the log that seems to be related to some missing directories, I don't know if they are important. However, from the log it seems that ProtonOnWebServerAdmin, ProtonOnWebServer are deployed, and the CEP is running. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO Date: 12/03/2015 04:21 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status I did it, stooped the tomcat -> delete catalina.out -> start tomcat Attached is the generated log files after starting tomcat files and also catalina properties. Thank you for your help. Ahmed On Thu, Mar 12, 2015 at 3:04 PM, Tali Yatzkar-Haham wrote: Unfortunately I can't open your zip file. Please stop tomcat, delete the files from the log file, start tomcat, and send me the log file from the log directory (should be catalina.out) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 03:51 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Thank you for your reply, attached is the log folder of the tomcat server. I don't use any commands, I only use the web interface : http://127.0.0.1:8080/manager and from there I click on different component of the proton application, the authoring tool respond with me with the application page while the ProtonOnWebServer and /ProtonOnWebServerAdmin don't respond. Please let me know if you need any further information/logs, if you want and have time I can give you a remote access to the machine using team viewer. Best, Ahmed On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham wrote: Dear Ahmed, I must say that I'm not a Tomcat expert. If you send me the tomcat log, and the command you make, I might be able to help. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 01:55 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Any ideas on troubleshooting this problem, I really need to run the CEP. Best, Ahmed On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> wrote: Dear Ahmed, Tali is the GE owner, as per the catalogue. http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online I add her to the loop, she must be able to help Regards, Miguel El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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 [attachment "logs.zip" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "localhost_access_log.2015-03-12.txt" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.out" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.2015-03-12.log" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "localhost.2015-03-12.log" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.properties" deleted by Tali Yatzkar-Haham/Haifa/IBM] -------------- next part -------------- An HTML attachment was scrubbed... URL: From don1559 at gmail.com Thu Mar 12 15:49:02 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Thu, 12 Mar 2015 15:49:02 +0100 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: Okay, but when I click on the "ProtonOnWebServerAdmin, ProtonOnWebServer" I get 404, also when I try the "get" example from the tutorial I get 500. Pictures attached. Is this normal ? Best, Ahmed On Thu, Mar 12, 2015 at 3:37 PM, Tali Yatzkar-Haham wrote: > There are some warnings at the beginning of the log that seems to be > related to some missing directories, I don't know if they are important. > However, from the log it seems that ProtonOnWebServerAdmin, > ProtonOnWebServer are deployed, and the CEP is running. > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > tali at il.ibm.com 972-4-8296320 > > > > > From: Ahmed Sadek > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < > miguel.carrillopacheco at telefonica.com> > Date: 12/03/2015 04:21 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > I did it, stooped the tomcat -> delete catalina.out -> start tomcat > Attached is the generated log files after starting tomcat files and also > catalina properties. > > Thank you for your help. > > Ahmed > > On Thu, Mar 12, 2015 at 3:04 PM, Tali Yatzkar-Haham <*TALI at il.ibm.com* > > wrote: > Unfortunately I can't open your zip file. > > Please stop tomcat, delete the files from the log file, start tomcat, and > send me the log file from the log directory (should be catalina.out) > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > *tali at il.ibm.com* 972-4-8296320 > > > > > From: Ahmed Sadek <*don1559 at gmail.com* > > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: *fiware-tech-help at lists.fi-ware.org* > , MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > > Date: 12/03/2015 03:51 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > Dear Tali, > > Thank you for your reply, attached is the log folder of the tomcat server. > I don't use any commands, I only use the web interface : > > *http://127.0.0.1:8080/manager* > > and from there I click on different component of the proton application, > the authoring tool respond with me with the application page while the > *ProtonOnWebServer* and > */ProtonOnWebServerAdmin* don't > respond. > > Please let me know if you need any further information/logs, if you want > and have time I can give you a remote access to the machine using team > viewer. > > Best, > Ahmed > > On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham <*TALI at il.ibm.com* > > wrote: > Dear Ahmed, > > I must say that I'm not a Tomcat expert. > If you send me the tomcat log, and the command you make, I might be able > to help. > > Regards, > Tali > > Tali Yatzkar Haham > Event-based Middleware & Solutions > IBM Haifa Research Lab, Israel > *tali at il.ibm.com* 972-4-8296320 > > > > > From: Ahmed Sadek <*don1559 at gmail.com* > > To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL > Cc: *fiware-tech-help at lists.fi-ware.org* > , MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > > Date: 12/03/2015 01:55 PM > Subject: Re: [Fiware-tech-help] Regarding complex event processing > CEP over tomcat7, problem with proton on web server status > ------------------------------ > > > > > Dear Tali, > > Any ideas on troubleshooting this problem, I really need to run the CEP. > > Best, > Ahmed > > On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < > *miguel.carrillopacheco at telefonica.com* > > wrote: > Dear Ahmed, > > Tali is the GE owner, as per the catalogue. > > *http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online* > > > I add her to the loop, she must be able to help > > Regards, > > Miguel > > El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: > Dear All, > > I have installed the complex event processing over tomcat7 and followed > the instruction on this page. > > *https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance* > > > But I am facing a problem with getting the status of the proton web server > as explained in the tutorial, I should get 200 ok, as it seem the tomcat is > only checking at the /usr/share/tomcat7 and not looking in the > /var/lib/tomcat7. > > I have set both CATALINA HOME / BASE environment variables. but still the > same problem. > > Attached is different print screens for the the problem and server. > > Best, > Ahmed Sadek > KTH > > > > _______________________________________________ > Fiware-tech-help mailing list > *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* > > > ---------------------------------------------------------------------- > _/ _/_/ Miguel Carrillo Pacheco > _/ _/ _/ _/ Telef?nica Distrito Telef?nica > _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 > _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N > _/ _/_/ 28050 Madrid (Spain) > Tel: *(+34) 91 483 26 77* > <%28%2B34%29%2091%20483%2026%2077> > > e-mail: *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 > > [attachment "logs.zip" deleted by Tali Yatzkar-Haham/Haifa/IBM] > [attachment "localhost_access_log.2015-03-12.txt" deleted by Tali > Yatzkar-Haham/Haifa/IBM] [attachment "catalina.out" deleted by Tali > Yatzkar-Haham/Haifa/IBM] [attachment "catalina.2015-03-12.log" deleted by > Tali Yatzkar-Haham/Haifa/IBM] [attachment "localhost.2015-03-12.log" > deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.properties" > deleted by Tali Yatzkar-Haham/Haifa/IBM] > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:49:29.png Type: image/png Size: 154433 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:49:21.png Type: image/png Size: 266096 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-11 14:48:43.png Type: image/png Size: 259365 bytes Desc: not available URL: From aarranz at conwet.com Fri Mar 13 10:43:30 2015 From: aarranz at conwet.com (=?UTF-8?Q?=C3=81lvaro_Arranz?=) Date: Fri, 13 Mar 2015 10:43:30 +0100 Subject: [Fiware-tech-help] Request for improving wirecloud In-Reply-To: References: <54F88A87.3060209@wei-medicine.com> <54F88CA4.9090305@wei-medicine.com> Message-ID: Dear Kah, I've updated WireCloud to support uploading multiple resources using the user interface. In addition to this, we have implemented a new command that can be used from the command line where the WireCloud instance is deployed. I'm going to update the installation and administration guide for providing info about how to use it, but in the meantime, you can get usage information running the following command: I'm going to discard suggestion 2 and close this ticket, you can always create a new ticket (preferred) or provide more info in this one (so it will be reopened) if you want it to be implemented. Best regards, ?lvaro On 6 March 2015 at 13:01, ?lvaro Arranz wrote: > Dear Kah, > > I have created a new internal ticket for implementing "suggestion 1" and > we are working on it, will be ready soon. > > About "Suggestion 2", can you detail a bit more what do you expect from > Wirecloud for solving it?. It seems easy to solve without requiring new > features from Wirecloud, for example, you can create all these instances > using a bash script: > > for i in `seq 1 9`; > do > wirecloud-admin startproject wirecloud_instance$i --quick-start > cd wirecloud_instance$i > python manage.py runserver 0.0.0.0:800$i & > cd .. > done > > Keep in mind this is only an example, but can be used as starting point. > > Best regards, > ?lvaro > > On 5 March 2015 at 18:04, Kah Tong, SEOW wrote: > >> >> >> >> Suggestion1: >> >> For both local and cloud installation of wirecloud, it would be useful >> to be able to upload a list of selected widgets >> (a) this can be done either as bulk select of more than one widget files >> OR >> (b) given a text file of the file location of widget, with a single >> click, that wirecloud read the text file and local upload these widget >> files >> >> This is important when the number of freely available widgets is >> approaching 30 t0 50s, it makes better sense to be able to automatically >> upload many widget files >> >> Suggestion 2: >> >> For behind firewall 2 to 3 hours of wirecloud teaching workshop to e.g. >> 10 people, it will be good to enable wirecloud to manage multiple users. >> >> Perhaps given the directory where to create e.g. wirecloud_instance, the >> wirecloud program create e.g. for 10 users, the following 10 directories >> wirecloud_instance1, wirecloud_instance2 etc. each instance is >> associated with a pre-defined sqlite file e.g. sqlite1.db, sqllite2.db >> and user1, password1 etc. >> >> So that after successful installation of an instance of wirecloud, it is >> possible to create additional wirecloud instance running on different >> ports from the same computer using a fixed IP >> >> This allow 10 participants with access to the router of the same >> classroom to access the wircloud server of that fixed IP to learn and >> practice wirecloud standalone. >> >> ==> without IdM >> >> >> >> _______________________________________________ >> Fiware-tech-help mailing list >> Fiware-tech-help at lists.fi-ware.org >> https://lists.fi-ware.org/listinfo/fiware-tech-help >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aarranz at conwet.com Fri Mar 13 12:46:29 2015 From: aarranz at conwet.com (=?UTF-8?Q?=C3=81lvaro_Arranz?=) Date: Fri, 13 Mar 2015 12:46:29 +0100 Subject: [Fiware-tech-help] Mashup - widgets with no name and top menu In-Reply-To: <14bacc3f5d4.fc739cca135214.5006785817541805918@wexcedo.com> References: <14bacc3f5d4.fc739cca135214.5006785817541805918@wexcedo.com> Message-ID: Dear campos, first of all, sorry for the delay in the response, thanks for your interest in WireCloud (the software behind the Mashup portal) and for your feedback. Currently WireCloud doesn't have such support. We are currently working on other areas and we can not attend this request at this moment, but we agree in the benefit of your suggestion so it will be added to the roadmap and implemented in a near future. Although I'm going to close this ticket, stay tuned as I will update it with updates on the progress about the implementation of this feature. Best regards, ?lvaro On 21 February 2015 at 17:28, campos wrote: > I am from Wexcedo, we are currently using the mashup platform to prototype > some ideas. > I'd like to know if it is possible to give widgets no name and make the > inside widget menu (located on the top right side) not visible when i set a > workspace to public. > This would allow us to have a more refined control over the overall look > of the workspace which ultimately will be public to all our customers. > > The platform already supports a blank space but that creates unwanted > space between widgets and if i give it no name, the previous name comes > back when i reload the page. > > The menu i am reffering to is here: imgur.com/oRgqR7a > > Thank you for your patience and cooperation. > > _______________________________________________ > Fiware-tech-help mailing list > Fiware-tech-help at lists.fi-ware.org > https://lists.fi-ware.org/listinfo/fiware-tech-help > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aarranz at conwet.com Fri Mar 13 12:56:59 2015 From: aarranz at conwet.com (=?UTF-8?Q?=C3=81lvaro_Arranz?=) Date: Fri, 13 Mar 2015 12:56:59 +0100 Subject: [Fiware-tech-help] Request for improving wirecloud In-Reply-To: References: <54F88A87.3060209@wei-medicine.com> <54F88CA4.9090305@wei-medicine.com> Message-ID: Sorry, the command for getting usage information is: python manage.py addtocatalogue --help Best regards, ?lvaro On 13 March 2015 at 10:43, ?lvaro Arranz wrote: > Dear Kah, > > I've updated WireCloud to support uploading multiple resources using the > user interface. In addition to this, we have implemented a new command that > can be used from the command line where the WireCloud instance is deployed. > I'm going to update the installation and administration guide for providing > info about how to use it, but in the meantime, you can get usage > information running the following command: > > I'm going to discard suggestion 2 and close this ticket, you can always > create a new ticket (preferred) or provide more info in this one (so it > will be reopened) if you want it to be implemented. > > Best regards, > ?lvaro > > On 6 March 2015 at 13:01, ?lvaro Arranz wrote: > >> Dear Kah, >> >> I have created a new internal ticket for implementing "suggestion 1" and >> we are working on it, will be ready soon. >> >> About "Suggestion 2", can you detail a bit more what do you expect from >> Wirecloud for solving it?. It seems easy to solve without requiring new >> features from Wirecloud, for example, you can create all these instances >> using a bash script: >> >> for i in `seq 1 9`; >> do >> wirecloud-admin startproject wirecloud_instance$i --quick-start >> cd wirecloud_instance$i >> python manage.py runserver 0.0.0.0:800$i & >> cd .. >> done >> >> Keep in mind this is only an example, but can be used as starting point. >> >> Best regards, >> ?lvaro >> >> On 5 March 2015 at 18:04, Kah Tong, SEOW wrote: >> >>> >>> >>> >>> Suggestion1: >>> >>> For both local and cloud installation of wirecloud, it would be useful >>> to be able to upload a list of selected widgets >>> (a) this can be done either as bulk select of more than one widget files >>> OR >>> (b) given a text file of the file location of widget, with a single >>> click, that wirecloud read the text file and local upload these widget >>> files >>> >>> This is important when the number of freely available widgets is >>> approaching 30 t0 50s, it makes better sense to be able to automatically >>> upload many widget files >>> >>> Suggestion 2: >>> >>> For behind firewall 2 to 3 hours of wirecloud teaching workshop to e.g. >>> 10 people, it will be good to enable wirecloud to manage multiple users. >>> >>> Perhaps given the directory where to create e.g. wirecloud_instance, the >>> wirecloud program create e.g. for 10 users, the following 10 directories >>> wirecloud_instance1, wirecloud_instance2 etc. each instance is >>> associated with a pre-defined sqlite file e.g. sqlite1.db, sqllite2.db >>> and user1, password1 etc. >>> >>> So that after successful installation of an instance of wirecloud, it is >>> possible to create additional wirecloud instance running on different >>> ports from the same computer using a fixed IP >>> >>> This allow 10 participants with access to the router of the same >>> classroom to access the wircloud server of that fixed IP to learn and >>> practice wirecloud standalone. >>> >>> ==> without IdM >>> >>> >>> >>> _______________________________________________ >>> Fiware-tech-help mailing list >>> Fiware-tech-help at lists.fi-ware.org >>> https://lists.fi-ware.org/listinfo/fiware-tech-help >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From startimpresa at outlook.it Sun Mar 15 05:25:39 2015 From: startimpresa at outlook.it (Pedro Osborne) Date: Sun, 15 Mar 2015 05:25:39 +0100 (CET) Subject: [Fiware-tech-help] [SPAM] Re:payment made Message-ID: <20150315042539.1516E40D8A@mail.fi-ware.eu> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: please do not reply directly. if you want to contact us, please send us an email at wengjiao7598 at 163.com Hi, [...] Content analysis details: (6.9 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [115.210.42.50 listed in psbl.surriel.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [115.210.42.50 listed in bl.score.senderscore.com] 1.0 RCVD_IN_CSS RBL: Received via a relay in Spamhaus CSS [115.210.42.50 listed in zen.spamhaus.org] 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.5 MISSING_MID Missing Message-Id: header 0.0 LOTS_OF_MONEY Huge... sums of money 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 1.4 MISSING_DATE Missing Date: header 0.0 TO_NO_BRKTS_NORDNS_HTML To: misformatted and no rDNS and HTML only 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. -------------- next part -------------- An embedded message was scrubbed... From: "Pedro Osborne" Subject: Re:payment made Date: no date Size: 3183 URL: From amacias at usheru.com Mon Mar 16 14:07:06 2015 From: amacias at usheru.com (=?UTF-8?B?QW5kcsOpcyBNYWPDrWFz?=) Date: Mon, 16 Mar 2015 13:07:06 +0000 Subject: [Fiware-tech-help] Object Storage documentation Message-ID: Hi, I'm not sure where I should be reporting this. I have found a couple of errors in the Object Storage notification: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#3._Authenticate_tenant_to_get_token_for_Object_Storage First of all, cloud.lab.fi-ware.org is not the correct host, it should be cloud.lab.fiware.org (without the dash) Then, the following script will not properly parse auth value: curl -v \ -d '{ "auth" : { "passwordCredentials" : { "username" : "'$username'" , "password" : "'$password'" }, "tenantName" : "'$tenantName'" } }' \ -H "Content-Type: application/json" \ http://cloud.lab.fiware.org:4730/v2.0/tokens \ > auth_token2.dat token=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/id\042/) {print $(i+1)} } }' auth_token2.dat | awk -F'"' '{print $2; exit}') auth=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/publicURL\042/) {print $(i+3)} } }' auth_token2.dat | \ grep "v1/AUTH" | awk -F'"}]' '{print $1;}' | awk -F"/" '{print $3;}' ) Executing this will return something like the following: root at ubuntu1404:~# echo $auth AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866 Instead, the last part of the previous script should look something like the following: auth=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/publicURL\042/) {print $(i+3)} } }' auth_token2.dat | \ grep "v1/AUTH" | head -n 1 | awk -F'"}' '{print $1;}' | awk -F"/" '{print $3;}' ) So the value is parsed properly: root at ubuntu1404:~# echo $auth AUTH_00000000000000000000000000009866 Best regards, Andr?s [image: www.usheru.com] WWW.USHERU.COM | @USHERUHQ | LINKEDIN | ANGELLIST This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. Please send us by fax any message containing deadlines as incoming e-mails are not screened for response deadlines. The integrity and security of this message cannot be guaranteed on the Internet. usherU is a trading name of We Love Cinema Ltd registered in Ireland no. 547302 having its registered office at Saint Martins House, Waterloo Road, Ballsbridge, Dublin 4. -------------- next part -------------- An HTML attachment was scrubbed... URL: From GLIKSON at il.ibm.com Mon Mar 16 14:55:30 2015 From: GLIKSON at il.ibm.com (Alex Glikson) Date: Mon, 16 Mar 2015 15:55:30 +0200 Subject: [Fiware-tech-help] Object Storage documentation In-Reply-To: References: Message-ID: Thanks, we will fix it. Regards, Alex From: Andr?s Mac?as To: fiware-tech-help at lists.fi-ware.org, Thomas Winkler Date: 16/03/2015 03:07 PM Subject: [Fiware-tech-help] Object Storage documentation Sent by: fiware-tech-help-bounces at lists.fi-ware.org Hi, I'm not sure where I should be reporting this. I have found a couple of errors in the Object Storage notification: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#3._Authenticate_tenant_to_get_token_for_Object_Storage First of all, cloud.lab.fi-ware.org is not the correct host, it should be cloud.lab.fiware.org (without the dash) Then, the following script will not properly parse auth value: curl -v \ -d '{ "auth" : { "passwordCredentials" : { "username" : "'$username'" , "password" : "'$password'" }, "tenantName" : "'$tenantName'" } }' \ -H "Content-Type: application/json" \ http://cloud.lab.fiware.org:4730/v2.0/tokens \ > auth_token2.dat token=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/id\042/) {print $(i+1)} } }' auth_token2.dat | awk -F'"' '{print $2; exit}') auth=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/publicURL\042/) {print $(i+3)} } }' auth_token2.dat | \ grep "v1/AUTH" | awk -F'"}]' '{print $1;}' | awk -F"/" '{print $3;}' ) Executing this will return something like the following: root at ubuntu1404:~# echo $auth AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866"} AUTH_00000000000000000000000000009866 Instead, the last part of the previous script should look something like the following: auth=$(awk -F"[,:]" '{for(i=1;i<=NF;i++) {if($i~/publicURL\042/) {print $(i+3)} } }' auth_token2.dat | \ grep "v1/AUTH" | head -n 1 | awk -F'"}' '{print $1;}' | awk -F"/" '{print $3;}' ) So the value is parsed properly: root at ubuntu1404:~# echo $auth AUTH_00000000000000000000000000009866 Best regards, Andr?s WWW.USHERU.COM | @USHERUHQ | LINKEDIN | ANGELLIST This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. Please send us by fax any message containing deadlines as incoming e-mails are not screened for response deadlines. The integrity and security of this message cannot be guaranteed on the Internet. usherU is a trading name of We Love Cinema Ltd registered in Ireland no. 547302 having its registered office at Saint Martins House, Waterloo Road, Ballsbridge, Dublin 4._______________________________________________ Fiware-tech-help mailing list Fiware-tech-help at lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-tech-help -------------- next part -------------- An HTML attachment was scrubbed... URL: From alessandro.daniele at eng.it Mon Mar 16 15:43:34 2015 From: alessandro.daniele at eng.it (Alessandro Daniele) Date: Mon, 16 Mar 2015 15:43:34 +0100 Subject: [Fiware-tech-help] IdM - Callback url Message-ID: <5506EC16.8070003@eng.it> Good morning, my name is Alessandro Daniele. I'm currently working on a project that involves OAuth2 authentication through FIWARE. When my application sends the http POST request to /https://account.lab.fiware.org/token/ to obtain the token, FIWARE does not redirect the user to the callback url defined inside the http request (redirect_uri parameter), instead it sends the user to the callback url defined inside the fiware application page (/https://account.lab.fiware.org/applications/my_application/). The redirect_uri parameter of the http request seems to be ignored by KeyRock. I would like to send users to the redirect_uri defined in the http request. Is there a way to do that? Best regards, Alessandro Daniele -------------- next part -------------- An HTML attachment was scrubbed... URL: From asai at helen.ocn.ne.jp Tue Mar 17 01:27:11 2015 From: asai at helen.ocn.ne.jp (Kelvin Flowers) Date: Tue, 17 Mar 2015 01:27:11 +0100 (CET) Subject: [Fiware-tech-help] [SPAM] Re:marketing secrets Message-ID: <20150317002711.B47CB4015C@mail.fi-ware.eu> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: please do not reply directly. if you want to contact us, please send us an email at wengjiao7598 at 163.com Hi, [...] Content analysis details: (8.2 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 RCVD_IN_CSS RBL: Received via a relay in Spamhaus CSS [115.210.46.48 listed in zen.spamhaus.org] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [115.210.46.48 listed in psbl.surriel.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [115.210.46.48 listed in bl.score.senderscore.com] 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.5 MISSING_MID Missing Message-Id: header 0.0 LOTS_OF_MONEY Huge... sums of money 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 1.4 MISSING_DATE Missing Date: header 0.0 TO_NO_BRKTS_NORDNS_HTML To: misformatted and no rDNS and HTML only 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. -------------- next part -------------- An embedded message was scrubbed... From: "Kelvin Flowers" Subject: Re:marketing secrets Date: no date Size: 3186 URL: From alessandro.daniele at eng.it Wed Mar 18 11:35:17 2015 From: alessandro.daniele at eng.it (Alessandro Daniele) Date: Wed, 18 Mar 2015 11:35:17 +0100 Subject: [Fiware-tech-help] Fiware lab is down Message-ID: <550954E5.9050903@eng.it> Good morning, as specified in the subject, fiware lab seems to be down. Best regards, Daniele Alessandro -- -- *Alessandro Daniele* Developer *SpagoBI Labs Engineering Group* Corso Stati Uniti, 23/C - 35127 Padua - Italy Phone: +39 049 8283411 Fax: +39-049.8700272 Skype: alessandro.daniele.eng www.spagobi.org - www.eng.it Respect the environment. Please don't print this e-mail unless you really need to. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: spagobi.png Type: image/png Size: 3639 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 1379 bytes Desc: not available URL: From TALI at il.ibm.com Wed Mar 18 11:57:31 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Wed, 18 Mar 2015 12:57:31 +0200 Subject: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status In-Reply-To: References: <5500502D.80407@telefonica.com> Message-ID: Dear Ahmed, Sorry, but I don't know to solve your issue. My recommendation is to install the tested tomcat version ( apache-tomcat-7.0.26) again, and to follow again the CEP installation guide. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO Date: 12/03/2015 04:49 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Okay, but when I click on the "ProtonOnWebServerAdmin, ProtonOnWebServer" I get 404, also when I try the "get" example from the tutorial I get 500. Pictures attached. Is this normal ? Best, Ahmed On Thu, Mar 12, 2015 at 3:37 PM, Tali Yatzkar-Haham wrote: There are some warnings at the beginning of the log that seems to be related to some missing directories, I don't know if they are important. However, from the log it seems that ProtonOnWebServerAdmin, ProtonOnWebServer are deployed, and the CEP is running. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 04:21 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status I did it, stooped the tomcat -> delete catalina.out -> start tomcat Attached is the generated log files after starting tomcat files and also catalina properties. Thank you for your help. Ahmed On Thu, Mar 12, 2015 at 3:04 PM, Tali Yatzkar-Haham wrote: Unfortunately I can't open your zip file. Please stop tomcat, delete the files from the log file, start tomcat, and send me the log file from the log directory (should be catalina.out) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 03:51 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Thank you for your reply, attached is the log folder of the tomcat server. I don't use any commands, I only use the web interface : http://127.0.0.1:8080/manager and from there I click on different component of the proton application, the authoring tool respond with me with the application page while the ProtonOnWebServer and /ProtonOnWebServerAdmin don't respond. Please let me know if you need any further information/logs, if you want and have time I can give you a remote access to the machine using team viewer. Best, Ahmed On Thu, Mar 12, 2015 at 1:22 PM, Tali Yatzkar-Haham wrote: Dear Ahmed, I must say that I'm not a Tomcat expert. If you send me the tomcat log, and the command you make, I might be able to help. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Ahmed Sadek To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> Date: 12/03/2015 01:55 PM Subject: Re: [Fiware-tech-help] Regarding complex event processing CEP over tomcat7, problem with proton on web server status Dear Tali, Any ideas on troubleshooting this problem, I really need to run the CEP. Best, Ahmed On Wed, Mar 11, 2015 at 3:24 PM, MIGUEL CARRILLO PACHECO < miguel.carrillopacheco at telefonica.com> wrote: Dear Ahmed, Tali is the GE owner, as per the catalogue. http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online I add her to the loop, she must be able to help Regards, Miguel El 11/03/2015 a las 14:56, Ahmed Sadek escribi?: Dear All, I have installed the complex event processing over tomcat7 and followed the instruction on this page. https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_an_engine_instance But I am facing a problem with getting the status of the proton web server as explained in the tutorial, I should get 200 ok, as it seem the tomcat is only checking at the /usr/share/tomcat7 and not looking in the /var/lib/tomcat7. I have set both CATALINA HOME / BASE environment variables. but still the same problem. Attached is different print screens for the the problem and server. Best, Ahmed Sadek KTH _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ Miguel Carrillo Pacheco _/ _/ _/ _/ Telef?nica Distrito Telef?nica _/ _/_/_/ _/ _/ Investigaci?n y Edifico Oeste 1, Planta 9 _/ _/ _/ _/ Desarrollo Ronda de la Comunicaci?n S/N _/ _/_/ 28050 Madrid (Spain) Tel: (+34) 91 483 26 77 e-mail: 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 [attachment "logs.zip" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "localhost_access_log.2015-03-12.txt" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.out" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.2015-03-12.log" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "localhost.2015-03-12.log" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "catalina.properties" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "Screenshot from 2015-03-11 14:49:29.png" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "Screenshot from 2015-03-11 14:49:21.png" deleted by Tali Yatzkar-Haham/Haifa/IBM] [attachment "Screenshot from 2015-03-11 14:48:43.png" deleted by Tali Yatzkar-Haham/Haifa/IBM] -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at konnektid.com Wed Mar 18 14:27:33 2015 From: alex at konnektid.com (Theologos Zacharopoulos) Date: Wed, 18 Mar 2015 14:27:33 +0100 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Dear Tali, I need some help with the development of a Custom Output Adapter, I managed to develop it but I want to know the process of repackaging in a war file and run it on the server. so I need to recreate somehow the ProtonAgents.jar and put it back to the .war file? and if yes is there any online information on todo that?| thanks in advance! On 12 March 2015 at 10:40, Theologos Zacharopoulos wrote: > Dear Tali, > That was exactly the solution I was looking for, thank you very much that > was very helpful! > Also thanks for the quick response, > Best regards, > Theologos Alex Zacharopoulos > > On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: > >> Dear Alex, >> >> Glad to hear you are using the CEP! >> >> What you can do: >> 1. Have one EPA, lets call it EPA1, that uses the temporal context you >> defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). >> Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of >> EPA1 to be deferred and don't set it conditions or input event. Make it >> generate a new type of event (that you need to define), lets call it E2. >> The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If >> you don't want to have a warning on empty input events you can put Event_X >> as an input event of EPA1) >> >> 2. Now you can define another temporal context, lets call it TC2 that >> uses E2 as initiator. >> >> Hope this is what you wanted. >> >> I cc the FIWARE help, so this corresponding will be documented in the >> FIWARE issue tracking system. Please cc it as well in future >> correspondence. Thanks. >> >> Best regards, >> Tali >> >> Tali Yatzkar Haham >> Event-based Middleware & Solutions >> IBM Haifa Research Lab, Israel >> tali at il.ibm.com 972-4-8296320 >> >> >> >> >> From: Theologos Zacharopoulos >> To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL >> Date: 11/03/2015 04:20 PM >> Subject: Complex Event Processing, help >> ------------------------------ >> >> >> >> Dear Tali, >> >> I am a Software Engineer who collaborates with the FiWARE GE, >> I am working on the IBM Proton about 2 weeks now, and I ma trying to >> configure a use case for the company I work for. >> I created a temporal context that starts the time that an Event_X is >> fired and it expires after 24hours, but I want a second temporal context >> start after 24hours of the event creation, can you please provide me some >> help on this? >> I tried to set the condition: Event_x.duration == 86400000, but that >> didn't work for me. >> >> Thanks in advance! >> Alex Zacharopoulos, Software Engineer @ Konnektid. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.dangerville at thalesgroup.com Wed Mar 18 15:13:19 2015 From: cyril.dangerville at thalesgroup.com (DANGERVILLE Cyril) Date: Wed, 18 Mar 2015 15:13:19 +0100 Subject: [Fiware-tech-help] Typeform: New request to FIWARE.AzPDP.Contact References: <0000014bda63dd5d-292d3a22-f35a-4a77-90cb-14c3ac9b4344-000000@email.amazonses.com> <1425304997.6685.13.camel@telefonica.com> <1425465405.5527.4.camel@telefonica.com> Message-ID: Hello Alvaro, Sorry for the delay. The new user guide updated with valid XACML 3.0 examples is available here: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Authorization_PDP_-_AuthZForce_-_User_and_Programmers_Guide_%28R4.1%29 The other documentation links on the catalogue have been updated as well: http://catalogue.fiware.org/enablers/authorization-pdp-authzforce/documentation Regards, Cyril > -----Message d'origine----- > De : DANGERVILLE Cyril > Envoy? : mercredi 4 mars 2015 17:00 > ? : Alvaro Vega > Cc : fiware-tech-help at lists.fi-ware.org > Objet : RE: Typeform: New request to FIWARE.AzPDP.Contact > > Yes, the new 4.1 version is using XACML 3.0 for > policies/resquests/responses. So you have to convert your policyset to > XACML 3.0. I will send you the updated User Guide with valid XACML 3.0 > examples. The current user guide on the public wiki is for the previous > version that was using XACML 2.0. > > Regards, > Cyril > > > -----Message d'origine----- > > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > > Envoy? : mercredi 4 mars 2015 11:37 > > ? : DANGERVILLE Cyril > > Cc : fiware-tech-help at lists.fi-ware.org > > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > > > Hi Cyril, > > It works! I was able to create a new domain: > > 8659d855-c24e-11e4-bd29-60672094ecb8 > > > > Now I'm trying to set up a new rule: > > > > $ curl -i -H "Accept: application/xml" -H "Content-type: > > application/xml" -X PUT -d @policyset_example_authz.xml > > http://localhost:8180/authzforce/domains/8659d855-c24e-11e4-bd29- > > 60672094ecb8/pap/policySet/ > > > > But I'm getting a server error: > > > > HTTP/1.1 100 Continue > > > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/html > > Content-Length: 1472 > > Date: Wed, 04 Mar 2015 09:41:06 GMT > > Connection: close > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > xmlns="http://www.w3.org/1999/xhtml">GlassFish Server > > Open Source Edition 3.1.2.2 - Error report > >

HTTP Status 500 -


type Exception > > report

message

descriptionThe server > > encountered an internal error () that prevented it from fulfilling > > this request.

exception >

java.lang.NoSuchMethodError:
> >
> javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;Lj
> > a
> >
> vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

< > > p > > >note The full stack traces of the exception and its root > > causes are available in the GlassFish Server Open Source Edition > > 3.1.2.2 logs.


GlassFish Server Open Source Edition > > 3.1.2.2

> > > > > > And traces: > > /opt/glassfish3/glassfish/domains/domain1/logs/authzforce/error.log > > > > 2015-03-04 10:41:06,970|WARN |http-thread-pool-8180(5)| > > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > > - with linked exception: > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 56; > > cvc-elt.1: Cannot find the declaration of element 'PolicySet'.] > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStream > > E > > xception(UnmarshallerImpl.java:435) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(U > > n > > marshallerImpl.java:372) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Un > > m > > arshallerImpl.java:342) > > at > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputSt > > r > > eam(JAXBElementProvider.java:263) > > at > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBElem > > e > > ntProvider.java:216) > > at > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElement > > P > > rovider.java:175) > > at > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSU > > t > > ils.java:1196) > > at > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.j > > a > > va:1144) > > at > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > > 695) > > at > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.jav > > a > > :655) > > at > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:254) > > at > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) > > at > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:257) > > at > > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:102) > > at org.apache.cxf.interceptor.ServiceInvokerInterceptor > > $1.run(ServiceInvokerInterceptor.java:58) > > at > > > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Ser > > v > > iceInvokerInterceptor.java:94) > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercepto > > r > > Chain.java:271) > > at > > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitia > > t > > ionObserver.java:121) > > at > > > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractH > > T > > TPDestination.java:239) > > at > > > org.apache.cxf.transport.servlet.ServletController.invokeDestination(S > > e > > rvletController.java:223) > > at > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr > > o > > ller.java:203) > > at > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletContr > > o > > ller.java:137) > > at > > > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpri > > n > > gServlet.java:158) > > at > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abs > > t > > ractHTTPServlet.java:243) > > at > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTT > > P > > Servlet.java:180) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:691) > > at > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractH > > T > > TPServlet.java:219) > > at > > > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java: > > 1 > > 550) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa > > l > > ve.java:281) > > at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa > > l > > ve.java:175) > > at > > > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.ja > > v > > a:655) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > > 595) > > at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja > > v > > a:161) > > at > > > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.ja > > v > > a:331) > > at > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > 231) > > at com.sun.enterprise.v3.services.impl.ContainerMapper > > $AdapterCallable.call(ContainerMapper.java:317) > > at > > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerM > > a > > pper.java:195) > > at > > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:86 > > 0 > > ) > > at > > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > > at > > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > > at > > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilt > > e > > r.java:229) > > at > > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProt > > o > > colChain.java:137) > > at > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > 104) > > at > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > 90) > > at > > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java: > > 7 > > 9) > > at > > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTa > > s > > k.java:54) > > at > > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.j > > a > > va:59) > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > > at com.sun.grizzly.util.AbstractThreadPool > > $Worker.doWork(AbstractThreadPool.java:532) > > at com.sun.grizzly.util.AbstractThreadPool > > $Worker.run(AbstractThreadPool.java:513) > > at java.lang.Thread.run(Thread.java:745) > > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; > columnNumber: > > 56; cvc-elt.1: Cannot find the declaration of element 'PolicySet'. > > at > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXP > > a > > rseException(ErrorHandlerWrapper.java:198) > > at > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Erro > > r > > HandlerWrapper.java:134) > > at > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(X > > M > > LErrorReporter.java:437) > > at > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(X > > M > > LErrorReporter.java:368) > > at > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(X > > M > > LErrorReporter.java:325) > > at > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleSt > > a > > rtElement(XMLSchemaValidator.java:1906) > > at > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEle > > m > > ent(XMLSchemaValidator.java:746) > > at > > > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImp > > l > > .startElement(ValidatorHandlerImpl.java:570) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startE > > l > > ement(ValidatingUnmarshaller.java:101) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleSta > > r > > tElement(StAXStreamConnector.java:246) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(St > > A > > XStreamConnector.java:180) > > at > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(U > > n > > marshallerImpl.java:370) > > ... 49 more > > | > > > > Do you know what is happening? > > Thanks in advance, > > ?lvaro Vega > > > > On Wed, 2015-03-04 at 00:04 +0100, DANGERVILLE Cyril wrote: > > > Hello, > > > Indeed, the documentation on the public wiki has not been updated > > > yet > > for release 4.1 (I had instructions not to), although it is very > close. > > A few XML namespaces and formats have changed (partly due to shift > > from XACML 2.0 to 3.0), which seems to be the cause here. > > > I have attached the latest documentation for release 4.1 as PDF > > (exported from our private wiki). You will find out that the > namespace > > "http://thalesgroup.com/authz/model" used in your request has to be > > replaced now with "http://thalesgroup.com/authz/model/3.0/resource". > > > > > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" \ > > > -d ' > > xmlns:taz="http://thalesgroup.com/authz/model/3.0/resource">MyDo > > m > > ainThis is my > > domain.' \ > > > -H "Accept: application/xml" \ > > > http://localhost:8180/authzforce/domains/ > > > > > > Sorry for the trouble. If this is not fixing it, don't hesitate to > > let me know. > > > > > > FYI, the REST API specification is described by WADL here: > > > http://localhost:8180/authzforce/?_wadl > > > Some REST clients (e.g. SoapUI) can use that for generating valid > > requests. > > > > > > Regards, > > > Cyril > > > > > > > -----Message d'origine----- > > > > De : Alvaro Vega [mailto:alvaro.vegagarcia at telefonica.com] > > > > Envoy? : lundi 2 mars 2015 15:03 > > > > ? : DANGERVILLE Cyril > > > > Cc : fiware-tech-help at lists.fi-ware.org > > > > Objet : Re: Typeform: New request to FIWARE.AzPDP.Contact > > > > > > > > Hi, > > > > Regarding with this issue, this is the full data: > > > > > > > > GE: Authzforce-fiware-bin-dist-4.1 (from > > > > > > http://catalogue.fiware.org/sites/default/files/storage/enablers/aut > > > > hzf > > > > orce-fiware-bin-dist-4.1.zip) > > > > > > > > > > > > REQUEST: > > > > curl -i -X POST -H "Content-Type: application/xml;charset=UTF-8" > \ > > > > -d ' > > > > > xmlns:taz="http://thalesgroup.com/authz/model">MyDomain > > > > > > > scription>This is my domain.' \ > > > > -H "Accept: application/xml" \ > > > > http://localhost:8180/authzforce/domains/ > > > > > > > > > > > > RESPONSE: > > > > HTTP/1.1 500 Internal Server Error > > > > Content-Type: text/html > > > > Content-Length: 1472 > > > > Date: Mon, 02 Mar 2015 13:40:55 GMT > > > > Connection: close > > > > > > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > xmlns="http://www.w3.org/1999/xhtml">GlassFish > Server > > > > Open Source Edition 3.1.2.2 - Error report > > > >

HTTP Status 500 -


type > > > > Exception report

message

descriptionThe > > > > server encountered an internal error () that prevented it from > > > > fulfilling this request.

exception > >

java.lang.NoSuchMethodError:
> > > >
> > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response;
> > > > Lja
> > > >
> > vax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response;

> > > >

> > > >note The full stack traces of the exception and its > > > > >root > > > > causes are available in the GlassFish Server Open Source Edition > > > > 3.1.2.2 logs.


GlassFish Server Open Source > Edition > > > > 3.1.2.2

> > > > > > > > FULL- > > > > > > LOGS::/opt/glassfish3/glassfish/domains/domain1/logs/authzforce/erro > > > > r.l > > > > og > > > > > > > > 2015-03-02 14:43:41,107|WARN |http-thread-pool-8180(3)| > > > > AbstractJAXBProvider:655|javax.xml.bind.UnmarshalException > > > > - with linked exception: > > > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39; > > > > cvc-elt.1: Cannot find the declaration of element > > 'taz:properties'.] > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStre > > > > amE > > > > xception(UnmarshallerImpl.java:435) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 > > > > (Un > > > > marshallerImpl.java:372) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal( > > > > Unm > > > > arshallerImpl.java:342) > > > > at > > > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInput > > > > Str > > > > eam(JAXBElementProvider.java:263) > > > > at > > > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBEl > > > > eme > > > > ntProvider.java:216) > > > > at > > > > > > org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBEleme > > > > ntP > > > > rovider.java:175) > > > > at > > > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXR > > > > SUt > > > > ils.java:1196) > > > > at > > > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils > > > > .ja > > > > va:1144) > > > > at > > > > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java: > > > > 695) > > > > at > > > > > > org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.j > > > > ava > > > > :655) > > > > at > > > > > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(J > > > > AXR > > > > SInInterceptor.java:238) > > > > at > > > > > > org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JA > > > > XRS > > > > InInterceptor.java:99) > > > > at > > > > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep > > > > tor > > > > Chain.java:271) > > > > at > > > > > > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInit > > > > iat > > > > ionObserver.java:121) > > > > at > > > > > > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abstrac > > > > tHT > > > > TPDestination.java:239) > > > > at > > > > > > org.apache.cxf.transport.servlet.ServletController.invokeDestination > > > > (Se > > > > rvletController.java:223) > > > > at > > > > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletCon > > > > tro > > > > ller.java:203) > > > > at > > > > > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletCon > > > > tro > > > > ller.java:137) > > > > at > > > > > > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSp > > > > rin > > > > gServlet.java:158) > > > > at > > > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(A > > > > bst > > > > ractHTTPServlet.java:243) > > > > at > > > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(Abstract > > > > HTT > > > > PServlet.java:163) > > > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > > > > at > > > > > > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstrac > > > > tHT > > > > TPServlet.java:219) > > > > at > > > > > > org.apache.catalina.core.StandardWrapper.service(StandardWrapper.jav > > > > a:1 > > > > 550) > > > > at > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper > > > > Val > > > > ve.java:281) > > > > at > > > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContext > > > > Val > > > > ve.java:175) > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline. > > > > jav > > > > a:655) > > > > at > > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > > > > 595) > > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. > > > > jav > > > > a:161) > > > > at > > > > > > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter. > > > > jav > > > > a:331) > > > > at > > > > > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > > > > 231) > > > > at com.sun.enterprise.v3.services.impl.ContainerMapper > > > > $AdapterCallable.call(ContainerMapper.java:317) > > > > at > > > > > > com.sun.enterprise.v3.services.impl.ContainerMapper.service(Containe > > > > rMa > > > > pper.java:195) > > > > at > > > > > > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java: > > > > 860 > > > > ) > > > > at > > > > > > com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) > > > > at > > > > > com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) > > > > at > > > > > > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFi > > > > lte > > > > r.java:229) > > > > at > > > > > > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPr > > > > oto > > > > colChain.java:137) > > > > at > > > > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > > > 104) > > > > at > > > > > > > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java: > > > > 90) > > > > at > > > > > > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.jav > > > > a:7 > > > > 9) > > > > at > > > > > > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContext > > > > Tas > > > > k.java:54) > > > > at > > > > > > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask > > > > .ja > > > > va:59) > > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > > > > at com.sun.grizzly.util.AbstractThreadPool > > > > $Worker.doWork(AbstractThreadPool.java:532) > > > > at com.sun.grizzly.util.AbstractThreadPool > > > > $Worker.run(AbstractThreadPool.java:513) > > > > at java.lang.Thread.run(Thread.java:745) > > > > Caused by: org.xml.sax.SAXParseException; lineNumber: 1; > > columnNumber: > > > > 39; cvc-elt.1: Cannot find the declaration of element > > 'taz:properties'. > > > > at > > > > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSA > > > > XPa > > > > rseException(ErrorHandlerWrapper.java:198) > > > > at > > > > > > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Er > > > > ror > > > > HandlerWrapper.java:134) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > > (XM > > > > LErrorReporter.java:437) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > > (XM > > > > LErrorReporter.java:368) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > > > > (XM > > > > LErrorReporter.java:325) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handle > > > > Sta > > > > rtElement(XMLSchemaValidator.java:1906) > > > > at > > > > > > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startE > > > > lem > > > > ent(XMLSchemaValidator.java:746) > > > > at > > > > > > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerI > > > > mpl > > > > .startElement(ValidatorHandlerImpl.java:570) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.star > > > > tEl > > > > ement(ValidatingUnmarshaller.java:101) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleS > > > > tar > > > > tElement(StAXStreamConnector.java:246) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge( > > > > StA > > > > XStreamConnector.java:180) > > > > at > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0 > > > > (Un > > > > marshallerImpl.java:370) > > > > ... 45 more > > > > | > > > > > > > > I guess XML provided is wrong defined or uncompleted: > > > > > > > > > > > xmlns:taz="http://thalesgroup.com/authz/model"> > > > > MyDomain > > > > This is my domain. > > > > > > > > Could you provide me one right? > > > > > > > > Thanks in advance, > > > > ?lvaro Vega > > > > > > > > BTW: I'm pretty sure that your input request form is translating > > xml > > > > code. > > > > > > > > > > > > On Mon, 2015-03-02 at 14:31 +0100, DANGERVILLE Cyril wrote: > > > > > Hello, > > > > > > > > > > This form is only for first contact (before you decide to use > > > > > the > > > > GE). > > > > > Would you mind resending your issue to the following mailing > > list, > > > > > please? > > > > > > > > > > fiware-tech-help at lists.fi-ware.org > > > > > > > > > > Please also indicate the version of the GEi you are trying to > > > > install, > > > > > and the full stracktrace you got in the logs (not just the > > > > > first/last exception). Thank you. > > > > > > > > > > > > > > > > > > > > Then it will be assigned to me by the FIWARE helpdesk and I > will > > > > > take care of it. > > > > > > > > > > Sorry for the extra effort, but it will be better handled this > > way. > > > > > Besides, it seems your XML in the curl request was stripped off > > > > > (see mail below). I guess you didn?t just send ?'MyDomainThis > is > > > > > my domain ? in the request body. > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Cyril > > > > > > > > > > > > > > > > > > > > De : notifications at typeform.com > > > > > [mailto:notifications at typeform.com] > > > > > Envoy? : lundi 2 mars 2015 13:09 ? : > > > > > cyril.dangerville at thalesgroup.com Objet : Typeform: New request > > > > > to FIWARE.AzPDP.Contact > > > > > > > > > > > > > > > > > > > > > > > > > Your typeform FIWARE.AzPDP.Contact has a new entry. Here are > the > > > > > results: > > > > > > > > > > * Please describe the use case for which you intend to > use > > the > > > > > FIWARE Authorization PDP. > > > > > test > > > > > > > > > > > > > > > > > > > > * What type of service do you want to control access to? > > > > > (Protocol, API... e.g. HTTP/REST) > > > > > rest > > > > > > > > > > > > > > > > > > > > * You can now formulate your request, at last :) > > > > > I'm trying to set up authzforce. After configure opendj > > and > > > > > deploy authz I'm trying to create a new domain > following > > > > > instructions: > > > > > > > > > > > https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Acc > > > > ess _Control_- > > _Installation_and_Administration_Guide#Domain_Creation > > > > > $ curl -i -X POST -H "Content-Type: > > > > > application/xml;charset=UTF-8" \ > > > > > -d 'MyDomainThis is my domain.' \ > > > > > -H "Accept: application/xml" \ > > > > > http://localhost:8180/authzforce/domains > > > > > > > > > > and the response is: > > > > > HTTP/1.1 500 Internal Server Error > > > > > Content-Type: text/html > > > > > Content-Length: 1472 > > > > > Date: Mon, 02 Mar 2015 12:03:30 GMT > > > > > Connection: close > > > > > HTTP Status 500 - > > > > > > > > > > > > > > > > ____________________________________________________________________ > > > > __ > > > > > type Exception report > > > > > > > > > > message > > > > > > > > > > descriptionThe server encountered an internal error () that > > > > > prevented it from fulfilling this request. > > > > > > > > > > exception > > > > > > > > > > java.lang.NoSuchMethodError: > > > > > > > > > > > javax.ws.rs.BadRequestException.validate(Ljavax/ws/rs/core/Response; > > > > Lj > > > > > avax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response; > > > > > > > > > > note The full stack traces of the exception and its root causes > > > > > are available in the GlassFish Server Open Source Edition > > > > > 3.1.2.2 > > logs. > > > > > > > > > > > > > > > > > > > > > ____________________________________________________________________ > > > > __ > > > > > GlassFish Server Open Source Edition 3.1.2.2 > > > > > > > > > > > > > > > > > > > > But in authz traces I've see: > > > > > 015-03-02 13:03:30,706|WARN |http-thread-pool-8180(4)| > > > > > AbstractJAXBProvider:655| javax.xml.bind.UnmarshalException > > > > > - with linked exception: > > > > > [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: > 39; > > > > > cvc-elt.1: Cann > > > > > ot find the declaration of element 'taz:properties'.] at > > > > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleSt > > > > > rea > > > > > mException(UnmarshallerImpl.java:435) > > > > > > > > > > I guess XML provided is wrong: > > > > > 'MyDomainThis is my domain.' > > > > > > > > > > Could you provide me one right? > > > > > Thanks in advance > > > > > > > > > > > > > > > > > > > > To complete, please give me some contact information so that we > > > > > can get back to you. > > > > > > > > > > * Your full name (last name last): > > > > > Alvaro Vega > > > > > > > > > > > > > > > > > > > > * Your email address: > > > > > alvaro.vegagarcia at telefonica.com > > > > > > > > > > > > > > > > > > > > * Name of your organization (company, institution, etc.): > > > > > Telefonica I+D > > > > > > > > > > > > > > > > > > > > * Your job function (especially in relation to FIWARE): > > > > > R&D Engineer > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Have a nice day :) > > > > > Team Typeform > > > > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > 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 > > > > > > ________________________________ > > > > 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 From miguel.carrillopacheco at telefonica.com Wed Mar 18 18:15:52 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Wed, 18 Mar 2015 18:15:52 +0100 Subject: [Fiware-tech-help] Fiware lab is down In-Reply-To: <550954E5.9050903@eng.it> References: <550954E5.9050903@eng.it> Message-ID: <5509B2C8.8030602@telefonica.com> Dear Daniele Alessandro, Thanks for taking the trouble to write. It was a programmed maintenance timeslot. This was duly communicated (see attachment). Maybe you registered later or you missed the notification. Sorry if this caused a problem Best regards, Miguel El 18/03/2015 a las 11:35, Alessandro Daniele escribi?: Good morning, as specified in the subject, fiware lab seems to be down. Best regards, Daniele Alessandro -- -- Alessandro Daniele Developer [cid:part1.01080202.03030501 at telefonica.com] SpagoBI Labs Engineering Group Corso Stati Uniti, 23/C - 35127 Padua - Italy Phone: +39 049 8283411 Fax: +39-049.8700272 Skype: alessandro.daniele.eng www.spagobi.org - www.eng.it [cid:part4.03030002.00010704 at telefonica.com] Respect the environment. Please don't print this e-mail unless you really need to. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ 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 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 3639 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 1379 bytes Desc: not available URL: -------------- next part -------------- An embedded message was scrubbed... From: Subject: [FIWARE Lab] IMPORTANT: Maintenance next Wednesday. New FIWARE Account release. Date: Fri, 13 Mar 2015 09:29:22 +0100 Size: 8553 URL: From alex at konnektid.com Thu Mar 19 10:30:03 2015 From: alex at konnektid.com (Theologos Zacharopoulos) Date: Thu, 19 Mar 2015 10:30:03 +0100 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Hello, I just realised that there is no implementation for the custom adapters, So I make it work by implement my custom OutputServer that returns my Custom Adapter in case of custom adapter type selection. Thanks, everything works fine On 18 March 2015 at 14:27, Theologos Zacharopoulos wrote: > Dear Tali, > I need some help with the development of a Custom Output Adapter, I > managed to develop it but I want to know the process of repackaging in a > war file and run it on the server. > so I need to recreate somehow the ProtonAgents.jar and put it back to the > .war file? and if yes is there any online information on todo that?| > thanks in advance! > > On 12 March 2015 at 10:40, Theologos Zacharopoulos > wrote: > >> Dear Tali, >> That was exactly the solution I was looking for, thank you very much that >> was very helpful! >> Also thanks for the quick response, >> Best regards, >> Theologos Alex Zacharopoulos >> >> On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: >> >>> Dear Alex, >>> >>> Glad to hear you are using the CEP! >>> >>> What you can do: >>> 1. Have one EPA, lets call it EPA1, that uses the temporal context you >>> defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). >>> Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of >>> EPA1 to be deferred and don't set it conditions or input event. Make it >>> generate a new type of event (that you need to define), lets call it E2. >>> The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. >>> (If you don't want to have a warning on empty input events you can put >>> Event_X as an input event of EPA1) >>> >>> 2. Now you can define another temporal context, lets call it TC2 that >>> uses E2 as initiator. >>> >>> Hope this is what you wanted. >>> >>> I cc the FIWARE help, so this corresponding will be documented in the >>> FIWARE issue tracking system. Please cc it as well in future >>> correspondence. Thanks. >>> >>> Best regards, >>> Tali >>> >>> Tali Yatzkar Haham >>> Event-based Middleware & Solutions >>> IBM Haifa Research Lab, Israel >>> tali at il.ibm.com 972-4-8296320 >>> >>> >>> >>> >>> From: Theologos Zacharopoulos >>> To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL >>> Date: 11/03/2015 04:20 PM >>> Subject: Complex Event Processing, help >>> ------------------------------ >>> >>> >>> >>> Dear Tali, >>> >>> I am a Software Engineer who collaborates with the FiWARE GE, >>> I am working on the IBM Proton about 2 weeks now, and I ma trying to >>> configure a use case for the company I work for. >>> I created a temporal context that starts the time that an Event_X is >>> fired and it expires after 24hours, but I want a second temporal context >>> start after 24hours of the event creation, can you please provide me some >>> help on this? >>> I tried to set the condition: Event_x.duration == 86400000, but that >>> didn't work for me. >>> >>> Thanks in advance! >>> Alex Zacharopoulos, Software Engineer @ Konnektid. >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hotzambo at hotmail.com Thu Mar 19 13:42:05 2015 From: hotzambo at hotmail.com (Alessandro Zambonin) Date: Thu, 19 Mar 2015 12:42:05 +0000 Subject: [Fiware-tech-help] Technical question Message-ID: Ciao, devo realizzare una app per Android e iOS con web api ospitate su un Microsoft Windows Server con IIS. Come ? possibile integrare le api della sicurezza di FI-WARE ? Ho visto dei filmati, ma non ? molto chiaro come e se ? possibile. Grazie Hello, I have to create an app for Android and iOS with bees web hosted on a Microsoft Windows Server with IIS . As you can integrate the bees security FI - WARE ? I saw the screencast and video , but it is not very clear how and when this is possible. Thanks in advance. Alessandro Zambonin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dino at eloptico.com Thu Mar 19 15:22:41 2015 From: dino at eloptico.com (Dino Osmanovic) Date: Thu, 19 Mar 2015 15:22:41 +0100 Subject: [Fiware-tech-help] Fwd: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update In-Reply-To: References: <0000014bfe2e4809-b9bd7f8c-3e7e-4403-8345-27db410570bf-000000@email.amazonses.com> Message-ID: Hi FIWARE Tech Crew, We have issue with one of the enablers and we are trying to get support. Its related to the access control generic enabler. Below is the issue: We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet data. To check what is problem i tried to tail on PolicySet xml file and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy *t* *ail: policySet.xml: file truncated* Red coloured part is value before i make update, blue coloured part is after update is executed, and this green coloured part is problem part. Do you have any idea why policy file is reverted to the original value automatically? We believe that in *SecurityDomain.Java*, method *setPolicySet* has problem with finally block: public void setPolicySet(PolicySet policySet) throws IOException, JAXBException { // before changing policy, backup current policy FileUtils.copyFile(this.policySetFile, this.policySetBackupFile); final Marshaller marshaller; try { marshaller = PdpModelHandler.XACML_3_0_JAXB_CONTEXT.createMarshaller(); marshaller.setSchema(authzApiSchema); marshaller.setProperty(Marshaller.JAXB_ENCODING, UTF8_JAXB_ENCODING); marshaller.marshal(policySet, policySetFile); } catch (JAXBException e) { // Replace back with backup in case the file is corrupted due to this exception FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); throw new JAXBException("Error marshalling new domain policy to file: " + this.policySetFile.getAbsolutePath(), e); } // try updating PDP with new policy try { // TODO: optimization: load policy directly from PolicySet arg (requires changing // Sunxacml StaticPolicyFinderModule code) updatePDP(true, null); } *finally* * {* * FileUtils.copyFile(this.policySetBackupFile, this.policySetFile);* * }* } Issue is because they put backup file back although everything was ok - My assumption is that there should be catch instead of finally?? We reported issue 10 days ago and recently we got response from Mr Cyril that we need to write to this email?! Also mr. Cyril asked for XML file dump (not sure why), we put it below. ** Hopefully we will get support asap, Best Regards, Dino ---------- Forwarded message ---------- From: DANGERVILLE Cyril Date: Wed, Mar 18, 2015 at 3:24 PM Subject: RE: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update To: "dino at eloptico.com" Hello Dino, Sorry for the delay. For such Authzforce technical issues, *could you please re-submit your request to the following tech support mailing list?* *fiware-tech-help at lists.fi-ware.org * Please also attach the full *policyset.xml* you used to produce the bug, so that I can easily reproduce it. Thank you. Regards, Cyril -- Cyril DANGERVILLE, Thales Services FIWARE Phase II WP1.7 Security (WPA) Authorization PDP (ex-Access Control) GE Owner *De :* notifications at typeform.com [mailto:notifications at typeform.com] *Envoy? :* lundi 9 mars 2015 11:57 *? :* cyril.dangerville at thalesgroup.com *Objet :* Typeform: New request to FIWARE.AzPDP.Contact Your *typeform* FIWARE.AzPDP.Contact has a new entry. Here are the results: - *Please describe the use case for which you intend to use the FIWARE Authorization PDP.* We use Authorization PDP to manage policies (which we later use in Access COntrol) - *What type of service do you want to control access to? (Protocol, API... e.g. HTTP/REST)* HTTP REST - *You can now formulate your request, at last :)* We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet back. To check what is problem i tried to tail on PolicySet xml file directly in the file system and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> ## after update happnes (we call rest service): tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy ##after update is done we see that somehow file is back to the original version: tail: policySet.xml: file truncated PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> . *To complete, please give me some contact information so that we can get back to you.* - *Your full name (last name last):* DIno Osmanovic - *Your email address:* dino at eloptico.com - *Name of your organization (company, institution, etc.):* eLoptico ApS - *Your job function (especially in relation to FIWARE):* CTO Have a nice day :) *Team Typeform* -- -- Kind regards, Dino Osmanovic eLoptico.com | tech co-founder Mobile: +387 61 216 927 Web: www.eloptico.com E-mail: dino at eloptico.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at startupyard.cz Thu Mar 19 16:27:20 2015 From: lloyd at startupyard.cz (Lloyd Waldo) Date: Thu, 19 Mar 2015 16:27:20 +0100 Subject: [Fiware-tech-help] StartupYard Fiware Webinar? Message-ID: <01DC7C7E-8A10-4F7D-B67A-9B31135B7E83@startupyard.cz> Hi Fiware, Lloyd here from StartupYard. We are a Fiware accelerator, part of CeedTech. We would like to request someone from Fiware to be available to do a webinar Q/A with our 7 teams, discussing general issues about Fiware Implementation. The webinar can be done via Skype, so no in-person visit would be needed. The dates when a webinar would be best for us are: the 26th of march, the 2nd of April, the 9th of April, or the 10th of April. Would it be possible to have someone from fiware spend a few hours on Skype talking to our teams about the plugins, answering technical questions, and the like? Please let us know at your earliest convenience. Best, Lloyd Waldo Community Manager StartupYard Accelerator +420 776 073 117 +1 415 800 4015 Lloyd at startupyard.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From TALI at il.ibm.com Thu Mar 19 18:08:24 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 19 Mar 2015 19:08:24 +0200 Subject: [Fiware-tech-help] FIWARE CEP: Question about project configuration in Proton In-Reply-To: <55099EF7.50808@eng.it> References: <55099EF7.50808@eng.it> Message-ID: Dear Lorenzo, The user guide is the best source for the kind of patterns (EPA) you can define with the CEP. You define the project in the Authoring tool (as you did), then export the definition to the engine and update the engine to use the new definition (with the REST api) As for the format of the input event, currently the CEP support a flat JSON format, tag delimited format, or NGSI format as in the REST api example You may want to watch the webinar and tutorial to see the stages of building and running a CEP application. I cc the fiware-tech-help in order to have our correspondence documented in the FIWARE tracker system. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Lorenzo Eccher To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 18/03/2015 05:51 PM Subject: FIWARE CEP: Question about project configuration in Proton Hallo Mrs Tali, my name is Lorenzo and I started working using FI WARE few days ago. I'd like to use Proton as CEP GE in my FI-WARE architecture. I ask your help because I have an event that has a complex structure and I would like to understand how can I define it and the EPA that should use it. I check in documents you provide in this wiki https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_User_and_Programmer_Guide and then forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification and http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE.ArchitectureDescription.Data.CEP but I don't find anything about attributes of type object in event configuration or EPA configuration or how set up the event description using REST api. the json structure of incoming event is this (I know that name attribute here is missing) {"contextElements":[ {"type":"ADD", "isPattern":false, "id":"ADD_MESSAGE_com.liferay.portlet.messageboards.model.MBMessage_111516", "attributes":[ {"name":"id_","type":"long","value":"32302"}, {"name":"companyId","type":"long","value":"10157"}, {"name":"groupId","type":"long","value":"10184"}, {"name":"userId","type":"long","value":"10201"}, {"name":"date","type":"date","value":"12-mar-2015"}, {"name":"type","type":"string","value":"ADD_MESSAGE"}, {"name":"className","type":"string","value":"com.liferay.portlet.messageboards.model.MBMessage"}, {"name":"classPK","type":"string","value":"111516"}, {"name":"classUuid","type":"string","value":"9cd599c5-e01e-417d-9118-a636beed7145"}, {"name":"model","type":"string","value":"{32302}"} ]} ], "updateAction":"APPEND"} The EPA should then check the "value" of "name":"groupId" "attributes" field. I don't think is easy to do it using Proton UI ( http://130.206.81.23:8080/AuthoringTool/Main.html). I created there a new project named is3_like_eng_test. Could you address me to a resource that deeply explain how create the proton project json file I need also. Thank you in advance. Best regards Lorenzo -- Lorenzo Eccher lorenzo.eccher at eng.it (+39) 0461 312 306 Engineering Ingegneria informatica s.p.a www.eng.it ENGINEERING Society and Territory Trento Research Office EIT-ITC Labs, Trento node ESTRO Lab at FBK building via Sommarive, 18 Povo - 38123 Trento Le informazioni trasmesse sono destinate esclusivamente alla persona o alla societ? in indirizzo e sono da intendersi confidenziali e riservate. Ogni trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone o societ? differenti dal destinatario ? proibita. Se ricevete questa comunicazione per errore, contattate il mittente e cancellate le informazioni da ogni computer. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Die Informationen in dieser E-Mail-Mitteilung sind vertraulich und deren Verbreitung in jeglicher Art oder Form ist untersagt. Sollten Sie diese Nachricht irrt?mlich erhalten haben, ersuchen wir Sie, sofort den Absender dar?ber zu informieren und die Mail zu l?schen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From TALI at il.ibm.com Thu Mar 19 18:21:25 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 19 Mar 2015 19:21:25 +0200 Subject: [Fiware-tech-help] CEP questions In-Reply-To: <16a0ec547f054a64be545f288988f67a@e2k13-ms2.iais.fraunhofer.de> References: <16a0ec547f054a64be545f288988f67a@e2k13-ms2.iais.fraunhofer.de> Message-ID: Dear Peter, Please see my answers: 1. The sources are in Github, just open the jars and you will see them. 2. We have a recorder webinar and tutorial here 3. in FIWARE we build recipes to the GEs, so I'm not sure what is the benefit of the image bakery. 4. As part of another EU project, we develop a CEP version that runs on Storm, to support scalability. Please tell me if you are interested and I will forward you its details. Hope this answer your questions. I cced the FIWARE tech help to have this corresponding documented in the FIWARE tracking system. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: "Muryshkin, Peter" To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: "Winkler, Thomas" , Gabi Dobocan Date: 18/03/2015 04:36 PM Subject: CEP questions Hi Tali, please review the feedback below. What do you think? We are working on an image bakery based on Docker/Jenkins, if you like we can join efforts to setup this. See also this Deployment Guide: https://docs.google.com/document/d/1jtMqD6dEg3BA9UsM23jRDwXXCwkBT9v2B3BBvG0XEfQ/edit Kind regards Peter Von: Gabi Dobocan [mailto:gabi at appscend.com] Gesendet: Mittwoch, 18. M?rz 2015 14:37 An: Muryshkin, Peter Cc: Andrei Marinescu; Winkler, Thomas Betreff: EP support needed Hi Peter, First of all, I'm happy to introduce Andrei, our CTO, cc'd here. Second, we've reached a point in our implementation where we need tech support for the complex event processing GE. As mentioned in our monthly report, our main issues right now are: - We don't know how this component is internally designed, so we have no idea on how to best configure and use it when it comes to creating a scalable system or tuning for performance. - We actually can't figure out where the source code for this component is... The Github repo just has a bunch of zip files with jars - no sources in sight. - Since we're talking about source code, we need documentation on actually compiling this GE from source. - There needs to be some sort of mechanism available for in-depth monitoring, if this tool is to be taken to production. We've found no reference to this in the existing docs. I don't know if the CEP Webinar is still potentially happening, but we would greatly benefit from it. Or, is there any way for us to have a short (1h max) call with someone on the support/dev team for CEP? As documentation is limited, it would be great for us to be able to talk directly to an expert. Otherwise... we're stuck here. What do you think would be the best way to address this? Lastly, remember we talked about contributing by creating some containers/recipes for the components or publishing some benchmarking results. Please let me know if we can help out in any way! Thanks, and have a great day! Gabi -- Gabi Dobocan Cofounder, Coder, Contagiously passionate Appscend - The Mobile Experience Igniter Calea Plevnei 46-48, Bucharest, Romania +40756.206.630 -------------- next part -------------- An HTML attachment was scrubbed... URL: From TALI at il.ibm.com Thu Mar 19 18:22:23 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Thu, 19 Mar 2015 19:22:23 +0200 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Great, glad to hear that. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org Date: 19/03/2015 11:30 AM Subject: Re: Complex Event Processing, help Hello, I just realised that there is no implementation for the custom adapters, So I make it work by implement my custom OutputServer that returns my Custom Adapter in case of custom adapter type selection. Thanks, everything works fine On 18 March 2015 at 14:27, Theologos Zacharopoulos wrote: Dear Tali, I need some help with the development of a Custom Output Adapter, I managed to develop it but I want to know the process of repackaging in a war file and run it on the server. so I need to recreate somehow the ProtonAgents.jar and put it back to the .war file? and if yes is there any online information on todo that?| thanks in advance! On 12 March 2015 at 10:40, Theologos Zacharopoulos wrote: Dear Tali, That was exactly the solution I was looking for, thank you very much that was very helpful! Also thanks for the quick response, Best regards, Theologos Alex Zacharopoulos On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: Dear Alex, Glad to hear you are using the CEP! What you can do: 1. Have one EPA, lets call it EPA1, that uses the temporal context you defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of EPA1 to be deferred and don't set it conditions or input event. Make it generate a new type of event (that you need to define), lets call it E2. The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If you don't want to have a warning on empty input events you can put Event_X as an input event of EPA1) 2. Now you can define another temporal context, lets call it TC2 that uses E2 as initiator. Hope this is what you wanted. I cc the FIWARE help, so this corresponding will be documented in the FIWARE issue tracking system. Please cc it as well in future correspondence. Thanks. Best regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 11/03/2015 04:20 PM Subject: Complex Event Processing, help Dear Tali, I am a Software Engineer who collaborates with the FiWARE GE, I am working on the IBM Proton about 2 weeks now, and I ma trying to configure a use case for the company I work for. I created a temporal context that starts the time that an Event_X is fired and it expires after 24hours, but I want a second temporal context start after 24hours of the event creation, can you please provide me some help on this? I tried to set the condition: Event_x.duration == 86400000, but that didn't work for me. Thanks in advance! Alex Zacharopoulos, Software Engineer @ Konnektid. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jessica at eventznews.com Mon Mar 23 09:29:55 2015 From: jessica at eventznews.com (Jessica Montgomery) Date: Mon, 23 Mar 2015 04:29:55 -0400 Subject: [Fiware-tech-help] 2016 MIPIM - Event Details Message-ID: <88442428059843218515828@HeritageYachts> Book Your Exhibition Stands, Meeting Rooms, Event Locations, Yacht Charters & Accommodations today. MIPIM 2016 - The World's Property Event - 15 to 18 March - Corporate Events Trade Show Stands Meeting Facilities WELCOME TO MIPIM 2016 For over 20 years, our international team has been welcoming our clients to Cannes during MIPIM 2016. Our job is to make sure your event is a success. Join our growing list of global clients including Toshiba, CNN, Nokia, Sony, Disney, NBC, J.Walter Thompsom, HSBC and many others. We look forward to serving you in Cannes Read More CORPORATE YACHT CHARTERS The best way to enjoy Cannes and showcase your company at MIPIM 2016 is aboard one of our Corporate Yachts. They are perfect venues for Exhibition Space Meeting Rooms Corporate Events Executive Accommodations with all of your guests pampered by a professional crew. Read More ACCOMMODATIONS - Book Today In Central Cannes, we provide our clients with a myriad of excellent, luxury accommodations, steps from the Palais des Festival Exhibition Center. Book your Hotels, Apartments or Villas today for MIPIM 2016. TESTIMONIALS "I must admit we had alot of fun with your crew in Cannes. Everyone was so hospitable, even when I lost my Iphone, you guys came to the rescue! Looking forward to seeing you next year... " John Rodriguez, Price Waterhouse Cooper CONTACT: Jessica Montgomery, Events Director, MICE, European Convention Bureau. Address: Blvd de la Croisette, Cannes, France Phone: +33.975.183.774 Email: Jessica at EUConventionBureau.com Copyright ?? 2015 Eureopean Convention Bureau. All Rights Reserved. You are receiving this communication given your participation or interest in the event. Unsubscribe here. Join us: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: crop_cannes event venue 200 x 150.jpg Type: image/jpeg Size: 35018 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: crop_stand 200.jpg Type: image/jpeg Size: 32497 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: crop_meeting room 200 x 150.jpg Type: image/jpeg Size: 28151 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 4.jpg Type: image/jpeg Size: 5013 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: crop_carlton_cannes_ hotel room suite 200 x 200.jpg Type: image/jpeg Size: 41926 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: crop_ineke-iv-yacht-charter.jpg Type: image/jpeg Size: 45126 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.gif Type: image/gif Size: 43 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 6.jpg Type: image/jpeg Size: 2795 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 7.jpg Type: image/jpeg Size: 3451 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 8.jpg Type: image/jpeg Size: 3757 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 9.gif Type: image/gif Size: 646 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 10.gif Type: image/gif Size: 641 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 11.gif Type: image/gif Size: 650 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 12.gif Type: image/gif Size: 650 bytes Desc: not available URL: From miguel.carrillopacheco at telefonica.com Mon Mar 23 18:15:49 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Mon, 23 Mar 2015 18:15:49 +0100 Subject: [Fiware-tech-help] Fwd: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update In-Reply-To: References: <0000014bfe2e4809-b9bd7f8c-3e7e-4403-8345-27db410570bf-000000@email.amazonses.com> Message-ID: <55104A45.7010604@telefonica.com> Dear Dino, I will send you a contact in private. Best regards, Miguel El 19/03/2015 a las 15:22, Dino Osmanovic escribi?: Hi FIWARE Tech Crew, We have issue with one of the enablers and we are trying to get support. Its related to the access control generic enabler. Below is the issue: We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet data. To check what is problem i tried to tail on PolicySet xml file and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy t ail: policySet.xml: file truncated Red coloured part is value before i make update, blue coloured part is after update is executed, and this green coloured part is problem part. Do you have any idea why policy file is reverted to the original value automatically? We believe that in SecurityDomain.Java, method setPolicySet has problem with finally block: public void setPolicySet(PolicySet policySet) throws IOException, JAXBException { // before changing policy, backup current policy FileUtils.copyFile(this.policySetFile, this.policySetBackupFile); final Marshaller marshaller; try { marshaller = PdpModelHandler.XACML_3_0_JAXB_CONTEXT.createMarshaller(); marshaller.setSchema(authzApiSchema); marshaller.setProperty(Marshaller.JAXB_ENCODING, UTF8_JAXB_ENCODING); marshaller.marshal(policySet, policySetFile); } catch (JAXBException e) { // Replace back with backup in case the file is corrupted due to this exception FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); throw new JAXBException("Error marshalling new domain policy to file: " + this.policySetFile.getAbsolutePath(), e); } // try updating PDP with new policy try { // TODO: optimization: load policy directly from PolicySet arg (requires changing // Sunxacml StaticPolicyFinderModule code) updatePDP(true, null); } finally { FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); } } Issue is because they put backup file back although everything was ok - My assumption is that there should be catch instead of finally?? We reported issue 10 days ago and recently we got response from Mr Cyril that we need to write to this email?! Also mr. Cyril asked for XML file dump (not sure why), we put it below. Hopefully we will get support asap, Best Regards, Dino ---------- Forwarded message ---------- From: DANGERVILLE Cyril > Date: Wed, Mar 18, 2015 at 3:24 PM Subject: RE: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update To: "dino at eloptico.com" > Hello Dino, Sorry for the delay. For such Authzforce technical issues, could you please re-submit your request to the following tech support mailing list? fiware-tech-help at lists.fi-ware.org Please also attach the full policyset.xml you used to produce the bug, so that I can easily reproduce it. Thank you. Regards, Cyril -- Cyril DANGERVILLE, Thales Services FIWARE Phase II WP1.7 Security (WPA) Authorization PDP (ex-Access Control) GE Owner De : notifications at typeform.com [mailto:notifications at typeform.com] Envoy? : lundi 9 mars 2015 11:57 ? : cyril.dangerville at thalesgroup.com Objet : Typeform: New request to FIWARE.AzPDP.Contact Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the results: * Please describe the use case for which you intend to use the FIWARE Authorization PDP. We use Authorization PDP to manage policies (which we later use in Access COntrol) * What type of service do you want to control access to? (Protocol, API... e.g. HTTP/REST) HTTP REST * You can now formulate your request, at last :) We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet back. To check what is problem i tried to tail on PolicySet xml file directly in the file system and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> ## after update happnes (we call rest service): tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy ##after update is done we see that somehow file is back to the original version: tail: policySet.xml: file truncated PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> . To complete, please give me some contact information so that we can get back to you. * Your full name (last name last): DIno Osmanovic * Your email address: dino at eloptico.com * Name of your organization (company, institution, etc.): eLoptico ApS * Your job function (especially in relation to FIWARE): CTO Have a nice day :) Team Typeform -- -- Kind regards, Dino Osmanovic eLoptico.com | tech co-founder Mobile: +387 61 216 927 Web: www.eloptico.com E-mail: dino at eloptico.com _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ 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 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: From cyril.dangerville at thalesgroup.com Tue Mar 24 12:50:59 2015 From: cyril.dangerville at thalesgroup.com (DANGERVILLE Cyril) Date: Tue, 24 Mar 2015 12:50:59 +0100 Subject: [Fiware-tech-help] Fwd: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update In-Reply-To: <55104A83.7030703@telefonica.com> References: <0000014bfe2e4809-b9bd7f8c-3e7e-4403-8345-27db410570bf-000000@email.amazonses.com> <55104A83.7030703@telefonica.com> Message-ID: Hello Dino, This issue should be fixed in the next release. I can send you a new version by the end of the week. We are now switching to .deb packaging to automate the install as much as possible (for Ubuntu/Debian). However, this new .deb package will address Tomcat 7 only (instead of Glassfish). There have been strong demand for Tomcat as target server, and simplifying the installation. Would you have any issue switching to Tomcat 7? We will continue to provide instructions for Glassfish if there is still a demand for it (especially for production environments), but it will still require manual steps as it is now; and not be automated like for Tomcat with .deb package. Regards, Cyril El 19/03/2015 a las 15:22, Dino Osmanovic escribi?: Hi FIWARE Tech Crew, We have issue with one of the enablers and we are trying to get support. Its related to the access control generic enabler. Below is the issue: We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet data. To check what is problem i tried to tail on PolicySet xml file and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy t ail: policySet.xml: file truncated Red coloured part is value before i make update, blue coloured part is after update is executed, and this green coloured part is problem part. Do you have any idea why policy file is reverted to the original value automatically? We believe that in SecurityDomain.Java, method setPolicySet has problem with finally block: public void setPolicySet(PolicySet policySet) throws IOException, JAXBException { // before changing policy, backup current policy FileUtils.copyFile(this.policySetFile, this.policySetBackupFile); final Marshaller marshaller; try { marshaller = PdpModelHandler.XACML_3_0_JAXB_CONTEXT.createMarshaller(); marshaller.setSchema(authzApiSchema); marshaller.setProperty(Marshaller.JAXB_ENCODING, UTF8_JAXB_ENCODING); marshaller.marshal(policySet, policySetFile); } catch (JAXBException e) { // Replace back with backup in case the file is corrupted due to this exception FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); throw new JAXBException("Error marshalling new domain policy to file: " + this.policySetFile.getAbsolutePath(), e); } // try updating PDP with new policy try { // TODO: optimization: load policy directly from PolicySet arg (requires changing // Sunxacml StaticPolicyFinderModule code) updatePDP(true, null); } finally { FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); } } Issue is because they put backup file back although everything was ok - My assumption is that there should be catch instead of finally?? We reported issue 10 days ago and recently we got response from Mr Cyril that we need to write to this email?! Also mr. Cyril asked for XML file dump (not sure why), we put it below. Hopefully we will get support asap, Best Regards, Dino ---------- Forwarded message ---------- From: DANGERVILLE Cyril > Date: Wed, Mar 18, 2015 at 3:24 PM Subject: RE: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update To: "dino at eloptico.com" > Hello Dino, Sorry for the delay. For such Authzforce technical issues, could you please re-submit your request to the following tech support mailing list? fiware-tech-help at lists.fi-ware.org Please also attach the full policyset.xml you used to produce the bug, so that I can easily reproduce it. Thank you. Regards, Cyril -- Cyril DANGERVILLE, Thales Services FIWARE Phase II WP1.7 Security (WPA) Authorization PDP (ex-Access Control) GE Owner De : notifications at typeform.com [mailto:notifications at typeform.com] Envoy? : lundi 9 mars 2015 11:57 ? : cyril.dangerville at thalesgroup.com Objet : Typeform: New request to FIWARE.AzPDP.Contact Your typeform FIWARE.AzPDP.Contact has a new entry. Here are the results: * Please describe the use case for which you intend to use the FIWARE Authorization PDP. We use Authorization PDP to manage policies (which we later use in Access COntrol) * What type of service do you want to control access to? (Protocol, API... e.g. HTTP/REST) HTTP REST * You can now formulate your request, at last :) We have problem with PAP PolicySet update, when i make request for update PolicySet i got response OK and new PolicySet works fine, but when i try to get PolicySet i got old PolicySet back. To check what is problem i tried to tail on PolicySet xml file directly in the file system and got file reverted to old version, after regular file update. This is dump from tail: tail -f policySet.xml PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> ## after update happnes (we call rest service): tail: policySet.xml: file truncated RBAC Policy Employee Role PolicySet EmployeePPS:Employee_Role Manager Role PolicySet ManagerPPS:Manager_Role Default Deny policy ##after update is done we see that somehow file is back to the original version: tail: policySet.xml: file truncated PolicySetId="default" Version="1.0" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> . To complete, please give me some contact information so that we can get back to you. * Your full name (last name last): DIno Osmanovic * Your email address: dino at eloptico.com * Name of your organization (company, institution, etc.): eLoptico ApS * Your job function (especially in relation to FIWARE): CTO Have a nice day :) Team Typeform -- -- Kind regards, Dino Osmanovic eLoptico.com | tech co-founder Mobile: +387 61 216 927 Web: www.eloptico.com E-mail: dino at eloptico.com _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ 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 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: From dino at eloptico.com Tue Mar 24 14:44:44 2015 From: dino at eloptico.com (Dino Osmanovic) Date: Tue, 24 Mar 2015 14:44:44 +0100 Subject: [Fiware-tech-help] Fwd: FIWARE Authorization PDP Issue - PolicySet.xml revert to old version after update In-Reply-To: References: <0000014bfe2e4809-b9bd7f8c-3e7e-4403-8345-27db410570bf-000000@email.amazonses.com> <55104A83.7030703@telefonica.com> Message-ID: Hi Cyril, Looking forward to get fixed version - We dont have problems with tomcat, i believe that it is even better option - just hope that installation / new version will work fine with tomcat and that there will be no more major bugs. Thanks for contacting us, Best, Dink On Mar 24, 2015 12:50 PM, "DANGERVILLE Cyril" < cyril.dangerville at thalesgroup.com> wrote: > Hello Dino, > > This issue should be fixed in the next release. I can send you a new > version by the end of the week. We are now switching to .deb packaging to > automate the install as much as possible (for Ubuntu/Debian). However, this > new .deb package will address Tomcat 7 only (instead of Glassfish). There > have been strong demand for Tomcat as target server, and simplifying the > installation. > > *Would you have any issue switching to Tomcat 7? * > > We will continue to provide instructions for Glassfish if there is still a > demand for it (especially for production environments), but it will still > require manual steps as it is now; and not be automated like for Tomcat > with .deb package. > > > > Regards, > > Cyril > > > > > > > > El 19/03/2015 a las 15:22, Dino Osmanovic escribi?: > > Hi FIWARE Tech Crew, > > > > We have issue with one of the enablers and we are trying to get support. > Its related to the access control generic enabler. > > > > Below is the issue: > > > > We have problem with PAP PolicySet update, when i make request for update > PolicySet i got response OK and new PolicySet works fine, but when i try > to get PolicySet i got old PolicySet data. > > > > To check what is problem i tried to tail on PolicySet xml file and got > file reverted to old version, after regular file update. > > > > This is dump from tail: > > tail -f policySet.xml > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > PolicySetId="default" Version="1.0" > > > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > > > RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overrides" > PolicyId="permit-all" Version="1.0"> > > > > > > > > > > tail: policySet.xml: file truncated > > xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" > PolicySetId="root:policy" Version="1.0" > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > RBAC Policy > > Version="1.0" > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > Employee Role PolicySet > > MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> DataType="http://www.w3.org/2001/XMLSchema#string">Employee Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" > AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" DataType=" > http://www.w3.org/2001/XMLSchema#string" > MustBePresent="true"/>PPS:Employee_Role PolicySetId="RPS:Manager_Role" Version="1.0" > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > Manager Role PolicySet > > MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> DataType="http://www.w3.org/2001/XMLSchema#string">Manager Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" > AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role" DataType=" > http://www.w3.org/2001/XMLSchema#string" > MustBePresent="true"/>PPS:Manager_Role PolicyId="default_deny" Version="1.0" > RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overrides"> > > Default Deny policy > > Effect="Deny"/>*t* > > *ail: policySet.xml: file truncated* > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > PolicySetId="default" Version="1.0" > > > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > > > RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overrides" > PolicyId="permit-all" Version="1.0"> > > > > > > > > > > > > Red coloured part is value before i make update, blue coloured part is > after update is executed, and this green coloured part is problem part. > > > > Do you have any idea why policy file is reverted to the original value > automatically? > > > > > > We believe that in *SecurityDomain.Java*, method *setPolicySet* has > problem with finally block: > > > > public void setPolicySet(PolicySet policySet) throws IOException, > JAXBException > > { > > // before changing policy, backup current policy > > FileUtils.copyFile(this.policySetFile, this.policySetBackupFile); > > final Marshaller marshaller; > > try > > { > > marshaller = PdpModelHandler.XACML_3_0_JAXB_CONTEXT.createMarshaller(); > > marshaller.setSchema(authzApiSchema); > > marshaller.setProperty(Marshaller.JAXB_ENCODING, UTF8_JAXB_ENCODING); > > marshaller.marshal(policySet, policySetFile); > > } catch (JAXBException e) > > { > > // Replace back with backup in case the file is corrupted due to this > exception > > FileUtils.copyFile(this.policySetBackupFile, this.policySetFile); > > throw new JAXBException("Error marshalling new domain policy to file: " + > this.policySetFile.getAbsolutePath(), e); > > } > > > > // try updating PDP with new policy > > try > > { > > // TODO: optimization: load policy directly from PolicySet arg (requires > changing > > // Sunxacml StaticPolicyFinderModule code) > > updatePDP(true, null); > > } *finally* > > *{* > > *FileUtils.copyFile(this.policySetBackupFile, this.policySetFile);* > > *}* > > } > > > > Issue is because they put backup file back although everything was ok - My > assumption is that there should be catch instead of finally?? > > > > > > > > We reported issue 10 days ago and recently we got response from Mr Cyril > that we need to write to this email?! Also mr. Cyril asked for XML file > dump (not sure why), we put it below. > > > > > > > > > > * xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" xmlns:ns2="**http://thalesgroup.com/authzforce/pdp/model/2014/12 > **" > PolicySetId="default" Version="1.0" > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> PolicyId="permit-all" Version="1.0" > RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overrides"> RuleId="deny-all" Effect="Deny"/>* > > > > > > > > Hopefully we will get support asap, > > > > Best Regards, > > Dino > > > > > > > > ---------- Forwarded message ---------- > From: *DANGERVILLE Cyril* > Date: Wed, Mar 18, 2015 at 3:24 PM > Subject: RE: FIWARE Authorization PDP Issue - PolicySet.xml revert to old > version after update > To: "dino at eloptico.com" > > Hello Dino, > > Sorry for the delay. For such Authzforce technical issues, *could you > please re-submit your request to the following tech support mailing list?* > > *fiware-tech-help at lists.fi-ware.org * > > > > Please also attach the full *policyset.xml* you used to produce the bug, > so that I can easily reproduce it. Thank you. > > > > Regards, > > Cyril > > > > -- > > Cyril DANGERVILLE, Thales Services > > FIWARE Phase II > > WP1.7 Security (WPA) > > Authorization PDP (ex-Access Control) GE Owner > > > > > > > > *De :* notifications at typeform.com [mailto:notifications at typeform.com] > *Envoy? :* lundi 9 mars 2015 11:57 > *? :* cyril.dangerville at thalesgroup.com > *Objet :* Typeform: New request to FIWARE.AzPDP.Contact > > > > Your *typeform* FIWARE.AzPDP.Contact has a new entry. Here are the > results: > > - *Please describe the use case for which you intend to use the FIWARE > Authorization PDP.* > We use Authorization PDP to manage policies (which we later use in > Access COntrol) > > > > - *What type of service do you want to control access to? (Protocol, > API... e.g. HTTP/REST)* > HTTP REST > > > > - *You can now formulate your request, at last :)* > We have problem with PAP PolicySet update, when i make request for > update PolicySet i got response OK and new PolicySet works fine, but when i > try to get PolicySet i got old PolicySet back. > > To check what is problem i tried to tail on PolicySet xml file > directly in the file system and got file reverted to old version, after > regular file update. > This is dump from tail: > > tail -f policySet.xml > > > PolicySetId="default" Version="1.0" > > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > > > > > > > ## after update happnes (we call rest service): > > tail: policySet.xml: file truncated > > RBAC Policy > > Employee Role PolicySet > EmployeePPS:Employee_Role > Manager Role PolicySet > ManagerPPS:Manager_Role > Default Deny policy > > > ##after update is done we see that somehow file is back to the > original version: > > > tail: policySet.xml: file truncated > > > PolicySetId="default" Version="1.0" > > PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides"> > > > > > > > > . > > > > *To complete, please give me some contact information so that we can get > back to you.* > > - *Your full name (last name last):* > DIno Osmanovic > > > > - *Your email address:* > dino at eloptico.com > > > > - *Name of your organization (company, institution, etc.):* > eLoptico ApS > > > > - *Your job function (especially in relation to FIWARE):* > CTO > > > > > > Have a nice day :) > *Team Typeform* > > > > > > -- > > > -- > Kind regards, > > Dino Osmanovic > eLoptico.com | tech co-founder > > Mobile: +387 61 216 927 > > Web: www.eloptico.com > E-mail: dino at eloptico.com > > > > > _______________________________________________ > > Fiware-tech-help mailing list > > 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 > > > > ---------------------------------------------------------------------- > > _/ _/_/ 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 > > > > 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: From TALI at il.ibm.com Wed Mar 25 12:34:18 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Wed, 25 Mar 2015 13:34:18 +0200 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Hi Alex, Yes, in most EPA types this is possible (not in aggregate or absent EPA types). When you define the derived event of the EPA, you can open a table that contains all the attributes of the derived event. You can assign the attributes values. For example, you can set value of an attribute named "triggerEventID" (any attribute name that you defined in e2) to e1.ID (assuming e1 has an attribute named ID, make sure both attributes in e1, e2 have the same type). See example here: Hope it helped, Tali Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 25/03/2015 12:42 PM Subject: Re: Complex Event Processing, help Dear Tali I have one more question about the Complex Event Processor, I trigger an event (e1) from my system with an ID, after that there is some processing in the CEP and if the conditions I set are true I derive a "command" event (e2) that through an adapter I get it back to my system. The thing is how can I understand from which trigger event (e1) the command event (e2) was triggered? In a perfect solution I would like in the EPA my derived event (e2) get the ID from the participant events. Is that possible? set a value on a field of an event during the derivation in the EPA? Thanks in advance! Best regards On 19 March 2015 at 18:22, Tali Yatzkar-Haham wrote: Great, glad to hear that. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org Date: 19/03/2015 11:30 AM Subject: Re: Complex Event Processing, help Hello, I just realised that there is no implementation for the custom adapters, So I make it work by implement my custom OutputServer that returns my Custom Adapter in case of custom adapter type selection. Thanks, everything works fine On 18 March 2015 at 14:27, Theologos Zacharopoulos wrote: Dear Tali, I need some help with the development of a Custom Output Adapter, I managed to develop it but I want to know the process of repackaging in a war file and run it on the server. so I need to recreate somehow the ProtonAgents.jar and put it back to the .war file? and if yes is there any online information on todo that?| thanks in advance! On 12 March 2015 at 10:40, Theologos Zacharopoulos wrote: Dear Tali, That was exactly the solution I was looking for, thank you very much that was very helpful! Also thanks for the quick response, Best regards, Theologos Alex Zacharopoulos On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: Dear Alex, Glad to hear you are using the CEP! What you can do: 1. Have one EPA, lets call it EPA1, that uses the temporal context you defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of EPA1 to be deferred and don't set it conditions or input event. Make it generate a new type of event (that you need to define), lets call it E2. The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If you don't want to have a warning on empty input events you can put Event_X as an input event of EPA1) 2. Now you can define another temporal context, lets call it TC2 that uses E2 as initiator. Hope this is what you wanted. I cc the FIWARE help, so this corresponding will be documented in the FIWARE issue tracking system. Please cc it as well in future correspondence. Thanks. Best regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 11/03/2015 04:20 PM Subject: Complex Event Processing, help Dear Tali, I am a Software Engineer who collaborates with the FiWARE GE, I am working on the IBM Proton about 2 weeks now, and I ma trying to configure a use case for the company I work for. I created a temporal context that starts the time that an Event_X is fired and it expires after 24hours, but I want a second temporal context start after 24hours of the event creation, can you please provide me some help on this? I tried to set the condition: Event_x.duration == 86400000, but that didn't work for me. Thanks in advance! Alex Zacharopoulos, Software Engineer @ Konnektid. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2015-03-25 at 1.31.25 PM.png Type: image/png Size: 145033 bytes Desc: not available URL: From TALI at il.ibm.com Wed Mar 25 15:38:17 2015 From: TALI at il.ibm.com (Tali Yatzkar-Haham) Date: Wed, 25 Mar 2015 16:38:17 +0200 Subject: [Fiware-tech-help] Complex Event Processing, help In-Reply-To: References: Message-ID: Hi Alex, With aggregate type EPA you can't refer to the participant event attributes when you specify the attributes values of the derived event. So I would change the EPA from aggregate type to BASIC type, lets call it EPA1, and have the input event (E1) plays as initiator of the temporal context and as input event of EPA1. This is the EPA that used to generate event (lets call it E2) 24 hours after the input event (lets call it E1) arrived, right? In EPA1, you can refer to the input event E1 when you define the attribute values of the derived event E2. Hope it helps, Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 25/03/2015 04:08 PM Subject: Re: Complex Event Processing, help Thanks that was exactly what I was looking for, is there anyway to do it for aggregate types? I have an derived event that is triggered after 24 hours (aggregate), and I would like to get the ID of the participant event, is that possiple? Thanks a lot by the way, you are a big help to me :) On 25 March 2015 at 12:34, Tali Yatzkar-Haham wrote: Hi Alex, Yes, in most EPA types this is possible (not in aggregate or absent EPA types). When you define the derived event of the EPA, you can open a table that contains all the attributes of the derived event. You can assign the attributes values. For example, you can set value of an attribute named "triggerEventID" (any attribute name that you defined in e2) to e1.ID (assuming e1 has an attribute named ID, make sure both attributes in e1, e2 have the same type). See example here: Hope it helped, Tali Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 25/03/2015 12:42 PM Subject: Re: Complex Event Processing, help Dear Tali I have one more question about the Complex Event Processor, I trigger an event (e1) from my system with an ID, after that there is some processing in the CEP and if the conditions I set are true I derive a "command" event (e2) that through an adapter I get it back to my system. The thing is how can I understand from which trigger event (e1) the command event (e2) was triggered? In a perfect solution I would like in the EPA my derived event (e2) get the ID from the participant events. Is that possible? set a value on a field of an event during the derivation in the EPA? Thanks in advance! Best regards On 19 March 2015 at 18:22, Tali Yatzkar-Haham wrote: Great, glad to hear that. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Cc: fiware-tech-help at lists.fi-ware.org Date: 19/03/2015 11:30 AM Subject: Re: Complex Event Processing, help Hello, I just realised that there is no implementation for the custom adapters, So I make it work by implement my custom OutputServer that returns my Custom Adapter in case of custom adapter type selection. Thanks, everything works fine On 18 March 2015 at 14:27, Theologos Zacharopoulos wrote: Dear Tali, I need some help with the development of a Custom Output Adapter, I managed to develop it but I want to know the process of repackaging in a war file and run it on the server. so I need to recreate somehow the ProtonAgents.jar and put it back to the .war file? and if yes is there any online information on todo that?| thanks in advance! On 12 March 2015 at 10:40, Theologos Zacharopoulos wrote: Dear Tali, That was exactly the solution I was looking for, thank you very much that was very helpful! Also thanks for the quick response, Best regards, Theologos Alex Zacharopoulos On 12 March 2015 at 08:09, Tali Yatzkar-Haham wrote: Dear Alex, Glad to hear you are using the CEP! What you can do: 1. Have one EPA, lets call it EPA1, that uses the temporal context you defined, lets call it TC1, (initiator Event_X, terminated after 24 hours). Make EPA1 of type Aggregate, that uses TC1. Set the evaluation policy of EPA1 to be deferred and don't set it conditions or input event. Make it generate a new type of event (that you need to define), lets call it E2. The purpose of EPA1 is to generate E2 24 hours after Event_X arrives. (If you don't want to have a warning on empty input events you can put Event_X as an input event of EPA1) 2. Now you can define another temporal context, lets call it TC2 that uses E2 as initiator. Hope this is what you wanted. I cc the FIWARE help, so this corresponding will be documented in the FIWARE issue tracking system. Please cc it as well in future correspondence. Thanks. Best regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali at il.ibm.com 972-4-8296320 From: Theologos Zacharopoulos To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL Date: 11/03/2015 04:20 PM Subject: Complex Event Processing, help Dear Tali, I am a Software Engineer who collaborates with the FiWARE GE, I am working on the IBM Proton about 2 weeks now, and I ma trying to configure a use case for the company I work for. I created a temporal context that starts the time that an Event_X is fired and it expires after 24hours, but I want a second temporal context start after 24hours of the event creation, can you please provide me some help on this? I tried to set the condition: Event_x.duration == 86400000, but that didn't work for me. Thanks in advance! Alex Zacharopoulos, Software Engineer @ Konnektid. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rulgudi at gmail.com Thu Mar 26 03:07:30 2015 From: rulgudi at gmail.com (=?UTF-8?B?UmHDumwgQmxhbmNv?=) Date: Thu, 26 Mar 2015 03:07:30 +0100 Subject: [Fiware-tech-help] Services and resources security in AuthzForce REST API model Message-ID: Hi, My name is Ra?l and I am working at the University of Vigo as a researcher. I want to implement a system of authentication proxy PEP, IdM and Authzforce based on the following diagram: [image: Im?genes integradas 1] Besides, I need to implement REST calls to allow me access to resources through two different services. How do I associate my service resources to understandable AUTHZFORCE resources? Where I can find the REST API which contains in the parameters of these REST calls? ?Best regards, Ra?l Blanco. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CapturaAlbaro.jpg Type: image/jpeg Size: 22407 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AccessControlGE.SolutionOverview.png Type: image/png Size: 88081 bytes Desc: not available URL: From khanh85_bk at yahoo.com Thu Mar 26 07:33:53 2015 From: khanh85_bk at yahoo.com (Truong Xuan Khanh) Date: Thu, 26 Mar 2015 06:33:53 +0000 (UTC) Subject: [Fiware-tech-help] Question on PDP Message-ID: <986901737.1166949.1427351633891.JavaMail.yahoo@mail.yahoo.com> Hi, I'm utilizing AuthZForce PDP of Fiware. I'm having problem. This is way I send request: curl --insecure -H "X-Auth-Token:092016b75474ea6b492e29fb69d23029" ?H "x-auth-resource:/User" ?H "x-auth-action:GET" http://cloud.lab.fiware.org:4731/v2.0/access-tokens/authREST/RHXgI7q-rxNLwqZZtjCFk3Asagm5eA3blNED4W29j8k4ylL-acAFXggF1jVfFvvFNPeyoiRRvpBGRdx6HrDX9A ?I cannot get the permission when curling this url. Does the global instance I used work for PDP (http://cloud.lab.fiware.org:4731/) ?? Do you have any skype so I can discuss with you if you have any problem with fiware. We are developing our system based on fiware GEs. Thanks ! ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From miguel.carrillopacheco at telefonica.com Thu Mar 26 15:31:30 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Thu, 26 Mar 2015 15:31:30 +0100 Subject: [Fiware-tech-help] Question on PDP In-Reply-To: <986901737.1166949.1427351633891.JavaMail.yahoo@mail.yahoo.com> References: <986901737.1166949.1427351633891.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55141842.8080807@telefonica.com> hi, When you have queries for a concrete GE implementation is always faster to go directly for the contact person on the catalogue: http://catalogue.fiware.org/enablers In this case, the person you need to talk to is Cyril. I CC him. I assume that he will answer this message but feel to contact us again if not. Please continue the interaction privately :) Thanks Miguel El 26/03/2015 a las 7:33, Truong Xuan Khanh escribi?: Hi, I'm utilizing AuthZForce PDP of Fiware. I'm having problem. This is way I send request: curl --insecure -H "X-Auth-Token:092016b75474ea6b492e29fb69d23029" ?H "x-auth-resource:/User" ?H "x-auth-action:GET" http://cloud.lab.fiware.org:4731/v2.0/access-tokens/authREST/RHXgI7q-rxNLwqZZtjCFk3Asagm5eA3blNED4W29j8k4ylL-acAFXggF1jVfFvvFNPeyoiRRvpBGRdx6HrDX9A I cannot get the permission when curling this url. Does the global instance I used work for PDP (http://cloud.lab.fiware.org:4731/) ? Do you have any skype so I can discuss with you if you have any problem with fiware. We are developing our system based on fiware GEs. Thanks ! _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ 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 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: From Hamphrey_Calvin at jig.us Thu Mar 26 16:42:13 2015 From: Hamphrey_Calvin at jig.us (Calvin Hamphrey) Date: Thu, 26 Mar 2015 16:42:13 +0100 Subject: [Fiware-tech-help] [SPAM] Re: The Secrets Women Hide From Their Partners Message-ID: <79373141308075-MVAMVVLVEJZIHGMMZFHORZN@dns4.jig.us> Spam detection software, running on the system "fiware-forge-01", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Looks like someone violated the "bro" code You see, the free Stealth Attraction video that is making its rounds on the internet... Well it was clearly intended for men?s eyes only. Because this video contains secrets women don?t want you to know. It shows you how to bypass a woman?s rejection mechanism and force-feed feelings of attraction, lust and desire directly into her subconscious mind. [...] Content analysis details: (14.8 points, 4.5 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [178.151.141.145 listed in zen.spamhaus.org] 0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [178.151.141.145 listed in bl.score.senderscore.com] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [178.151.141.145 listed in psbl.surriel.com] 0.0 T_RCVD_IN_SEMBLACK RBL: Received from an IP listed in bl.spameatingmonkey.net [178.151.141.145 listed in bl.spameatingmonkey.net] 1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [178.151.141.145 listed in bb.barracudacentral.org] 3.5 HELO_DYNAMIC_SPLIT_IP Relay HELO'd using suspicious hostname (Split IP) 0.0 TVD_RCVD_IP TVD_RCVD_IP -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.3704] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 TO_NO_BRKTS_NORDNS To: misformatted and no rDNS -------------- next part -------------- An embedded message was scrubbed... From: "Calvin Hamphrey" Subject: Re: The Secrets Women Hide From Their Partners Date: Thu, 26 Mar 2015 16:42:13 +0100 Size: 2145 URL: From adam.afugglas at gmail.com Thu Mar 26 16:18:41 2015 From: adam.afugglas at gmail.com (Adam af Ugglas) Date: Thu, 26 Mar 2015 16:18:41 +0100 Subject: [Fiware-tech-help] Fiware start-up @ Uppsala university Message-ID: Hi Fiware technicians, We are a group of 30 students(3rd year, studying: http://www.utn.uu.se/sts/cms/english)planning a Smart Cities project here at Uppsala university. We are interested in using Fiware as the platform for our widgets/services and our questions to you are: - What would be a good set up for a smaller server based scale-able platform? - What might be our limitations regarding a cloud based service contra a server based one? - Does it work for relational databases? We know internet contains most answers but we are eager to contribute and thought it would would be a good idea to contact you too. Best regards, Adam af Ugglas -------------- next part -------------- An HTML attachment was scrubbed... URL: From mattia.ryffel at disneyresearch.com Thu Mar 26 17:54:23 2015 From: mattia.ryffel at disneyresearch.com (Mattia Ryffel) Date: Thu, 26 Mar 2015 17:54:23 +0100 Subject: [Fiware-tech-help] FIWARE-POIDataProvider broken Message-ID: Hello, I'm responsible for developing the FIC2 POI Interface SE, that relies on the POI Data Provider GE (https://github.com/Chiru/FIWARE-POIDataProvider). I've developed that SE few months ago and had few running instances without too many problems. Now I wanted to check and update my SE and create a new instance. I see the last commit introduced multiple categories and a new poi specification. However the git repository is not consistent anymore with that. The installation scripts are still for the old version while the php scripts have changed. I have an urgent need of a functional version of this GE in order to deploy it to FIC2Lab as an endpoint for our SE, could you please fix that in a very short notice? In addition, I'm creating a docker image for this GE, do you happen to have one already? Best regards, Mattia Ryffel -- Mattia Ryffel Software Engineer +41 44 632 5298 Disney Research Zurich Stampfenbachstrasse 48 CH-8006 Zurich http://www.disneyresearch.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.claren at googlemail.com Fri Mar 27 15:35:37 2015 From: philip.claren at googlemail.com (Philip Claren) Date: Fri, 27 Mar 2015 15:35:37 +0100 Subject: [Fiware-tech-help] I Am Lost Message-ID: <3A9F5D5A-17D5-43A9-8AE7-357C27BB2F99@googlemail.com> Dear Sir or Madam, I?m working on a software project when a friend of mine told me about FI-WARE. It sounded very interesting from a technical and business point of view. I looked into FI-WARE and I have to say I am lost. I?m the CTO and leading developer of software company and I was not able to figure out how this whole thing works. Maybe this is not a good sign for this whole operation to catch a wide range of developers. But beside this maybe you can help me. Like I said, I am working on a software project which utilizes Ruby on Rails, MongoDB, Redis and node.js as key technologies. How does this rather common setup fit in in the whole FI-WARE universe? I found tons of texts describing the philosophical direction of the whole project and this is fine, but what about real-world, concrete, actual software? Where is the "Hello World" of FI-WARE? I very much like what FI-WARE tries to achieve and I also would like to contribute to the whole ecosystem to make it easier for people like me to get a grasp of the whole concept. But first maybe you can help me out with this rather profound problem of understanding how a FI-WARE App looks like in the real world. I looking forward to hearing from you and best regards, Philip Claren From miguel.carrillopacheco at telefonica.com Fri Mar 27 16:36:01 2015 From: miguel.carrillopacheco at telefonica.com (MIGUEL CARRILLO PACHECO) Date: Fri, 27 Mar 2015 16:36:01 +0100 Subject: [Fiware-tech-help] I Am Lost In-Reply-To: <3A9F5D5A-17D5-43A9-8AE7-357C27BB2F99@googlemail.com> References: <3A9F5D5A-17D5-43A9-8AE7-357C27BB2F99@googlemail.com> Message-ID: <551578E1.1060806@telefonica.com> Dear Mr Claren, FIWARE is providing the so called Generic Enablers. Generic (as opposed to ?Specific?) means that they can be applied to no matter what industry, they are general purpose artefacts. You need to see what?s in the catalogue and use those that are useful for you in whatever scenario you have. The best approach is to go to the catalogue (http://catalogue.fiware.org/enablers) and see our current offer. The catalogue concentrates the information of all the available GEs with all the pointers to the manuals, open specs, terms of use, etc. The definition of the Open Specs and the Manuals associated to each one of the is on the wiki (http://wiki.fiware.org/). The wiki is complex and a bit difficult to navigate at first since it has loads of information. The pages you may need to look for when looking for details are here: * FIWARE Architecture -> list of technical chapters -> Architecture of Individual GEs in each chapter * Summary of FIWARE Open Specifications > Open specs summary of Individual GEs in each chapter * Summary of FIWARE API Open Specifications -> Open specs APIs of Individual GEs in each chapter * Materializing the FIWARE Vision -> list of technical chapters -> Information of Individual GEs in each chapter (including manuals) However, these pages also include GEs that are no longer maintained by FIWARE. The safest approach is to go to the catalogue and the catalogue will (hopefully) give you the direct links to the wiki pages that are related to the GE with no need to click though wiki links. The catalogue has the pointers to all the GEs. The GEs have open specs and associated APIs. In practical terms, you decide to create you application and identify GE implementations that provide functionality that is useful for your app. Your app will talk to the GE implementation via a REST interface. May I point out that we have a free experimentation environment called FIWARE Lab (https://lab.fiware.org/) where we are progressively making available our GEs with self-deployment facilities. We also have online eLearning courses (http://edu.fiware.org/) Now, we are finding people like you feeling a bit lost and we decided to do something about it. This is why we have this on our home page (http://www.fiware.org/): [cid:part9.03050709.07020803 at telefonica.com] If you click on "FIWARE Developers" you get to http://www.fiware.org/developers-entrepreneurs/. There yoiu have a rough explanation of all this I am telling you now plus a few highlights (high level profile GEs) and a few usage examples. I hope that it helps Miguel El 27/03/2015 a las 15:35, Philip Claren escribi?: Dear Sir or Madam, I?m working on a software project when a friend of mine told me about FI-WARE. It sounded very interesting from a technical and business point of view. I looked into FI-WARE and I have to say I am lost. I?m the CTO and leading developer of software company and I was not able to figure out how this whole thing works. Maybe this is not a good sign for this whole operation to catch a wide range of developers. But beside this maybe you can help me. Like I said, I am working on a software project which utilizes Ruby on Rails, MongoDB, Redis and node.js as key technologies. How does this rather common setup fit in in the whole FI-WARE universe? I found tons of texts describing the philosophical direction of the whole project and this is fine, but what about real-world, concrete, actual software? Where is the "Hello World" of FI-WARE? I very much like what FI-WARE tries to achieve and I also would like to contribute to the whole ecosystem to make it easier for people like me to get a grasp of the whole concept. But first maybe you can help me out with this rather profound problem of understanding how a FI-WARE App looks like in the real world. I looking forward to hearing from you and best regards, Philip Claren _______________________________________________ Fiware-tech-help mailing list 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 ---------------------------------------------------------------------- _/ _/_/ 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 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: abjejgjf.png Type: image/png Size: 118705 bytes Desc: not available URL: From don1559 at gmail.com Sat Mar 28 18:04:31 2015 From: don1559 at gmail.com (Ahmed Sadek) Date: Sat, 28 Mar 2015 18:04:31 +0100 Subject: [Fiware-tech-help] Problem with oauth on context broker Message-ID: Dear All, I am facing a problem setting oauth security on a context broker node. I tried to follow the tutorial but still no luck. https://github.com/ging/oauth2-example-client/blob/master/docs/oauth2_tutorial.pdf According to the example the server.js is working and running on port 3000 (I changed it because I can't have apache2 and oauth listening on the same port 80), attached print screen. Our context broker instance is running here and you can check the version http://194.177.207.101:1026/version Also apache web server is running : http://194.177.207.101/ I created an account on FI Lab application and generated client id and secret. attached print screen also. and edited the config and server file. attached both of them. Now I keep trying to do get https://194.177.207.101:3000 but no response. So what I am doing wrong here, what is the missing part, should I edit the redirect part in the server.js file ? Best,, Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-28 17:52:05.png Type: image/png Size: 189269 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-28 17:50:07.png Type: image/png Size: 156820 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: server.js Type: application/x-javascript Size: 2907 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: config.js Type: application/x-javascript Size: 327 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: oauth Type: application/octet-stream Size: 1985 bytes Desc: not available URL: