6.5. WebDAV
6.5.1. WebDAV Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
The repository can be accessed via
WebDav
. WebDAV is a HTTP-based file system application programming interface. Most modern operating systems provide integrated support for accessing WebDav shares. Please refer to your operating system vendor's documentation for configuration instructions. There are third-party WebDav clients available for most platforms.
Packages and snapshots can be accessed via WebDav.
The URL for accessing the asset repository using WebDav is below:
http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav/
http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav/
Authentication is required as normal.
6.5.2. WebDAV and Special Characters Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Jboss Enterprise BRMS supports UTF-8 characters as part of rule's names; however, when rules are copied via WebDav, the multibyte characters are decoded as ISO-8859-1.
Red Hat does not recommend using special characters in rule names; however, if special characters are used, the Web Connector must be changed to support Unicode.
To add Unicode support, complete the following steps. Please note, the following steps are only necessary in JBoss Enterprise BRMS versions 5.3 and lower, as the code has been added to version 5.3.1.
6.5.3. Adding Unicode Support Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Procedure 6.1. Adding Unicode Support
- Stop the application server.
- Open the
jboss-as/server/profile/deploy/jbossweb.sar/server.xml
file. - Add
URIEncoding="UTF-8"
to the web connector. For instance, for HTTP the code should be as follows:<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Start the application server.