[JBoss JIRA] Commented: (JBAS-1824) JACC: <role-name>*</role-name> in web.xml
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1824?page=comments#action_12353176 ]
Dimitris Andreadis commented on JBAS-1824:
------------------------------------------
Anil, will you be working on this?
> JACC: <role-name>*</role-name> in web.xml
> -----------------------------------------
>
> Key: JBAS-1824
> URL: http://jira.jboss.com/jira/browse/JBAS-1824
> Project: JBoss Application Server
> Issue Type: Feature Request
> Components: Security
> Affects Versions: JBossAS-4.0.2 Final
> Environment: -
> Reporter: Roland R?z
> Assigned To: Anil Saldhana
> Priority: Minor
> Fix For: JBossAS-4.2.0.CR1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> In some cases I wish to do authentication without authorisation. For example everybody has access to my web-resource, but I want to know who she/he is.
> Therefore the accessing user must login.
> So my web.xml contains the following snippet:
> ...
> <security-constraint>
> <web-resource-collection>
> <web-resource-name>Protected Helloworld example</web-resource-name>
> <description/>
> <url-pattern>/servlet/HelloWorldExample</url-pattern>
> <http-method>POST</http-method>
> <http-method>GET</http-method>
> </web-resource-collection>
> <auth-constraint>
> <role-name>*</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>BASIC</auth-method>
> <realm-name>public</realm-name>
> </login-config>
> ...
> The web app runs with this configuration in Tomcat 5.5.8 standalone but not in Jboss.
> To run it in Jboss I have to add the following element:
> <security-role>
> <role-name>aRole</role-name>
> </security-role>
> The JACC spec (section 3.1.3.1, paragraph 3)states :
> " ?. When an auth-constraint names the reserved role-name, "*", all of the patterns in the containing security-constraint must be combined with all of the roles defined in the web application."
> JBoss implemented this by combining all of the patterns with all roles defined in the web.xml and assumes that each role has to be defined in the web.xml.
> But the web applications roles are probably defined in other files than the web.xml. In our case we use JACC with an external authentication provider. And each time, the roles changes, I also would have to modify the web.xml.
> It is desirable if the auth-contraint with the role-name "*" acceppts "all" roles and not only those that are defined in the web.xml.
> Or is this a JACC spec issue?
> Regards,
> Andrea
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBPORTAL-1233) Rearrangement of Members Admin area (User and Role portlets) causes an exception
by Jimisola Laursen (JIRA)
Rearrangement of Members Admin area (User and Role portlets) causes an exception
--------------------------------------------------------------------------------
Key: JBPORTAL-1233
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1233
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6.Alpha2
Environment: WinXP, 2.6Alpha Zip Bundle
Reporter: Jimisola Laursen
Assigned To: Julien Viet
I rearranged the admin page for Members, but moving user and role portlets to center (I believe).
Now I can't change this at all due to the following error:
An error occured while rendering window '/admin/default/ManagementPortletWindow'
/WEB-INF/jsp/management/plugins/manager.xhtml @74,63 value="#{portalobjectmgr.cols}": Exception getting value of property cols of base of type : org.jboss.portal.core.portlet.management.PortalObjectManagerBean
--
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
19 years, 2 months
[JBoss JIRA] Closed: (JBPORTAL-817) Looking at an entry in Forums results in NPE
by Thomas Heute (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-817?page=all ]
Thomas Heute closed JBPORTAL-817.
---------------------------------
Resolution: Rejected
This is probably fixed by now.
Forums is now a project itself.
> Looking at an entry in Forums results in NPE
> --------------------------------------------
>
> Key: JBPORTAL-817
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-817
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal Forums
> Affects Versions: 2.2.1 Final
> Environment: Suse Linux 10.0, Java 5_06, JBoss 4.04RC1, JbossPortal 2.2.1RC3, Firefox 1.0.7 (german)
> Reporter: gressho
>
> When I add an entry in a forum it is properly accepted. When I try to look at this entry the
> following NPE occurs:
> 11:50:04,530 ERROR [ForumsPortlet] The portlet threw an exception
> java.lang.NullPointerException
> at java.util.Calendar.setTime(Calendar.java:1032)
> at java.text.SimpleDateFormat.format(SimpleDateFormat.java:785)
> at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778)
> at java.text.DateFormat.format(DateFormat.java:314)
> at org.jboss.portlet.forums.ForumsPortlet.fillShowTopicContext(ForumsPortlet.java:5393)
> at org.jboss.portlet.forums.ForumsPortlet.doView(ForumsPortlet.java:425)
> at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:230)
> at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:217)
> at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360)
> at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:521)
> at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:433)
> at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
> at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:84)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:129)
> at sun.reflect.GeneratedMethodAccessor723.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247)
> at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73)
> at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81)
> at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:110)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64)
> at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
> at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:84)
> at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
> at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:68)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
> at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
> at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:141)
> at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:231)
> at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
> at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
> at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
> at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
> at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
> at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
> at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:151)
> at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
> at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
> at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
> at $Proxy185.handle(Unknown Source)
> at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
> at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
> at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
> at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
> at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
> at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744)
> at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674)
> at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:595)
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBAS-3972) incorrect synchronization in JmsServerSessionPool
by james ahlborn (JIRA)
incorrect synchronization in JmsServerSessionPool
-------------------------------------------------
Key: JBAS-3972
URL: http://jira.jboss.com/jira/browse/JBAS-3972
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS service
Affects Versions: JBossAS-4.0.5.GA
Reporter: james ahlborn
Assigned To: Adrian Brock
Priority: Minor
the code within connector/src/main/org/jboss/resource/adapter/jms/inflow/JmsServerSessionPool.java setupSessions() incorrectly synchronizes on the serverSessions (serverSessions is used on lines 202 and 205 outside the synch block). the method should look like (starting at line 190):
// Create the sessions
ArrayList clonedSessions = null;
synchronized (serverSessions)
{
for (int i = 0; i < spec.getMaxSessionInt(); ++i)
{
JmsServerSession session = new JmsServerSession(this);
serverSessions.add(session);
}
sessionCount = serverSessions.size();
clonedSessions = (ArrayList) serverSessions.clone();
}
// Start the sessions
for (int i = 0; i < clonedSessions.size(); ++ i)
{
JmsServerSession session = (JmsServerSession) clonedSessions.get(i);
session.setup();
}
--
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
19 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-734) Create failover tests for failover of XASesions
by Tim Fox (JIRA)
Create failover tests for failover of XASesions
-----------------------------------------------
Key: JBMESSAGING-734
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-734
Project: JBoss Messaging
Issue Type: Task
Affects Versions: 1.2.0.Beta1
Reporter: Tim Fox
Fix For: 1.2.0.CR1
We need to make sure failover of XAsesions works ok.
Current test coverage only tests failover of non XA sessions.
Need to do something like:
Create a couple of XASessions on different XAConnections on different servers
Do some work in the sessions.
Failover one of the servers
Complete the transaction
Verify outcome is as expected (correct messags are sent, and correct message are acked - must test both send and ack)
Failover should happen at different times, in the commit process
Need to test failover at:
before being
after begin
after end
before prepare
after prepare
--
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
19 years, 2 months