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

FIWARE.Request.Tech.Data.CEP.CEP instance moved to Spain2 does not work

    Details

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

      Description

      Dear Dr. Liu,

      Please contact the GE support directly. The instructions are on our public catalogue. for your convinience I put you the direct links to both:

      I hope that it helps

      Miguel

      El 01/05/2015 a las 21:51, Liu, Zhiying escribió:
      Dear Sir/Madam,

      I have an CEP instance and an orion pub sub instance running on Spain node. The CEP accept some input events, produces output events as defined, and send them to orion instance. And one can query the events from the pub-sub node. Every thing worked fine before my orion node was deleted.
      As suggested by FIWARE society, I am now moving my things to Spain2.

      On Spain2 node I have:

      1. created a new CEP instance, and imported my project definition to the new instance,
      2. created an orion pub-sub instance and have done the same things that I have done before (fortunately I have documented the steps that made things work).

      However I have problems on both new instances.

      1. For CEP, I get "OK" response for change definition and change state of my definition (start, stop). But for push event like this:
      curl -v -X POST http://130.206.116.4:8080/ProtonOnWebServer/rest/events
      Content-Type: application/json

      {"Name":"Generated","component":"wind","value":"1308.16","gtime":"20150121"}

      I always get this status error: 500 Error Interno del Servido
      The exact same command to the old instance works fine. The same definition is exported from the old instance and imported to the new one.

      2. For Orion, I can login and start the context broker like this: “/etc/init.d/contextBroker start”.
      But when I send event definition like this:
      Command: POST
      (curl 130.206.116.6:1026/v1/updateContext s -S --header 'Content-Type: application/xml' -d @ | xmllint --format - ) <<EOF
      <?xml version="1.0" encoding="UTF-8"?>
      <updateContextRequest>
      <contextElementList>
      <contextElement>
      <entityId type="EnergyWarning" isPattern="false">
      <id>NotMatch</id>
      </entityId>
      <contextAttributeList>
      <contextAttribute>
      <name>EventId</name>
      <contextValue>2c67baff-402d-4a48-b22d-e2f5fc743499</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>DetectionTime</name>
      <contextValue>19/11/2014-11:02:05</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>difference</name>
      <contextValue>600.0</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>Cost</name>
      <contextValue>0.0</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>Certainty</name>
      <contextValue>0.0</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>Name</name>
      <contextValue>EWarning</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>OccurrenceTime</name>
      <contextValue>19/11/2014-11:02:05</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>component</name>
      <contextValue>biogas2</contextValue>
      </contextAttribute>
      <contextAttribute>
      <name>Duration</name>
      <contextValue>0.0</contextValue>
      </contextAttribute>
      </contextAttributeList>
      </contextElement>
      </contextElementList>
      <updateAction>APPEND</updateAction>
      </updateContextRequest>

      The response status is ok, but the error message is:

      { "orionError" :

      { "code" : "400", "reasonPhrase" : "Bad Request", "details" : "service '/v1/updateContext' not found" }

      }

      This exact same command (except ip address) works for my old Orion instance.

      Any help would be highly appreciated!
      With best regards,

      Dr. Zhiying Liu
      IT-Softwareentwicklung

      QSC AG
      Mathias-Brüggen-Straße 55
      50829 Köln

      Telefon: 0221 6698 - 497
      E-Mail: Zhiying.Liu@qsc.de<Zhiying.Liu@qsc.de>
      Internet: www.qsc.de<http://www.qsc.de/>

      Sitz der Gesellschaft: Köln - Amtsgericht Köln HRB-Nummer 28281
      Vorstand: Jürgen Hermann (Vorsitzender), Stefan A. Baustert
      Vorsitzender des Aufsichtsrats: Dr. Bernd Schlobohm

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org<Fiware-tech-help@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@telefonica.com<miguel.carrillopacheco@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@telefonica.com<miguel.carrillopacheco@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

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

      [Created via e-mail received from: MIGUEL CARRILLO PACHECO <miguel.carrillopacheco@telefonica.com>]

        Issue Links

          Activity

          Hide
          TALI Fabiana Fournier added a comment -

          Hello Tali,

          Problem solved.

          I thought "save" the project is enough. Actually you have to "save and export to external rep"

          Thanks for the help!

          Best regards,
          Zhiying

          Am 06.05.2015 um 15:44 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>:

          > Dr. Zhiying Liu,
          >
          > Could you please send me the CEP log file, this might help me understand the problem.
          >
          > The log file (catalina.out) in located under the <tomcat-installation-directory>/log directory.
          >
          > Thank you,
          > Tali

          Show
          TALI Fabiana Fournier added a comment - Hello Tali, Problem solved. I thought "save" the project is enough. Actually you have to "save and export to external rep" Thanks for the help! Best regards, Zhiying Am 06.05.2015 um 15:44 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>: > Dr. Zhiying Liu, > > Could you please send me the CEP log file, this might help me understand the problem. > > The log file (catalina.out) in located under the <tomcat-installation-directory>/log directory. > > Thank you, > Tali
          Hide
          TALI Fabiana Fournier added a comment -

          Hello Tali,

          Many thanks! Tomorrow I will try with your suggestion and contact you again.

          Best regards,
          Zhiying

          Am 06.05.2015 um 19:02 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>:

          > Glad you solved the first issue!
          >
          > In order to understand the current problem I would like to examine your current log file. In order to have a clean run and a clean log, could you please:
          > 1. Stop tomcat
          > 2. Delete the log file, catalina.out, from the <tomcat-installation-directory>/log directory
          > 3. Start tomcat
          > 4. After tomcat is up, send your input events
          > 5. Look on the log. One common problem is that the directory of the output file you put in the consumer definition doesn't exists or that Tomcat has no permission to write there.
          > 6. If you don't understand the problem, please send me the log file
          >
          > Thank you,
          > Best regards,
          > Tali

          Show
          TALI Fabiana Fournier added a comment - Hello Tali, Many thanks! Tomorrow I will try with your suggestion and contact you again. Best regards, Zhiying Am 06.05.2015 um 19:02 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>: > Glad you solved the first issue! > > In order to understand the current problem I would like to examine your current log file. In order to have a clean run and a clean log, could you please: > 1. Stop tomcat > 2. Delete the log file, catalina.out, from the <tomcat-installation-directory>/log directory > 3. Start tomcat > 4. After tomcat is up, send your input events > 5. Look on the log. One common problem is that the directory of the output file you put in the consumer definition doesn't exists or that Tomcat has no permission to write there. > 6. If you don't understand the problem, please send me the log file > > Thank you, > Best regards, > Tali
          Hide
          TALI Fabiana Fournier added a comment -

          Hello Zhiying,

          Looking at the log, it seems to be a tomcat write permission problem:

          ADVERTENCIA: initializeAdapters: failed to initialize adapter Output
          adapter for consumer: playing, reason: Permission denied
          08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer
          startAdapters
          ADVERTENCIA: initializeAdapters: failed to initialize adapter Output
          adapter for consumer: xmlfile, reason: Permission denied
          08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer
          startAdapters
          ADVERTENCIA: initializeAdapters: failed to initialize adapter Output
          adapter for consumer: factory, reason: Permission denied

          My guess, tomcat has no permission to write in this directory, or to write
          to the file you specified if the file exists. Please add tomcat user a
          write permission to the directory (& file if it exists) and check again.

          Best regards,
          Tali

          Tali Yatzkar Haham
          Smart Decision Solutions
          IBM Haifa Research Lab, Israel
          tali@il.ibm.com 972-4-8296320

          From: "Liu, Zhiying" <zhiying.liu@qsc.de>
          To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
          Date: 08/05/2015 04:59 PM
          Subject: Re: [FI-WARE-JIRA] (HELP-2674) Re: [Fiware-tech-help] CEP
          instance moved to Spain2 does not work

          Hello Tali,

          I have done what you have suggested (and even rebooted the instance).
          After restart up I have sent a switch project and a start project command,
          and then pushed an event.

          Looks fine from the responses, but there are still no output files. I
          specified always the <tomcat-installation-directory>/sample as an output
          directory, to avoid the possible problem you mentioned in 5.

          There are a lot of exceptions in the log file, which I cannot understand.
          Here I send it to you.

          Thank you very much!
          Best regards,
          Zhiying

          Am 06.05.2015 um 19:02 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>:

          Glad you solved the first issue!

          In order to understand the current problem I would like to examine your
          current log file. In order to have a clean run and a clean log, could you
          please:
          1. Stop tomcat
          2. Delete the log file, catalina.out, from the
          <tomcat-installation-directory>/log directory
          3. Start tomcat
          4. After tomcat is up, send your input events
          5. Look on the log. One common problem is that the directory of the output
          file you put in the consumer definition doesn't exists or that Tomcat has
          no permission to write there.
          6. If you don't understand the problem, please send me the log file

          Thank you,
          Best regards,
          Tali

          Tali Yatzkar Haham
          Smart Decision Solutions
          IBM Haifa Research Lab, Israel
          tali@il.ibm.com 972-4-8296320

          From: "Liu, Zhiying" <zhiying.liu@qsc.de>
          To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
          Date: 06/05/2015 07:30 PM
          Subject: Re: [FI-WARE-JIRA] (HELP-2674) Re: [Fiware-tech-help] CEP
          instance moved to Spain2 does not work

          Sorry again, not really, I can start the project and push an event to it,
          but still no output files are created (there should be empty files even
          there are no output events).

          Am 06.05.2015 um 15:44 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>:

          Dr. Zhiying Liu,

          Could you please send me the CEP log file, this might help me understand
          the problem.

          The log file Mobile1.

          Thank you,
          Tali

          Tali Yatzkar Haham
          Smart Decision Solutions
          IBM Haifa Research Lab, Israel
          tali@il.ibm.com 972-4-8296320

          From: "Manuel Escriche (JIRA)" <jira-help-desk@fi-ware.org>
          To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
          Date: 06/05/2015 04:22 PM
          Subject: [FI-WARE-JIRA] (HELP-2674) Re: [Fiware-tech-help] CEP
          instance moved to Spain2 does not work

          [
          https://jira.fiware.org/browse/HELP-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
          ]

          Manuel Escriche reassigned HELP-2674:
          -------------------------------------

          Assignee: Tali Yatzkar Haham

          public catalogue. for your convinience I put you the direct links to both:
          http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker
          ("Ask in Stack Overflow with tag fiware-orion")
          http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online
          (contact TALI@il.ibm.com<TALI@il.ibm.com>)
          node. The CEP accept some input events, produces output events as defined,
          and send them to orion instance. And one can query the events from the
          pub-sub node. Every thing worked fine before my orion node was deleted.
          new instance,
          I have done before (fortunately I have documented the steps that made
          things work).
          of my definition (start, stop). But for push event like this:

          {"Name":"Generated","component":"wind","value":"1308.16","gtime":"20150121"}

          definition is exported from the old instance and imported to the new one.
          ?/etc/init.d/contextBroker start?.
          application/xml' d @ | xmllint --format - ) <<EOF
          "details" : "service '/v1/updateContext' not found" } }
          instance.
          Fiware-tech-help@lists.fi-ware.org>
          miguel.carrillopacheco@telefonica.com<
          miguel.carrillopacheco@telefonica.com>
          miguel.carrillopacheco@telefonica.com>
          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.
          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.
          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
          miguel.carrillopacheco@telefonica.com>]


          This message was sent by Atlassian JIRA
          (v6.4.1#64016)

          [attachment "catalina.out" deleted by Tali Yatzkar-Haham/Haifa/IBM]

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

          Show
          TALI Fabiana Fournier added a comment - Hello Zhiying, Looking at the log, it seems to be a tomcat write permission problem: ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: playing, reason: Permission denied 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: xmlfile, reason: Permission denied 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: factory, reason: Permission denied My guess, tomcat has no permission to write in this directory, or to write to the file you specified if the file exists. Please add tomcat user a write permission to the directory (& file if it exists) and check again. Best regards, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: "Liu, Zhiying" <zhiying.liu@qsc.de> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 08/05/2015 04:59 PM Subject: Re: [FI-WARE-JIRA] ( HELP-2674 ) Re: [Fiware-tech-help] CEP instance moved to Spain2 does not work Hello Tali, I have done what you have suggested (and even rebooted the instance). After restart up I have sent a switch project and a start project command, and then pushed an event. Looks fine from the responses, but there are still no output files. I specified always the <tomcat-installation-directory>/sample as an output directory, to avoid the possible problem you mentioned in 5. There are a lot of exceptions in the log file, which I cannot understand. Here I send it to you. Thank you very much! Best regards, Zhiying Am 06.05.2015 um 19:02 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>: Glad you solved the first issue! In order to understand the current problem I would like to examine your current log file. In order to have a clean run and a clean log, could you please: 1. Stop tomcat 2. Delete the log file, catalina.out, from the <tomcat-installation-directory>/log directory 3. Start tomcat 4. After tomcat is up, send your input events 5. Look on the log. One common problem is that the directory of the output file you put in the consumer definition doesn't exists or that Tomcat has no permission to write there. 6. If you don't understand the problem, please send me the log file Thank you, Best regards, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: "Liu, Zhiying" <zhiying.liu@qsc.de> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 06/05/2015 07:30 PM Subject: Re: [FI-WARE-JIRA] ( HELP-2674 ) Re: [Fiware-tech-help] CEP instance moved to Spain2 does not work Sorry again, not really, I can start the project and push an event to it, but still no output files are created (there should be empty files even there are no output events). Am 06.05.2015 um 15:44 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>: Dr. Zhiying Liu, Could you please send me the CEP log file, this might help me understand the problem. The log file Mobile1. Thank you, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: "Manuel Escriche (JIRA)" <jira-help-desk@fi-ware.org> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 06/05/2015 04:22 PM Subject: [FI-WARE-JIRA] ( HELP-2674 ) Re: [Fiware-tech-help] CEP instance moved to Spain2 does not work [ https://jira.fiware.org/browse/HELP-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manuel Escriche reassigned HELP-2674 : ------------------------------------- Assignee: Tali Yatzkar Haham public catalogue. for your convinience I put you the direct links to both: http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker ("Ask in Stack Overflow with tag fiware-orion") http://catalogue.fiware.org/enablers/complex-event-processing-cep-proactive-technology-online (contact TALI@il.ibm.com< TALI@il.ibm.com >) node. The CEP accept some input events, produces output events as defined, and send them to orion instance. And one can query the events from the pub-sub node. Every thing worked fine before my orion node was deleted. new instance, I have done before (fortunately I have documented the steps that made things work). of my definition (start, stop). But for push event like this: {"Name":"Generated","component":"wind","value":"1308.16","gtime":"20150121"} definition is exported from the old instance and imported to the new one. ?/etc/init.d/contextBroker start?. application/xml' d @ | xmllint --format - ) <<EOF "details" : "service '/v1/updateContext' not found" } } instance. Fiware-tech-help@lists.fi-ware.org > miguel.carrillopacheco@telefonica.com< miguel.carrillopacheco@telefonica.com > miguel.carrillopacheco@telefonica.com > 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. 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. 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 miguel.carrillopacheco@telefonica.com>] – This message was sent by Atlassian JIRA (v6.4.1#64016) [attachment "catalina.out" deleted by Tali Yatzkar-Haham/Haifa/IBM] _______________________________________________ Fiware-tech-help mailing list Fiware-tech-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-tech-help
          Hide
          TALI Fabiana Fournier added a comment -

          Hello Tali,

          Thanks for your suggestion.

          It works after I set the owner of that directory to tomcat.

          But strange thing is, tomcat was always the owner of this directory, and has both read and write permissions to this directory. That's why I chose this dir. Why I have to set tomcat as owner again?

          Anyway it works, many thanks for your help!

          Regards,
          Jane

          Am 11.05.2015 um 07:28 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>:

          > Hello Zhiying,
          >
          > Looking at the log, it seems to be a tomcat write permission problem:
          >
          > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: playing, reason: Permission denied
          > 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters
          > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: xmlfile, reason: Permission denied
          > 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters
          > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: factory, reason: Permission denied
          >
          > My guess, tomcat has no permission to write in this directory, or to write to the file you specified if the file exists. Please add tomcat user a write permission to the directory (& file if it exists) and check again.
          >
          > Best regards,
          > Tali

          Show
          TALI Fabiana Fournier added a comment - Hello Tali, Thanks for your suggestion. It works after I set the owner of that directory to tomcat. But strange thing is, tomcat was always the owner of this directory, and has both read and write permissions to this directory. That's why I chose this dir. Why I have to set tomcat as owner again? Anyway it works, many thanks for your help! Regards, Jane Am 11.05.2015 um 07:28 schrieb Tali Yatzkar-Haham <TALI@il.ibm.com>: > Hello Zhiying, > > Looking at the log, it seems to be a tomcat write permission problem: > > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: playing, reason: Permission denied > 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: xmlfile, reason: Permission denied > 08-may-2015 15:24:17 com.ibm.hrl.proton.adapter.servers.AbstractServer startAdapters > ADVERTENCIA: initializeAdapters: failed to initialize adapter Output adapter for consumer: factory, reason: Permission denied > > My guess, tomcat has no permission to write in this directory, or to write to the file you specified if the file exists. Please add tomcat user a write permission to the directory (& file if it exists) and check again. > > Best regards, > Tali

            People

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

              Dates

              • Created:
                Updated:
                Resolved: