| Oracle® Application Server Release Notes and New Features 10g Release 3 (10.1.3.4) Part Number E12523-04 |
|
|
View PDF |
This chapter describes issues associated with Oracle Business Rules. It includes the following topics:
Section 13.1, "Oracle Rules SDK StoreException Thrown: Error Accessing File"
Section 13.2, "MultipleInheritance Exceptions with Imported XML Schemas"
This is a known issue: If a file-based repository cannot be accessed by the OC4J user, a StoreException is thrown when attempting to connect in Rule Author. For example,
oracle.rules.sdk.store.StoreException: Error accessing file '/scratch/how-to-rules-java/dict/CarRepository'. at oracle.rules.sdk.store.RepositoryConnectionFactory.getRepositoryConnection(Rep ositoryConnectionFactory.java:129) at oracle.rules.sdk.repository.impl.RuleRepositoryImpl.init(RuleRepositoryImpl.java:65) at java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:133) at java.util.jar.JarFile.<init>(JarFile.java:70)
You can work around this issue by modifying file permissions such that the OC4J user can both read and write the file.
By default when an XML Schema is imported into the data model, the fact type created from the ObjectFactory has the property "Supports XPath" set to false. This prevents a MultipleInheritanceException from being thrown should the ObjectFactory class be "fact classed" in the generated RL before the classes referenced in it are "fact classed".
When multiple XML Schemas are imported into the datamodel, only the first instance of ObjectFactory will have the property "Supports XPath" set to false. Additional instances of fact types named ObjectFactory in other packages must have this value set explicitly by the user to prevent MultipleInheritanceExceptions.
This section describes the 10.1.3.4 new features for Oracle Business Rules Rule Author.
The following are changes to the functionality of Oracle Business Rules after applying the patch:
Section 13.3.1, "Variable Summary Page with Updated Value Field"
Section 13.3.2, "Definitions Tab with Schema File Browser Button Added"
Section 13.3.3, "Supports XPATH Set to FALSE by Default for XML Schema Imported with JAXB"
Section 13.3.4, "Support for Inline Editing for Variable Values"
Rule Author has been updated so that on the Variable Summary page you can use the Value field to edit the value of a variable.
Oracle Business Rules Rule Author has a file browser button that allows you to browse for a schema .xsd file to import XML fact types. From the Definitions tab, you can now import XML schema by either entering the path name for the schema, or by using the browser to select the schema file.
The default for "supports xpath" is set to false for ObjectFactory and the JAXB classes generated for elements of JAXB generated classes when a schema is imported.
In the 10.1.3.4 release of Oracle Business Rules Rule Author, the Variable Summary page supports inline editing for variable values, as shown in Figure 13-1.
Figure 13-1 Variable Summary Page with Editable Value
