Странный он какой-то, иногда работает, иногда нет. пишет вот это.
| Код | keytool error: java.lang.Exception: Key pair not generated, alias <key1> already exists
Warning: The signer certificate will expire within six months.
Warning: The signer certificate will expire within six months.
|
странно, работает, начинаю что-то менять, проверяю, работает, потом думаю ну все, настроился на волну, ща буду делать, делаю делаю - не работает потом, хотя если не в web'е смотреть, то все работает....
не пойму нифига.
еще ставлю галочку на "self signed jar" в NetBeans ide
объясните что тут к чему.
Добавлено через 2 минуты иногда просто на месте этого апледа серенький эккран, а иногда долго грузится и потом ошибку выдает, смотрю в Java Console:
| Код | Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar , version null... Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar , version null... Reading certificates from 1974 http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar | C:\Documents and Settings\Михаил\Application Data\Sun\Java\Deployment\cache\6.0\23\591c0417-571ee1ca.idx Exception in thread "AWT-EventQueue-3" java.lang.Error: Couldn't launch FX Stage bdaplication.Main at com.sun.javafx.runtime.adapter.AppletStartupRoutine.run(Unknown Source) at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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) Caused by: java.lang.NoClassDefFoundError: com/microsoft/sqlserver/jdbc/SQLServerDriver at bdaplication.DBConnector.dbConnect(DBConnector.fx:21) at bdaplication.DBConnector.userInit$(DBConnector.fx:16) at com.sun.javafx.runtime.FXBase.complete$(Unknown Source) at com.sun.javafx.runtime.FXBase.initialize$(Unknown Source) at bdaplication.DBConnector.<init>(DBConnector.fx:11) at bdaplication.Main$Main$Script.applyDefaults$(Main.fx:19) at bdaplication.Main.javafx$run$(Main.fx:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) ... 10 more Caused by: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 21 more Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar , version null... Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar , version null... exception: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar. com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source) at com.sun.javaws.security.SigningInfo.check(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar Reading certificates from 11 http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar | C:\Documents and Settings\Михаил\Application Data\Sun\Java\Deployment\cache\6.0\23\591c0417-4e303286.idx exception: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar. com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source) at com.sun.javaws.security.SigningInfo.check(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar , version null... Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar , version null... exception: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar. com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source) at com.sun.javaws.security.SigningInfo.check(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar , version null... Validating http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar , version null... Reading certificates from 16480 http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar | C:\Documents and Settings\Михаил\Application Data\Sun\Java\Deployment\cache\6.0\50\3ab53072-53ca8d28.idx exception: JAR resources in JNLP file are not signed by same certificate. JNLPException[category: Launch File Error : Exception: null : LaunchDesc: <jnlp spec="1.0+" codebase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/" href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication_browser.jnlp"> <information> <title>BDAplication</title> <vendor>Михаил</vendor> <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/"/> <description>BDAplication</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <update check="always" policy="always"/> <resources> <java version="1.5+"/> <extension href="http://dl.javafx.com/1.3/javafx-rt.jnlp" name="JavaFX Runtime"/> <jar href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar" download="eager" main="true"/> <jar href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar" download="eager" main="false"/> </resources> <applet-desc name="BDAplication" main-class="com.sun.javafx.runtime.adapter.Applet" documentbase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist//BDAplication.html" width="300" height="300"> <param name="MainJavaFXScript" value="bdaplication.Main"/> </applet-desc> </jnlp> ] at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception: JNLPException[category: Launch File Error : Exception: null : LaunchDesc: <jnlp spec="1.0+" codebase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/" href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication_browser.jnlp"> <information> <title>BDAplication</title> <vendor>Михаил</vendor> <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/"/> <description>BDAplication</description> <offline-allowed/> </information> <security> <all-permissions/> </security> <update check="always" policy="always"/> <resources> <java version="1.5+"/> <extension href="http://dl.javafx.com/1.3/javafx-rt.jnlp" name="JavaFX Runtime"/> <jar href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/BDAplication.jar" download="eager" main="true"/> <jar href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist/lib/sqljdbc4.jar" download="eager" main="false"/> </resources> <applet-desc name="BDAplication" main-class="com.sun.javafx.runtime.adapter.Applet" documentbase="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/C%3A/Documents+and+Settings/%D0%9C%D0%B8%D1%85%D0%B0%D0%B8%D0%BB/%D0%9C%D0%BE%D0%B8+%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B/NetBeansProjects/BDAplication/dist//BDAplication.html" width="300" height="300"> <param name="MainJavaFXScript" value="bdaplication.Main"/> </applet-desc> </jnlp> ]
|
|