Re: Error connecting OpenEJB3.0 client to OpenEJB 3.1 server.

2008-11-20 Thread Paul Spencer
ork on the code, documentation, mailing list, ... Paul Spencer [1]http://openejb.apache.org/2008/11/05/apache-openejb-31-released.html [2]http://openejb.apache.org/download.html [3]http://openejb.apache.org/remote-server.html David Blevins wrote: Hi Paul, The client and server versions have to

Re: How to use annotation in client application?

2008-11-19 Thread Paul Spencer
Manu, Is their a "client container"? Or stated another way; how can OpenEJB be configured to be a container for the client application, but services like bean declaration and authentication services be done by a remote container? Paul Spencer Manu George wrote: Hi Paul,

How to use annotation in client application?

2008-11-18 Thread Paul Spencer
in an EJB3 client? 2) Is their Maven configuration other then a dependency on openejb-client that is necessary? Paul Spencer

Error connecting OpenEJB3.0 client to OpenEJB 3.1 server.

2008-11-18 Thread Paul Spencer
ang.Thread.run(Thread.java:613) When I change openejb-client version from 3.0 to 3.1, the client successfully get the initial context and connects to the server. Is this a bug in 3.1, 3.0, or both? Paul Spencer

Re: How to maintain a schema per user?

2008-11-10 Thread Paul Spencer
Dain, I am using OpenJPA. Do you know if, and how, they support per user connections? Paul Spencer Dain Sundstrom wrote: Assuming you are using straight JDBC or a persistence framework designed for per-user connections, I believe that the

How to maintain a schema per user?

2008-11-10 Thread Paul Spencer
questions: 1) How do insure that a logged in user will only access the data in their schema? 2) How can a new schema be automatically created when user is created? Paul Spencer

Re: Artifact for openejb-core-3.0.0-beta-2?

2008-02-08 Thread Paul Spencer
Try 3.0-beta-2 Paul Spencer Alexander Saint Croix wrote: Hey guys. In my Maven build, I'm using: org.apache.openejb openejb-core 3.0.0-SNAPSHOT test I tried using 3.0.0-beta-2 and 3.0.0-beta-02, but both spit out errors: [ERROR] BUILD ERROR

Re: OpenEJB war for Tomcat 5.5

2008-01-02 Thread Paul Spencer
David, Thank you. Paul Spencer David Blevins wrote: Paul, I have basic support for Tomcat 5.5 working and checked in. Couple limitations and things to be aware of: 1. Tomcat still will not support the Servlets 2.5 API or web.xml 2. Dependency Injection not yet working for Filters

Re: EJB 3 Hello World tutorial using OpenEJB & Tomcat

2007-12-16 Thread Paul Spencer
Alex, I like the tutorials. It contained a lot of good information. Watching you tutorial start me thinking about doing my own, but not for OpenEJB. What tools did you use? Paul Spencer. Alexander Saint Croix wrote: Part 4 of the tutorial series I'm working on is done. I just finis

Re: EJB 3 Hello World tutorial using OpenEJB & Tomcat

2007-12-16 Thread Paul Spencer
Alex, I like the tutorials. It contained a lot of good information. Watch you tutorial start me thinking about doing my own, but not for OpenEJB. What tools did you use? Alexander Saint Croix wrote: Part 4 of the tutorial series I'm working on is done. I just finished a demo based on the o

Re: OpenEJB war for Tomcat 5.5

2007-12-13 Thread Paul Spencer
Dain, I will not need this before the first for the year. Paul Spencer Dain Sundstrom wrote: Sorry, been working on CXF lately. I did take a look at it while on vacation and found the biggest problem is splitting the openejb class loader between the tomcat system and shared class loaders

Re: OpenEJB war for Tomcat 5.5

