[JBoss JIRA] Created: (JBRULES-1859) Error info not telling root cause
by Jaroslaw Kijanowski (JIRA)
Error info not telling root cause
---------------------------------
Key: JBRULES-1859
URL: https://jira.jboss.org/jira/browse/JBRULES-1859
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.0.0.M3
Reporter: Jaroslaw Kijanowski
Assignee: Michael Neale
When I:
- create/copy a package and provide an already used name
- create/copy a snapshot and provide an already used name
- create/rename a status and provide an already used name
I get an error window displayed:
"The call failed on the server; see server log for details"
Users may have no access to the server log. Moreover these errors are not reflected in the Event.log
Finally, when I create a rule with a name that is already used, no information is displayed.
--
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, 5 months
[JBoss JIRA] Created: (JBRULES-1603) Creating a multiline DSL with first line variable containing () causes source to be corrupt
by Richard Ambridge (JIRA)
Creating a multiline DSL with first line variable containing () causes source to be corrupt
-------------------------------------------------------------------------------------------
Key: JBRULES-1603
URL: http://jira.jboss.com/jira/browse/JBRULES-1603
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-brms
Affects Versions: 4.0.7
Environment: Solaris 10, Glassfish
Reporter: Richard Ambridge
Assigned To: Mark Proctor
Priority: Minor
Using drools-jbrms, create a new package, and add an Model,
Then create a DSL as follows: (change MessageObj to any object that exists in your Model, and extraField1,2 to items in that object)
Then create new Rule, Business Guided
Add a When, select the 'Line 1' option
Add another when, select the 'and this' option
Add a Then, select the 'Action'
Click validate.. it should pass.
Next change the variable for 'and this' from 'val2' to 'val(2|3)'
Click validate, it should pass
Next change the variable for 'Line 1' from 'val' to 'val(1|2)'
Click validate, It will fail
unknown:4:64 mismatched token: [@18,102:104='val',<7>,4:64]; expecting type RIGHT_PAREN
unknown:4:68 mismatched token: [@20,106:106='2',<25>,4:68]; expecting type RIGHT_PAREN
Click view source and you will see:
rule "TestRule"
dialect "mvel"
when
MessageObj( extraField1 matches "val(1|2, extraField2 matches "val(2|3)" )")
then
System.out.println("Hi");
end
Notice, the 1|2 is not terminated correctly.
--
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
14 years, 5 months
[JBoss JIRA] Created: (JBRULES-1651) deploying BRMS web app - drools-jbrms.war throws java.sql.SQLException: ORA-00902: invalid datatype Exception when used with Oracle database.
by santosh gadkari (JIRA)
deploying BRMS web app - drools-jbrms.war throws java.sql.SQLException: ORA-00902: invalid datatype Exception when used with Oracle database.
----------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1651
URL: http://jira.jboss.com/jira/browse/JBRULES-1651
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: weblogic, oracle, jdk1.5, windows
Reporter: santosh gadkari
Assigned To: Mark Proctor
We want to move from filebased darby database to our Oracle database to store rules. We made the changes in the repository.xml and provided url,connection string etc. but after that we came across "java.sql.SQLException: ORA-00902: invalid datatype" Exceptions.
Please provide suitable solution for the same.
find the stack trace as below,
<19-Jun-2008 21:04:31 o'clock SGT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'brms'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:894)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-00902: invalid datatype
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
Truncated. see log file for complete stacktrace
--
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
14 years, 5 months