Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle forms Webutil error: WUC-15 access denied

Su.giOct 13 2016 — edited Oct 14 2016

Hi All,

    I am developing an application using Oracle forms and reports 11gr2.

In my form I am using the below code in my button (WHEN_BUTTON_PRESSED)

   v_FILE_NAME := client_get_file_name ('','','csv Files/*.csv','Select an Document File', OPEN_FILE, TRUE);

I am getting the following error in Java Console. 

java.security.AccessControlException: access denied (java.io.FilePermission C:\Users\DS\Documents read)

  at java.security.AccessControlContext.checkPermission(Unknown Source)

  at java.security.AccessController.checkPermission(Unknown Source)

  at java.lang.SecurityManager.checkPermission(Unknown Source)

  at sun.plugin2.applet.Applet2SecurityManager.checkPermission(Unknown Source)

  at java.lang.SecurityManager.checkRead(Unknown Source)

  at java.io.File.exists(Unknown Source)

  at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source)

  at oracle.forms.webutil.file.FFileChooser.setCurrentDirectory(Unknown Source)

  at oracle.bali.ewt.olaf.OracleFileChooserUI$DirectoryComboBoxAction.actionPerformed(Unknown Source)

  at javax.swing.JComboBox.fireActionEvent(Unknown Source)

  at javax.swing.JComboBox.contentsChanged(Unknown Source)

  at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)

  at oracle.bali.ewt.olaf.OracleFileChooserUI$DirectoryComboBoxModel.setSelectedItem(Unknown Source)

  at oracle.bali.ewt.olaf.OracleFileChooserUI$DirectoryComboBoxModel.addItem(Unknown Source)

  at oracle.bali.ewt.olaf.OracleFileChooserUI$DirectoryComboBoxModel.access$400(Unknown Source)

  at oracle.bali.ewt.olaf.OracleFileChooserUI.propertyChange(Unknown Source)

  at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)

  at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)

  at java.awt.Component.firePropertyChange(Unknown Source)

  at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source)

  at oracle.forms.webutil.file.FFileChooser.setCurrentDirectory(Unknown Source)

  at javax.swing.JFileChooser.<init>(Unknown Source)

  at javax.swing.JFileChooser.<init>(Unknown Source)

  at oracle.forms.webutil.file.FFileChooser.<init>(Unknown Source)

  at oracle.forms.webutil.file.FileFunctions.runInternal(Unknown Source)

  at oracle.forms.webutil.file.FileFunctions.access$000(Unknown Source)

  at oracle.forms.webutil.file.FileFunctions$1.run(Unknown Source)

  at java.awt.event.InvocationEvent.dispatch(Unknown Source)

  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

  at java.awt.EventQueue.access$400(Unknown Source)

  at java.awt.EventQueue$2.run(Unknown Source)

  at java.awt.EventQueue$2.run(Unknown Source)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)

  at java.awt.EventQueue.dispatchEvent(Unknown Source)

  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

  at java.awt.EventDispatchThread.run(Unknown Source)

2016-Oct-13  16:35:05.946 ERROR>WUC-15 [FileFunctions.gfnDialog run()] Unexpected error, Exception: java.security.AccessControlException: access denied (java.io.FilePermission C:\Users\DS\Documents read)

In my Local PC its working fine, but in My server its shows error as above.

How to solve this issue?

Thanks,

Su.gi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2016
Added on Oct 13 2016
7 comments
1,762 views