[JBoss JIRA] Created: (JBMESSAGING-1681) fetch based on messageId doesn't work
by Konstantin Pupkov (JIRA)
fetch based on messageId doesn't work
-------------------------------------
Key: JBMESSAGING-1681
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1681
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.3.GA
Environment: Linux, Ubuntu 9, JBoss 5.1.0.GA, My SQL 5, Java 6
Reporter: Konstantin Pupkov
Assignee: Tim Fox
here is me code on client:
String msgId="ID:JBM-511cfd0b-b4a8-4148-bd69-127a1fdeecfe";-->no worries that message has been just created and 100% exists in my DB
QueueReceiver recv= ConnectionFactory.getInstance().getSession().createReceiver(queue, "JMSMessageID='"+msgId+"'");
Message msg1= recv.receive();---->hungs on forever
I tied
QueueReceiver recv= ConnectionFactory.getInstance().getSession().createReceiver(queue, "JBMessageID='"+msgId+"'"); --> this is according to documentation. failed as well
Please fix it and keep standard approach: JMSMessageID not JBMessageID.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (EJBTHREE-1858) NPE if in resource-env-ref no injection target is specified
by Wolfgang Knauf (JIRA)
NPE if in resource-env-ref no injection target is specified
-----------------------------------------------------------
Key: EJBTHREE-1858
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1858
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.1.7
Reporter: Wolfgang Knauf
Attachments: ResourceEnvRefNPE.jar
If an ENC entry for java:/comp/EJBContext is declared and NO injection target is specified, this results in a NPE.
<resource-env-ref>
<resource-env-ref-name>EnvNameOfSessionContext</resource-env-ref-name>
<resource-env-ref-type>javax.ejb.SessionContext</resource-env-ref-type>
<mapped-name>java:comp/EJBContext</mapped-name>
</resource-env-ref>
The exception is:
...
Caused by: java.lang.NullPointerException
at org.jboss.injection.InjectionUtil.createInjectors(InjectionUtil.java:105)
at org.jboss.injection.ResourceHandler.loadXmlResourceEnvRefs(ResourceHandler.java:227)
at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:343)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:597)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:434)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:543)
... 69 more
Looking at the code in ResourceHandler.loadXmlResourceEnvRefs, this is the only place where the check "if(envRef.getInjectionTargets() != null)" is missing ;-).
I will attach a sample.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (EJBTHREE-1854) Configure EJB3 MC beans to avoid AOPDependencyBuilder
by jaikiran pai (JIRA)
Configure EJB3 MC beans to avoid AOPDependencyBuilder
-----------------------------------------------------
Key: EJBTHREE-1854
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1854
Project: EJB 3.0
Issue Type: Task
Components: core, deployers
Affects Versions: 1.1.7
Reporter: jaikiran pai
Assignee: jaikiran pai
This task is to keep track of the change(s) required for all EJB3 MC bean (programatic and xml based) to ensure that the AOPDependencyBuilder does not come into picture during deployment. Avoiding AOPDependencyBuilder has shown good performance improvements.
There isn't a final decision yet on how to do this although MC provides @DisableAOP annotation to achieve this. The MC support for this is currently available in AS 5_x branch and needs to be ported to AS trunk before EJB3 can think of using this. Once there's a decision on what's the best approach to accomplish this, we can do the changes in EJB3.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months