Re: 2.2 in production

2009-11-13 Thread Gianny Damour
Hi Trygve, Thanks for your test. These warnings indicate that a session replication message was not acknowledged within a 2000ms timeframe. The message has not been lost and will be processed by back-up nodes as expected. Kevan, I just deployed release 2.1.2 of WADI for geronimo 2.2. Th

Re: 2.2 in production

2009-11-01 Thread Gianny Damour
Hi Trygve, Thanks for reporting these problems with comprehensive log messages; they were very helpful to diagnose. The bug causing the inability to reliably restart without downtime has been identified and fixed. I just deployed new WADI 2.2-SNAPSHOT artifacts, which can be found there:

Re: using wadi with tomcat & web app in an ear

2009-10-12 Thread Gianny Damour
anything. Thanks Ashish On Tue, Jul 8, 2008 at 6:21 PM, Jason Warner wrote: Fantastic, Gianny. Thanks for looking into this! On Mon, Jul 7, 2008 at 9:19 PM, Gianny Damour wrote: Hello Jason, I had a quick look and identified the problem. I will check-in a fix during the day. Thanks, Gia

Re: Question about deployment using farming plugin in G2.2

2009-08-26 Thread Gianny Damour
Hi Jeff, You are correct. The name mangling has been reversed as it was causing pattern based GBean look-ups (e.g. finding DataSources) to fail. To undeploy across the farm, users need to execute the undeploy command on the same node that they used to deploy/distribute their application a

Re: Performance tuning...

2009-07-03 Thread Gianny Damour
Hi, I believe you should deploy an HTTP cache in front of Geronimo. You will observe way better performance improvements using this approach than by trying to tune Geronimo. You may want to have a look at Squid: http://www.squid-cache.org/ If your two JSP pages are client specific, split

Re: Enabling Session Affinity in G2.1.4 (using Tomcat w/ WADI)

2009-05-16 Thread Gianny Damour
for the quick attention to this. Dennis On Thu, May 14, 2009 at 10:41 AM, Gianny Damour wrote: Hi, There are various way to fulfill session stickiness. I have been conducting all my integration tests with HAProxy, http://haproxy. 1wt.eu/, which does not require downstream load-balanced

Re: Enabling Session Affinity in G2.1.4 (using Tomcat w/ WADI)

2009-05-15 Thread Gianny Damour
, at least for Jetty [1]. If I'm right, I suggest that we use the same setting for Tomcat, instead of using the jvmRoute parameter which is used by Tomcat native clustering. -Jack [1] http://cwiki.apache.org/GMOxDEV/clustering-configuration-for- jetty.html 2009/5/14 Gianny Damour

Re: Enabling Session Affinity in G2.1.4 (using Tomcat w/ WADI)

2009-05-14 Thread Gianny Damour
Hi, There are various way to fulfill session stickiness. I have been conducting all my integration tests with HAProxy, http://haproxy. 1wt.eu/, which does not require downstream load-balanced servers to do any manipulations to session cookies. I created an improvement ticket, https://issue

Re: Unable to deploy tomcat app with WADI Cluster and dbpool

2009-02-17 Thread Gianny Damour
onfigs/farming/2.1.3/ car,j2eeType=ConfigurationStore,name=MasterConfigurationStore /opt/ servlet-examples-cluster-server1.war /opt/servlet-examples-cluster- plan.xml It's nice if deploy the war without dbpool config. Gianny Damour-2 wrote: Hi, I have the feeling that you are doing a

Re: Unable to deploy tomcat app with WADI Cluster and dbpool

2009-02-12 Thread Gianny Damour
Hi, I have the feeling that you are doing a farm deployment. Can you please describe how you are deploying your WAR? Thanks, Gianny On 10/02/2009, at 5:33 PM, R.KAVIO wrote: Thanks Gianny Damour-2 The server node can distribute war。 but only the distribute node can work,others can&#

Re: Unable to deploy tomcat app with WADI Cluster and dbpool

2009-02-09 Thread Gianny Damour
Hi, If you want to use WADI as the underlying clustering mechanism for your tomcat web-app, then you can remove all the GBean declarations. These GBeans are used to configure the Tomcat native clustering mechanism. If you want to use the Tomcat native clustering mechanism, then you do not

Re: Help with Geronimo EJB Clustering

