- 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/
这与 Payubiz payment gateway sdk 关系不大一体化。但是,主要问题与构建项目有关。 每当我们尝试在模拟器上运行应用程序时。我们得到以下失败: What went wrong:
我有一个现有的应用程序,其中包含在同一主机上运行的 4 个 docker 容器。它们已使用 link 命令链接在一起。 然而,在 docker 升级后,link 行为已被弃用,并且似乎有所改变。我们现
在 Internet 模型中有四层:链路 -> 网络 -> 传输 -> 应用程序。 我真的不知道网络层和传输层之间的区别。当我读到: Transport layer: include congesti
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 1
前言: 生活中,我们在上网时,打开一个网页,就可以看到网址,如下: https😕/xhuahua.blog.csdn.net/ 访问网站使用的协议类型:https(基于 http 实现的,只不过在
网络 避免网络问题降低Hadoop和HBase性能的最重要因素可能是所使用的交换硬件,在项目范围的早期做出的决策可能会导致群集大小增加一倍或三倍(或更多)时出现重大问题。 需要考虑的重要事项:
网络 网络峰值 如果您看到定期的网络峰值,您可能需要检查compactionQueues以查看主要压缩是否正在发生。 有关管理压缩的更多信息,请参阅管理压缩部分的内容。 Loopback IP
Pure Data 有一个 loadbang 组件,它按照它说的做:当图形开始运行时发送一个 bang。 NoFlo 的 core/Kick 在其 IN 输入被击中之前不会发送其数据,并且您无法在 n
我有一台 Linux 构建机器,我也安装了 minikube。在 minikube 实例中,我安装了 artifactory,我将使用它来存储各种构建工件 我现在希望能够在我的开发机器上做一些工作(这
我想知道每个视频需要多少种不同的格式才能支持所有主要设备? 在我考虑的主要设备中:安卓手机 + iPhone + iPad . 对具有不同比特率的视频进行编码也是一种好习惯吗? 那里有太多相互矛盾的信
我有一个使用 firebase 的 Flutter Web 应用程序,我有两个 firebase 项目(dev 和 prod)。 我想为这个项目设置 Flavors(只是网络没有移动)。 在移动端,我
我正在读这篇文章Ars article关于密码安全,它提到有一些网站“在传输之前对密码进行哈希处理”? 现在,假设这不使用 SSL 连接 (HTTPS),a.这真的安全吗? b.如果是的话,你会如何在
我试图了解以下之间的关系: eth0在主机上;和 docker0桥;和 eth0每个容器上的接口(interface) 据我了解,Docker: 创建一个 docker0桥接,然后为其分配一个与主机上
我需要编写一个java程序,通过网络将对象发送到客户端程序。问题是一些需要发送的对象是不可序列化的。如何最好地解决这个问题? 最佳答案 发送在客户端重建对象所需的数据。 关于java - 不可序列化对
所以我最近关注了this有关用 Java 制作基本聊天室的教程。它使用多线程,是一个“面向连接”的服务器。我想知道如何使用相同的 Sockets 和 ServerSockets 来发送对象的 3d 位
我想制作一个系统,其中java客户端程序将图像发送到中央服务器。中央服务器保存它们并运行使用这些图像的网站。 我应该如何发送图像以及如何接收它们?我可以使用同一个网络服务器来接收和显示网站吗? 最佳答
我正在尝试设置我的 rails 4 应用程序,以便它发送电子邮件。有谁知道我为什么会得到: Net::SMTPAuthenticationError 534-5.7.9 Application-spe
我正在尝试编写一个简单的客户端-服务器程序,它将客户端计算机连接到服务器计算机。 到目前为止,我的代码在本地主机上运行良好,但是当我将客户端代码中的 IP 地址替换为服务器计算机的本地 IP 地址时,
我需要在服务器上并行启动多个端口,并且所有服务器套接字都应在 socket.accept() 上阻塞。 同一个线程需要启动客户端套接字(许多)来连接到特定的 ServerSocket。 这能实现吗?
我的工作执行了大约 10000 次以下任务: 1) HTTP 请求(1 秒) 2)数据转换(0.3秒) 3)数据库插入(0.7秒) 每次迭代的总时间约为 2 秒,分布如上所述。 我想做多任务处理,但我
我是一名优秀的程序员,十分优秀!