Skip Headers
Oracle® Application Server Release Notes and New Features
10g Release 3 (10.1.3.4)

Part Number E12523-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

13 Oracle Business Rules

This chapter describes issues associated with Oracle Business Rules. It includes the following topics:

13.1 Oracle Rules SDK StoreException Thrown: Error Accessing File

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.

13.2 MultipleInheritance Exceptions with Imported XML Schemas

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.

13.3 New Features

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:

13.3.1 Variable Summary Page with Updated Value Field

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.

13.3.2 Definitions Tab with Schema File Browser Button Added

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.

13.3.3 Supports XPATH Set to FALSE by Default for XML Schema Imported with JAXB

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.

13.3.4 Support for Inline Editing for Variable Values

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

Description of Figure 13-1 follows
Description of "Figure 13-1 Variable Summary Page with Editable Value"