[JBoss JIRA] Created: (JBAS-7601) Change the defaults to useDLQ=false for JBoss Messaging
by Toshiya Kobayashi (JIRA)
Change the defaults to useDLQ=false for JBoss Messaging
-------------------------------------------------------
Key: JBAS-7601
URL: https://jira.jboss.org/jira/browse/JBAS-7601
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JCA service, JMS (JBoss Messaging)
Affects Versions: JBossAS-5.1.0.GA
Reporter: Toshiya Kobayashi
Assignee: Jesper Pedersen
According to Adrian's comment on JBAS-7465:
====
However, if the jms product already supports DLQ processing then you should disable
the DLQ processing in the MDB. i.e. useDLQ=false.
It is duplicate work and not as "reliable" as the jms product handling internally, e.g.
if the jms connection breaks between sending the message to the DLQ and ACKing the
dead message, you'll eventually end up with the message twice in the DLQ.
The feature only exists because JBossMQ did not have internal DLQ processing.
====
The defaults should be "useDLQ=false" for JBoss Messaging and in its document encourage users to use JBM settings instead.
I created this JIRA as Feature Request because I couldn't reproduce buggy behaviour reported in JBPAPP-3352 against AS 5.1, but I think this change is still desirable for AS, too.
--
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: (JBAS-7635) org.jboss.test.jpa.test.WebClassesJPAUnitTestCase.testWebJPA failure
by Scott Marlow (JIRA)
org.jboss.test.jpa.test.WebClassesJPAUnitTestCase.testWebJPA failure
--------------------------------------------------------------------
Key: JBAS-7635
URL: https://jira.jboss.org/jira/browse/JBAS-7635
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: EJB3
Reporter: Scott Marlow
Assignee: Carlo de Wolf
http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-testSui...
junit.framework.AssertionFailedError: expected:<200> but was:<500>
at org.jboss.test.jpa.test.AbstractWebJPATest.accessURL(AbstractWebJPATest.java:62)
at org.jboss.test.jpa.test.AbstractWebJPATest.testWebJPA(AbstractWebJPATest.java:48)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
2010-01-18 16:13:42,673 ERROR [org.jboss.test.jpa.servlet.TestServlet] (http-127.0.0.1-8080-2) Error in servlet: java.lang.IllegalArgumentException: Unknown entity: org.jboss.test.jpa.support.TestEntity
at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:446)
at org.jboss.jpa.impl.tx.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:206)
at org.jboss.test.jpa.servlet.TestServlet.doGet(TestServlet.java:69)
... (http://pastebin.com/m3e17ecf0)
--
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: (JBAS-7479) Unable to set checkInterval init-param to 0 for 'jsp' servlet
by James Livingston (JIRA)
Unable to set checkInterval init-param to 0 for 'jsp' servlet
-------------------------------------------------------------
Key: JBAS-7479
URL: https://jira.jboss.org/jira/browse/JBAS-7479
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.1.0.GA, JBossAS-4.2.3.GA
Reporter: James Livingston
Assignee: Remy Maucherat
If you attempt to set the checkInterval init-param to 0 in jboss-web.deployer/conf/web.xml (4.2) or deployers/jbossweb.deployer/web.xml (5.1) you receive a warning 'Warning: Invalid value for the initParam checkInterval. Will use the default value of "300" seconds' despite the comments indicating it is a valid value.
What seems to have happened is that a while back we copied the org.apache.jasper.EmbeddedServletOptions class to org.jboss.web.tomcat.service.jasper.JspServletOptions so that we could override tldLocationsCache. Some time later, a Tomcat bug[0] in that class got fixed, but our copied code didn't get the fix applied.
The relevant change is removing the "if (this.checkInterval == 0)" block, so that 0 is an acceptable value. If we did want to disallow 0, then it is buggy because it gets left as 0 if the init-param is not present or is a non-numeric value.
[0] https://issues.apache.org/bugzilla/show_bug.cgi?id=41265
--
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