Home › Forums › TWAIN Classic › JTwain Applet Security Issue
- This topic has 2 replies, 2 voices, and was last updated 16 years, 2 months ago by manjumols.
- AuthorPosts
My company was having a software which scans images from scanner using JTwain old version. The java application is used by Oracle forms, after giving enough certificates for the jar, which could be used in the applet. The program is modified tot he latest version using new JTwain and the dll file ‘AspriseJTwain.dll’. So now when I do the applet from Oracle forms it throws the folowing error :
connectMode=HTTP, native.Forms Applet version is : 10.1.2.0java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.AspriseJTwain) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkLink(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.asprise.util.jtwain.SourceManager.init(SourceManager.java:222) at com.asprise.util.jtwain.SourceManager.
(SourceManager.java:36) at com.asprise.util.jtwain.SourceManager.instance(SourceManager.java:28) at Image.ImageProcessingPanel. (ImageProcessingPanel.java:77) at Image.ImageProcessing. (ImageProcessing.java:94) at FormBuilder.OracleLoader. (OracleLoader.java:60) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at oracle.forms.handler.UICommon.instantiate(Unknown Source) at oracle.forms.handler.UICommon.onCreate(Unknown Source) at oracle.forms.handler.JavaContainer.onCreate(Unknown Source) at oracle.forms.engine.Runform.onCreateHandler(Unknown Source) at oracle.forms.engine.Runform.processMessage(Unknown Source) at oracle.forms.engine.Runform.processSet(Unknown Source) at oracle.forms.engine.Runform.onMessageReal(Unknown Source) at oracle.forms.engine.Runform.onMessage(Unknown Source) at oracle.forms.engine.Runform.processEventEnd(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) My program uses the code
Source sources[] = SourceManager.instance().getAllSources();
where this exception is thrown.Please help me as this made my work stuck. Any idea, why it happens to me. I made new certificate file for my Jar and put the dll file in the Client Windows/System32. Anything else to be done?
Thanking you in advance
have you tried sending this to support@asprise.com ?
.
I have already sent it to the support. Did not get any reply yet.
- AuthorPosts