[JBoss JIRA] (WFLY-9748) Support new method-level "@Priority" annotation
by David Lloyd (JIRA)
David Lloyd created WFLY-9748:
---------------------------------
Summary: Support new method-level "@Priority" annotation
Key: WFLY-9748
URL: https://issues.jboss.org/browse/WFLY-9748
Project: WildFly
Issue Type: Enhancement
Components: CDI / Weld, EE, EJB
Reporter: David Lloyd
Priority: Critical
Fix For: 12.0.0.Alpha1
The {{@Priority}} annotation in Common Annotations 1.3 has gained a METHOD applicability level. We must ensure that our interceptor metadata processing picks up these annotations.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (WFLY-9282) UserTransaction should be lazy to allow node selection (loadbalancing) even if the invocations stick to one node
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/WFLY-9282?page=com.atlassian.jira.plugin.... ]
David Lloyd commented on WFLY-9282:
-----------------------------------
Per discussions, this may be fully resolved already. Let's see if we can close this out.
> UserTransaction should be lazy to allow node selection (loadbalancing) even if the invocations stick to one node
> ----------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9282
> URL: https://issues.jboss.org/browse/WFLY-9282
> Project: WildFly
> Issue Type: Enhancement
> Components: EJB
> Environment: Remote client EJB invocation
> Reporter: Wolf-Dieter Fink
> Assignee: David Lloyd
>
> It should be possible to lookup a UserTransaction from a node or a cluster and call .begin() with starting the Transaction lazy until the first EJB invocation.
> The invocation will implicit begin the transaction and all invocation are sticky to that node.
> This is to spread the load across several server instances if there is no running transaction but keep the transaction sticky to the first selected node.
> It prevents from a strong affinity to one instance via URI affinity or the necessity to define the node for the UserTransaction upfront.
> The sticiness is because of issues with persistence like JPA as here the server is not really 'stateless' as the session of EntityManager can decide to not flush the changed data to the underlying database which can cause issues if the transaction will continued on a different instance if the client invoke EJB's multiple times.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (JBWEB-214) More than one JSESSIONID cookie headers set in JBoss Web
by richard groote (JIRA)
[ https://issues.jboss.org/browse/JBWEB-214?page=com.atlassian.jira.plugin.... ]
richard groote commented on JBWEB-214:
--------------------------------------
I have a question about the status of this issue. In the rfc6265 the below is stated, so it would be nice if the server should not response with multiple session id.
In our situation we do not invalidate the session our self. In our situation we're calling a secure page and than the response contains two SetCookie headers.
The cause of the problem is the session-config in the web.xml defines that the cookie is secure but the call we make in the browser is http.
The next call is a post to the j_security_check and this one will fail with message "session timeout during the login process".
The browser (FireFox and Chrome) are not responding to (correctly) to the Set-Cookie in the first request so therefore a incorrect session is send with the j_security_check.
It would be nice if the server will response only with one Set-Cookie
--- RFC6265 ---
Servers SHOULD NOT include more than one Set-Cookie header field in
the same response with the same cookie-name. (See Section 5.2 for
how user agents handle this case.)
> More than one JSESSIONID cookie headers set in JBoss Web
> --------------------------------------------------------
>
> Key: JBWEB-214
> URL: https://issues.jboss.org/browse/JBWEB-214
> Project: JBoss Web
> Issue Type: Bug
> Components: Tomcat
> Affects Versions: JBossWeb-2.1.11.GA
> Reporter: Eiichi Nagai
> Assignee: Remy Maucherat
>
> More than one JSESSIONID cookie headers set if execute following JSP.
> <%
> session.invalidate();
> session = request.getSession();
> session.invalidate();
> session = request.getSession();
> %>
> This issue has been reported from Bug 49158[1] in tomcat.
> [1] Bug 49158 - More than one JSESSIONID cookie headers set
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49158
> http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalin...
> http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalin...
> I guess that same fix is required in JBoss Web.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month