0

I installed the Atlassian SDK 6.3.12. Now I am developing a plugin for Jira.

And issued with problem, that I can't change the server.xml for tomcat8x (located in target plugin folder). Because every start of atlas-debug or atlas-run this file is overwritten.

How to use custom server.xml?


P.S. motivation: Changing server.xml to handle requests with special characters

Community
  • 1
  • 1
Woland
  • 623
  • 2
  • 13
  • 31
  • The link you have mentioned is appropriate for installable Jira instance not for plugin jira instance, because plugin jira instance will always overwrite most of the files on startup. – MrKumar Jun 07 '19 at 03:55
  • The actual question is: what do you really want to achieve? Because as soon as you've developed your plugin and installed it on your customer's Jira servers, you also can't change their server.xml files. – s.hesse Jun 07 '19 at 07:36
  • @s.hesse I want solve problem with tomcat which I faced during plugin development. In logs I see exception about parsing headers. So almost no one link is working. Reinstalling of SDK didn't help. Jira version in plugin 7.9.0 (8.0.0 works well). – Woland Jun 07 '19 at 12:28
  • Also I tried SDK 8.0.7, the same. Create software project, then issue. Then try to assign – caught message "jira cloud (sic!) communication breakdown" (smth like that). In logs – exception about parsing request headers. – Woland Jun 07 '19 at 12:33
  • `INFO: Error parsing HTTP request header [INFO] [talledLocalContainer] java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986` – Woland Jun 07 '19 at 12:37
  • Ever find a solution for this? – boileau Mar 02 '20 at 10:22
  • @boileau Actually no. – Woland Mar 02 '20 at 20:43

0 Answers0