[JBoss JIRA] Created: (JBPM-708) Version control of the process definition
by Aravind Kumar (JIRA)
Version control of the process definition
-----------------------------------------
Key: JBPM-708
URL: http://jira.jboss.com/jira/browse/JBPM-708
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM 3.1.1
Reporter: Aravind Kumar
Assigned To: Tom Baeyens
When working with jBPM in developement environment, there is no control over the version of the process-definition.
Each time the server is restarted, a new version is deployed.
The work around that I did:
<boolean name="update-definition" value="false"/>
this tag is included in the jbpm.cfg.xml
& a check at JbpmContext.java:
public void deployProcessDefinition(ProcessDefinition processDefinition) {
if(JbpmConfiguration.Configs.getBoolean("update-definition")) {
getGraphSession().deployProcessDefinition(processDefinition);
}
}
This works fine for a single process defifnition. In case, there are multiple process definitions and some needs to be updates and some need not be.
--
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
18 years, 8 months
[JBoss JIRA] Created: (JBRULES-375) "?" doesn't seem to be recognized in the excel spreadsheet.
by wen Lin (JIRA)
"?" doesn't seem to be recognized in the excel spreadsheet.
-------------------------------------------------------------
Key: JBRULES-375
URL: http://jira.jboss.com/jira/browse/JBRULES-375
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 3.0.1
Environment: window xp, eclipses-3.1.2
Reporter: wen Lin
Assigned To: Mark Proctor
In the action cell, I have
int score = (i.getMyScore()< $param)? i.getMyScore(): $param; c.setAdjustScore(score); c.setFlag(false); modify( c );
and got the following errors:
[mTokens]: line 25:39 state 0 (decisionfiltered=16) no viable alt line 25:39; char='?'
[mTokens]: line 37:39 state 0 (decisionfiltered=16) no viable alt line 37:39; char='?'
[mTokens]: line 49:39 state 0 (decisionfiltered=16) no viable alt line 49:39; char='?'
[mTokens]: line 61:39 state 0 (decisionfiltered=16) no viable alt line 61:39; char='?'
[mTokens]: line 73:39 state 0 (decisionfiltered=16) no viable alt line 73:39; char='?'
[mTokens]: line 85:39 state 0 (decisionfiltered=16) no viable alt line 85:39; char='?'
[mTokens]: line 97:39 state 0 (decisionfiltered=16) no viable alt line 97:39; char='?'
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
Rule Compilation error Syntax error on token ")", ? expected after this token
------------------------------------------------------------------
but the problem disappears while I use the following instead:
c.setAdjustScore(Math.min(i.getMyScore (), $param));
---------------------------------------------------------------------------------------
It seems to me that either "?" is not recognized or "(a>b)? a:b" doesn't work ...
--
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
18 years, 8 months
[JBoss JIRA] Created: (JBSER-84) Improve serialization of immutable objects
by Michael Santos (JIRA)
Improve serialization of immutable objects
------------------------------------------
Key: JBSER-84
URL: http://jira.jboss.com/jira/browse/JBSER-84
Project: JBoss Serialization
Issue Type: Feature Request
Reporter: Michael Santos
Assigned To: Clebert Suconic
It is common for objects to contain references to hundreds or thousands of equal immutable object instances, especially java.lang.Number subclasses. Some immutable objects produce a considerable serialized amount of information, such as java.math.BigDecimal. However, there's usually no reason for different instances being used to represent the same value; they only exist due to the way they were produced (parsing &, conversion APIs and JDBC are definitely fine examples of that). Experiments on a particular project have shown replacing all these equal instances by one of them can reduce the serialized size of some objects by half.
Therefore, JBoss Serialization should provide way to allow users to tell it's ok to use the same reference for all these immutable instances and which classes are to be considered immutable and replace them during the writing phase. This would be much more efficient and wouldn't require developers to rewrite their code in order to optimize serialization of some objects. A global way, such as system property, of telling the API to do this by default with the most commonly used Java SE classes would be desirable as well.
--
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
18 years, 8 months