I'm getting this when deploying
Caused by: java.lang.NullPointerException
at
org.jboss.as.ejb3.deployment.processors.TransactionAttributeAnnotationProcessor.processClassAnnotations(TransactionAttributeAnnotationProcessor.java:85)
Let me check what the problem might be ...
On Apr 29, 2011, at 8:04 PM, Scott Marlow wrote:
Also, I think changing the jdbc url to the following might disable
their shutdownhook:
connection-url>jdbc:h2:mem:test;DB_CLOSE_ON_EXIT=FALSE,DB_CLOSE_DELAY=-1</connection-url>
On 04/29/2011 01:58 PM, Scott Marlow wrote:
> From what I can tell, using MySQL might help but some other ideas.
>
> I looked at
http://www.h2database.com/html/features.html and it seems
> that the jdbc url should be okay. We currently have:
>
> connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
>
> That should keep the H2 database open until its no longer needed. I
> wonder if H2 has a "on shutdown hook" being invoked too early.
>
> I verified that we have proper dependencies (at least for my test app):
>
http://pastebin.com/DDFEks1u
>
>
> On 04/29/2011 01:01 PM, Scott Marlow wrote:
>> On 04/29/2011 12:21 PM, Scott Marlow wrote:
>>> If you run a local database server, that might be a workaround.
>>
>> Or maybe not, if its the database pool that is getting closed, too
>> early, it won't help to use an external server.
>>
>