2007-12-12 Thread Paul Spencer
Dain, What is the status of OpenEJB war for Tomcat 5.5? Paul Spencer Dain Sundstrom wrote: I'll take a look at it when I get back from visiting my family for Thanksgiving. -dain On Nov 19, 2007, at 8:08 AM, Paul Spencer wrote: Dain, At ApacheCon US you demonstrated the use of an Op

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Paul Spencer
David Blevins wrote: On Nov 26, 2007, at 11:26 AM, Paul Spencer wrote: David, To summarize things: Relative to testing EJBs inside a Maven executed JUnit test, any object instantiated by a class inside a JUnit test case is not "container managed" thus the object will not r

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Paul Spencer
case, and instantiated within that container will receive the benefit of DI, but the beans must be retrieve by the test class via a JNDI lookup. Now I can stop beating my head against the wall :) Thank you David and Jacek Paul Spencer David Blevins wrote: On Nov 25, 2007, at 2:09 PM, Pa

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Paul Spencer
David Blevins wrote: On Nov 26, 2007, at 12:51 AM, Jacek Laskowski wrote: On Nov 25, 2007 11:09 PM, Paul Spencer <[EMAIL PROTECTED]> wrote: Since the test is using OpenEJB as an embedded server, why is the test class not considered as a DI target? if (test class == ejb class &&

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Paul Spencer
Jacek Laskowski wrote: On Nov 25, 2007 11:09 PM, Paul Spencer <[EMAIL PROTECTED]> wrote: Since the test is using OpenEJB as an embedded server, why is the test class not considered as a DI target? if (test class == ejb class && test case == interceptor class) { // the tes

Re: Problems getting EJB via annotation in test class.

2007-11-25 Thread Paul Spencer
Jacek Laskowski wrote: On Nov 25, 2007 3:04 PM, Paul Spencer <[EMAIL PROTECTED]> wrote: 2) My source code, specifically the definition of CompanyAdminLocal, CompanyAdminReport, and CompanyAdminImpl match the injection example. That's correct, but the class - MyTestClass - that use

Re: Problems getting EJB via annotation in test class.

2007-11-25 Thread Paul Spencer
. Paul Spencer Jacek Laskowski wrote: On Nov 25, 2007 4:45 AM, Paul Spencer <[EMAIL PROTECTED]> wrote: I am trying to test an EJB3 using annotation. The problem is the injected value is always null. Dependency Injection (DI) in Java EE 5 only works for managed objects like ente

Problems getting EJB via annotation in test class.

2007-11-24 Thread Paul Spencer
configuration error, but I am not sure where the error is. Below are copies of the tests, maven pom, and annotated test class. Suggestions? Paul Spencer *** * pom.xml *** 4.0.0 com.foo.helloworld helloworld-master-pom 1.0-SNAPSHOT ../helloworld/pom.xml helloworld-ejb Hello

OpenEJB war for Tomcat 5.5

2007-11-19 Thread Paul Spencer
, Paul Spencer

Re: Missing xbean and commons-dbcp depenencies when building 3-beta1 examples

2007-10-09 Thread Paul Spencer
Dain I download "EJB 3.0 and other examples (source included)" from the download page. Paul Spencer Dain Sundstrom wrote: That's weird. Those files are located in out openejb-3rdparty-builds, which is listed in the 3.0-beta-1 tag with the url: http://svn.apache.org/re

Missing xbean and commons-dbcp depenencies when building 3-beta1 examples

2007-10-09 Thread Paul Spencer
pl.java:42) Paul Spencer

Re: How to confiigure an container managed EntityManger in an embeded server?

2007-08-28 Thread Paul Spencer
David, I am using Maven 2. If the example could include a Maven 2 based pom without inheriting a parent pom, that would be great. Paul Spencer David Blevins wrote: That looks exactly right. Let me see if I can whip up a quick example with similar settings and see if we can't figur

Re: How to confiigure an container managed EntityManger in an embeded server?

2007-08-27 Thread Paul Spencer
David, See below. David Blevins wrote: On Aug 26, 2007, at 6:44 PM, Paul Spencer wrote: If you're persistence unit was not found when we attempted to resolve the reference (created via the annotation) during the time the bean as loading, we'd throw one of these which should be

How to confiigure an container managed EntityManger in an embeded server?

2007-08-26 Thread Paul Spencer
"INFO - OpenEJB Ready.", and I can get the entityManager by creating an EntityMangerFactory then creating the EntityManager from the factory. I suspect a configuration error on my part. Where should I look? Suggestions? Paul Spencer