Re: MDB with quartz and jms
I have discovered that the error appeared because there was one MDB which contained the jboss specific dLQMaxResent property. The only was I was able to solve this is by commenting out the property in question, although I would have prefered to specify my own activationspec class in the ra.xml instead of the default JobSpec class. Nevertheless, now I have another problem: following the secutiry example from the test, I created in my test case a stateless bean named ManagerBean which is anotated with RunAs(Manager). I have also added an empty ejb-jar.xml in src/test/resources/META-INF so that the META-INF file contains now 2 files: the ejb-jar.xml and the ra.xml. The problem is that the ManagerBean is not discovered by openejb and when I look it up in the context I get a NameNotFoundException: Name ManagerBeanLocal not found. Any idea why this might happen? -- View this message in context: http://openejb.979440.n4.nabble.com/MDB-with-quartz-and-jms-tp3319390p3321159.html Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: DBCP Connection pool blocks threads on open/close connections
Andy, thanks again for your help. Changing TestOnBorrow false helped resolve blocking within dbcp. Go figure... -- View this message in context: http://openejb.979440.n4.nabble.com/DBCP-Connection-pool-blocks-threads-on-open-close-connections-tp3303674p3321286.html Sent from the OpenEJB User mailing list archive at Nabble.com.
JNDI java: -prefix
Hi, I am trying to setup JNDI path format using openejb.jndiname.format -property: properties.setProperty(openejb.jndiname.format, comp/env/{interfaceClass.simpleName}); With this I can succesfully query for example: new InitialContext().lookup(comp/env/SomeInterfaceRemoteHome); However, I am trying to apply OpenEJB into an existing project, which uses java:comp/env/SomeInterfaceRemoteHome form to get the objects. I tried adding the java: prefix as in: properties.setProperty(openejb.jndiname.format, java:comp/env/{interfaceClass.simpleName}); But querying: new InitialContext().lookup(java:comp/env/SomeInterfaceRemoteHome); Just throws me: javax.naming.NameNotFoundException: Name comp/env/SomeInterfaceRemoteHome not found. Any pointers how I could make the java:comp/env/... lookups functional? Tuukka