You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by xpingxu <xp...@gmail.com> on 2008/04/01 02:10:30 UTC

Re: about geronimo

Hi,yuesef
  thanks for replay. see the url "Updating a GBean's classloader"
http://mail-archives.apache.org/mod_mbox/geronimo-user/200602.mbox/%3C4560357B-A29F-4E88-9F22-64C825CAD3D7@ofbiz.org%3E

  in the 2006. core team has a approach for geronimo integration with gbean
model.
  but from the svn I don't find out code for this feature. I don't know,
what happen, the core team
don't implementation this feature.  if you know can tell me
  contribute your method (with geronimo), this is a good experience for
ofbizer.
  I hope ofbiz go to open......
Xu

On Mon, Mar 31, 2008 at 7:40 PM, Yousef Shemisa <ys...@accuratealways.com>
wrote:

>
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com]
> Sent: Sunday, March 30, 2008 23:51
> To: user@ofbiz.apache.org
> Subject: Re: about geronimo
>
> I have done some work about that these last weeks for a client. Now OFBiz
> is
> running under Websphere Application Server Community Edition 2 (WASCE)
> which
> is derived from Geronimo 2.0.1. But I have a problem with Geronimo itself.
> I
> will commit soon with a guidelines in  OFBiz doc, still  some tests to
> do...
> I used a simple approach, there are no changes in OFBiz but in appserver.
>
> One point on which I failed is to allow multi-instances of OFBiz running
> in
> WASCE. I got conflicts between OFBiz modules when wanting to run
> multi-instances. For instance webtools have the same names in each
> instance.
> I thought I had an easy solution, by prefixing modules for each instance.
> But then I found 2 new problems.
>
> To run, OFBiz needs a classpath with some sub-directories (mostly config,
> dtd, script) of each components. So I pass them to the JVM. But I can't
> pass
> 2 classpathes (one for each instance) since I get conflict between them,
> though I'm not sure it's really a problem
>
> For the same reason, I must pass an "ofbiz.home" env value to the JVM and
> there I'm really caught.
>
> Of course if we succeed on this issue, this will benefit to the community
> at
> large as it will allow to run many OFBiz instances with only one  Tomcat
> engine (Geronimo embed Tomcat or Jetty). Commercially I believe it could
> be
> very interesting...
>
> I'm confident we will find soon a solution to run OFBiz under Geronimo
> itself (I tried also wiht last version : 2.1). But actually it's not a
> real
> problem as wasce 2 is available for free. I'm not sure about the sources
> though. Anyway, it's not bad to pretend running under an IBM application
> server, PHBs like it ;o)
>
> Jacques
>
> From: "xpingxu" <xp...@gmail.com>
> > Hi,All
> >  now the ofbiz can't be deployed on geronimo. why?
> > somebody can be tell me. I remember the ofbiz 2.0 still can be
> > deployed some of application server(like jboss or others) but now,
> > where is the feature?
> > Xu
> >
>
>
>
>

Re: about geronimo

Posted by Jacques Le Roux <ja...@les7arts.com>.
I explain how to make it works with IBM WASCE 2  (which is dervived from Geronimo 2.0.1) here
http://docs.ofbiz.org/pages/viewpage.action?pageId=4098
It's not a sophisticate approach, but it works fine for now. You will find all what is needed in framework/appserver/wasce2

As it's explained in the link above, it does not work with Geronimo 2.0.1 yet. I will open a Geronimo Jira soon.
Moreover I wonder if, in the case of Geronino, Little-G could not be a way to go : in the way I did it we don't need GBeans.

Some facts : running OFBiz in Geronimo implies a 2xfootprint, from which my Little-G expectation.
Independently of my client's need, I saw an advantage in using Geronimo : we could expect to run OFBiz multi-instances in one 
application server. But as I explain in the link above there are still some problems to fix.

Jacques

From: "xpingxu" <xp...@gmail.com>
> Hi,yuesef
>  thanks for replay. see the url "Updating a GBean's classloader"
> http://mail-archives.apache.org/mod_mbox/geronimo-user/200602.mbox/%3C4560357B-A29F-4E88-9F22-64C825CAD3D7@ofbiz.org%3E
>
>  in the 2006. core team has a approach for geronimo integration with gbean
> model.
>  but from the svn I don't find out code for this feature. I don't know,
> what happen, the core team
> don't implementation this feature.  if you know can tell me
>  contribute your method (with geronimo), this is a good experience for
> ofbizer.
>  I hope ofbiz go to open......
> Xu
>
> On Mon, Mar 31, 2008 at 7:40 PM, Yousef Shemisa <ys...@accuratealways.com>
> wrote:
>
>>
>>
>> -----Original Message-----
>> From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com]
>> Sent: Sunday, March 30, 2008 23:51
>> To: user@ofbiz.apache.org
>> Subject: Re: about geronimo
>>
>> I have done some work about that these last weeks for a client. Now OFBiz
>> is
>> running under Websphere Application Server Community Edition 2 (WASCE)
>> which
>> is derived from Geronimo 2.0.1. But I have a problem with Geronimo itself.
>> I
>> will commit soon with a guidelines in  OFBiz doc, still  some tests to
>> do...
>> I used a simple approach, there are no changes in OFBiz but in appserver.
>>
>> One point on which I failed is to allow multi-instances of OFBiz running
>> in
>> WASCE. I got conflicts between OFBiz modules when wanting to run
>> multi-instances. For instance webtools have the same names in each
>> instance.
>> I thought I had an easy solution, by prefixing modules for each instance.
>> But then I found 2 new problems.
>>
>> To run, OFBiz needs a classpath with some sub-directories (mostly config,
>> dtd, script) of each components. So I pass them to the JVM. But I can't
>> pass
>> 2 classpathes (one for each instance) since I get conflict between them,
>> though I'm not sure it's really a problem
>>
>> For the same reason, I must pass an "ofbiz.home" env value to the JVM and
>> there I'm really caught.
>>
>> Of course if we succeed on this issue, this will benefit to the community
>> at
>> large as it will allow to run many OFBiz instances with only one  Tomcat
>> engine (Geronimo embed Tomcat or Jetty). Commercially I believe it could
>> be
>> very interesting...
>>
>> I'm confident we will find soon a solution to run OFBiz under Geronimo
>> itself (I tried also wiht last version : 2.1). But actually it's not a
>> real
>> problem as wasce 2 is available for free. I'm not sure about the sources
>> though. Anyway, it's not bad to pretend running under an IBM application
>> server, PHBs like it ;o)
>>
>> Jacques
>>
>> From: "xpingxu" <xp...@gmail.com>
>> > Hi,All
>> >  now the ofbiz can't be deployed on geronimo. why?
>> > somebody can be tell me. I remember the ofbiz 2.0 still can be
>> > deployed some of application server(like jboss or others) but now,
>> > where is the feature?
>> > Xu
>> >
>>
>>
>>
>>
>