geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: svn commit: rev 51845 - in geronimo/trunk/modules/assembly/src: plan var/config
Date Mon, 04 Oct 2004 03:03:40 GMT
Yes, user code only uses the JMS API.  But the client is indirectly 
using ActiveMQ classes since the JMS interfaces are ActiveMQ 
implementations.  And since the in vm transport does not serialize the 
ActiveMQ messages it sends to the broker, the broker needs to be in the 
same classloader as the app.  Otherwise, I'm sure the server would throw 
class cast exceptions.

Regards,
Hiram


Dain Sundstrom wrote:

> and that is not accessed via a standard JMS API?  We only need the  
> classes if user code is expected to interact with the class.
>
> -dain
>
> On Oct 3, 2004, at 3:26 PM, Hiram Chirino wrote:
>
>> For the in vm transport that bypasses tcpip and serialization to 
>> send  messages, yes.
>>
>> Regards,
>> Hiram
>>
>> Dain Sundstrom wrote:
>>
>>> I don't see why we would need ActivMQ in the main class loader   
>>> hierarchy.  Users of ActiveMQ should access it via the standard 
>>> JMS   apis which are available to any child of the J2EE 
>>> configuration.  The   only reason to make this part of the main 
>>> chain would be is if a  child  configuration needed to access the 
>>> internal classes of  ActiveMQ.  Are  we doing that?
>>>
>>> -dain
>>>
>>> --  Dain Sundstrom
>>> Chief Architect
>>> Gluecode Software
>>> 310.536.8355, ext. 26
>>>
>>> On Oct 3, 2004, at 1:33 PM, David Jencks wrote:
>>>
>>>> Unless we come up with non-classloader based package dependencies, 
>>>> I   think JMS __does__ need to be a child of SystemDatabase or 
>>>> vice  versa,  so you can be sure, by making one or the other your 
>>>> parent,  that they  are both started.
>>>>
>>>> david jencks
>>>>
>>>> On Oct 3, 2004, at 1:09 PM, jboynes@apache.org wrote:
>>>>
>>>>> Author: jboynes
>>>>> Date: Sun Oct  3 13:09:06 2004
>>>>> New Revision: 51845
>>>>>
>>>>> Modified:
>>>>>    geronimo/trunk/modules/assembly/src/plan/system-jms-plan.xml
>>>>>    geronimo/trunk/modules/assembly/src/var/config/config.list
>>>>> Log:
>>>>> JMS does not need to be a child of the SystemDatabase plan; move 
>>>>> it   under server and add to initial start list
>>>>>
>>>>> Modified:  
>>>>> geronimo/trunk/modules/assembly/src/plan/system-jms-plan.xml
>>>>> ====================================================================

>>>>> == ========
>>>>> ---  
>>>>> geronimo/trunk/modules/assembly/src/plan/system-jms-plan.xml      
>>>>> (original)
>>>>> +++ 
>>>>> geronimo/trunk/modules/assembly/src/plan/system-jms-plan.xml     
>>>>> Sun  Oct  3 13:09:06 2004
>>>>> @@ -21,7 +21,7 @@
>>>>>  <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
>>>>>      version="1.5"
>>>>>      configId="org/apache/geronimo/SystemJMS"
>>>>> -    parentId="org/apache/geronimo/SystemDatabase">
>>>>> +    parentId="org/apache/geronimo/Server">
>>>>>    <resourceadapter>
>>>>>      <resourceadapter-instance>
>>>>>        <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
>>>>>
>>>>> Modified: geronimo/trunk/modules/assembly/src/var/config/config.list
>>>>> ====================================================================

>>>>> == ========
>>>>> ---  
>>>>> geronimo/trunk/modules/assembly/src/var/config/config.list     
>>>>> (original)
>>>>> +++ geronimo/trunk/modules/assembly/src/var/config/config.list     
>>>>> Sun  Oct  3 13:09:06 2004
>>>>> @@ -1,3 +1,4 @@
>>>>>  org/apache/geronimo/System
>>>>>  org/apache/geronimo/Server
>>>>>  org/apache/geronimo/SystemDatabase
>>>>> +org/apache/geronimo/SystemJMS
>>>>>
>>>
>


Mime
View raw message