Did you add
to you postgres datasource configuration
Also in the JIRA Jesper says you need to use the validation checker which is documented in the ironjacamar docs (http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html/deployment.html#deployingra_extensions). So you need:
thank you for your hints. I posted the same question also in community of JBoss AS. Jesper has answered me also.
Karl - can you link to this other thread that Jesper replied to that answers your question? Would be helpful for others with the same question.
Now, I'll assume the solutions to the questions Karl had in reply to his "exactly [what do] I have to do to work around this problem?" question are the following:
1) how dose the configuration of JBoss 7 look like? Do I just need to add the recover-plugin class definition?
Michael indicates you need that recover-plugin class definition AND the <validation> section
2) do I need a nightly build version of JBoss7 for the recover-plugin xml element? Or it is possible, just exchange the module ironjacamar in JBoss 7.1.1 with a newer version? Because if I switched to ironjacamar-1.1.0.Beta1, JBoss gave an error during booting: "java.lang.NoClassDefFoundError: org/jboss/jca/common/api/metadata/ds/DataSource$Tag".
Michael seems to indicate you do not need a new ironjacamar version - is that correct Michael, or did I misunderstand?
3) which version of postgres jdbc driver do I need? Do I have to wait for the release of 9.2?
Doesn't appear to require the new driver.
Please correct me.
please refer to the thread https://community.jboss.org/thread/205081. I followed the instruction of Tom and could build JBoss AS 7.1.1 with JBTM 4.6.5 to avoid the memory leak problem.
To your questions: both recovery-plugin AND validation are needed; new ironjacamar version and new postgres jdbc driver are NOT needed.