[JBoss JIRA] Created: (JBAS-3765) AOP-based version of RetryInterceptor
by Brian Stansberry (JIRA)
AOP-based version of RetryInterceptor
-------------------------------------
Key: JBAS-3765
URL: http://jira.jboss.com/jira/browse/JBAS-3765
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: EJB2, EJB3, Remoting
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.Beta
The (Single)RetryInterceptor only works for EJB 2. Need to:
1) Create a version that uses the AOP interceptor model rather than org.jboss.invocation.
2) Ensure all proxy factories bind an InvokerLocator in JNDI and include in the proxy metadata the location of the binding.
3) Add the interceptor to the various interceptor stack configs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (JBWEB-91) AJP implementation broken : ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message
by Michal Borowiecki (JIRA)
AJP implementation broken : ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message
------------------------------------------------------------------------------------------------
Key: JBWEB-91
URL: http://jira.jboss.com/jira/browse/JBWEB-91
Project: JBoss Web
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Linux 2.6.20-gentoo-r8 #1 SMP
jbossweb-1.0.1.GA-linux2-i686.tar.gz
sun-jdk-1.5.0.11 and sun-jdk-1.6.0.01
Apache: Apache/1.3.37
JK: mod_jk/1.2.18
Reporter: Michal Borowiecki
Assigned To: Mladen Turk
Fix For: JBoss Web Server 1.0.1 GA
When response is greater than abount 225 kB and error is detected on Apache side in mod_jK:
last normal log entry:
[Wed Aug 29 11:24:57 2007] [97923:0000] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 03f0 75 6C 74 3D 64 6F 63 75 6D 65 6E 74 2E 66 6F 72 - ult=document.for
then error:
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x743d from 192.168.0.34:8139
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_get_reply::jk_ajp_common.c (1556): Tomcat is down or network problems. Part of the response has already been sent to the client
[Wed Aug 29 11:24:57 2007] [97923:0000] [info] ajp_service::jk_ajp_common.c (1751): Receiving from tomcat failed, recoverable operation attempt=1
[Wed Aug 29 11:24:57 2007] [97923:0000] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=2
[Wed Aug 29 11:24:57 2007] [97923:0000] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=server3 failed
At another time the error message said:
[Wed Aug 29 11:02:26 2007] [84055:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x2263
or
[Wed Aug 29 11:02:32 2007] [34375:0000] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (981): wrong message format 0x656c
JBoss logs show a normal response sent:
[29/Aug/2007:11:02:24 +0200] "GET /is/transactions.jsf HTTP/1.1" 200 373004
[29/Aug/2007:11:02:30 +0200] "POST /is/transactions.jsf HTTP/1.1" 200 372579
Apache logs show an error:
[29/Aug/2007:11:02:26 +0200] "GET /is/transactions.jsf HTTP/1.1" 503 265
[29/Aug/2007:11:02:32 +0200] "POST /is/transactions.jsf HTTP/1.1" 503 265
The same Apache/mod_jk configuration works fine talking to JBoss-4.0.5.GA so the bug must be jboss web server specific.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (EJBTHREE-1135) Interceptor's tutorial page contains outdated XML
by Galder Zamarreno (JIRA)
Interceptor's tutorial page contains outdated XML
-------------------------------------------------
Key: EJBTHREE-1135
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1135
Project: EJB 3.0
Issue Type: Bug
Components: Documentation
Affects Versions: AS 4.2.2.GA, AS 5.0.0.Beta3
Reporter: Galder Zamarreno
ejb3/docs/tutorial/interceptor/interceptor.html contains outdated XML, i.e:
<interceptor-binding>
<ejb-name>org.jboss.tutorial.interceptor.bean.EmailSystemBean</ejb-name>
<interceptor-class>org.jboss.tutorial.interceptor.bean.AccountsCancelInterceptor</interceptor-class>
<method-name>sendBookingCancellationMessage</method-name>
</interceptor-binding>
should be:
<interceptor-binding>
<ejb-name>org.jboss.tutorial.interceptor.bean.EmailSystemBean</ejb-name>
<interceptor-class>org.jboss.tutorial.interceptor.bean.AccountsCancelInterceptor</interceptor-class>
<method>
<method-name>sendBookingCancellationMessage</method-name>
</method>
</interceptor-binding>
i.e.2:
<interceptor-binding>
<ejb-name>MyBean</ejb-name>
<interceptor-class>SomeInterceptor</interceptor-class>
<method-name>overLoadedMethod</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String[][]</method-param>
</method-params>
</interceptor-binding>
should be:
<interceptor-binding>
<ejb-name>MyBean</ejb-name>
<interceptor-class>SomeInterceptor</interceptor-class>
<method>
<method-name>overLoadedMethod</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String[][]</method-param>
</method-params>
</method>
</interceptor-binding>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months
[JBoss JIRA] Created: (JBMESSAGING-1186) maxBatchTime stops working after the connection between source and target servers is lost
by Maurice Zeijen (JIRA)
maxBatchTime stops working after the connection between source and target servers is lost
-----------------------------------------------------------------------------------------
Key: JBMESSAGING-1186
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1186
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.0.SP1
Environment: Windows XP 64
Java 6
JBoss 4.2.2
Reporter: Maurice Zeijen
Assigned To: Tim Fox
We have the following Situation:
A bridge MBean is setup to bridge between a local source and a remote target. The MaxBatchSize attribute is set to 5 and the MaxBatchTime is set to 10000. So the configuration looks like this:
<mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=wai_sync_customer_bridge" xmbean-dd="xmdesc/Bridge-xmbean.xml">
<depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
<depends optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
<attribute name="SourceDestinationLookup">/queue/local</attribute>
<attribute name="TargetDestinationLookup">/queue/remote</attribute>
<attribute name="QualityOfServiceMode">0</attribute>
<attribute name="MaxBatchSize">5</attribute>
<attribute name="MaxBatchTime">10000</attribute>
<attribute name="FailureRetryInterval">5000</attribute>
<attribute name="MaxRetries">-1</attribute>
<attribute name="AddMessageIDInHeader">false</attribute>
<depends>jboss.messaging.destination:name=local,service=Queue</depends>
</mbean>
If the connection between the two servers is available then the MaxBatchTime works fine. After 10 seconds all messages are moved from local queue to remote queue if there are less then 5 messages in the queue. But when for some reason the connection is lost and after a while restored again then the MaxBatchTime doesn't work any more. Luckily the MaxBatchSize still works. Also the MaxBatchSize doesn't work when the remote server isn't available when the bridge on the local server is started.
Restarting the bridge makes the MaxBatchTime work again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 4 months