2009-02-05 Thread Gianny Damour
2";> grouptest ejb-wadi-example 1.0 jar Gianny Damour-2 wrote: Hi Hai-Dang, This is weird. if you have an element in your geronimo-openejb.xml plan and if you can successfully distribute the EJB module then this means that the config or

Re: Help with Geronimo EJB Clustering

2009-02-04 Thread Gianny Damour
Hi Hai-Dang, This is weird. if you have an element in your geronimo-openejb.xml plan and if you can successfully distribute the EJB module then this means that the config org.apache.geronimo.configs/openejb-clustering-builder-wadi/2.2- SNAPSHOT/car is installed and up-and-running - o

Re: wadi clustering - session invalidation

2009-01-24 Thread Gianny Damour
t I've yet to find a consistent pattern. I'll test this and let you know how it goes. Trygve On Thu, Jan 15, 2009 at 2:31 PM, Gianny Damour wrote: Hi Trygve, This was a bug and it is now fixed; I also changed the log level as ERROR was indeed inappropriate. You will need to get a

Re: wadi clustering - session invalidation

2009-01-15 Thread Gianny Damour
he request. If I kill one of the nodes (using kill -9 PID) this problem does not occur. Only on clean shutdowns. Thanks again for your help! Trygve On Wed, Jan 14, 2009 at 9:05 AM, Gianny Damour wrote: Hi Trygve, This was a regression and it is now fixed. If you are building from

Re: wadi clustering - session invalidation

2009-01-14 Thread Gianny Damour
Hi Trygve, This was a regression and it is now fixed. If you are building from source 2.2-SNAPSHOT, then here are the steps to apply the fix: 1. update plugins/jetty/geronimo-jetty6-clustering-wadi 2. build geronimo-jetty6-clustering-wadi 3. copy resulting artefact to your repository under r

Re: [ANNOUNCE] Welcome Jason Warner as the newest member of the Geronimo PMC

2008-10-22 Thread Gianny Damour
Congratulations Jason! Gianny On 22/10/2008, at 7:29 AM, Kevan Miller wrote: All, Please join us in congratulating Jason Warner as the newest member of the Geronimo PMC. It's been great to have Jason working with us as a committer on Geronimo. Even better to have him join us in providing

Re: WADI Session invalidate causes an error

