Я запускаю апплет с использованием файла jnlp. Апплет работал нормально. Сегодня я обновил свой jre до jre 6 версии 24, и мое приложение останавливается после установки заставки. Я удалил jre и переустановил jre 6 версии 22, и он работает отлично Проблема в том, что все люди, использующие это приложение, имеют автоматическое обновление для jre, которое автоматически обновит jre до 24. Мы не можем посоветовать отключить это автоматическое обновление.
Журналы клиента дали мне исключение, когда я попытался получить доступ к контексту веб-логики, используя обычные учетные данные. Моя версия веб-логики - 10.3
InitialContext initialContext = new InitialContext(prop);
java.lang.ClassCircularityError: weblogic/security/acl/internal/Security
java.lang.ClassCircularityError: weblogic/security/acl/internal/Security
at weblogic.net.http.HttpsURLConnection.<init>(HttpsURLConnection.java:57)
at weblogic.net.http.HttpsURLConnection.<init>(HttpsURLConnection.java:65)
at weblogic.net.http.SOAPHttpsURLConnection.<init>(SOAPHttpsURLConnection.java:30)
at weblogic.net.http.Handler.openConnection(Handler.java:31)
at weblogic.net.http.Handler.openConnection(Handler.java:23)
at java.net.URL.openConnection(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.<init>(Unknown Source)
at com.sun.javaws.net.protocol.jar.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at com.sun.deploy.util.URLUtil.checkTargetURL(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at weblogic.protocol.ServerURL.asUnsyncStringBuffer(ServerURL.java:533)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:215)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
Вероятно, это связано с http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7020709 У меня такое же исключение, когда я использую собственный обработчик и пытаюсь вызвать функцию javascript из java-апплета (например, новый URL ("javascript: myFunction ()"). Было предложение использовать другой StreamClientImpl. Может быть, это работает, я не проверял.