[JBoss JIRA] Created: (JBPM-852) setPooledActors in AssignmentHandler doesn't work
by Diego Tobaldi (JIRA)
setPooledActors in AssignmentHandler doesn't work
-------------------------------------------------
Key: JBPM-852
URL: http://jira.jboss.com/jira/browse/JBPM-852
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.1.4
Environment: windows, jbpm-starters-kit-3.1.4
Reporter: Diego Tobaldi
Assigned To: Tom Baeyens
I'd implemented an AssignmentHandler and can´t to assign a task to several users. Example:
public class TestAssignmentHandler implements AssignmentHandler {
public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception {
String[] actors= new String[]{"bert", "ernie"};
assignable.setActorId(null);
assignable.setPooledActors(actors);
}
--
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, 3 months
[JBoss JIRA] Created: (JBAS-4106) Allow use of classes from scoped loaders in ClusterPartition RPC calls
by Brian Stansberry (JIRA)
Allow use of classes from scoped loaders in ClusterPartition RPC calls
----------------------------------------------------------------------
Key: JBAS-4106
URL: http://jira.jboss.com/jira/browse/JBAS-4106
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.Beta2
ClusterPartition RPC calls will currently fail if any classes in the RPC or in the return value are not visible to ClusterPartition's classloader. This is because message unmarshalling will fail to resolve the scoped class.
To fix this:
1) Add overloaded method registerRPCHandler(String key, Object handler, Classloader classloader) to ClusterPartition.
2) Add field ConcurrentHashMap<String, WeakReference<Classloader>> to ClusterPartition.
3) Refactor the way the service name is passed in the marshalled RPC. Now it is dot appended to the RPC's method name. Instead marshall it separately; e.g. the marshalled data structure could be new Object[] { serviceName, new MarshalledValue(methodCall) } or something like that.
4) Unmarshalling deserializes the above, reads the serviceName, looks up the classloader in the map; if found sets the TCCL, and then calls MarshalledValue.get() to get the MethodCall.
Alternative is not to create a separate map for the classloaders, but change the current map that stores the handlers to instead store a simple data type that wraps the handler and the classloader. Have to use a WeakReference for the classloader though.
The existing usage where no classloader is registered still has to work; i.e. if no classloader is found don't touch the TCCL.
--
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, 3 months
[JBoss JIRA] Created: (JBAS-4163) Interation between custom jboss trace and log4j trace levels
by Scott M Stark (JIRA)
Interation between custom jboss trace and log4j trace levels
------------------------------------------------------------
Key: JBAS-4163
URL: http://jira.jboss.com/jira/browse/JBAS-4163
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Build System, Logging
Affects Versions: JBossAS-4.2.0.CR1, JBossAS-5.0.0.Beta2
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.0.GA
I believe the following type of configuration should work with the current log4j version as it now supports trace natively:
<category name="org.jboss.profileservice">
<priority value="TRACE"/>
<appender-ref ref="PROFILESERVICE"/>
</category>
While messages do appear in the PROFILESERVICE appender, no trace level messages are there. Most likely the jboss Logger is getting in the way of mapping this priority and an update to the common logging spi is needed.
--
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, 3 months