Re: Maven coordinates for EJB stand-alone client?

2013-04-28 Thread David Blevins
On Apr 28, 2013, at 9:37 AM, Philippe Marschall kus...@gmx.net wrote: On 27.04.2013 22:22, David Blevins wrote: On Apr 27, 2013, at 4:23 AM, Philippe Marschall kus...@gmx.net wrote: On 23.04.2013 14:18, Kevan Miller wrote: On Apr 22, 2013, at 2:51 PM, Philippe Marschall kus

Re: Maven coordinates for EJB stand-alone client?

2013-04-27 Thread David Blevins
On Apr 27, 2013, at 4:23 AM, Philippe Marschall kus...@gmx.net wrote: On 23.04.2013 14:18, Kevan Miller wrote: On Apr 22, 2013, at 2:51 PM, Philippe Marschall kus...@gmx.net wrote: Hi I want to call remote EJBs from a stand alone Java SE application and need to know the maven

Book: Apache Geronimo 2.1: Quick Reference

2009-12-23 Thread David Blevins
Just noticed this via a Google Altert. http://www.pr-inside.com/learn-to-develop-java-ee-r1644205.htm Congrats Manu and Vamsi! Nice work! -David

Re: ejb pool stays at 20 threads?

2009-09-28 Thread David Blevins
Hi Eric, The PoolSize number you adjusted is for the stateless container and affects the number of stateless bean instances we will instantiate and keep ready for method invocations. You want to adjust the EJBNetworkService 'threads' attribute as shown below: On Sep 19, 2009, at 11:04

Re: How does the Client Container work?

2009-09-28 Thread David Blevins
On Sep 27, 2009, at 3:42 AM, Juergen Weber wrote: as I understand, the Client Container is to provide a mapping for EJB references via [geronimo-]application-client.xml. Is this done on the client side or server side? Where is the XML file parsed? Or is the Client Container something

Re: Spring in Geronimo

2009-09-11 Thread David Blevins
On Sep 11, 2009, at 3:26 AM, Quintin Beukes wrote: I had a look at the Spring in OEJB 3.1. Works well. Very nice feature. My question is how I can get the same running in Geronimo. Since I'm not initializing OpenEJB myself I figured I would need to get Geronimo to initialize it somehow, and

Re: A question about jndi

2009-08-28 Thread David Blevins
On Aug 26, 2009, at 3:23 AM, Rodger wrote: Hi, I have a remote interface my.test.Echo and a ejb my.test.EchoBean. I don't do any configuration for the jndi in deployment descriptor and deployment plan. Then using @EJB(name=my/test/Echo) private Echo echo; can find the ejb and run

Re: OpenEJB encountered an unknown system error in container:

2009-07-01 Thread David Blevins
On Jun 23, 2009, at 7:46 AM, Michael Simons wrote: Caused by: javax.resource.spi.LocalTransactionException: Unable to rollback at org .tranql .connector .jdbc .ManagedJDBCConnection .localTransactionRollback(ManagedJDBCConnection.java:113) at

Re: set openejb jndi format in geronimo

2009-06-04 Thread David Blevins
Hey Ivan, if you had time to update this page with the working solution, that would be great: http://cwiki.apache.org/GMOxDEV/client-jndi-names.html On Jun 3, 2009, at 12:24 AM, Ivan wrote: OK, try this: set GERONIMO_OPTS=-Dopenejb.jndiname.format={ejbName}/ {interfaceClass} geronimo.bat

Re: JPA Jars/ Hibernate/ EJB

2009-04-02 Thread David Blevins
On Apr 1, 2009, at 9:12 PM, James D Carroll wrote: I'm looking to write an app that will probably start as Swing - Hibernate - DB app, but might move to a GWT- Servlet - EJB - DB app and was thinking that using JPA Annotations would save some work. 1. Would it work? 2. Where do I get the

Re: Injecting EJBs into Wicket

2009-03-31 Thread David Blevins
Construct the InitialContext() with the factory org.apache.openejb.client.LocalInitialContextFactory. Creating an no- arg InitialContext in a webapp will give you the spec defined java:comp/env namespace which only contains the entries you explicitly have declared via @EJB in a servlet,

EJB 3.1 PFD2 is up for download

2009-03-11 Thread David Blevins
The JSR #318 Expert Group has put another Proposed Final Draft (PFD) up for download: Enterprise JavaBeans 3.1 http://jcp.org/aboutJava/communityprocess/pfd/jsr318/index.html Note this is still a draft and no the final spec. Have a look at chapter 22 and see if anything feels familiar.

