[EJB 3.0] - Re: how to define a destination with MDB annotations only ?
by longbeach
Thanks. I tried adding all these attributes, i get the error :
"javax.naming.NameNotFoundException: TestMdbTopic not bound"
| @MessageDriven(mappedName = "topic/TestMdbTopic",
| activationConfig = {
| @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
| @ActivationConfigProperty(propertyName="subscriptionDurability", propertyValue="Durable"),
| @ActivationConfigProperty(propertyName="subscriptionName", propertyValue="topicmdb"),
| @ActivationConfigProperty(propertyName="clientId", propertyValue="mdbtopic-test"),
| @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
| @ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/TestMdbTopic")
| })
|
Someone claims it works (in Spanish):
http://blog.neodoo.es/fsolans/entry/mdb_con_anotaciones_pojo_ejb3
It does not ( i kept only the attributes he used : mappedName, acknowledgeMode, destinationType, destination)
Does anyone else have a clue ? Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178451#4178451
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178451
17 years, 8 months
[Installation, Configuration & DEPLOYMENT] - User Agent is NULL in Jboss EAP (JBoss 4.3.0.GA_CP011)
by eontech
Whenever I start the EAP with default settings i.e. server is bound to localhot, the user-agent field in HTTP Request headers comes as null. If I start the EAP bounded to machine's IP address i.e. using -b option, it works well. On debugging I found that if we start the EAP with default options, it binds server with localhost and in headers for user-agent and its value it replaces all characters with -. Thus the key anonymous wrote : user-agent becomes anonymous wrote : ----------
Same stands true for its values as well. The key and value in request headers look likes this:
----------
----------- ------------ ---- ---- ------- -- ---- ---- ---- --- --------- ---- --- --------- ---- --- ----------
Since the user-agent key has been changed to sequence of dash, retrieving user-agent from request header comes as null.
If I start the server bound to IP address, I get correct values for this header.Is this a bug or security constraint. Please suggest
Best Regards,
Abhishek
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178449#4178449
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178449
17 years, 8 months