[JBoss JIRA] Created: (JBRULES-3104) Use annotations on declared beans
by Davide Sottara (JIRA)
Use annotations on declared beans
---------------------------------
Key: JBRULES-3104
URL: https://issues.jboss.org/browse/JBRULES-3104
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.2.0.Final
Reporter: Davide Sottara
Assignee: Mark Proctor
Priority: Minor
Fix For: 5.3.0.Beta1
When declaring beans (i.e. using the "declare" feature), if metadata attached to a class or a field corresponds to an actual @Annotation, that @Annotation should be present in the generated class.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBVFS-160) FileSystemContext.getFileURI returns wrong URI for UNC paths on Windows
by James Livingston (JIRA)
FileSystemContext.getFileURI returns wrong URI for UNC paths on Windows
-----------------------------------------------------------------------
Key: JBVFS-160
URL: https://jira.jboss.org/browse/JBVFS-160
Project: JBoss VFS
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.3.SP1
Environment: Windows
Reporter: James Livingston
Assignee: John Bailey
Attachments: UncPathTest.java
When passed a File for something with a UNC path (e.g. \\127.0.0.1\shared), FileSystemContext.getFileURI() return a URI like "file://127.0.0.1/shared" (which is what Windows itself uses) rather than "file:////127.0.0.1/shared" (which Java uses, and converts for OS calls). This will cause JBoss to fail to deploy things if they are located on an unmapped UNC location.
I'm attaching a test case for this. To use it, you need to run it on a Windows system and have access to a something with a UNC path. The code as written expects there to be a SMB share called "shared" on the machine it is run on, but it can easily be change to point elsewhere.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBVFS-165) VFSInputSource should not implement getCharacterStream
by Ales Justin (JIRA)
VFSInputSource should not implement getCharacterStream
------------------------------------------------------
Key: JBVFS-165
URL: https://jira.jboss.org/browse/JBVFS-165
Project: JBoss VFS
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.0.0.CR5, 2.2.0.GA, 2.1.3.SP1, 2.1.3.GA
Reporter: Ales Justin
Assignee: Ales Justin
Fix For: 2.1.3.SP2, 3.0.0.CR6
It's related to the encoding with which the XML is parsed.
The encoding specified in
<?xml version="1.0" encoding="UTF-8"?>
is guaranteed to be used unless the user provides a java.io.Reader to the parser. Which is what happens in our case, the encoding specified in the XML is ignored and the system default one is used instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBAS-9335) Errors in windows service.bat error handling
by Stephen Parry (JIRA)
Errors in windows service.bat error handling
--------------------------------------------
Key: JBAS-9335
URL: https://issues.jboss.org/browse/JBAS-9335
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: MSC
Affects Versions: 6.0.0.Final
Environment: Windows
Reporter: Stephen Parry
Priority: Minor
service.bat
The errorlevel handling in the service.bat script is incorrect causing misleading error messages.
The syntax:
if errorlevel 1
is used meaning "if errorlevel == 1", when it actual means "if errorlevel >= 1". The syntax that should be used is:
if %errorlevel% EQU 1
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBRULES-2487) NPE on line 69 of ConcurrentNodeMemories.java when calling JPAKnowledgeService.loadStatefulKnowledgeSession
by hoogenbj (JIRA)
NPE on line 69 of ConcurrentNodeMemories.java when calling JPAKnowledgeService.loadStatefulKnowledgeSession
-----------------------------------------------------------------------------------------------------------
Key: JBRULES-2487
URL: https://jira.jboss.org/jira/browse/JBRULES-2487
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: JBoss 4.2.3, Java 6 64-bit, Windows Vista 64-bit
Reporter: hoogenbj
Assignee: Mark Proctor
Hi,
I get a NullPointerException on line 69 of ConcurrentNodeMemories when calling JPAKnowledgeService.loadStatefulKnowledgeSession(...) in order to complete a work item using session.getWorkItemManager().completeWorkItem(...).
Further investigation reveals that the objectType on line 332 of InputMarshaller refers to one of my objects that I passed as part of the second argument object when calling startProcess on the knowledge session that I got with JPAKnowledgeService.newStatefulKnowledgeSession. The objectTypeNode on line 333 of InputMarshaller is null which eventually causes the NPE in ConcurrentNodeMemories.
This error does not occurr when starting and completing the whole process without retrieving the session from the database. Which seems to indicate that something is not persisted or correctly retrieved from the database.
This is a serious problem for us. It means we have to find an alternative for Drools flow...
--
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
14 years, 9 months
[JBoss JIRA] Created: (JBRULES-3159) Exception throw when Dynamic Kbase updates occurs in Fusion temporal rules
by Federico Weisse (JIRA)
Exception throw when Dynamic Kbase updates occurs in Fusion temporal rules
--------------------------------------------------------------------------
Key: JBRULES-3159
URL: https://issues.jboss.org/browse/JBRULES-3159
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Federico Weisse
Assignee: Mark Proctor
when a dynamic changes occurs in KBase an exception is trhow
011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner attempt to scan 1 resources
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner modified resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] : 1311869325187 : 1311869473656
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeNotification received ChangeSet notification
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner thread is waiting for 300 seconds.
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeNotification processing ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeNotification ChangeSet modified resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] for listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent received ChangeSet changed notification
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeNotification thread is waiting for queue update
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:info] KnowledgeAgent applying ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent removing mappings for resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] with unsubscribe=true
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent notifier unsubscribing to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeNotification unsubscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner unsubcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@c69727 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] now has no subscribers
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:info] KnowledgeAgent performing an incremental build of the ChangeSet
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent: Diffing: [UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: Couldn't handle org.drools.rule.TypeDeclaration@6bdc57. We must leave it in the new Package.
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: Comparing [Rule name=Mas de 20 codigos rojos en el mismo barrio, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule name=Mas de 20 codigos rojos en el mismo barrio, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: Comparing [Rule name=urgencia codigo amarillo pendiente por mas de 3 minutos, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule name=urgencia codigo amarillo pendiente por mas de 3 minutos, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: Comparing [Rule name=urgencia codigo rojo pendiente por mas de 10 minutos, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule name=urgencia codigo rojo pendiente por mas de 10 minutos, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent obtaining pkg resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent mapping resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] to KnowledgeDefinition=[Rule name=Mas de 20 codigos rojos en el mismo barrio, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] ResourceChangeScanner subcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@c69727 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent mapping resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] to KnowledgeDefinition=[Rule name=urgencia codigo rojo pendiente por mas de 10 minutos, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent mapping resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] to KnowledgeDefinition=[Rule name=urgencia codigo amarillo pendiente por mas de 3 minutos, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent mapping resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl'] to KnowledgeDefinition=org.drools.rule.TypeDeclaration@1e3a6dd
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent adding KnowledgeDefinitionsPackage ar.com.osde.urgencias
Exception in thread "Thread-18"
java.lang.NullPointerException
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.RightTuple.unlinkFromRightParent(RightTuple.java:107)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.BetaNode.doRemove(BetaNode.java:282)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.BetaNode.doRemove(BetaNode.java:293)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.RuleTerminalNode.doRemove(RuleTerminalNode.java:411)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.ReteooBuilder.removeRule(ReteooBuilder.java:237)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.ReteooRuleBase.removeRule(ReteooRuleBase.java:432)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.AbstractRuleBase.removeRule(AbstractRuleBase.java:831)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.AbstractRuleBase.mergePackage(AbstractRuleBase.java:623)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:539)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:445)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:452)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:937)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:821)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:586)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:185)
2011-07-28 13:14:22,234 ERROR [STDERR] at org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.run(KnowledgeAgentImpl.java:1106)
2011-07-28 13:14:22,234 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months