Problem with building 2.0.1

2008-05-29 Thread ivan
Hi! I've check out 2.0.1 sources (this versium is needed for some project), but I can not build project. [INFO] [INFO] Building Geronimo Applications :: UDDI Server Database [INFO]task-segment: [install] [INFO]

Re: Problem with building 2.0.1

2008-05-29 Thread Viet Nguyen
It seems like maven cannot delete one of the files (i.e. UddiDatabase\db.lck). Check to make sure you do not have this file open while you are executing the build command. I also noticed that you put Geronimo under F:/chechouts/geronimo/2.0.1. I recommend that you put Geronimo under a shorter

Re: Problem with building 2.0.1

2008-05-29 Thread ivan
Hi! I've done you wrote - it didn't help. File db.lck has been deleted, but file is created again and Exception comes. I removed project to f:\g-2.0.1 but nothing has changed. Ivan Pryvalov. Viet Nguyen пишет: It seems like maven cannot delete one of the files (i.e.

Re: Problem with building 2.0.1

2008-05-29 Thread ivan
Hi again! So, to build geronimo is not very important for me... I wanted just to see file TransactionImpl... But I can not find this file in project geronimo-transaction... Search in folder f:\g-2.0.1 didn't return matches. Where I can find file TransactionImpl of geronimo-version 2.0.1?

Re: Problem with building 2.0.1

2008-05-29 Thread Joe Bohn
ivan wrote: Hi again! So, to build geronimo is not very important for me... I wanted just to see file TransactionImpl... But I can not find this file in project geronimo-transaction... Search in folder f:\g-2.0.1 didn't return matches. Where I can find file TransactionImpl of

Database Pool with JPA in a Web App in G2.0.x

2008-05-29 Thread David Carew
Does anyone know how to use a datasource with JPA classes that are in a Web App ? If I put the database pool name in the jta-data-source and or non-jta-data-source elements of persistence.xml I get a Naming Exception from OpenJPA saying that the name doesn't exist in JNDI. If I put a fully

Re: Main class used to start and stop the geronimo server?

2008-05-29 Thread Moni
I am using the following command to start the geronimo server.  /usr/local/jrockit-R27.5.0-jdk1.6.0_03/jre/bin/java -javaagent:/usr/local/geronimo/bin/jpa.jar -Dorg.apache.geronimo.base.dir=/usr/local/geronimo

Re: Main class used to start and stop the geronimo server?

2008-05-29 Thread David Jencks
I think you need to include -long or --long or geronimo keeps doing weird console specific attempts to rewrite the current line. I don't think you'd have this problem with g 2.1 or later but you might have other issues running gshell from jsw (I don't know if anyone has tried this yet).

Re: Database Pool with JPA in a Web App in G2.0.x

2008-05-29 Thread David Jencks
Where is your persistence.xml? I think you are doing something so that geronimo doesn't find it but openjpa does later. I think there's at least one testsuite app with jpa from a web app. thanks david jencks On May 29, 2008, at 7:30 AM, David Carew wrote: Does anyone know how to use a

Re: Database Pool with JPA in a Web App in G2.0.x

2008-05-29 Thread David Carew
Hi David, It's in a META-INF folder in the root of the war file. Should it be somewhere else ? 2008/5/29 David Jencks [EMAIL PROTECTED]: Where is your persistence.xml? I think you are doing something so that geronimo doesn't find it but openjpa does later. I think there's at least one

Re: Database Pool with JPA in a Web App in G2.0.x

2008-05-29 Thread David Carew
Correction - persistence.xml is in WEB-INF/classes/META-INF 2008/5/29 David Carew [EMAIL PROTECTED]: Hi David, It's in a META-INF folder in the root of the war file. Should it be somewhere else ? 2008/5/29 David Jencks [EMAIL PROTECTED]: Where is your persistence.xml? I think you are