Deploy -> KnowledgePlatform -> Neo4jDefinitionUpdate #90
-
System Configuration Details:
PS: The above message was repeated for all the definitions and finally failed. This is after, the tomcat installation was successful and also the deploy learning step was successful. @gandham-santhosh and @keshavprasadms Jenkins Logs: Started by user Admin Deployer
[Pipeline] stage
[Pipeline] stage
PLAY [learningall] ************************************************************* TASK [Gathering Facts] ********************************************************* TASK [Update definitions] ****************************************************** HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "content_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=content_image_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "content_image_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=item_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "item_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=itemset_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "itemset_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=channel_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "channel_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=concept_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "concept_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=dimension_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "dimension_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=domain_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "domain_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=method_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "method_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=category_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "category_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=categoryInstance_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "categoryInstance_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=framework_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "framework_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=term_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "term_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=misconception_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "misconception_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=license_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "license_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=objectcategory_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "objectcategory_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=objectcategorydefinition_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "objectcategorydefinition_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=collection_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "collection_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=collection_image_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "collection_image_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=asset_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "asset_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=question_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "question_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=question_image_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "question_image_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=questionset_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "questionset_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed failed: [10.128.0.50] (item=questionset_image_definition) => { HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
<a href="[https://eclipse.org/jetty](https://eclipse.org/jetty/)">Powered by Jetty:// 9.4.39.v20210325 \n\n\n\n", "content_length": "655", "content_type": "text/html;charset=iso-8859-1", "elapsed": 0, "item": "questionset_image_definition", "redirected": false, "server": "Jetty(9.4.39.v20210325)", "status": 405, "url": "http://localhost:8080/learning-service/taxonomy/domain/definition" } MSG: Status code was 405 and not [200]: HTTP Error 405: Method Not Allowed PLAY RECAP ********************************************************************* [Pipeline] } [Pipeline] // ansiColor [Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 22 replies
-
From the VM where learning service is running
Your output should say below
|
Beta Was this translation helpful? Give feedback.
-
@keshavprasadms and @AmiableAnil: This problem was solved. What I figured out was that the learning-service shares the same vm as the zookeeper service as per the install documentation. Now zookeeper also listens on port 8080 and the host not found error was because we were hitting the zookeeper port, rather than the tomcat port. I changed the server of learning-service to some other hosts and it was solved. |
Beta Was this translation helpful? Give feedback.
@keshavprasadms and @AmiableAnil: This problem was solved. What I figured out was that the learning-service shares the same vm as the zookeeper service as per the install documentation. Now zookeeper also listens on port 8080 and the host not found error was because we were hitting the zookeeper port, rather than the tomcat port. I changed the server of learning-service to some other hosts and it was solved.
Thanks for coming on call and helping.