{"action":"created","issue":{"url":"https://api.github.com/repos/GMOD/Apollo/issues/965","repository_url":"https://api.github.com/repos/GMOD/Apollo","labels_url":"https://api.github.com/repos/GMOD/Apollo/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/GMOD/Apollo/issues/965/comments","events_url":"https://api.github.com/repos/GMOD/Apollo/issues/965/events","html_url":"https://github.com/GMOD/Apollo/issues/965","id":145777287,"number":965,"title":"running Apollo (Jetty or Tomcat) with JIRA (Tomcat / PostgreSQL) fails with a cache error","user":{"login":"laceysanderson","id":1566301,"avatar_url":"https://avatars.githubusercontent.com/u/1566301?v=3","gravatar_id":"","url":"https://api.github.com/users/laceysanderson","html_url":"https://github.com/laceysanderson","followers_url":"https://api.github.com/users/laceysanderson/followers","following_url":"https://api.github.com/users/laceysanderson/following{/other_user}","gists_url":"https://api.github.com/users/laceysanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/laceysanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laceysanderson/subscriptions","organizations_url":"https://api.github.com/users/laceysanderson/orgs","repos_url":"https://api.github.com/users/laceysanderson/repos","events_url":"https://api.github.com/users/laceysanderson/events{/privacy}","received_events_url":"https://api.github.com/users/laceysanderson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GMOD/Apollo/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GMOD/Apollo/labels/Important","name":"Important","color":"eb6420"},{"url":"https://api.github.com/repos/GMOD/Apollo/labels/Workingon","name":"Workingon","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"nathandunn","id":751274,"avatar_url":"https://avatars.githubusercontent.com/u/751274?v=3","gravatar_id":"","url":"https://api.github.com/users/nathandunn","html_url":"https://github.com/nathandunn","followers_url":"https://api.github.com/users/nathandunn/followers","following_url":"https://api.github.com/users/nathandunn/following{/other_user}","gists_url":"https://api.github.com/users/nathandunn/gists{/gist_id}","starred_url":"https://api.github.com/users/nathandunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathandunn/subscriptions","organizations_url":"https://api.github.com/users/nathandunn/orgs","repos_url":"https://api.github.com/users/nathandunn/repos","events_url":"https://api.github.com/users/nathandunn/events{/privacy}","received_events_url":"https://api.github.com/users/nathandunn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GMOD/Apollo/milestones/23","html_url":"https://github.com/GMOD/Apollo/milestones/2.0.3","labels_url":"https://api.github.com/repos/GMOD/Apollo/milestones/23/labels","id":1299980,"number":23,"title":"2.0.3","description":"","creator":{"login":"nathandunn","id":751274,"avatar_url":"https://avatars.githubusercontent.com/u/751274?v=3","gravatar_id":"","url":"https://api.github.com/users/nathandunn","html_url":"https://github.com/nathandunn","followers_url":"https://api.github.com/users/nathandunn/followers","following_url":"https://api.github.com/users/nathandunn/following{/other_user}","gists_url":"https://api.github.com/users/nathandunn/gists{/gist_id}","starred_url":"https://api.github.com/users/nathandunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathandunn/subscriptions","organizations_url":"https://api.github.com/users/nathandunn/orgs","repos_url":"https://api.github.com/users/nathandunn/repos","events_url":"https://api.github.com/users/nathandunn/events{/privacy}","received_events_url":"https://api.github.com/users/nathandunn/received_events","type":"User","site_admin":false},"open_issues":150,"closed_issues":30,"state":"open","created_at":"2015-09-10T19:58:08Z","updated_at":"2016-04-04T21:33:41Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-04-04T19:12:48Z","updated_at":"2016-04-04T23:05:00Z","closed_at":null,"body":"I am unable to get Apollo 2.0.2 running on Jetty 9.2.15 (v20160210). When I use `./apollo run-local` everything runs as expected but as soon as I use `./apollo deploy` and jetty I end up with \"HTTP Error: 503 Service unavailable\".\r\n\r\nI've attached my jetty startup log ([jetty-startup-log.txt](https://github.com/GMOD/Apollo/files/203149/jetty-startup-log.txt)) to show the error. Notice that it is the same as mentioned in #465.\r\n\r\n\r\nSince that issue seemed to think it was a caching issue and I know my system is having issues with caching (#951), I immediately disabled my cache directly in grails-app/conf/Config.groovy (I edited directly to ensure my changes were being picked up and at previous direction of @nathandunn when working with a similar issue in Tomcat). Changes are as follows:\r\n\r\n    grails.cache.config = {\r\n        // avoid ehcache naming conflict to run multiple WA instances\r\n        provider {\r\n            name \"ehcache-apollo-\"+(new Date().format(\"yyyyMMddHHmmss\"))\r\n        }\r\n        cache {\r\n            enabled = false                           // Changed this to disable the cache\r\n            name 'globalcache'\r\n            eternal false\r\n            overflowToDisk false                      // Changed this for good measure ;-)\r\n            maxElementsInMemory 10000\r\n            maxElementsOnDisk 10000000\r\n        }\r\n        defaultCache {\r\n            maxElementsInMemory 10000\r\n            eternal false\r\n            timeToIdleSeconds 120\r\n            timeToLiveSeconds 120\r\n            overflowToDisk true\r\n            maxElementsOnDisk 10000000\r\n            diskPersistent false\r\n            diskExpiryThreadIntervalSeconds 120\r\n            memoryStoreEvictionPolicy 'LRU'\r\n        }\r\n    }\r\n\r\nUnfortunately this didn't change the error at all. Looking back into the previous issue I also confirmed that my jetty user can access and write to tmp and it can.\r\n\r\n    $ sudo su -s /bin/bash jetty -c \"touch /tmp/test.jetty.user.txt\"\r\n    $ ls -l /tmp/tes*\r\n        -rw-r--r-- 1 jetty jetty 0 Apr  4 12:38 /tmp/test.jetty.user.txt"},"comment":{"url":"https://api.github.com/repos/GMOD/Apollo/issues/comments/205535011","html_url":"https://github.com/GMOD/Apollo/issues/965#issuecomment-205535011","issue_url":"https://api.github.com/repos/GMOD/Apollo/issues/965","id":205535011,"user":{"login":"nathandunn","id":751274,"avatar_url":"https://avatars.githubusercontent.com/u/751274?v=3","gravatar_id":"","url":"https://api.github.com/users/nathandunn","html_url":"https://github.com/nathandunn","followers_url":"https://api.github.com/users/nathandunn/followers","following_url":"https://api.github.com/users/nathandunn/following{/other_user}","gists_url":"https://api.github.com/users/nathandunn/gists{/gist_id}","starred_url":"https://api.github.com/users/nathandunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathandunn/subscriptions","organizations_url":"https://api.github.com/users/nathandunn/orgs","repos_url":"https://api.github.com/users/nathandunn/repos","events_url":"https://api.github.com/users/nathandunn/events{/privacy}","received_events_url":"https://api.github.com/users/nathandunn/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T23:05:00Z","updated_at":"2016-04-04T23:05:00Z","body":"@laceysanderson  My guess is that somehow the init script is messing up which tomcat is being run and thus running another version of Apollo as well.  Maybe looking for an apollo.war file might be a good idea?"}}