2008-09-09 Thread gianny . damour
Hi Adam, This is the correct way to invalidate a session. You have just found an integration problem with Tomcat which was not tested by the session invalidation unit test. I have improved the unit test and updated the relevant class, namely ClusteredManager (will commit when I get better conn

Re: Unable to deploy tomcat app with WADI Cluster

2008-09-08 Thread Gianny Damour
car org.apache.geronimo.configs tomcat6 2.1.2 car org.apache.catalina.tribes. On 05/09/2008, at 10:23 AM, Adam Ruggles wrote: Hi Gianny, Thanks for the info. Is there a bug number that I can track on this issue? Thanks, Adam Gianny

Re: Re: Unable to deploy tomcat app with WADI Cluster

2008-09-04 Thread gianny . damour
ctInputStream.readObject(ObjectInputStream.java:348) > at > org.codehaus.wadi.servicespace.basic.BasicServiceSpaceEnvelopeHelper.tran > sformInboundEnvelope(BasicServiceSpaceEnvelopeHelper.java:123) > at > org.codehaus.wadi.servicespace.basic.TransformEnvelopeInterceptor.onInbou > ndEnvelope(TransformEn

Re: Unable to deploy tomcat app with WADI Cluster

2008-09-04 Thread Gianny Damour
Hi Adam, You will need to set the system property java.net.preferIPv4Stack to true when starting Geronimo. Without this properly multicasting does not work, at least on Mac OS X. Thanks, Gianny On 05/09/2008, at 6:09 AM, Adam Ruggles wrote: I'm using the latest version of geronimo (2.1

Re: using wadi with tomcat & web app in an ear

2008-07-07 Thread Gianny Damour
Hello Jason, I had a quick look and identified the problem. I will check-in a fix during the day. Thanks, Gianny On 08/07/2008, at 4:10 AM, Jason Warner wrote: I've spent some time looking at this, but I haven't really gotten anywhere with it. While debugging I noticed that the error occ

Re: Injecting datasource with the @Resource annotation

2008-06-04 Thread Gianny Damour
Hello Timo, This @Resource annotation will be processed and resolved by Spring 2.5 +. You need to define a bean named SutkiDB in your Spring application context by using the standard Spring provided JNDI lookup helpers. FWIW, I believe that the @Autowired annotation is way more flexible an

Re: POJO caching in geronimo

2008-05-15 Thread Gianny Damour
Hello Xasima, On 15/05/2008, at 7:20 AM, Xasima Xirohata wrote: Hello, Gianny Damour and team. I want to list my questions and proposals to the possible architecture and features of the Geronimo POJO cache that WADI is going to implement soon. Assume that we are exposing a POJO cache

Re: Geronimo and Grails

2008-05-14 Thread Gianny Damour
Hello, I have been running Grails 0.5+ applications on Geronimo 2.x and this works w/o problem as long as you hide specific packages. Your geronimo-web.xml should look like the following one: http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.2";> yourGroupId

Re: WADDI WebApplication Performance?

2008-05-07 Thread Gianny Damour
On 08/05/2008, at 5:06 AM, [EMAIL PROTECTED] wrote: Sorry! There a right now some other Question to the Realm of WADDI if have to ask! Ist there any the same Mechanism like JBoss Farm Deploy of EJB *.EAR, *.WAR Appz? Hello, Geronimo provides some basic farming capabilities. This page s

Re: WADDI WebApplication Performance?

2008-05-07 Thread Gianny Damour
On 07/05/2008, at 6:01 PM, [EMAIL PROTECTED] wrote: Hi, Has anybody experience with writing distributed WebApplications with WADDI and can tell something about its performance and? Hello, WADI should not impact the performance of your Web-application too much. There are a couple of things t

Re: POJO caching in geronimo

2008-05-01 Thread Gianny Damour
Hello Xasima, WADI does not yet provide a POJO caching solution. Regarding the http://incubator.apache.org/wadi/wadi-core/apidocs/org/ codehaus/wadi/gridstate/impl/GCache.html class, AFAIK it was more an idea than an actual fully working caching implementation. I know that a Geronimo POJO c

Re: [ANNOUNCE] Jason Warner as Geronimo's most recent committer

2008-04-03 Thread Gianny Damour
Congratulations Jason! Gianny On 03/04/2008, at 5:22 AM, Joe Bohn wrote: All, It is my privilege to announce that Jason has recently accepted an invitation to join the Apache Geronimo project. Jason has been working on Geronimo for a while now in multiple areas including J2G, javamail,

Re: Geronimo 2.0: customize EJB-Container settings

2008-01-28 Thread Gianny Damour
helping, mario. Gianny Damour wrote: Hello Mario, EJB Container properties along with their default values are defined by the resource META-INF/org.apache.openejb.embedded/service-jar.xml within the openejb-core.jar archive. Here is an URL pointing to this resource: http://svn.apache.org/repos/asf

Re: Geronimo 2.0: customize EJB-Container settings

2008-01-28 Thread Gianny Damour
ure these properties like this: PoolSize=100 StrictPooling=true Thanks, Giany and after starting and shutting down geronimo i end up without the "PoolSize" line.. same happens with "TimeOut" values and also in the StatefulContainer gbean. any idea? thanks, m

Re: Geronimo 2.0: customize EJB-Container settings

2008-01-26 Thread Gianny Damour
properties that are possible for openejb. thanks for helping, mario Gianny Damour wrote: Hello, You can change these settings in var/config/config.xml. This file defines overrides for the GBeans, i.e. services such as EJB- Containers, running within Geronimo. EJB Containers are declared

Re: Geronimo 2.0: customize EJB-Container settings

2008-01-24 Thread Gianny Damour
Hello, You can change these settings in var/config/config.xml. This file defines overrides for the GBeans, i.e. services such as EJB- Containers, running within Geronimo. EJB Containers are declared by the org.apache.geronimo.configs/ openejb//car confiiguration and here are there default c

Re: DataSource, JNDI and EJB module ...

2007-08-16 Thread Gianny Damour
On 14/08/2007, at 9:05 PM, JohnSimpson wrote: console MDMDB2 1.0 However, when I try and deploy the ear I get the following error: org.apache.geronimo.kernel.repository.MissingDependencyException: uri console/MDMDB2/1.0/jar not found in repository uri console/MD

Re: DataSource, JNDI and EJB module ...

2007-08-13 Thread Gianny Damour
On 13/08/2007, at 11:33 PM, JohnSimpson wrote: Hi, No. I didn't realise I needed to set it as a dependency as the datasource is deployed seperately, I will give it a go. Currently, I included the datasource as a resource in the geronimo-application-client.xml, like this: jdbc

Re: DataSource, JNDI and EJB module ...

2007-08-13 Thread Gianny Damour
Hi, I just gave it a try with an app-client packaged within an EAR and it works for me. Have you declared the relevant dependency in your client-environment element? Thanks, Gianny On 13/08/2007, at 10:45 PM, JohnSimpson wrote: Hi, did you managed to resolve this issue? I've got a sim

Re: general questions about geronimo application server capabilities?

2007-07-13 Thread Gianny Damour
On 14/07/2007, at 1:27 AM, legolas wrote: Thank you for your replys. where i should look to find information about production ready clustering? Also, does Apache Geronimo provide some kind of administration instance that can control resources on other instances ( for example deploying a w

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 org.openejb.de

Re: EJB 2.1 CMR Bi-Directional with Compound Key

2007-05-30 Thread Gianny Damour
Hi Mark, I had a look to the openejb-jar DD and I think you need to drop the element from the Committee- CommitteeMembers relation. This optional element means that the foreign key columns declared in the following elements are defined by the CMP declared by . So, this should work:

Re: Clustering Geronimo with Open Terracotta

2007-02-16 Thread Gianny Damour
On 17/02/2007, at 3:32 AM, Dave Colasurdo wrote: Tomcat and Mod-jk provide the ability to have the load balancer lock a particular httpsession (identified by session cookie) to a specific cluster member. This cluster member will serve all the requests for this session until the cluster m

Re: How to deploy an EJB module contains CMP EntityBeans with multiple datasources

2006-11-22 Thread Gianny Damour
Hi, This is not supported by OpenEJB. Also, it seems to me that adding such a feature has some implications. For instance, EJBQL involving entities using under the cover distinct datasources would be broken . Based on this fact, it seems to me that entities using a specific datasource sho

Re: ejbSelect with LIMIT

2006-10-25 Thread Gianny Damour
Hello, The LIMIT clause is not an EJBQL standard compliant clause and TranQL does not support it. Thought, I should be able to add it rather easily. Thanks, Gianny On 25/10/2006, at 10:20 PM, Kaeto23 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello, the main ejbSelect prob

Re: Problem using CMP

2006-10-24 Thread Gianny Damour
Hello Joachim, This problem may be due to a transaction rollback. Are you sure that the transaction is committed? Also, could you please tell me the type of primary key generator that you are using? Thanks, Gianny On 23/10/2006, at 7:10 AM, Joachim Tessmer wrote: Hi, I have problems us

Re: ejbSelect tutorial?

2006-10-24 Thread Gianny Damour
Hello Dirk, Thanks for trying this out. I looked at your new problem and applied another TranQL fix to resolve it. Basically, the prefetch group selection for ejbSelect was wrong as I naively applied the same prefetch group selection mechanism than for finders... Could you please do me ano

Re: ejbSelect tutorial?

2006-10-23 Thread Gianny Damour
Hi, Thanks for reporting these problems. They are now fixed in HEAD of TranQL. Could you please download the latest TranQL-1.4-SNAPSHOT artifact and confirm that these problems are now fixed? You can simply drop this artifact in your repository and Geronimo will pick it up as it is the la

Re: ejbSelect tutorial?

2006-10-20 Thread Gianny Damour
Hello, Thanks for having provided this work around Milan. This is a bug in the processing of the COUNT aggregation function: the code assumes that the content of a COUNT is always a path expression and does not handle the case where only an entity is provided. Thanks, Gianny On 20/10/20

Re: Hopeless

2006-09-28 Thread Gianny Damour
Hi Mattias, You may want to look at the source code of the DayTrader application as it uses some CMP (http://svn.apache.org/repos/asf/geronimo/ daytrader/trunk/). As this application is rather large, you may also want to have a look at these isolated CMP examples: ejb-jar.xml and openejb-j

Re: CMP Setter & ejbCreate

2006-09-17 Thread Gianny Damour
ike I could use an explanation on providing a primary-key generator. The primary key is an auto_increment bigint column in a mysql database and I was not setting it, I thought mysql would handle it. Thanks again for your help. Brandon Gianny Damour wrote: Hi Brandon, I suspect that the prim

Re: CMP Setter & ejbCreate

2006-09-16 Thread Gianny Damour
Hi Brandon, I suspect that the primary key is null after the execution of ejbCreate. Are you sure that you are setting it during ejbCreate? If you want this id to be generated, then you will need to provide a primary-key generator for this CMP. I can explain you how to do that, if need be

Re: Geronimo instances on the same server

2006-08-23 Thread Gianny Damour
directory? Making progress... John On Wed, 23 Aug 2006 22:16:26 +1000, Gianny Damour <[EMAIL PROTECTED]> wrote: Hello John, Here is a quick summary of how this could work. Out-of-the-box, Geronimo uses var/config/config.xml to identify the modules to be loaded upon start-up and a

Re: Geronimo instances on the same server

2006-08-23 Thread Gianny Damour
Hello John, Here is a quick summary of how this could work. Out-of-the-box, Geronimo uses var/config/config.xml to identify the modules to be loaded upon start-up and also to override the out-of- the-box configuration of these modules (for instance, virtual hosting can be overridden in this

Re: Succesfully migrating to 1.1

2006-07-04 Thread Gianny Damour
Hello Michael, Thanks for this feedback. Geronimo 1.1 does not support dynamic queries. The feature has been temporarily lost following a major re-architecturing of OpenEJB. It will be back in 1.2. The way it was working was to bind QueryManager into the ENC such that J2EE components can retr

Re: [VOTE] 1.1 Release

2006-06-17 Thread Gianny Damour
+1 from me. Thanks, Gianny Matt Hogstrom wrote: All, I have created what I hope is the final release of Geronimo 1.1. There has been a lot of work that has gone into this release (please review the RELEASE-NOTES). Here are the final release candidates for your review. *DayTrader Applic

Re: commons-logging

2006-06-15 Thread Gianny Damour
Hi, Did you try to reverse the class loading delegation model for your EAR or WAR module? You can do that via the element (see geronimo-module-1.1.xsd for more details) . Thanks, Gianny Markus Wolf wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to deploy an EAR

Re: in-place deployment

2006-06-14 Thread Gianny Damour
ease-noted that in-place deployment does not work with stand-alone ejb jars. (At least the last time I tried it failed). So it may very well be that it only works for stand- alone .wars or ears containing only web modules. On Jun 14, 2006, at 8:46 AM, Gianny Damour wrote: Hi Lin, I just check

Re: in-place deployment

2006-06-14 Thread Gianny Damour
Hi Lin, I just checked and you can do: $ java -jar bin/deployer.jar help distribute Command-line deployer syntax: deployer [general options] command [command options] Help for command: distribute deployer distribute [--inPlace] [--targets target;target;...] [module] [plan] <

Re: NPE in TranQL when using READ-COMMITTED Transaction Isolation

2006-05-30 Thread Gianny Damour
Hi Vasily, This element is used to control the isolation level of the CMP entity cache. Basically, when a CMP or CMR field not yet loaded is accessed, this cache is queried prior to hit the database. The isolation level which is defined within the element is the isolation level of the cach

Re: access a character column from a CMP EJB

2006-05-23 Thread Gianny Damour
Hi Vasily, This problem is fixed in Geronimo 1.0. Thanks, Gianny Zakharov, Vasily M wrote: Hi, Gianny, I have a problem that looks similar to the one described below, and I've just stumbled upon your message in Google. The question I have is whether the bug described is still actual for Ge

Re: Unable to deploy simple Tapestry app.

2006-04-20 Thread Gianny Damour
, and its parent is "our" TomcatClassLoader, which imports once again the jars in WEB-INF/lib. Hence, the META-INF/hivemodule.xml resource is found two times in the same jar. I will clean this hack over the week-end. Thanks, Gianny Gianny Damour wrote: Hi Bryan, It seems tha

Re: Unable to deploy simple Tapestry app.

2006-04-20 Thread Gianny Damour
Hi Bryan, It seems that you have increased the severity of the associated JIRA; so, I am currently having a look to this problem. Meanwhile, you should be able to run your Tapestry app with Jetty as the servlet engine. Basically, I have the "wrap" Tapestry example running fine with Jetty and

Re: Unable to deploy Tapestry app on Geronimo

2006-04-16 Thread Gianny Damour
Hi Bryan, As a "simple" solution, you can start the jmxdebug console, config geronimo/jmxdebug-jetty/1.2-SNAPSHOT/car for Jetty, and observe the webClassPath attribute of the relevant WebModule (the contextroot of the jmxdebug console is debug-tool). Also, could you please tell us what you e

Re: Table database creation

2006-04-09 Thread Gianny Damour
There is an Ant task to generate a SQL script to create the underlying tables. The following snippet should get you started (note that you need to replace the various ${} with the relevant base location and version numbers): classname="org.openejb.deployment.ant.DDLExporterTask">

Re: FindByPrimaryKey

2006-04-07 Thread Gianny Damour
Yeap. Do you want to upgrade yourself or do you need a hand to do it? I am happy to make the relevant updates to move to TranQL 1.3 over the week-end. Thanks, Gianny Matt Hogstrom wrote: I would like to move to TranQL 1.3 and the Connector 1.2 for Geronimo 1.1. Are you ok with this?

Re: FindByPrimaryKey

2006-04-06 Thread Gianny Damour
:ss' Should I use another type for the attribute ? Best regards, Olivier Voutat On 4/6/06, *Gianny Damour* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hello Olivier, You can do two things to fix this problem: 1. you can change the type of this f

Re: FindByPrimaryKey

2006-04-06 Thread Gianny Damour
Hello Olivier, You can do two things to fix this problem: 1. you can change the type of this field from String to Timestamp. I think that this would be my preferred approach. 2. you can register a TypeConverter for this field such that the String is converted into a timestamp prior to be sen

Re: FindByPrimaryKey

2006-04-06 Thread Gianny Damour
#x27;d be in favor of a universal update command that updates all columns regardless if they have changed or individual update statements for only the columns that have changed. What are your thoughts? Matt Gianny Damour wrote: Hi Olivier, I think that Firebird does not like the generated

Re: FindByPrimaryKey

2006-04-05 Thread Gianny Damour
Hi Olivier, I think that Firebird does not like the generated UPDATE statements. More accurately it does not like the "SET = CASE WHEN ? THEN ? ELSE " syntax. This problem has been fixed in head as the UPDATE statements will only use the "SET = ?" syntax. Meanwhile, do you know what the F

Re: ejb finder method with "IS NULL"

2006-03-28 Thread Gianny Damour
(loop over all Category ejbs with getParent()==null) instead of the finder method it works fine (but not efficiently). The generated SELECT returns 3100 and 3101 on my side too. I can debug something in geronimo code but need to know where it makes a sense. Regards, Milan. Gianny Damour wrote

Re: ejb finder method with "IS NULL"

2006-03-28 Thread Gianny Damour
Hello, This is very strange and I cannot explain it. Your query: SELECT OBJECT(o) FROM Category o WHERE o.parent IS NULL is compiled into a SELECT statement like this: SELECT o.categoryid FROM category_table o WHERE (NOT EXISTS (SELECT 0 FROM category_table T0 WHERE T0.categoryid = o.parentid)

Re: Deploy Tool: deploy vs redeploy

2006-03-26 Thread Gianny Damour
Hi, I am not really keen to see this change: I prefer users to explicitly state that they want to redeploy a module instead of having a command, which transparently does it under the cover. Also, as per the J2EE Deployment API, there is a clear distinction between distribute and redeploy and

Re: Help with CMP Entity Bean

2006-03-22 Thread Gianny Damour
works the way you describe, so the two are not similar in that respect.) Thanks, Aaron On 3/18/06, Gianny Damour <[EMAIL PROTECTED]> wrote: Olivier Voutat wrote: Well, I'm trying to create a simple application with a Cmp Entity Bean but I'm missing how I should do th

Re: Help with CMP Entity Bean

2006-03-18 Thread Gianny Damour
Olivier Voutat wrote: Well, I'm trying to create a simple application with a Cmp Entity Bean but I'm missing how I should do the Database connection tags. My database pool is already deployed and working. Here are my ejb-jar.xml and openejb-jar.xml : xmlns="http://java.sun.com/xml/ns/j2ee

Re: Remote EJB client apps

2006-03-15 Thread Gianny Damour
Hi, Here is how to get an initial context: Properties p = new Properties(); p.put("java.naming.factory.initial", "org.openejb.client.RemoteInitialContextFactory"); p.put("java.naming.provider.url", "127.0.0.1:4201"); InitialContext ctx = new InitialContext(

Re: Dynamic Query

2006-03-10 Thread Gianny Damour
Hello Dave, Yes, this has been committed. This is an OpenEJB change so the corresponding code changes are in OpenEJB. Thanks, Gianny Dave Colasurdo wrote: Gianny Damour wrote: Sorry for this late reply - I was focused on completing the implementation of dynamic queries, which is now

Re: Dynamic Query

2006-03-05 Thread Gianny Damour
Dain Sundstrom wrote: Very cool. I haven't been following JPA (EJB3 Persistence) that closely, so I'm curious how closely this matches up what's coming in EJB3. -dain On Mar 2, 2006, at 4:02 AM, Gianny Damour wrote: Hi Phani, Sorry for this late reply - I was focused on

Re: Dynamic Query

2006-03-02 Thread Gianny Damour
ne. 1. As a first step, we will have a query engine that allows only standard EJB-QL. No additional capabilities. 2. From the tags mentioned in your previous mail, ModuleCMPEngine will be part of DayTrader application? My question is, where is ModuleCMPEngine located? Thx phani

Re: Dynamic Query

2006-02-27 Thread Gianny Damour
tatements. will dynamic query feature allow above statement? Thx phani ** ** ** ** On 2/23/06, *Gianny Damour* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi Glaucio, It is not yet possible to create dynamic queries in Geronimo. This featur

Re: Dynamic Query

2006-02-23 Thread Gianny Damour
Hi Glaucio, It is not yet possible to create dynamic queries in Geronimo. This feature is currently being progressed and will be available next week. Thanks, Gianny Glaucio Scheibel wrote: Hi, I am looking how to create dynamic queries in geronimo. Is this possible? I didn't find any info

Re: Tomcat MySQL XA support

2006-02-13 Thread Gianny Damour
Hi, This "Lock wait timeout exceeded; try restarting transaction" problem has nothing to do with XA. Basically, an update statement was being executed. This statement was trying to update a row having a write lock, e.g. another transaction was updating the same record. In this scenario, the update

Re: AW: AW: Geronimo CMP update statements

2006-01-31 Thread Gianny Damour
. regards Michael -Ursprüngliche Nachricht- Von: Gianny Damour [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Januar 2006 13:16 An: user@geronimo.apache.org Betreff: Re: Geronimo CMP update statements Hi Dan, At the beginning, I was not seeing this as an issue. Based on your remark

Re: Geronimo CMP update statements

2006-01-26 Thread Gianny Damour
Hi Dan, At the beginning, I was not seeing this as an issue. Based on your remark that triggers are wrongly fired, I now see this as an issue that needs to be fixed. Could you please raise a JIRA for this problem? Thanks, Gianny Daniel John Debrunner wrote: At ApacheConUS 2005 I talked wi

Re: class loading issue

2006-01-23 Thread Gianny Damour
... -- Please let me know when someone has committed this fix into HEAD. BTW, Gianny, I'm following both of your steps, and modified the TomcatClassLoader.java file, as shown above. The full modified TomcatClassLoader.java file is attach

Re: class loading issue

2006-01-23 Thread Gianny Damour
Hello Tyler, Could you please try this configuration? 1. set context-priority-classloader to true; and 2. put your own jdom, axis and commons-httpclient jars in WEB-INF/lib. I think that it should work with this approach. If not (due to Log4J initialization problem?), then could you please pro

Re: CMP cascade deletation

2006-01-17 Thread Gianny Damour
Hi Alex, By default, JDBC commands are executed in an unspecified order. In your case, this is an issue as JDBC commands need to be ordered such that foreign key constraints are not violated. You can enable this behaviour by declaring the element just after the element in openejb-jar.xml (y

Re: changing default port

2006-01-10 Thread Gianny Damour
Hi, You can change the default port configurations by editing the file var/config/config.xml in your Geronimo installation directory. There is also a nice README in this folder describing how is file is being used by Geronimo. Thanks, Gianny [EMAIL PROTECTED] wrote: Hello can anyone tell

Re: Geronimo ClassLoader Architecture

2006-01-06 Thread Gianny Damour
erseClassloading="true"> com.thoughtworks.xstream.XStream Odon ejb/OdonHome jdbc/dbDS dbDS -

Re: Geronimo ClassLoader Architecture

2005-12-13 Thread Gianny Damour
ent-1.0"; configId="com/nsele/atl/odon" inverseClassloading="true"> From: /Gianny Damour <[EMAIL PROTECTED]>/ Reply-To: /user@geronimo.apache.org/ To: /user@geronimo.apache.org/ Subject:

Re: Geronimo ClassLoader Architecture

2005-12-12 Thread Gianny Damour
Hi Lubaki, You can use the optional attribute "inverseClassloading" at the configuration level to force a child first class loading: http://www.openejb.org/xml/ns/openejb-jar-2.0"; configId="your id" inverseClassloading="true"> When set to true, classes defined by this configuraton take pre

Re: access a character column from a CMP EJB

2005-10-18 Thread Gianny Damour
Hi Deepesh, This is a bug: no binding was defined for the Java primitive type char or the sql type CHAR. A fix has just been committed to fix this problem. Unfortunately, this means that you will need to checkout and build OpenEJB and TranQL. The other approach is to write a custom org.tranq

Re: Possible class path class loader problem when using Spring ClassPathXmlApplicationContext class

2005-09-21 Thread Gianny Damour
I just gave a quick try to the following packaging and it works: minimal.ear `-- external.jar `-- example/applicationContext.xml `-- minimal.war `-- META-INF/MANIFEST.MF: Class-Path: external.jar `-- WEB-INF/classes/example/ExampleController.class: which defines: static fin

Re: error in CMR Mapping

2005-09-10 Thread Gianny Damour
Hi Deepesh, Sorry for this late reply. I think that you are using an old version of OpenEJB. Having said that, I do not see how a NPE within RoleInfo.equals is possible. Could you please provide your DD? Thanks, Gianny On 9/09/2005 5:06 PM, Deepesh wrote: Hi, I have an application [.ear]

Re: Where can I register SOAP Handlers?

2005-08-13 Thread Gianny Damour
Hi, You need to register your handlers in the webservices.xml DD. The order of declaration is used to define the order of the handler chain. You may want to have a look to this xsd to know where and how the handlers should be defined in the DD: modules\j2ee-schema\src\j2ee_1_4schema. For in

Re: access a BLOB coloumn from a CMP EJB

2005-07-29 Thread Gianny Damour
I was trying to find the root cause and I have added an integration test to test the storage of a byte[] into a BLOB (see org.openejb.test.entity.cmp2.StorageTests in OpenEJB itests). It seems that it works; at least for Derby. BTW, by default a field having the type byte[] is automatically s

Re: Need help with transactions and security

2005-07-07 Thread Gianny Damour
Hi Ivan, Thanks for having logged these issues. As commented, GERONIMO-724 seems to be an issue related to the ordering of the SQL statements sent to the DB. Could you please set the flag in the openejb-jar.xml DD and give it another try? Thanks, Gianny On 7/07/2005 3:54 PM, Ivan S. Dubr

Re: Website possibilities

2005-05-21 Thread Gianny Damour
I love it! And I especially love the "Activity" section; this is one of the thing that will help to provide a high-level overview of the activities. I do have a couple of questions about the features of Confluence or Confluenza: * Can we export the overall website to an html tarball or even

Re: Deployment fail at persistent EJB

2005-04-14 Thread Gianny Damour
Hello Katia, Comments follows. On 15/04/2005 4:35 AM, Katia Aresti Gonzalez wrote: Hi!!! Here is the stack trace :-) it was in the geronimo.log i didnt now anything about this logs, didnt now that the could be so helpfull!!! Well, it seems that the openejb-ja.xmlr is correct? The problems

Re: Deployment fail at persistent EJB

2005-04-14 Thread Gianny Damour
On 15/04/2005 4:19 AM, David Jencks wrote: Someone helpfully tried to make the deployer errors less annoyingly verbose but this is the unfortunate result... they are now meaningless and useless. I believe there is a switch or flag somewhere to turn stack traces back on, but I don't know wher

Re: Deployment fail at persistent EJB

2005-04-12 Thread Gianny Damour
Katia, The last version of Geronimo, built from source, supports CMP. Also, could you please provide the error message that you get during the deployment process? I comment your openejb-jar.xml deployment descriptor further down. Thanks, Gianny On 12/04/2005 8:20 PM, Katia Aresti Gonzalez wrote:

Re: Persistence Bean Example

2005-04-07 Thread Gianny Damour
Hello Katia, There are a couple of examples available in the OpenEJB project. You should have a look in here: * openejb/modules/openejb-builder/src/test-cmp for the deployment descriptors; and * openejb/modules/openejb-builder/src/test/org/openejb/deployment/entity/cmp for the CMP Beans. There

Re: Building and debugging Geronimo with Eclipse

2004-11-19 Thread Gianny Damour
On 19/11/2004 1:25 PM, [EMAIL PROTECTED] wrote: Is anyone using eclipse regularly for Geronimo development. If so, would you be nice enough to give an overview of how you update, build and debug (e.g. do you do it all from eclipse, if not, why?). Do you use the Subversion support in Eclipse e.

  1   2   >