{"action":"created","issue":{"url":"https://api.github.com/repos/apiman/apiman/issues/183","labels_url":"https://api.github.com/repos/apiman/apiman/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/apiman/apiman/issues/183/comments","events_url":"https://api.github.com/repos/apiman/apiman/issues/183/events","html_url":"https://github.com/apiman/apiman/issues/183","id":101683933,"number":183,"title":"Schema Update error on 1.1.6","user":{"login":"jason-d-hobbs","id":13332938,"avatar_url":"https://avatars.githubusercontent.com/u/13332938?v=3","gravatar_id":"","url":"https://api.github.com/users/jason-d-hobbs","html_url":"https://github.com/jason-d-hobbs","followers_url":"https://api.github.com/users/jason-d-hobbs/followers","following_url":"https://api.github.com/users/jason-d-hobbs/following{/other_user}","gists_url":"https://api.github.com/users/jason-d-hobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/jason-d-hobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason-d-hobbs/subscriptions","organizations_url":"https://api.github.com/users/jason-d-hobbs/orgs","repos_url":"https://api.github.com/users/jason-d-hobbs/repos","events_url":"https://api.github.com/users/jason-d-hobbs/events{/privacy}","received_events_url":"https://api.github.com/users/jason-d-hobbs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-18T15:30:58Z","updated_at":"2015-11-27T07:37:24Z","closed_at":"2015-08-18T17:41:37Z","body":"ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (default task-1) HHH000299: Could not complete schema update: java.lang.UnsupportedOperationException: The application must supply JDBC connections\r\n\r\nI'm trying to get apiman connected to a PGSql database.  I'm using the same config that worked with version 1.1.4, but something has changed.  Should I be using a different jndi name now?\r\n\r\nstandalone-apiman.xml has been patched to include the following:\r\n```xml\r\n<datasource jndi-name=\"java:/jdbc/ApiManagerDS\" pool-name=\"apiman-manager-api\" enabled=\"true\" use-java-context=\"true\">\r\n\t\t\t\t\t<connection-url>jdbc:postgresql://host:port/DBname</connection-url>\r\n\t\t\t\t\t<driver>postgresql-9.4-1201.jdbc41.jar</driver>\r\n\t\t\t\t\t<security>\r\n\t\t\t\t\t\t<user-name>xxx</user-name>\r\n\t\t\t\t\t\t<password>xxx</password>\r\n\t\t\t\t\t</security>\r\n\t\t\t\t</datasource>\r\n```\r\n\r\n\r\nAgain, this configuration worked on 1.1.4, but no longer works on 1.1.6.  I also noticed that the persistence.xml no longer has the reference to this data source.\r\n\r\nWhat am I doing wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/apiman/apiman/issues/comments/160059974","html_url":"https://github.com/apiman/apiman/issues/183#issuecomment-160059974","issue_url":"https://api.github.com/repos/apiman/apiman/issues/183","id":160059974,"user":{"login":"maslick","id":5644706,"avatar_url":"https://avatars.githubusercontent.com/u/5644706?v=3","gravatar_id":"","url":"https://api.github.com/users/maslick","html_url":"https://github.com/maslick","followers_url":"https://api.github.com/users/maslick/followers","following_url":"https://api.github.com/users/maslick/following{/other_user}","gists_url":"https://api.github.com/users/maslick/gists{/gist_id}","starred_url":"https://api.github.com/users/maslick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maslick/subscriptions","organizations_url":"https://api.github.com/users/maslick/orgs","repos_url":"https://api.github.com/users/maslick/repos","events_url":"https://api.github.com/users/maslick/events{/privacy}","received_events_url":"https://api.github.com/users/maslick/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T07:37:24Z","updated_at":"2015-11-27T07:37:24Z","body":"@jason-d-hobbs if you set those two lines in apiman.properties:\r\n```\r\napiman.hibernate.connection.datasource=java:jboss/datasources/apiman-manager\r\napiman.hibernate.dialect=io.apiman.manager.api.jpa.ApimanH2Dialect\r\n```\r\ndoes this mean you are no longer using postgres database, but h2 instead?"}}