Re: CMP exception: Attempt to cast instance xxx [java.lang.String] to PersistenceCapable failed. Ensure that it has been enhanced.

2009-03-11 Thread David Blevins
On Mar 10, 2009, at 7:55 AM, Phili wrote: @Stateless @WebService(serviceName = TestWS, portName = TestWSPort, endpointInterface = , targetNamespace = xxx) public class TestWSBean implements TestWS { @PersistenceContext(unitName=TestPU)

Re: ejb Couldn't write EjbResponse to output stream

2009-02-19 Thread David Blevins
First thing to check is that the openejb-client jar version in your client app matches the openejb-client jar version in the Geronimo repository/ directory. -David On Feb 19, 2009, at 6:55 PM, Linda77 wrote: Hello, When I run my j2ee module on Geronimo2.0.2, I met some failure. My

Fwd: Deploy Testing Security Example in Geronimo

2009-02-12 Thread David Blevins
Hi Winni, That's a recent change in Geronimo which deals with a potential issue where security constraints are not enforced due to no security being configured. I'm not sure where the best doc is for that. Perhaps one of the other devs might have a quick link to share. -David Begin

Re: JNDI lookup fails after Geronimo restarted

2009-02-12 Thread David Blevins
) at edu.uiuc.fs.ejb.testRemote.testEjb(testRemote.java:26) at edu.uiuc.fs.ejb.testRemote.main(testRemote.java:35) On Fri, Jan 30, 2009 at 3:29 PM, David Blevins david.blev...@visi.com wrote: Hi Jazon, What version of Geronimo are you using and can you post the stacktrace? -David On Jan 30, 2009

Re: JNDI lookup fails after Geronimo restarted

2009-01-30 Thread David Blevins
Hi Jazon, What version of Geronimo are you using and can you post the stacktrace? -David On Jan 30, 2009, at 7:11 AM, Jazon wrote: Hello, I have the following test program, which runs fine to lookup a remote stateless session bean. But the problem is when my program is running, I restart

Re: ejb client

2008-12-29 Thread David Blevins
I'd backup and go with the suggestion from Shawn Jiang. You're really close. It's just: Properties env = new Properties(); env .put (java .naming .factory .initial,org.apache.openejb.client.RemoteInitialContextFactory); env.put(java.naming.provider.url,

Re: EJB unit testing JPA projects

2008-11-18 Thread David Blevins
On Nov 17, 2008, at 7:24 AM, ericp56 wrote: Hi All, OpenEJB unit testing works great. Thanks! However, I am now trying to unit test a JPA EJB and get the following error: Apache OpenEJB 3.0build: 20080408-04:13 http://openejb.apache.org/ INFO - openejb.home =

Re: Ear deploys as an EJB JAR

2008-10-17 Thread David Blevins
On Oct 17, 2008, at 10:08 AM, Juergen Weber wrote: Hi, I tried to deploy my first ear into 2.1.3 and ran into the same problem as http://www.nabble.com/Ear-deploys-as-an-EJB-JAR--td11589548s134.html#a11589548 ear is not listed in the console, ejb is under ejbs, but does not work.

Re: Stateful SessionBean has timed-out

2008-09-19 Thread David Blevins
On Sep 19, 2008, at 12:32 AM, rbaumhof wrote: So, i think the reason might be that the timeouts for the session and the stateful ejb's may differ. Any hints if i can correct this by mysel? The stateful bean timeout defaults to 20 minutes, but you can set the timeout to anything you like.

Re: A little help with openejb-jar.xml

2008-09-05 Thread David Blevins
On Sep 5, 2008, at 7:50 AM, ericp56 wrote: I have an EJB that is successfully injected into my web service application: package com.abc.ivr.scheduler; @Stateless public class CallScheduler implements ICallScheduler it contains an EJB annotation for another EJB: @EJB private

Re: Difference in environments?

2008-09-05 Thread David Blevins
On Sep 5, 2008, at 9:17 AM, ericp56 wrote: Hello, I am running Windows XP, Geronimo 2.1.2 and Eclipse Ganymede. I have some applications playing nicely together: ProjectEJB - contains my EJBs ProjectWeb - contains Web services and web pages, injecting the Project EJBs. I export the EJB

Re: Are J2EE 1.4 applications still supported?

2008-08-11 Thread David Blevins
On Aug 8, 2008, at 7:20 AM, weberj wrote: David Blevins wrote: We definitely support those older descriptor formats. We have some fancy code in there so that if you don't supply the namespace we'll guess it, but looks if the namespace was supplied we assume it's right -- i.e. we assume

Re: Are J2EE 1.4 applications still supported?

