Re: ApplicationException annotation ignored

2008-11-05 Thread David Blevins
On Nov 5, 2008, at 4:41 PM, Kory Markevich wrote: I have a fairly simple EAR that I'm developing using Geronimo 2.1.2 and thus whatever version of OpenEJB it uses, making use of EJB 3. I've been trying to flag an exception with the @ApplicationException annotation but it doesn't seem to

ApplicationException annotation ignored

2008-11-05 Thread Kory Markevich
I have a fairly simple EAR that I'm developing using Geronimo 2.1.2 and thus whatever version of OpenEJB it uses, making use of EJB 3. I've been trying to flag an exception with the @ApplicationException annotation but it doesn't seem to be processed. I've been using Eclipse 3.4 to develop it.

Re: JUnit question

2008-11-05 Thread David Blevins
On Nov 5, 2008, at 2:50 PM, ericp56 wrote: That's already included in my classpath via openejb-core-3.0.jar (in Geronimo server). Not sure I follow. The embeddable EJB container functionality for unit testing doesn't use the Geronimo server. Also Geronimo doesn't use commons-dbcp as i

Re: JUnit question

2008-11-05 Thread ericp56
That's already included in my classpath via openejb-core-3.0.jar (in Geronimo server). -- View this message in context: http://www.nabble.com/JUnit-question-tp20306283p20351506.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to set Java / JDBC / SQL type mapping with Open EJB ?

2008-11-05 Thread David Blevins
On Nov 4, 2008, at 7:52 AM, Olivier THIERRY wrote: But it nevers returns any result, while I have no problem running the similar queries with string or int columns instead of float one ! So it's just a problem with floats. Moreover using Hibernate console, I could make it work but I had to

Re: JUnit question

2008-11-05 Thread David Blevins
On Nov 4, 2008, at 3:05 PM, ericp56 wrote: org .eclipse .jdt .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: 196) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource I'm guessing it's something simple with my configuration... That class i

Re: JUnit question

2008-11-05 Thread Jacek Laskowski
On Wed, Nov 5, 2008 at 12:05 AM, ericp56 <[EMAIL PROTECTED]> wrote: > My current problem is "caused by:" > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/dbcp/BasicDataSource Add commons-dbcp-*.jar to CLASSPATH and start it over. Jacek -- Jacek Laskowski Notatnik Projektanta J