[JBoss JIRA] Created: (JBPM-1811) JmsMessageTest fails intermitently on HSQLDB
by Thomas Diesler (JIRA)
JmsMessageTest fails intermitently on HSQLDB
--------------------------------------------
Key: JBPM-1811
URL: https://jira.jboss.org/jira/browse/JBPM-1811
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Reporter: Thomas Diesler
Fix For: jBPM 3.3.1 GA
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at org.jbpm.msg.jms.JmsMessageTest.testAsyncFork(JmsMessageTest.java:193)
EventCallback.waitForEvent(Event.EVENTTYPE_PROCESS_END);
assertTrue("Process has ended", hasProcessEnded(processId));
It seems that hasProcessEnded() can return false although the exent had already been sent.
This sould be a race condition
--
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
17 years, 4 months
[JBoss JIRA] Created: (JBPM-1909) Fix SubjectAuthenticationService
by Bernd Ruecker (JIRA)
Fix SubjectAuthenticationService
--------------------------------
Key: JBPM-1909
URL: https://jira.jboss.org/jira/browse/JBPM-1909
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Core Engine
Reporter: Bernd Ruecker
Assignee: Bernd Ruecker
Priority: Minor
In the code base there is a SubjectAuthenticationService. The intention is, that the actor-id is set to the currently logged in JAAS-Subject. Unfortunately, this isn't implemented consequently.
In a current project we want to exchange the AuthenticationService, because we try to use Single-Sign-On Semantics in JBoss SOA Platform.
Currently there are 3 problems:
1.) There is no SubjectAuthenticationServiceFactory, so this AuthenticationService cannot be used
2.) subject.getPrincipals(principalClass) results in a list of Principals, containing groups as well. So by the current code, the actor isn't set correctly
3.) And this is the bigger SHOWSTOPPER: The AuthenticationService interface only defines the method "getActor". But at several places jbpmContext.setActorId is called (e.g. WebConsole PhaseListener, ESB BpmProcessor, ...). This results in an exception if the DefaultAuthenticationService is not used! This makes it impracticable to exchange the AuthenticationService.
So what to do at this front?
I see two possibilities:
a) Change the AuthenticationService interface to include a setActorId method. This can be ignored by implementations like the SubjectAuthenticationService (cannot and don't want to change the JAAS subject).
b) Change the JbpmContext to ignore setActorId depending on the AuthenticationService implementation.
The third possibility isn't really an option I think: Change all clients to NOT call the setActorId without any good reason.
I tend to option (a). What I could imagine is, that the actorId is queries from JAAS if null, but can be overwritten with setActorId and then remembered locally. Please refer to the forum for discussion....
--
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
17 years, 4 months
[JBoss JIRA] Commented: (JBPM-1449) TagLibraryConfig loadImplicit errors
by Ronald van Kuijk (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1449?page=com.atlassian.jira.plug... ]
Ronald van Kuijk commented on JBPM-1449:
----------------------------------------
It is a very small thing in Facelets that needs to be changed:
### Eclipse Workspace Patch 1.0
#P Facelets
Index: src/java/com/sun/facelets/compiler/TagLibraryConfig.java
===================================================================
RCS file: /cvs/facelets/src/java/com/sun/facelets/compiler/TagLibraryConfig.java,v
retrieving revision 1.11
diff -u -r1.11 TagLibraryConfig.java
--- src/java/com/sun/facelets/compiler/TagLibraryConfig.java 14 Jun 2007 21:59:50 -0000 1.11
+++ src/java/com/sun/facelets/compiler/TagLibraryConfig.java 18 Dec 2008 00:58:45 -0000
@@ -429,7 +429,7 @@
for (int i = 0; i < urls.length; i++) {
try {
compiler.addTagLibrary(create(urls[i]));
- log.info("Added Library from: " + urls[i]);
+ log.log(Level.INFO, "Added Library from: " + urls[i]);
} catch (Exception e) {
log.log(Level.SEVERE, "Error Loading Library: " + urls[i], e);
}
JBoss has a 1.1.15.B1 in their repo that they compiled themselves from a tag (there was no 1.1.15.B1 release) So they can include this patch and re-release it.... jBPM has to switch to this 1.1.15.B1 release anyway (See JBPM-1913, can someone change the pom, my svn account give me 403's).
I checked and now it logs nicely on info level and not to standard out...
01:54:27,303 INFO [RuleBase] parsing rules: /security.drl
01:54:27,514 INFO [Contexts] starting up: org.jboss.seam.web.session
01:54:27,777 INFO [SeamFormFilter] Ignoring http://127.0.0.1:8080/chiba-jsf/home.seam
01:54:28,171 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jboss-seam-ui-2.1.1-SNAPSHOT.jar!/META-INF/s.taglib.xml
01:54:28,185 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jsf-facelets-1.1.15.B1-patch.jar!/META-INF/jsf-core.taglib.xml
01:54:28,189 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jsf-facelets-1.1.15.B1-patch.jar!/META-INF/jsf-html.taglib.xml
01:54:28,197 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jsf-facelets-1.1.15.B1-patch.jar!/META-INF/jsf-ui.taglib.xml
01:54:28,205 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jsf-facelets-1.1.15.B1-patch.jar!/META-INF/jstl-core.taglib.xml
01:54:28,208 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/jsf-facelets-1.1.15.B1-patch.jar!/META-INF/jstl-fn.taglib.xml
01:54:28,219 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
01:54:28,222 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
01:54:28,225 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
01:54:28,257 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
01:54:28,262 INFO [compiler] Added Library from: jar:file:/home/kukel/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/chiba-jsf.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
01:54:30,094 INFO [SeamFormFilter] Ignoring http://127.0.0.1:8080/chiba-jsf/stylesheet/theme.css
01:54:30,096 INFO [SeamFormFilter] Ignoring http://127.0.0.1:8080/chiba-jsf/favicon.ico
01:54:30,112 INFO [SeamFormFilter] Ignoring http://127.0.0.1:8080/chiba-jsf/img/seamlogo.png
01:54:30,683 INFO [SeamFormFilter] Ignoring http://127.0.0.1:8080/chiba-jsf/favicon.ico
strange that log.info is wrong and log.log(Level.INFO, ....) is correct....
> TagLibraryConfig loadImplicit errors
> ------------------------------------
>
> Key: JBPM-1449
> URL: https://jira.jboss.org/jira/browse/JBPM-1449
> Project: JBoss jBPM
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core Engine
> Reporter: Len DiMaggio
> Assignee: Thomas Diesler
> Priority: Minor
> Fix For: jBPM 3.3.2 GA
>
>
> Platform JIRA for project JIRA: JBPM-1065
--
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
17 years, 4 months
[JBoss JIRA] Reopened: (JBPM-1885) JSF upgrade breaks jBPM console
by Heiko Braun (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1885?page=com.atlassian.jira.plug... ]
Heiko Braun reopened JBPM-1885:
-------------------------------
Thta fix seems to be invalid and not required. It actually causes the problems described in SOA-1052
> JSF upgrade breaks jBPM console
> -------------------------------
>
> Key: JBPM-1885
> URL: https://jira.jboss.org/jira/browse/JBPM-1885
> Project: JBoss jBPM
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Console
> Affects Versions: SOA 4.2 CP03
> Environment: SOA-P 4.2.0 CP03
> Reporter: Julian Coleman
> Assignee: Heiko Braun
> Fix For: jBPM 3.3.1 GA
>
>
> The upgraded JSF libs from EAP 4.3.0 CP03 break the jBPM console.
> Trying to examine a process (which invokes JSF on procdef.xhtml) gives:
> ERROR [facelets.viewhandler] Error Rendering View[/app/procdef.xhtml]
> java.lang.ClassCastException: java.lang.String
> at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106)
> at com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137)
> ...
--
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
17 years, 4 months