2008-08-11 Thread David Blevins
On Aug 11, 2008, at 3:33 PM, David Blevins wrote: On Aug 8, 2008, at 7:20 AM, weberj wrote: David Blevins wrote: We definitely support those older descriptor formats. We have some fancy code in there so that if you don't supply the namespace we'll guess it, but looks if the namespace

Re: JNDI name for Java client to 2.1 EJB

2008-08-11 Thread David Blevins
On Aug 8, 2008, at 7:16 AM, weberj wrote: Now I got to run the bank sample http://cwiki.apache.org/confluence/display/GMOxDOC12/EJB+sample+application+(1.2+Ok) The client also throws [java] javax.naming.NameNotFoundException: /org.apache.geronimo.samples.bank.ejb.BankManagerFacadeBean

Re: Are J2EE 1.4 applications still supported?

2008-08-07 Thread David Blevins
On Aug 7, 2008, at 5:07 AM, weberj wrote: I tried the bank sample (EJB sample application (1.2 Ok) ) from http://cwiki.apache.org/confluence/display/GMOxDOC12/EJB+sample+application+(1.2+Ok) I got it to build (I appended my modified build.xml) with geronimo-jetty6-javaee5-2.1.2 but on

Re: JNDI name for Java client to 2.1 EJB

2008-08-05 Thread David Blevins
On Aug 5, 2008, at 11:01 AM, chi.botron wrote: I had the same problem. It looks like the jndi-name element is totally ignored in the deployment descriptor. It was in Geronimo 2.0, but it should work in Geronimo 2.1. G 2.1 also has a new jndi element for specifying the name [1] which

Re: Is java.util.date not supported by remote interface??

2008-08-04 Thread David Blevins
Totally thought I did that. Thanks for the backup. -David On Aug 3, 2008, at 7:58 PM, Kevan Miller wrote: Cross-posting to OpenJPA list... Hopefully, they'll have some insight... --kevan On Aug 1, 2008, at 6:05 PM, David Blevins wrote: On Aug 1, 2008, at 12:18 PM, rbaumhof wrote

Re: Is java.util.date not supported by remote interface??

2008-08-01 Thread David Blevins
On Aug 1, 2008, at 12:18 PM, rbaumhof wrote: Hello at Geronimo, i have a fine working geronimo web application. All calls from tomcat are passed to the ejb container by local interfaces. Now i want to create for special users a second java swing application. This of course works with

Re: Stateful Session Bean Problem Geronimo 2.1.1: Passivation Failed

2008-07-11 Thread David Blevins
On Jul 10, 2008, at 10:36 PM, Mario Kofler wrote: thanks, if the persistence provider doesn't want it serialized, there's nothing we can do about it. so that means that it is not a bug but the persistence provider hinders a passivation? Not a container bug but a bean bug. The

Re: Stateful Session Bean NoSuchObjectException

2008-07-10 Thread David Blevins
On Jul 9, 2008, at 9:12 PM, fmchale wrote: Thanks Kevan this works great, do you know if this has to be set for the whole of openejb or can it be set on a ejb by ejb basis? It's possible to configure a second stateful container with a different timeout and deploy some beans in the no

Re: Stateful Session Bean Problem Geronimo 2.1.1: Passivation Failed

