geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptriller <>
Subject Re: MessageDriven Bean in EE5
Date Mon, 11 Jun 2007 21:11:11 GMT


1st I added a VM listener since its all in one appserver:
Console shows: ActiveMQ.vm.default ActiveMQ vm 666 running 

2nd I added the ConnectionFactory and queue I needed:
console shows:
Connection Factory ScheduledQueueConnectionFactory Server-wide  running 
Queue ScheduleManagerQueue Server-wide  running 
Topic ScheduledTopic Server-wide  running

then I made a bean:

		activationConfig = {
public class ScheduledTestEJB implements MessageListener {

	private Destination jmsDestination;


you see the Reference was done in a @Resource annotation,
but removing them (not that anything woudl work without them)
only changed the error .. now it cant map the resource-adapter

right now my openejb-jar-xml snippet looks like that, but thats only
one of many incarnations

thanks again


djencks wrote:
> dunno about examples but showing a bit of configuration might help.   
> The message you show below suggests to me that perhaps you have tried  
> to configure the queue in xml as a resource-ref rather than resource- 
> env-ref or message-destination-ref.  I've seen indications that this  
> might work in some other app servers but it doesn't work in geronimo.
> On the other hand if you are using an @Resource annotation then  
> geronimo should figure out what it is for you.
> thanks
> david jencks
> On Jun 11, 2007, at 1:43 PM, ptriller wrote:
>> Hello !
>> Is there anywhere a small simple demo app for message-driven beans  
>> with EE5
>> in Geronimo. I am failing utterly at mapping the required resources.
>> I always get the error
>>        Unable to resolve resource reference  
>> 'ScheduleManagerQueue' (Could
>>    not find resource 'ScheduleManagerQueue'.  Perhaps it has not yet
>>    been configured, or your application does not have a dependency
>>    declared for that resource module?
>> and I have tried everything I can think of to map this resource.
>> I am using geronimo-tomcat6-jee5-2.0-M6-r1 but I got exactly the
>> same results using M5.
>> Thanks a lot
>> Peter Triller
>> -- 
>> View this message in context: 
>> Bean-in-EE5-tf3903980s134.html#a11068434
>> Sent from the Apache Geronimo - Users mailing list archive at  

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message