{"action":"created","issue":{"url":"https://api.github.com/repos/davemckain/qtiworks/issues/68","labels_url":"https://api.github.com/repos/davemckain/qtiworks/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/davemckain/qtiworks/issues/68/comments","events_url":"https://api.github.com/repos/davemckain/qtiworks/issues/68/events","html_url":"https://github.com/davemckain/qtiworks/issues/68","id":118548352,"number":68,"title":"QTI Instance run on jetty failed","user":{"login":"blpraveen","id":3274289,"avatar_url":"https://avatars.githubusercontent.com/u/3274289?v=3","gravatar_id":"","url":"https://api.github.com/users/blpraveen","html_url":"https://github.com/blpraveen","followers_url":"https://api.github.com/users/blpraveen/followers","following_url":"https://api.github.com/users/blpraveen/following{/other_user}","gists_url":"https://api.github.com/users/blpraveen/gists{/gist_id}","starred_url":"https://api.github.com/users/blpraveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blpraveen/subscriptions","organizations_url":"https://api.github.com/users/blpraveen/orgs","repos_url":"https://api.github.com/users/blpraveen/repos","events_url":"https://api.github.com/users/blpraveen/events{/privacy}","received_events_url":"https://api.github.com/users/blpraveen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-24T07:18:28Z","updated_at":"2015-12-17T09:23:47Z","closed_at":null,"body":"I could not deploy the QTI Engine on a Jetty Server.\r\nI am using eclipse IDE on windows\r\nI downloaded the qtiworks from the github repository and build maven project. It generated  jar files in taget folder.\r\n\r\nThen my next step was to run on server . I am getting errors. I have set the config file.\r\n\r\nIs it possible to get code of qti engine running on jetty.?\r\n"},"comment":{"url":"https://api.github.com/repos/davemckain/qtiworks/issues/comments/165392269","html_url":"https://github.com/davemckain/qtiworks/issues/68#issuecomment-165392269","issue_url":"https://api.github.com/repos/davemckain/qtiworks/issues/68","id":165392269,"user":{"login":"davemckain","id":1650988,"avatar_url":"https://avatars.githubusercontent.com/u/1650988?v=3","gravatar_id":"","url":"https://api.github.com/users/davemckain","html_url":"https://github.com/davemckain","followers_url":"https://api.github.com/users/davemckain/followers","following_url":"https://api.github.com/users/davemckain/following{/other_user}","gists_url":"https://api.github.com/users/davemckain/gists{/gist_id}","starred_url":"https://api.github.com/users/davemckain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemckain/subscriptions","organizations_url":"https://api.github.com/users/davemckain/orgs","repos_url":"https://api.github.com/users/davemckain/repos","events_url":"https://api.github.com/users/davemckain/events{/privacy}","received_events_url":"https://api.github.com/users/davemckain/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T09:23:47Z","updated_at":"2015-12-17T09:23:47Z","body":"This page might be of help for configuring Jetty:\r\n\r\nhttp://www.eclipse.org/jetty/documentation/current/configuring-specific-webapp-deployment.html\r\n\r\nIn particular, the following might work inside a Jetty deployment XML file for setting the necessary context params:\r\n\r\n  ...\r\n  <Get name=\"ServletContext\">\r\n     <Call name=\"setInitParameter\">\r\n       <Arg>qtiWorksDeploymentPropertiesUri</Arg>\r\n       <Arg>file:/path/to/your/qtiworks-deployment.properties</Arg>\r\n    </Call>\r\n  </Get>\r\n  ....\r\n\r\nIf you can't get this to work at all, you could expand the qitworks.war webapp out, and then to edit WEB-INF/web.xml to add in:\r\n\r\n...\r\n<context-param>\r\n  <param-name>qtiWorksDeploymentPropertiesUri</param-name>\r\n  <param-value>file:/path/to/your/qtiworks-deployment.properties</param-value>\r\n</context-param>\r\n...\r\n\r\nThis approach is less ideal though. as you have to manually edit one of the files generated by the build process. But if you're just looking to run QTIWorks rather than work on the source, it might be tolerable!\r\n\r\nNote that in both cases, you need to specify the location of your config file as a file URI.\r\n\r\nHope that helps a bit!\r\n\r\nCheers,\r\nDavid"}}