2008-07-10 Thread David Blevins
On Jul 10, 2008, at 1:05 AM, Mario Kofler wrote: hello, first, thanks a lot for helping out. of course the problem can lie in my application too, but as i reduced it to the most important parts, i cannot see where. Are you using a Container-Managed EntityManager (i.e. looked up or

Re: Stateful Session Bean Problem Geronimo 2.1.1: Passivation Failed

2008-07-09 Thread David Blevins
On Jul 9, 2008, at 3:43 AM, the666pack wrote: hello, my old question about stateless session beans was posted here http://www.nabble.com/Re%3A-Geronimo-2.0.2---OpenEJB-%22Passivation-Failed%22-td16144020s134.html#a16024338 it was concerned about the passivation bug in the geronimo 2.0.2

Re: Injecting EJB directly into a JSP

2008-07-02 Thread David Blevins
On Jul 2, 2008, at 11:27 AM, purdticker wrote: So what's the recommended solution to pulling data from database and giving that ResultSet to jsp? Currently, I'm using struts, I'd like to be able to access my datasource from the action class and throw it in request.setAttribute().

Re: JPA, entities and EJB3

2008-06-12 Thread David Blevins
at 7:44 AM, David Blevins [EMAIL PROTECTED] wrote: On Jun 9, 2008, at 1:43 AM, Phani Madgula wrote: Hi, I have tried to play with jta-datasource and non-jta-datasource as follows. I have the following peristence.xml in a web application. [...] persistence-unit name=Tutorial transaction

Re: JPA, entities and EJB3

2008-06-11 Thread David Blevins
On Jun 9, 2008, at 1:43 AM, Phani Madgula wrote: Hi, I have tried to play with jta-datasource and non-jta-datasource as follows. I have the following peristence.xml in a web application. [...] persistence-unit name=Tutorial transaction- type=RESOURCE_LOCAL [...] In the servlet,

Re: DeploymentException: Module was not an EJB: EntitiesES.jar

2008-06-06 Thread David Blevins
On Jun 6, 2008, at 11:23 AM, hofmanndavid wrote: Hmm, I have exactly the same problem. Doesn't the EJB3 spec state that there shoud be at least one session bean in a ejb module ? Yes. It has to have an ejb-jar.xml (with at least on ejb in it) or at least one bean annotated with

Re: Antwort: EJB unit testing available

2008-06-05 Thread David Blevins
. The Update of the View-PAO does not work. Any suggestions ??? Thanx Josef David Blevins [EMAIL PROTECTED] 21.05.2008 05:12 Bitte antworten an user@geronimo.apache.org An user@geronimo.apache.org Kopie Thema EJB unit testing available I just wanted to put this on everyone's radar in case

Re: SImple stupid EJB example?

2008-06-03 Thread David Blevins
On Jun 3, 2008, at 11:53 AM, Peter L. Berghold wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Viet Nguyen wrote: I suggest you look at this sample Thanks! That's exactly the sort of thing I was looking for. Also, if you're new to EJB I'd recommend setting up some test cases

Re: Remote EJB Connect - Initial Context, host unknown Exception

2008-05-20 Thread David Blevins
On May 16, 2008, at 10:39 AM, ApolloX wrote: I'm trying to setup an EJB connection to a remote server but am getting a host unknown exception. I tried setting it to the local server itself (127.0.0.1) but the exception is the same regardless. final Properties properties = new

Re: Question on letting several EJB3 SLSB timer beans share one interface class

2008-05-20 Thread David Blevins
Good post, Jay! On May 14, 2008, at 6:51 PM, Jay D. McHugh wrote: Hello again. (This is a resend because I left out part of my first paragraph by accident) Just in case someone else needs to do this. And, I must say that it is probably almost always a bad thing to do. In most cases,

EJB unit testing available

2008-05-20 Thread David Blevins
I just wanted to put this on everyone's radar in case it wasn't already known. Those of you writing EJB applications run on Geronimo have an extra advantage that those applications can be easily unit tested by embedding the Geronimo EJB container (OpenEJB) into your test case. This sort

Re: JEE application client

2008-04-16 Thread David Blevins
On Apr 16, 2008, at 12:04 AM, David Jencks wrote: On Apr 15, 2008, at 5:17 PM, David Blevins wrote: On Apr 15, 2008, at 8:14 AM, David Jencks wrote: I don't think the ejb-link will work in this situation. I think it worked in g 1.x and openejb 2.x but from some comments I think I

Re: JEE application client

2008-04-15 Thread David Blevins
On Apr 15, 2008, at 8:14 AM, David Jencks wrote: I don't think the ejb-link will work in this situation. I think it worked in g 1.x and openejb 2.x but from some comments I think I remember from david blevins I think the ejb-links only work within an ear with g 2.x/openejb 3.x

Re: how to run Ejb program on geronimo

2008-04-09 Thread David Blevins
On Apr 9, 2008, at 2:00 AM, atul12345 wrote: Dear sir, Now my problem is i not want to use system's specified jndi name, now i want to use any client give any own jndi name and server without any [roblem lookup that name.so please anyone tell me what step i have to follow to

Re: how to run Ejb program on geronimo

2008-04-09 Thread David Blevins
step i have to follow to creating own jndi name.. Definitely, make sure your file is called openejb-jar.xml rather than openejb.xml -David David Blevins wrote: On Apr 9, 2008, at 2:00 AM, atul12345 wrote: Dear sir, Now my problem is i not want to use system's specified

Re: problem JNDI lookup in geronimo

2008-04-07 Thread David Blevins
On Apr 7, 2008, at 8:36 AM, CG wrote: Hi all, After googling again, I have solved the problem by changing the jndi.properties , localhost:4201 to 127.0.0.1:4201. You can use localhost as a host, you just need to add ejbd:// localhost:4201 due to the way URIs are parsed. In the openejb 3.0

Re: Exception by using EJB3 on Geronimo 2

2008-04-04 Thread David Blevins
Additionally, you'll want to update your client code as follows: public void runTest() throws Exception { Properties p = new Properties(); p.put(java.naming.factory.initial, org.apache.openejb.client.RemoteInitialContextFactory); p.put(java.naming.provider.url,

Re: Geronimo 2.1 and Seam

2008-03-14 Thread David Blevins
On Mar 11, 2008, at 5:09 PM, Burt Prior wrote: Hi David, Got it! Applied the patch and everything works great with no errors! Hello Geronimo and Seam! (with not a single error!). Our team is celebrating! Great! We're trying very hard to get OpenEJB 3.0 out the door and tested for

Re: Geronimo 2.0.2 - OpenEJB Passivation Failed

2008-03-11 Thread David Blevins
On Mar 10, 2008, at 4:38 AM, the666pack wrote: David Blevins wrote: You could implement serializable on your Entity beans, but it's ill advised in almost any situation to have the data passivated with your bean as you wind up with a private, detached, copy of the data that may

Re: Geronimo 2.1 and Seam

2008-03-11 Thread David Blevins
David Blevins wrote: Ok, I've been digging around in the TCK and chatting with Gavin offline. Looks like this is an issue on our end after all. I had originally thought @Destroy mapped to @PreDestroy, which would definitely result in the IllegalStateException, but @Remove is very different

Re: Geronimo 2.1 and Seam

2008-03-10 Thread David Blevins
/Community/Seam2JEE5CompliantWithTheTCKRequirements I was wondering if you had a moment, could you add your $0.02? It appears he and his team will be looking into this issue. Thanks very much, .Burt djencks wrote: I talked with david blevins about this a little more. From the evidence available

Re: Geronimo 2.0.2 - OpenEJB Passivation Failed

2008-03-09 Thread David Blevins
On Mar 9, 2008, at 11:41 AM, Mario Kofler wrote: thanks! unfortunately i cannot wait til it is coming in a release. the problem i have got now is that my SFSB implements Serializable but i still keep getting the error!!! very unfortunate. i realized that the error is not coming after

Re: Geronimo 2.1 and Seam

2008-03-06 Thread David Blevins
On Mar 6, 2008, at 1:30 PM, Burt Prior wrote: ... 13:16:36,385 INFO [OpenEJB] invoking method create on jboss-seam.jar/EjbSynchronizations 13:16:36,385 INFO [OpenEJB] finished invoking method create 13:16:36,495 INFO [Transaction] TX Required: Started transaction [EMAIL PROTECTED]

Re: Geronimo 2.0.2 - OpenEJB Passivation Failed

2008-02-24 Thread David Blevins
On Feb 24, 2008, at 4:24 AM, the666pack wrote: [exec] 13:04:31,865 INFO [OpenEJB] Passivation failed [exec] java.io.NotSerializableException: vt.bean.stateful.WriteDataBean [exec] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) This is an

