我们有一个使用FSAL启动的Oracle Forms 12c应用程序。启动脚本如下所示:
java -jar %FSAL_HOME%\frmsal.jar -url "http://frmserver:9001/forms/frmservlet?config=MyApp" -t 30000"
它在Java 8上运行良好,但在Java 10或Java 11上无法启动(未尝试使用Java 9)。是否有人设法使用这些Java版本启动frmsal.jar
?
这是打印输出:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by oracle.forms.saa.FormsStandAloneApp (file://mirapp02/FTP/Forms12c/frmsal.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of oracle.forms.saa.FormsStandAloneApp
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "main" java.lang.IllegalArgumentException: object is not an instance of declaring class
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at oracle.forms.saa.FormsStandAloneApp.getArchivesFromServer(Unknown Source)
at oracle.forms.saa.FormsStandAloneApp.run(Unknown Source)
at oracle.forms.saa.FormsStandAloneApp.main(Unknown Source)