Re: How to read and write a bundle properties in a war?

2007-07-05 Thread appel
appel wrote: Hi, I have inside my war file, which is extracted when deployed in Geronimo, a properties file I want to both read, and also write. Reading the file is easy with ResourceBundle, but I can't think of a way to modify the properties file... for instance changing the value of

ClassCastException when using a self written TypeConverter

2007-07-05 Thread MoleSon
Hi! I have an EAR file that I want to deploy in Geronimo. I use some CMP Beans there and some of these need a self written TypeConverter, which looks the following (it implements the TypeConverter Interface from the tranql-jar file that geronimo uses): package mypackage; import

Geronimo JUnit problems

2007-07-05 Thread Francisco Borges
Hello, I'm trying to add Geronimo support to this database we have. I've started with Geronimo1.2. I'm already able to run our sample application, but I couldn't get any of the unittests to run. Is there some special setup to run junitejb with Geronimo? They all invariably fail with:

Re: ClassCastException when using a self written TypeConverter

2007-07-05 Thread Gianny Damour
On 05/07/2007, at 10:34 PM, MoleSon wrote: Could not deploy module org.apache.geronimo.common.DeploymentException: Could not deploy module ... Caused by: org.apache.geronimo.common.DeploymentException: Cannot create type converter mypackage.MyTypeConverter at

Deployment/Classpath problem while migrating from G1.1 to G2.0M6

2007-07-05 Thread Mario Ruebsam
When deploying my app which works on G1.1 on the G2.0M6 server I get the following error message: -- Error: Unable to distribute eiservice.ear: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2):

Re: ClassCastException when using a self written TypeConverter

2007-07-05 Thread Manu George
I remember facing a similar issue and I think that there is a bug with the TypeConverter stuff in OpenEJB. I would second Gianny's advice to use Geronimo 2.0 and OEJB 3.0 and get back if there are issues there. Regards Manu On 7/5/07, Gianny Damour [EMAIL PROTECTED] wrote: On 05/07/2007, at

Re: ClassCastException when using a self written TypeConverter

2007-07-05 Thread MoleSon
I managed to deploy my application now by adding the tranql jar to my ear file, but this threw up a bunch of new errors now, so i'll follow your suggestion to update to the new geronimo version ;) Manu George wrote: I remember facing a similar issue and I think that there is a bug with the

Re: Deployment/Classpath problem while migrating from G1.1 to G2.0M6

2007-07-05 Thread Manu George
Hi, Can you try removing the manifest entries. They are not needed since all referred jars are in web-inf/lib. So it may work without them. Regards Manu On 7/5/07, Mario Rübsam [EMAIL PROTECTED] wrote: Some further investigation on the problem showed that the libraries are found when they are

Re: Deployment/Classpath problem while migrating from G1.1 to G2.0M6

2007-07-05 Thread Mario Ruebsam
Manu, I tried this also, but the error message is the same. I tried to move all classes in one eiservice.jar and put it in the WEB-INF/lib but also this error message. Now it tried to put all classes in WEB-INF/classes. And strangely the same error with the eiservice.jar! But there was no file

Re: How to read and write a bundle properties in a war?

2007-07-05 Thread David Jencks
On Jul 5, 2007, at 2:44 AM, appel wrote: appel wrote: Hi, I have inside my war file, which is extracted when deployed in Geronimo, a properties file I want to both read, and also write. Reading the file is easy with ResourceBundle, but I can't think of a way to modify the properties