[JBoss JIRA] Created: (JBRULES-451) Allow optional trailing comma "," for field constraint list
by Juergen none (JIRA)
Allow optional trailing comma "," for field constraint list
-----------------------------------------------------------
Key: JBRULES-451
URL: http://jira.jboss.com/jira/browse/JBRULES-451
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 3.0.4
Reporter: Juergen none
Assigned To: Mark Proctor
Priority: Optional
With frequently re-arranging / adding / removing field constraints, I more than once forgot to add / remove trailing/separating commas in the field constraint list.
would it be possible to extend the drools drl syntax to allow an optional trailing comma?
e.g.
A(
a == 1,
b == 2, // optional trailing comma, should not yield the syntax error
)
A(
a == 1,
b == 2 // no (optional) trailing comma, like currently required, is also valid
)
--
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
[JBoss JIRA] Created: (JBRULES-377) the whole rule set was looped.
by wen Lin (JIRA)
the whole rule set was looped.
------------------------------
Key: JBRULES-377
URL: http://jira.jboss.com/jira/browse/JBRULES-377
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 3.0.1
Environment: window xp, eclipse-3.1.2
Reporter: wen Lin
Assigned To: Mark Proctor
There were some discussions about this issue in the drools-user mailing list already.
In the decision table, salience = true:
When I modify a variable in the action cell, even I have specified keyword "UNLOOP" to be true, all other rules satisfying the new conditions are fired (even for rules which already fired before). Therefore, the whole rule set is looped and can not stop running.
Currently I need to set up a lot of flags to avoid this situation ...
--
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
[JBoss JIRA] Created: (JBPORTAL-997) Can't build JBoss Portal on Windows XP
by Sverker Abrahamsson (JIRA)
Can't build JBoss Portal on Windows XP
--------------------------------------
Key: JBPORTAL-997
URL: http://jira.jboss.com/jira/browse/JBPORTAL-997
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.4 Final
Environment: Windows XP, english language
Reporter: Sverker Abrahamsson
Attachments: ant.bat.patch
When trying to build JBoss portal on windows the following problem occurs:
C:\Project\Tools\JBoss\jboss-portal-2.4\build>build
Executing C:\Project\Tools\JBoss\jboss-portal-2.4\build\..\tools\bin\ant.bat -l
ogger org.apache.tools.ant.NoBannerLogger
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_0
6\lib\tools/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\xml-a
pis/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\xercesImpl/ja
r;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\xalan/jar;C:\Projec
t\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\saxon/jar;C:\Project\Tools\JBo
ss\jboss-portal-2/4\build\//\tools\lib\junit/jar;C:\Project\Tools\JBoss\jboss-po
rtal-2/4\build\//\tools\lib\jbossbuild/jar;C:\Project\Tools\JBoss\jboss-portal-2
/4\build\//\tools\lib\jboss-test/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\bui
ld\//\tools\lib\explode/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\too
ls\lib\crimson/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\ca
rgo-core-uberjar-0/8/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\
lib\buildmagic-tasks/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\
lib\bsf/jar;C:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\ant/jar;C
:\Project\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\ant-nodeps/jar;C:\Proj
ect\Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\ant-launcher/jar;C:\Project\
Tools\JBoss\jboss-portal-2/4\build\//\tools\lib\ant-junit/jar;
Press any key to continue . . .
--
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
[JBoss JIRA] Created: (JBPORTAL-985) TxConnectionManager Connection error occured
by doung-seok lee (JIRA)
TxConnectionManager Connection error occured
--------------------------------------------
Key: JBPORTAL-985
URL: http://jira.jboss.com/jira/browse/JBPORTAL-985
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: window xp
oracle 10g r2
ojdbc1.4.jar
jboss-4.0.4.GA + jboss portal 2.4CR4
java 1.5
Reporter: doung-seok lee
error 1=>
14:12:19,671 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConn
ectionEventListener@e64a7f[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@13da08 handles=1 lastUse=1
155877939609 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@14f6d51 contex
t=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@191ebc5 xaResource=org.jboss.resource.connectionmanager.TxCon
nectionManager$LocalXAResource@10ddb86 txSync=null]
java.lang.ClassCastException: org.jboss.portal.jems.hibernate.ByteArrayBlob
at oracle.jdbc.driver.OraclePreparedStatement.setBlob(OraclePreparedStatement.java:6795)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setBlob(WrappedPreparedStatement.java:517)
at org.jboss.portal.jems.hibernate.CacheableBlobUserType.nullSafeSet(CacheableBlobUserType.java:97)
at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:145)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1910)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1887)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2117)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jboss.portal.cms.hibernate.HibernateStore$1.close(HibernateStore.java:1051)
error 2 =>
14:12:19,859 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
14:12:19,875 ERROR [JDBCExceptionReporter] Error; - nested throwable: (java.lang.ClassCastException: org.jboss.portal.jems.hiberna
te.ByteArrayBlob)
14:12:19,875 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.portal.cms.hibernate.RepositoryEntry]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2140)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jboss.portal.cms.hibernate.HibernateStore$1.close(HibernateStore.java:1051)
error3=>
14:12:20,093 ERROR [HibernateStore] failed to create new file: /meta/rootUUID
org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.portal.cms.hibernate.RepositoryEntry]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2140)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jboss.portal.cms.hibernate.HibernateStore$1.close(HibernateStore.java:1051)
error4 =>
14:12:20,343 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxCon
ectionEventListener@2f4356[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@a1bced handles=1 lastUse=
155877940328 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@14f6d51 conte
t=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@191ebc5 xaResource=org.jboss.resource.connectionmanager.TxCo
nectionManager$LocalXAResource@7a7f6b txSync=null]
java.lang.ClassCastException: org.jboss.portal.jems.hibernate.ByteArrayBlob
at oracle.jdbc.driver.OraclePreparedStatement.setBlob(OraclePreparedStatement.java:6795)
at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setBlob(WrappedPreparedStatement.java:517)
at org.jboss.portal.jems.hibernate.CacheableBlobUserType.nullSafeSet(CacheableBlobUserType.java:97)
at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:145)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1910)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1887)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2117)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
error5 =>
14:12:20,515 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
14:12:20,515 ERROR [JDBCExceptionReporter] Error; - nested throwable: (java.lang.ClassCastException: org.jboss.portal.jems.hiberna
te.ByteArrayBlob)
14:12:20,515 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.portal.cms.hibernate.RepositoryEntry]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2140)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2503)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
at org.jboss.portal.cms.hibernate.HibernateStore$1.close(HibernateStore.java:1051)
--
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
[JBoss JIRA] Created: (BPEL-198) prevent stale object state exceptions
by Alejandro Guizar (JIRA)
prevent stale object state exceptions
-------------------------------------
Key: BPEL-198
URL: http://jira.jboss.com/jira/browse/BPEL-198
Project: JBoss jBPM BPEL
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: jBPM BPEL 1.1 beta 1
Reporter: Alejandro Guizar
Assigned To: Alejandro Guizar
Priority: Critical
Fix For: jBPM BPEL 1.1 beta 2
After incorporating optimistic concurrency control, Hibernate frequently throwed StaleObjectStateExceptions due to the integration service's enabling of RequestListeners as soon as the process instance reached an inbound message activity. When the expected message comes before the transaction that reached the activity ends, nothing prevents JMS from delivering it. The unavoidable outcome of this situation is a StaleObjectStateException.
We must find a way to enable RequestListeners after the originating transaction ends.
--
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