[POLL] 2.1 Documentation (NEED YOUR FEEDBACK)

2008-02-01 Thread David Blevins
Hi All, issuing an all points community bulletin! If you've ever asked a question and gotten and answer, now is your time to give back a little something :) We have a list of things to document so long that even a thousand monkeys with typewriters couldn't create it. We need you to tell

Re: O'Reilly EJB 3.0 Book Question

2007-12-30 Thread David Blevins
On Dec 30, 2007, at 5:04 AM, Garth Keesler wrote: I use the O'Reilly EJB 3.0 book extensively. It is really in two parts: the EJB half and the JBoss half. Should I be able to follow the EJB half pretty closely with GMO or are there differences that will make that not very useful? Right,

Re: how to explain ejb to use special library?

2007-12-30 Thread David Blevins
On Dec 28, 2007, at 2:50 PM, SergZ wrote: in openejb-jar.xml there is description about library to use saaj- impl.jar sys:dependency sys:groupIdcom.sun.xml.messaging.saaj/sys:groupId sys:artifactIdsaaj-impl/sys:artifactId

Re: deploy a client application in geronimo 2.0.2

2007-12-19 Thread David Blevins
On Dec 18, 2007, at 7:46 AM, ivanrc wrote: Hello, Where I can find samples of the xml descriptors (client- application.xml and geronimo-application-client.xml) about and application that running in geronimo 2.0.2? I´ve got this client-application.xml but dont work in geronimo 2.0.2 ?xml

Re: isCallerInRole(...) always return false

2007-12-18 Thread David Blevins
On Dec 18, 2007, at 12:54 PM, cvx22 wrote: Hi gurus, I'm just starting my experience with javaee and apache Geronimo. The first is EJB. I created simple session bean based on MyPhonebookBean from Geronimo's pages. I spen't much time on login configuration and it works. now i have a

