- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在开发一个通过 JNLP 启动的应用程序,在没有 Internet 访问的网络上的生产环境中运行它时,我发现运行速度很奇怪。
下载并验证后,应用程序会提取 jnlp 文件中列出的 jar 并卡住。
在按 5 激活详细登录后,在 java 控制台中,会出现条目,表明正在从我们的应用程序中使用的 jar 内部搜索 Apache Web 服务器是否存在类文件。
...
10.33.65.110 - - [20/Feb/2018:13:26:03 +0100] "GET /krzysiek/faflute_kr.jnlp HTTP/1.1" 200 92089 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/faflute_kr.jnlp HTTP/1.1" 200 92090 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/lib/animal-sniffer-annotations-1.14.jar HTTP/1.1" 200 7508 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/lib/win32/rxtxSerial.dll.jar HTTP/1.1" 200 60720 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/lib/ant-launcher-1.7.1.jar HTTP/1.1" 200 16282 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/antlr-2.7.7.jar HTTP/1.1" 200 462659 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/faflute_kr.jar HTTP/1.1" 200 10313262 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/aopalliance-1.0.jar HTTP/1.1" 200 8782 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/avalon-framework-impl-4.2.0.jar HTTP/1.1" 200 66741 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/axis-jaxrpc-1.4.jar HTTP/1.1" 200 39196 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/axis-saaj-1.4.jar HTTP/1.1" 200 24784 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/barcode4j-2.1.jar HTTP/1.1" 200 288807 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/batik-anim-1.8.jar HTTP/1.1" 200 412567 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/batik-awt-util-1.8.jar HTTP/1.1" 200 323135 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/batik-bridge-1.8.jar HTTP/1.1" 200 566207 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/batik-css-1.8.jar HTTP/1.1" 200 279680 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-dom-1.8.jar HTTP/1.1" 200 153465 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-ext-1.8.jar HTTP/1.1" 200 15446 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:17 +0100] "GET /krzysiek/lib/ant-1.7.1.jar HTTP/1.1" 200 1389265 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-gvt-1.8.jar HTTP/1.1" 200 156356 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-parser-1.8.jar HTTP/1.1" 200 63542 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-script-1.8.jar HTTP/1.1" 200 22204 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-svg-dom-1.8.jar HTTP/1.1" 200 230731 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-xml-1.8.jar HTTP/1.1" 200 31326 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/bcmail-jdk14-1.38.jar HTTP/1.1" 200 200414 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/batik-util-1.8.jar HTTP/1.1" 200 118762 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/bcmail-jdk14-138.jar HTTP/1.1" 200 200414 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/bcprov-jdk14-138.jar HTTP/1.1" 200 1596904 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/bctsp-jdk14-1.38.jar HTTP/1.1" 200 27087 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:18 +0100] "GET /krzysiek/lib/axis-1.4.jar HTTP/1.1" 200 1665622 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/bcprov-jdk14-1.38.jar HTTP/1.1" 200 1596904 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/castor-core-1.3.3.jar HTTP/1.1" 200 56959 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:19 +0100] "GET /krzysiek/lib/castor-xml-1.3.3.jar HTTP/1.1" 200 922709 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:20 +0100] "GET /krzysiek/lib/commons-beanutils-1.9.0.jar HTTP/1.1" 200 245717 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:20 +0100] "GET /krzysiek/lib/commons-cli-1.0.jar HTTP/1.1" 200 35256 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:20 +0100] "GET /krzysiek/lib/commons-cli-1.4.jar HTTP/1.1" 200 59514 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:26:20 +0100] "GET /krzysiek/lib/commons-codec-1.5.jar HTTP/1.1" 200 80632 "-" "JNLP/1.7.0 javaws/11.144.2.01 (<internal>) Java/1.8.0_144"
...
此应用程序中使用的所有依赖项均通过 Gradle 下载并导出到我们的 Apache Web 服务器上的 lib 文件夹,因此这不应该是依赖项的问题。
并且每次在生产环境中运行在网络上而无法访问Internet时都会出现这种情况。
以下是应用程序在启动期间卡住时来自 Apache 的日志:
...
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/javax.xml.parsers.SAXParserFactory HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/javax.xml.parsers.SAXParserFactory HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "GET /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 587 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "GET /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 588 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 195 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:40 +0100] "HEAD /krzysiek/lib/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration HTTP/1.1" 404 194 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/cache/spi/QueryCache.class HTTP/1.1" 404 559 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/cache/spi/QueryCache.class HTTP/1.1" 404 559 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/cache/spi/UpdateTimestampsCache.class HTTP/1.1" 404 570 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/cache/spi/UpdateTimestampsCache.class HTTP/1.1" 404 570 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/dialect/function/SQLFunctionRegistry.class HTTP/1.1" 404 575 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/dialect/function/SQLFunctionRegistry.class HTTP/1.1" 404 575 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/TypeLocatorImpl.class HTTP/1.1" 404 563 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/TypeLocatorImpl.class HTTP/1.1" 404 563 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/engine/query/spi/QueryPlanCache.class HTTP/1.1" 404 570 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/engine/query/spi/QueryPlanCache.class HTTP/1.1" 404 570 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/CoreMessageLogger_$logger_pl_PL.class HTTP/1.1" 404 579 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/CoreMessageLogger_$logger_pl_PL.class HTTP/1.1" 404 579 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/CoreMessageLogger_$logger_pl.class HTTP/1.1" 404 576 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/CoreMessageLogger_$logger_pl.class HTTP/1.1" 404 576 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.class HTTP/1.1" 404 589 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap.class HTTP/1.1" 404 589 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$EvictionListener.class HTTP/1.1" 404 606 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$EvictionListener.class HTTP/1.1" 404 606 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction.class HTTP/1.1" 404 598 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:41 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction.class HTTP/1.1" 404 598 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$1.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$1.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$2.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$2.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$3.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Eviction$3.class HTTP/1.1" 404 600 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$EvictionPolicy.class HTTP/1.1" 404 604 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$EvictionPolicy.class HTTP/1.1" 404 604 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$NullEvictionListener.class HTTP/1.1" 404 610 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$NullEvictionListener.class HTTP/1.1" 404 610 "-" "Java/1.8.0_144"
10.33.65.110 - - [20/Feb/2018:13:33:42 +0100] "GET /krzysiek/lib/org/hibernate/internal/util/collections/BoundedConcurrentHashMap$Segment.class HTTP/1.1" 404 597 "-" "Java/1.8.0_144"
...
当启动此应用程序的主机连接到互联网时,它会快速加载,并将所有 jar 下载到本地计算机后,它会从本地缓存中读取所有内容。
在 Java 控制台的客户端,当应用程序在生产环境中卡住时,如下所示:
...
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.parsers.DocumentBuilderFactory with proxy=DIRECT
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.parsers.DocumentBuilderFactory with proxy=DIRECT
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.parsers.DocumentBuilderFactory with proxy=DIRECT
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.parsers.DocumentBuilderFactory with proxy=DIRECT
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.transform.TransformerFactory with proxy=DIRECT
network: Connecting http://localhost/krzysiek/lib/META-INF/services/javax.xml.transform.TransformerFactory with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/log4j.properties, version: null]
network: Connecting http://localhost/krzysiek/log4j.properties with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/PatternLayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
network: Cache entry not found [url: http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class, version: null]
network: Connecting http://localhost/krzysiek/lib/org/apache/log4j/LayoutBeanInfo.class with proxy=DIRECT
network: Connecting socket://localhost:80 with proxy=DIRECT
...
在具有 Internet 连接的主机上,如下所示(较旧的日志):
...
security: Grant connect perm for http://localhost/lib/jcalendar.jar : java.security.Permissions@b093f5 (
("java.net.URLPermission" "http://localhost:80/-" "*:*")
("java.net.URLPermission" "http://localhost:80" "*:*")
)
ruleset: finding Deployment Rule Set for appRef=
type: JNLP
title: Faflute Inpolpapier
location: http://localhost/faflute-kr.jnlp
htmlLocation: null
jnlpLocation: http://localhost/faflute-kr.jnlp
anchorURL: http://localhost/faflute-kr.jnlp, codeRef =
jar location: http://localhost/lib/jcalendar.jar
jar version: null
ruleset: no exception applies, returning Rule: DefaultRule
security: JAVAWS AppPolicy Permission requested for: http://localhost/lib/jcalendar.jar
security: Missing Codebase manifest attribute for: http://localhost/lib/jcalendar.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/jcalendar.jar
security: Istrusted: http://localhost/faflute-kr.jnlp false
security: Missing Codebase manifest attribute for: http://localhost/lib/jcalendar.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/jcalendar.jar
security: Validate the certificate chain using CertPath API
security: Verified non-main jar: http://localhost/lib/jcalendar.jar
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@f7815ec2: 3
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@f7815ec2: 4
cache: Clean up the reference queue: http://localhost/lib/commons-beanutils-1.8.3.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6f275de9: 3
cache: Clean up the reference queue: http://localhost/lib/FDBHelper.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@ce67b02c: 3
cache: Clean up the reference queue: http://localhost/lib/jcalendar.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@f7815ec2: 3
cache: Clean up the reference queue: http://localhost/lib/commons-beanutils-1.8.3.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@6f275de9: 2
cache: Clean up the reference queue: http://localhost/lib/FDBHelper.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@ce67b02c: 2
cache: Clean up the reference queue: http://localhost/lib/jcalendar.jar
cache: deregisterReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@f7815ec2: 2
security: Grant connect perm for http://localhost/lib/hibernate/antlr-2.7.7.jar : java.security.Permissions@1ba1cb1 (
("java.net.URLPermission" "http://localhost:80/-" "*:*")
("java.net.URLPermission" "http://localhost:80" "*:*")
)
ruleset: finding Deployment Rule Set for appRef=
type: JNLP
title: Faflute Inpolpapier
location: http://localhost/faflute-kr.jnlp
htmlLocation: null
jnlpLocation: http://localhost/faflute-kr.jnlp
anchorURL: http://localhost/faflute-kr.jnlp, codeRef =
jar location: http://localhost/lib/hibernate/antlr-2.7.7.jar
jar version: null
ruleset: no exception applies, returning Rule: DefaultRule
security: JAVAWS AppPolicy Permission requested for: http://localhost/lib/hibernate/antlr-2.7.7.jar
security: Missing Codebase manifest attribute for: http://localhost/lib/hibernate/antlr-2.7.7.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/hibernate/antlr-2.7.7.jar
security: Istrusted: http://localhost/faflute-kr.jnlp false
security: Missing Codebase manifest attribute for: http://localhost/lib/hibernate/antlr-2.7.7.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/hibernate/antlr-2.7.7.jar
security: Validate the certificate chain using CertPath API
security: Verified non-main jar: http://localhost/lib/hibernate/antlr-2.7.7.jar
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@a9980041: 3
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@a9980041: 4
security: Grant connect perm for http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar : java.security.Permissions@334aff (
("java.net.URLPermission" "http://localhost:80/-" "*:*")
("java.net.URLPermission" "http://localhost:80" "*:*")
)
ruleset: finding Deployment Rule Set for appRef=
type: JNLP
title: Faflute Inpolpapier
location: http://localhost/faflute-kr.jnlp
htmlLocation: null
jnlpLocation: http://localhost/faflute-kr.jnlp
anchorURL: http://localhost/faflute-kr.jnlp, codeRef =
jar location: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
jar version: null
ruleset: no exception applies, returning Rule: DefaultRule
security: JAVAWS AppPolicy Permission requested for: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
security: Missing Codebase manifest attribute for: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
security: Istrusted: http://localhost/faflute-kr.jnlp false
security: Missing Codebase manifest attribute for: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
security: Missing Application-Library-Allowable-Codebase manifest attribute for: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
security: Validate the certificate chain using CertPath API
security: Verified non-main jar: http://localhost/lib/dynamicreports/dynamicreports-core-5.0.0.jar
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@e5c2dec9: 3
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@e5c2dec9: 4
security: Grant connect perm for http://localhost/lib/dynamicreports/jasperreports-6.4.0.jar : java.security.Permissions@1d67f0e (
("java.net.URLPermission" "http://localhost:80/-" "*:*")
("java.net.URLPermission" "http://localhost:80" "*:*")
)
...
你们的申请中是否有类似的情况?
最佳答案
很难说。几种可能性:尝试在 deployment.properties 中设置超时。文件。
部署.javaws.update.timeout=1;部署.安全.撤销.检查=NO_CHECK部署.security.validation.timeout=1;
关于java - 在没有互联网连接的网络中生产环境中通过 JNLP 应用程序启动缓慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48887752/
我正在通过 labrepl 工作,我看到了一些遵循此模式的代码: ;; Pattern (apply #(apply f %&) coll) ;; Concrete example user=> (a
我从未向应用商店提交过应用,但我会在不久的将来提交。 到目前为止,我对为 iPhone 而非 iPad 进行设计感到很自在。 我了解,通过将通用PAID 应用放到应用商店,客户只需支付一次就可以同时使
我有一个应用程序,它使用不同的 Facebook 应用程序(2 个不同的 AppID)在 Facebook 上发布并显示它是“通过 iPhone”/“通过 iPad”。 当 Facebook 应用程序
我有一个要求,我们必须通过将网站源文件保存在本地 iOS 应用程序中来在 iOS 应用程序 Webview 中运行网站。 Angular 需要服务器来运行应用程序,但由于我们将文件保存在本地,我们无法
所以我有一个单页客户端应用程序。 正常流程: 应用程序 -> OAuth2 服务器 -> 应用程序 我们有自己的 OAuth2 服务器,因此人们可以登录应用程序并获取与用户实体关联的 access_t
假设我有一个安装在用户设备上的 Android 应用程序 A,我的应用程序有一个 AppWidget,我们可以让其他 Android 开发人员在其中以每次安装成本为基础发布他们的应用程序推广广告。因此
Secrets of the JavaScript Ninja中有一个例子它提供了以下代码来绕过 JavaScript 的 Math.min() 函数,该函数需要一个可变长度列表。 Example:
当我分别将数组和对象传递给 function.apply() 时,我得到 NaN 的 o/p,但是当我传递对象和数组时,我得到一个数字。为什么会发生这种情况? 由于数组也被视为对象,为什么我无法使用它
CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界. 这篇CFSDN的博客文章ASP转换格林威治时间函数DateDiff()应用由作者收集整理,如果你
我正在将列表传递给 map并且想要返回一个带有合并名称的 data.frame 对象。 例如: library(tidyverse) library(broom) mtcars %>% spl
我有一个非常基本的问题,但我不知道如何实现它:我有一个返回数据框,其中每个工具的返回值是按行排列的: tmp<-as.data.frame(t(data.frame(a=rnorm(250,0,1)
我正在使用我的 FB 应用创建群组并邀请用户加入我的应用群组,第一次一切正常。当我尝试创建另一个组时,出现以下错误: {"(OAuthException - #4009) (#4009) 在有更多用户
我们正在开发一款类似于“会说话的本”应用程序的 child 应用程序。它包含大量用于交互式动画的 JPEG 图像序列。 问题是动画在 iPad Air 上播放正常,但在 iPad 2 上播放缓慢或滞后
我关注 clojure 一段时间了,它的一些功能非常令人兴奋(持久数据结构、函数式方法、不可变状态)。然而,由于我仍在学习,我想了解如何在实际场景中应用,证明其好处,然后演化并应用于更复杂的问题。即,
我开发了一个仅使用挪威语的应用程序。该应用程序不使用本地化,因为它应该仅以一种语言(挪威语)显示。但是,我已在 Info.plist 文件中将“本地化 native 开发区域”设置为“no”。我还使用
读完 Anthony's response 后上a style-related parser question ,我试图说服自己编写单体解析器仍然可以相当紧凑。 所以而不是 reference ::
multicore 库中是否有类似 sapply 的东西?还是我必须 unlist(mclapply(..)) 才能实现这一点? 如果它不存在:推理是什么? 提前致谢,如果这是一个愚蠢的问题,我们深表
我喜欢在窗口中弹出结果,以便更容易查看和查找(例如,它们不会随着控制台继续滚动而丢失)。一种方法是使用 sink() 和 file.show()。例如: y <- rnorm(100); x <- r
我有一个如下所示的 spring mvc Controller @RequestMapping(value="/new", method=RequestMethod.POST) public Stri
我正在阅读 StructureMap关于依赖注入(inject),首先有两部分初始化映射,具体类类型的接口(interface),另一部分只是实例化(请求实例)。 第一部分需要配置和设置,这是在 Bo
我是一名优秀的程序员,十分优秀!