geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: [jira] Commented: (GERONIMO-3811) EjbServer portlet
Date Fri, 07 Mar 2008 21:36:19 GMT

On Mar 7, 2008, at 12:42 PM, Manu George wrote:

> Hi
>        Yes that may be possible to do. I can set the properties
> directly in the Gbeans for each container. The problem here is that
> there is no Gbean corressponding to the MdbContainer as it is
> dynamically created for each resource adapter in the
> addResourceAdapter method of OpenEjbSystemGBean. I need the changes I
> make to be persistable as that they are applied on server restart.
> Maybe I can add one more attribute for MdbContainer properties to the
> OpenEjbSystemGBean and edit them from the portlet. But is adding a new
> attribute to the OpenEjbSystemGBean acceptable?

two question, no?

- IIRC you can make the gbean attribute changes persistent by calling  
kernel.setAttribute(...)  I think this happens if you get a proxy to  
the gbean.  I think there are some classes like  
KernelManagementHelper that show how to do this.
- I'd expect we'd want the ability to configure different mdbs  
differently, just as IIUC you can set up lots of StatelessContainers  
with different configs and use them.  How does openejb standalone  
solve this problem for mdbs?  I'd hate to put ourselves in a box  
without understanding the whole situation.

david jencks

> Regards
> Manu
> On Fri, Mar 7, 2008 at 9:03 PM, David Jencks  
> <> wrote:
>> IIUC (I didn't look too hard) this is using system properties to
>>  configure openejb? Or at least storing override values in a system
>>  properties gbean?  I wonder if there is a way to hook more directly
>>  into the openejb configuration mechanism.  I'm not sure where the
>>  openejb internal configuration files are now but maybe they could be
>>  located in var/openejb or var/config and modified directly?
>>  thanks
>>  david jencks
>>  On Mar 7, 2008, at 12:21 AM, Vamsavardhana Reddy (JIRA) wrote:
>>>     [
>>> page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
>>> tabpanel&focusedCommentId=12576071#action_12576071 ]
>>> Vamsavardhana Reddy commented on GERONIMO-3811:
>>> -----------------------------------------------
>>> The patch seems to be adding a SystemProperties GBean to j2ee-
>>> server config.  Can this GBean be added to openejb config instead?
>>>> EjbServer portlet
>>>> -----------------
>>>>                 Key: GERONIMO-3811
>>>>                 URL:
>>>> GERONIMO-3811
>>>>             Project: Geronimo
>>>>          Issue Type: New Feature
>>>>      Security Level: public(Regular issues)
>>>>          Components: OpenEJB
>>>>         Environment: All
>>>>            Reporter: Manu T George
>>>>         Attachments: g3811_r632068.patch, g3811_r634213.patch,
>>>>, screenshot-1.jpg, screenshot-2.jpg
>>>> A portlet to show information about the OpenEJB container
>>>> integrated in Geronimo. It should also allow configuration of some
>>>> parameters like pool size etc
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.

View raw message