Re: Pass EJBObject - serialization/deserialization

2007-12-01 Thread David Blevins
On Dec 1, 2007, at 4:34 AM, Tomasz Mazan wrote: Driver which receives JmsRequest and send JmsResponse have to get some data from JmsRequest, but Handle is only get from JmsRequest and put to JmsResponse. In fact it doesn't, but it should. Where is cause of that JMSException ?

Re: RMI in Geronimo is complicated!!

2007-11-29 Thread David Blevins
On Nov 29, 2007, at 1:07 PM, kuesley wrote: David, I do not access EJB. I need expose a service using RMI. But I never found a tutorial or example show it. Ahh. Geronimo doesn't offer an RMI service. If you need object distribution, EJB is the Java EE supported approach. -David

Re: RMI in Geronimo is complicated!!

2007-11-29 Thread David Blevins
On Nov 29, 2007, at 2:02 PM, kuesley wrote: David, thanks for yours answer. But, if i had a application with many class and methods deployed using RMI and want to put inside application service like Geronimo or JBoss or any. Is this possible? Or i will need to create a EJB Session ?

Re: Deployer needs internet access?

2007-10-02 Thread David Blevins
This looks like a bug. Filed a jira here: https://issues.apache.org/ jira/browse/OPENEJB-700 -David On Sep 24, 2007, at 9:37 AM, Zakharov, Vasily M wrote: org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file:

Re: message-driven-destination tag doesn't work

2007-10-02 Thread David Blevins
Score 1 more for you :) Found another bug. I filed a jira here http://issues.apache.org/jira/browse/OPENEJB-701 Essentially the tag was removed as of EJB 2.1 and replaced with this: message-driven... activation-config activation-config-property

Re: SjAS deployment problems

