jnlp 相关问题

JNLP代表Java网络启动协议。它是基于XML的文件的格式,用于配置使用Java Web Start启动的应用程序和applet的详细信息。

无法覆盖 jnlp podTemplate 和容器 - Jenkins 声明式管道

我在kubernetes集群上使用jenkins,安装了helm图表,如下所示, helm install my-jenkins jenkinsci/jenkins -n jenkins \ --setcontroller.serviceType=LoadBalancer \ --设置控制器。

回答 2 投票 0

Java webstart max-heap-size导致JVM无法启动

我们在客户端使用 java webstart 来实现基于 java swing 的应用程序。最近我们在点击 jnlp 时遇到了一个奇怪的“无法启动 java 虚拟机”错误...

回答 2 投票 0

如何在Eclipse中导出到JNLP

今天我看到有人轻松地将 NetBeans java 项目导出到 JNLP 文件和 HTML 文件,然后他可以将其复制到他的 Web 服务器。手工制作 JNLP 文件有点令人讨厌,尤其是......

回答 2 投票 0

如何在声明式管道中定义多个容器?

我正在使用 kuberntes-plugin。在其自述文件中,它给出了如何使用多个容器映像编写脚本化管道,例如 podTemplate(标签:'mypod',容器:[ 容器模板(名称:...

回答 3 投票 0

Java GUI 无法在网站上自动运行

我有一个Java程序,它运行一个GUI,该GUI从用户接收所需信息/显示信息。 GUI 中有一个按钮,可以生成我希望的 PDF 形式的提案...

回答 2 投票 0

Java应用程序使用系统中的最大可用内存

有 -Xmx 和 max-heap-size (jnlp) 选项来设置 java 应用程序可以使用的最大内存。 如果未指定这些选项,则允许应用程序仅使用少量可用的 phi...

回答 2 投票 0

无法运行两个 java webstart 实例

我无法在任何给定时间运行多个 java webstart 实例。 例如,我无法同时运行应用程序的生产和 QA 实例,这两个实例都是 la...

回答 4 投票 0

Jenkins 从属设备因 java.net.SocketException 与主设备断开连接

从今天开始,Jenkins master 中的一些从属设备开始断开连接,并出现以下错误: 信息:尝试协议:JNLP2-connect 2016 年 5 月 31 日下午 3:27:07 hudson.remoting.jnlp.Main$

回答 1 投票 0

Jenkins Slave 连接到在 Apache 后面运行的 Jenkins Master

以下是我的设置: Jenkins master 运行在服务器上,假设它的域名是 jenkins.master.host,即直接访问 Jenkins master 的 URL 是 http://j...

回答 1 投票 0

Jenkins Slave 连接时超时

上周我使用 Jenkins 和 4 个从 Windows 虚拟机设置了一个 Selenium 网格。作为执行此操作的一部分,我必须解锁从属连接和硒连接的端口。 下载的虚拟机...

回答 1 投票 0

Jenkins Slave 与 Jenkins Master 安全连接

我的 jenkins master 使用 https 进行保护。我通过 JNLP 使用启动方法 Java web start 启动从站。然而,由于我的主人是安全的,我无法建立连接。所以我用“Tu...

回答 1 投票 0

如何将 Jenkins Slave 配置为 Windows 服务

我已经下载了 jnlp 文件,在从提升的命令行运行 jnlp 文件时,我遇到了附加的错误。请帮我解决。

回答 1 投票 0

无法在docker上设置Jenkins代理

我尝试使用以下命令在 docker 上创建代理,但它返回了异常 :~$ docker run jenkins/jnlp-slave -disableHttpsCertValidation -url https://hostName/CI-KINDLE-1924

回答 1 投票 0

未读取 Jenkins 代理的本地 JNLP 文件

我正在尝试将 Jenkins 代理连接到控制器。 我们只能从公司防火墙打开一个端口(例如 8888)来与 AWS 上托管的控制器进行通信。港口正在建设中...

回答 2 投票 0

Jenkins Agent JNLP 连接问题“无法同步通道上的 IO 流”和“协议栈无法再写入数据”

有人知道如何使用 JNLP 连接处理 Linux 到 Linux Jenkins 代理问题吗? 我每隔 20 天左右就会看到这些攻击。我正在使用 centos 7 代理主机 - 2.223 jenkins 和远程处理 4.2。 我们的

回答 1 投票 0

Jenkins 中的配置全局安全性中缺少 JNLP 端口

我正在 Jenkins 中创建一个 Windows 代理,为此,我需要使用 Java Web Start 作为代理配置中的启动方法。 我知道要在代理配置中查看此选项,我们需要

回答 2 投票 0

Jenkins、MiniKube 和 Kubernetes 插件 - 动态生成代理

问题 我已将 csanchez 的 jenkins-kubernetes 插件(版本 0.12)部署到本地 Minikube / Kubernetes 环境。从 Jenk 中配置 Pod 模板和容器模板时...

回答 1 投票 0

org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet 失败的原因可能是什么?

我们的pom.xml是: 4.0.0 com.我们的 我们的pom.xml是: <?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.our</groupId> <artifactId>our.control</artifactId> <version>1.20.2.7</version> </parent> <artifactId>our.gui-client.webstart</artifactId> <name>our.gui-client.webstart</name> <packaging>war</packaging> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <directory>webstatic</directory> <filtering>true</filtering> <includes> <include>**/*.html</include> </includes> </resource> <resource> <directory>webstatic</directory> <filtering>false</filtering> <excludes> <exclude>**/*.html</exclude> </excludes> </resource> </webResources> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>webstart-maven-plugin</artifactId> <version>1.0-beta-7</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>jnlp-download-servlet</goal> </goals> </execution> </executions> <configuration> <outputDirectoryName>webstart</outputDirectoryName> <outputJarVersions>false</outputJarVersions> <jnlpFiles> <jnlpFile> <templateFilename>template.vm</templateFilename> <outputFilename>our.jnlp</outputFilename> <jarResources> <jarResource> <groupId>com.our</groupId> <artifactId>our.gui-client</artifactId> <version>${project.version}</version> <mainClass>com.our.control.guiclient.MainApp</mainClass> </jarResource> </jarResources> </jnlpFile> </jnlpFiles> <sign> <keystore>${project.build.directory}/keyStore</keystore> <keypass>our</keypass> <storepass>our</storepass> <alias>webstart</alias> <storetype>jks</storetype> <validity>3650</validity> <dnameCn>our.com</dnameCn> <dnameOu>None</dnameOu> <dnameO>SIA</dnameO> <dnameL>L</dnameL> <dnameSt>St</dnameSt> <dnameC>C</dnameC> <keystoreConfig> <delete>true</delete> <gen>true</gen> </keystoreConfig> <verify>true</verify> </sign> <updateManifestEntries> <Trusted-Library>true</Trusted-Library> <Permissions>all-permissions</Permissions> <Codebase>*</Codebase> </updateManifestEntries> </configuration> </plugin> </plugins> </build> </project> 堆栈跟踪是 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet (default) on project our.control.gui-client.webstart: Execution default of goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet failed. at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:347) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.NullPointerException at org.codehaus.mojo.webstart.util.DefaultArtifactUtil.artifactContainsClass (DefaultArtifactUtil.java:211) at org.codehaus.mojo.webstart.JnlpDownloadServletMojo.resolveJarResources (JnlpDownloadServletMojo.java:490) at org.codehaus.mojo.webstart.JnlpDownloadServletMojo.execute (JnlpDownloadServletMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :our.control.gui-client.webstart [DEBUG] Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static] 如果发生循环依赖就会出现这种情况! <jarResources> <jarResource> <groupId>com.our</groupId> <artifactId>our.gui-client</artifactId> <version>${project.version}</version> <mainClass>com.our.control.guiclient.MainApp</mainClass> </jarResource> </jarResources> 这个罐子正在提供另一个 pom,它正在提供当前的兴趣 pom。因此,从技术上讲,它的工作原理就像一个圆形罐子,但不幸的是错误消息并不全面

回答 1 投票 0

词汇表 V = {w1, w2, w3} 和 V × V 上的二元概率分布 p 由下式给出:p(w1, w1)

给定以下数据:词汇表 V = {w1, w2, w3} 和二元词 V × V 上的概率分布 p 由下式给出:p(w1, w1) = 0.25, p(w2, w2) = 0.0, p(w3, w3) = 0.25, p(w2, w1) = 0.125, p(...

回答 0 投票 0

K8S - 将 Pod 定义从 Jenkins GUI 切换到 yaml 文件会导致自定义 jnlp 容器出错

我目前正在努力为运行 Jenkins 管道的 K8s 集群设置适当的 yaml 配置(见下文)。 到目前为止,整个配置都是在 Jenkins UI 中设置的,de...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.