OpenEJB, Maven and Hibernate problem

2008-08-20 Thread Marcin Kwapisz
Hi, We have configured our Maven project to use different JPAs: Toplink, Hibernate and OpenJPA. We have managed to make them work properly and we have chosen Toplink as our primary JPA. After extensive application development I checked if other providers still work. And there was a surprise -

RE: OpenEJB, Maven and Hibernate problem

2008-08-20 Thread Marcin Kwapisz
Hi, I tried to reproduce the problem with Hibernate and OpenEJB. The previous message in the log file was: org.apache.openejb.OpenEJBException: createApplication.failed [D:\JavaProg\MySamples\EJB\Sample5\JEEMavenProject2\EjbServiceCore\targ et\classes]: null Now I get:

[Newbie] DataSource configuration under Tomcat

2008-08-20 Thread Luis Fernando Planella Gonzalez
Hi all! I'm struggling for 2 whole days with OpenEJB embedded in Tomcat, and I'm missing something VERY basic: How can I setup a DataSource for my application? I've seen the Resource in many pages, but it's for the openejb.conf file, and it does not exist on the embedded OpenEJB. I've tried to

Re: [Newbie] DataSource configuration under Tomcat

2008-08-20 Thread Luis Fernando Planella Gonzalez
I found it. The conf is in tomcat_root/conf/openejb.xml This should definitely be added in the docs... Luis Fernando Planella Gonzalez [EMAIL PROTECTED] Luis Fernando Planella Gonzalez escreveu: Hi all! I'm struggling for 2 whole days with OpenEJB embedded in Tomcat, and I'm missing

Re: JAAS in embedded OpenEJB

2008-08-20 Thread Luis Fernando Planella Gonzalez
Well, after some debugging, I've realized that a TomcatSecurityService is used, which uses the tomcat's engine default realm (the one that uses tomcat-users.xml). The point is: how to configure it to use my context-specific realm? I have a JAASRealm configured to use my LoginModule, just didn't

Re: JAAS in embedded OpenEJB

2008-08-20 Thread Karan Malhi
Luis, I do not know much about this part of OpenEJB, but can definitely try and look into it after work today. On Wed, Aug 20, 2008 at 2:54 PM, Luis Fernando Planella Gonzalez [EMAIL PROTECTED] wrote: Well, after some debugging, I've realized that a TomcatSecurityService is used, which uses

Re: JAAS in embedded OpenEJB

2008-08-20 Thread Luis Fernando Planella Gonzalez
I would appreciate your help very much. Here is the point I'm stuck: * I've created a JAASRealm for my context under tomcat, which uses a custom login module * I've successfully authenticated in tomcat, and have my roles, e.g, user * When accessing an EJB, the @RolesAllowed(user) denies access.

Re: Functional testing with OpenEJB + Jetty + Selenium

2008-08-20 Thread Jonathan Gallimore
I've had a go at writing this up here: http://cwiki.apache.org/confluence/display/OPENEJB/Functional+testing+with+OpenEJB%2C+Jetty+and+Selenium (I think it'll sync to the main site automatically after a few hours), and added a really basic sample app too. Jon Karan Malhi wrote: This is

Re: Functional testing with OpenEJB + Jetty + Selenium

2008-08-20 Thread Karan Malhi
What a beautiful piece of documentation and such a cool idea. Awesome. On Wed, Aug 20, 2008 at 5:06 PM, Jonathan Gallimore [EMAIL PROTECTED] wrote: I've had a go at writing this up here: http://cwiki.apache.org/confluence/display/OPENEJB/Functional+testing+with+OpenEJB%2C+Jetty+and+Selenium(I

Re: Functional testing with OpenEJB + Jetty + Selenium

2008-08-20 Thread Karan Malhi
Would be cool if this would turn into an article for infoQ or TSS On Wed, Aug 20, 2008 at 5:40 PM, Karan Malhi [EMAIL PROTECTED] wrote: What a beautiful piece of documentation and such a cool idea. Awesome. On Wed, Aug 20, 2008 at 5:06 PM, Jonathan Gallimore [EMAIL PROTECTED] wrote: I've

Re: Problem between OpenEJB embedded threading model and Swing Threading model

2008-08-20 Thread David Blevins
On Aug 7, 2008, at 5:42 PM, David Blevins wrote: We can certainly hack up something in this regard. Quick question, what kind of security tracking would be good for you? I.e. are we talking concurrent users or one user at a time? We've got some code in the openejb-client package that's

Re: Web Admin for OpenEJB3

2008-08-20 Thread David Blevins
On Aug 18, 2008, at 2:39 AM, Nithiraj wrote: I'm a new user to OpenEJB3. Can some one here please let me know where I can get the webadmin module for OpenEjb3? I'm not sure what state it's in for the standalone server. However there's nearly an identical copy of it in the Tomcat

Re: Use JAXB generated class as JAX-WS request parameter

2008-08-20 Thread rde8026
No worries; actually its my fault for not updating the question since I was able to fix this myself. It ended up being a namespace issues with JAXB. Since my XSD didn't have a targetNamespace it seems that was causing some issue in passing the object back to the MDB. Anyway; thanks for getting