2007-10-02 Thread David Blevins
On Oct 2, 2007, at 3:48 PM, David Jencks wrote: sorry I missed the first time you posted :-( Me too. On Oct 2, 2007, at 5:45 AM, Zakharov, Vasily M wrote: Hi all, I'm working on enabling SPECjAppServer2004 on Geronimo, and I've encountered some problems. I already wrote to this list

Re: Setting openejb.jndiname.format via config.xml

2007-09-15 Thread David Blevins
On Sep 15, 2007, at 5:46 AM, Tomasz Mazan wrote: I would like to set property openejb.jndiname.format using var/config/config.xml. Is it possibly ? What should I put into this xml doc ? We currently don't have a way to do that via the config.xml but we can definitely add something to the

Re: Problem with referencing to beans from other ejb-jars

2007-09-15 Thread David Blevins
On Sep 14, 2007, at 7:52 AM, Tomasz Mazan wrote: I found, that JARFILE#BeanName allow to refer to independent jars, but... it's still not working It should definitely work. I'll try it myself in an example to make sure and post the example. Probably won't be able to get to that

Re: Problem with referencing to beans from other ejb-jars

2007-09-15 Thread David Blevins
On Sep 14, 2007, at 7:52 AM, Tomasz Mazan wrote: I found, that JARFILE#BeanName allow to refer to independent jars, but... it's still not working Just to make sure, your ejb jar files are in the same ear file right? -David

Re: jndi lookup in remote client for geronimo v2

2007-09-14 Thread David Blevins
On Sep 14, 2007, at 10:48 AM, vrm wrote: I'm having the exact same issue. I've spent 2 days looking around and there is no examples or documentations available for a Remote openejb client accessing an EJB on Geronimo 2. Anybody have an EAR for Geronimo2 and an Openejb-Client app

Re: Problem with referencing to beans from other ejb-jars

2007-09-13 Thread David Blevins
Hi Tomasz, I created a doc for you that describes the missing parts. http://cwiki.apache.org/OPENEJB/ejb-refs.html Keep what you have with the openejb-jar and add the parts described in this to your ejb-jar.xml. Unfortunately, while looking into this I discovered that our code for

Re: Problem with @PostConstruct in MDB

2007-09-11 Thread David Blevins
On Sep 11, 2007, at 7:05 AM, Marcin Waldowski wrote: Hello. I use Geronimo 2.0.1. When I add to my mdb code following lines: import javax.interceptor.InvocationContext; import javax.annotation.PostConstruct; @PostConstruct public void construct(InvocationContext ctx) { // do nothing }

Re: G2.0.1 @Stateless and @Stateful name parameter ignored?

2007-09-10 Thread David Blevins
On Sep 7, 2007, at 9:02 PM, Xh wrote: Hi David! There were no errors during deployment. Application deploys and starts. Bean does not work. Without name attribute, everything is OK. Not sure what you might be doing wrong, but I've created an example of both @Stateless and @Stateful beans

Re: G2.0.1 @Stateless and @Stateful name parameter ignored?

2007-09-07 Thread David Blevins
On Sep 7, 2007, at 1:14 PM, Xh wrote: Hi All! I've encountered a strange thing. I've noticed that all @State*(name=Name) definitions are ignored by Geronimo 2.0.1. Application deploys successfully, but in JNDI Viewer there are no session beans. Simple: @Stateless(name = ModuleProxy)

Re: CMP/CMR 2.1 EJBCreate EJBPostCreate

2007-09-05 Thread David Blevins
Definitely not covered by the spec -- the effective insert is definitely supposed to happen between ejbCreate and ejbPostCreate. The CMP implementation is driven by JPA so we're not really the ones who execute the SQL. Though delaying the persist till after the ejbPostCreate seems

Re: Standalone Geronimo 2.0.1 client

2007-08-29 Thread David Blevins
The jar libraries for a standalone client are just openejb- client-3.0.0-nnn.jar, the EJB spec jar, plus any other spec jars you may use (JTA, JPA, annotations). Then use these properties: Properties props = new Properties(); props.put(java.naming.factory.initial,

Re: Trying to run a client...

2007-08-29 Thread David Blevins
Another option is a standalone ejb client (i.e. not running in the app client container). For that you'd include in your classpath the openejb-client-3.0.0- nnn.jar, the EJB spec jar, plus any other spec jars you may use (JTA, JPA, annotations). And use these JNDI properties:

Re: Is there any reason to use @Remote for session bean...

2007-08-28 Thread David Blevins
On Aug 28, 2007, at 9:57 AM, Tomasz Mazan wrote: David Blevins pisze: I'll must to investigate context using servlet to find all beans, because Your advice (EJBtest-1.0.jar/CustomerFacade(Impl)/ com.your.package.CustomerFacade) hasn't helped me - I get NameNotFoundException

Re: Is there any reason to use @Remote for session bean...

2007-08-27 Thread David Blevins
On Aug 20, 2007, at 12:14 PM, David Blevins wrote: On Aug 18, 2007, at 4:34 PM, David Blevins wrote: Hmmm... Looking at the code right now I see that its actually a bit tricky to set the openejb.jndiname.format property -- normally setting it as a system property would do the trick

Re: AW: Using XDoclet to generate openejb-jar.xml

2007-08-24 Thread David Blevins
On Aug 24, 2007, at 7:57 AM, Ueberbach, Michael wrote: Hello, I followed the discussion about using XDoclet with great interest. I have been using XDoclet for the last four years to generate EJB applications and it has been very usefull all the time. But meanwhile (since EJB 3) I think

Re: AW: Using XDoclet to generate openejb-jar.xml

2007-08-24 Thread David Blevins
-tf4325175.html -David Jon David Blevins wrote: On Aug 24, 2007, at 7:57 AM, Ueberbach, Michael wrote: Hello, I followed the discussion about using XDoclet with great interest. I have been using XDoclet for the last four years to generate EJB applications and it has been very usefull all

Re: Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread David Blevins
Hi Oleg, This feature was added to the standalone client in Geronimo 2.0. -David On Aug 22, 2007, at 7:09 AM, Oleg Nitz wrote: Hi All, I am trying to set up JAAS login for standalone client. On server I have successfully deployed EAR with the following security section in

Re: Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread David Blevins
login over the openejb protocol and this should save a token in the client that identifies the server Subject. I don't know if anyone has tested this with a non-ee client but I don't know of any reason it shouldn't work. Maybe david blevins has more of an idea if anything else needs

Re: Is there any reason to use @Remote for session bean...

2007-08-21 Thread David Blevins
On Aug 20, 2007, at 1:40 PM, Tomasz Mazan wrote: David Blevins pisze: and try to get remote SB with method this.ctx.lookup(EJBtest-1.0.jar/CustomerFacade); and get instance of org.apache.openejb.client.JNDIContext.. where is my session bean?! I think you need to append the name

Re: Is there any reason to use @Remote for session bean...

2007-08-18 Thread David Blevins
On Aug 17, 2007, at 3:51 AM, Tomasz Mazan wrote: ..if there's no global jndi context and I can't get SBean within my standalone java application client? In addition - there's no chance to run old EJB2 application with remote client on Geronimo 2.0. May I'm wrong - so, please help me to

Re: OpenEJB application client problem

2006-07-17 Thread David Blevins
Just a note on narrowing. The spec says you should narrow, but when using the org.openejb.client.RemoteInitialContextFactory, you never have to. We use dynamic proxies which don't require narrowing. -David On Jul 13, 2006, at 10:05 PM, Lasantha Ranaweera wrote: Hi Isuru, It looks you

Re: [announce] Apache Geronimo welcomes Joe Bohn as our newest committer

2006-06-20 Thread David Blevins
Way to go, Joe! -David On Jun 20, 2006, at 7:47 AM, Sachin Patel wrote: In recognition of his contributions to the Apache Geronimo community, the Geronimo PMC is proud to announce the committership of Joe Bohn. Joe has contributed in many areas, including the console and as of recent,

New Feature Wednesday

2006-05-10 Thread David Blevins
All, I've revived our script that creates unstable builds. Further, I've hooked it up to run every Wednesday at 6am PST. I chose Wednesday as it gives developers a couple days into the week to try and get features in that they'd like people to try out. It also gives a couple days in

Re: Looking up the datasource in a session bean constructor

2006-04-05 Thread David Blevins
On Apr 5, 2006, at 4:07 AM, Siraj Mohamed wrote: Hi All, Is it not possible looking up the datasource in a session bean’s constructor? Nope. You're stuck with doing it in your ejbCreate method unfortunately. -David

Re: User Feedback Request -- this means you!

2006-03-29 Thread David Blevins
Very excellent feedback everyone! Keep it coming. Don't be shy. And definitely post your top 5 even if someone else has already covered your items. The number of times we see certain things mentioned is a big indicator of demand. -David

User Feedback Request -- this means you!

2006-03-28 Thread David Blevins
and downloaded Geronimo and had to give up after an hour of no progress, let us know what we might do! It's all about you. Best Regards, David Blevins

Re: Deploy Tool: deploy vs redeploy

2006-03-27 Thread David Blevins
That seems reasonable to me. On Mar 27, 2006, at 11:29 AM, Dain Sundstrom wrote: +1 -dain On Mar 24, 2006, at 4:54 PM, Aaron Mulder wrote: Currently if you use the command-line deploy tool, you have to specify different deploy commands depending on whether the module is already deployed.

Re: OT: kodo ejb3 will become opensource

2006-02-15 Thread David Blevins
On Feb 14, 2006, at 4:00 PM, Werner Punz wrote: under the ASF license Neelan Choksi: Yes - the project is called Open JPA. Open JPA will include a significant portion of the Kodo code base that will be open sourced, specifically the Kodo kernel and the technical preview of the EJB 3

[ANN] Geronimo 1.0 milestone 4 released

2005-08-09 Thread David Blevins
Releases is available at: http://cvs.apache.org/dist/geronimo/1.0-M4 Significant Changes Since the M3 Release * EJB support is complete * Web Services support is complete * JSR-77 support, including the Management EJB * Securty configuration has

Re: proposal for new site

2005-06-07 Thread David Blevins
On Mon, Jun 06, 2005 at 09:19:08PM -0400, Geir Magnusson Jr. wrote: The upside is that it takes 10 seconds to fully generate, so adding content is a breeze. That right there is enough for me. A definite step in the right direction. -David

Re: proposal for new site

2005-06-07 Thread David Blevins
On Tue, Jun 07, 2005 at 05:59:26AM -0400, Geir Magnusson Jr. wrote: On Jun 7, 2005, at 3:49 AM, David Blevins wrote: On Mon, Jun 06, 2005 at 09:19:08PM -0400, Geir Magnusson Jr. wrote: The upside is that it takes 10 seconds to fully generate, so adding content is a breeze

Re: proposal for new site

2005-06-07 Thread David Blevins
a dep on clogging, for example, but I wouldn't consider that a collaboration. Also, I'll summarize the roadmap discussion and put that to the dev list and then to the site... geir On Jun 7, 2005, at 1:30 PM, David Blevins wrote: On Tue, Jun 07, 2005 at 05:59:26AM -0400, Geir

Re: Website possibilities

2005-05-26 Thread David Blevins
On Sat, May 21, 2005 at 11:25:54PM +0200, Jacek Laskowski wrote: David Blevins wrote: What do people think of having a website like this one? http://docs.openejb.org/Home Obviously, with a different look, but something with the same dynamic content. The main content comes from

Re: Website possibilities

2005-05-26 Thread David Blevins
effort into the areas we've ignored. -David Gianny On 21/05/2005 11:10 AM, David Blevins wrote: What do people think of having a website like this one? http://docs.openejb.org/Home Obviously, with a different look, but something with the same dynamic content. The main content

  1   2   >