I have managed to configure the sun-ejb-jar.xml and ejb-jar.xml to create a Message Driven Bean. I have manually configured the queue and factory using the admin console.
But when I start Sun App Server 9 I get these errors:
MQJMSRA_MF1101: setPassword:NOT setting default value
MQJMSRA_MF1101: setAddressList:NOT setting default value=localhost
MQJMSRA_MF1101: setUserName:NOT setting default value=guest
RAR8000 : The method setReconnectAttempts is not present in the class : com.sun.messaging.jms.ra.ActivationSpec
RAR7097: No setter method present for the property ReconnectAttempts in the class com.sun.messaging.jms.ra.ActivationSpec
AND:
[22/May/2008:15:47:05 MDT] WARNING [B2106]: Creation of consumer from connection guest_at_127.0.0.1:63040 on the auto-created destination ClassDataPopulationQueue failed:
com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4182]: Consumer can not be added to destination ClassDataPopulationQueue [Queue], limit of 1 consumers would be exceeded
DestinationType =javax.jms.Queue
Destination =ClassDataPopulationQueue
MessageSelector =null
AcknowledgeMode =Auto-acknowledge
SubscriptionDurability =NonDurable
ClientId =null
SubscriptionName =null
EndpointPoolMaxSize =32
EndpointPoolSteadySize =0
EndpointPoolResizeCount =8
EndpointPoolResizeTimeout =600
EndpointExceptionRedeliveryAttempts =1
EndpointExceptionRedeliveryInterval =500
SendUndeliverableMsgsToDMQ =true
GroupName =null
RAUID =null
InClusteredContainer =false
MdbName =null
UserName =guest
AddressList (in effect) =localhost:9577
;_RequestID=c28d2fec-1d5f-49f9-baf0-f459ddf91fad;|MQJMSRA_RA4001: :Failed due to:MQRA:EC:Error creating Non-Durable Message Consumer:
[C4073]: A JMS destination limit was reached. Too many Subscribers/Receivers for Queue : ClassDataPopulationQueue user=guest, broker=localhost:9577(62997)
javax.resource.NotSupportedException: MQJMSRA-endpointActivation:Exception on createMessageConsumer:
Any help greatly appreciated.
[Message sent by forum member 'bryanut' (bryanut)]
http://forums.java.net/jive/thread.jspa?messageID=276294