JNLP代表Java网络启动协议。它是基于XML的文件的格式,用于配置使用Java Web Start启动的应用程序和applet的详细信息。
将节点连接到 jenkins master = KO => INFO:协议 JNLP4-connect 遇到意外异常 + 连接 #15 失败:java.io.EOFException
我在将节点连接到詹金斯服务器时遇到问题。它多年来一直为该客户端工作,并且仍在同一台计算机上为其他客户端工作。 这是我的命令: java -jar 代理.jar -
需要执行安装在远程服务器上的小程序,而不使用 Java Web Start 或任何浏览器
场景: 我的公司正在维护一个小程序,该小程序可以通过 Java Web Start 被许多机器使用。 Java Web Start 由包含所有信息和参数的 JNLP 文件触发...
无法覆盖 jnlp podTemplate 和容器 - Jenkins 声明式管道
我在kubernetes集群上使用jenkins,安装了helm图表,如下所示, helm install my-jenkins jenkinsci/jenkins -n jenkins \ --setcontroller.serviceType=LoadBalancer \ --设置控制器。
Java webstart max-heap-size导致JVM无法启动
我们在客户端使用 java webstart 来实现基于 java swing 的应用程序。最近我们在点击 jnlp 时遇到了一个奇怪的“无法启动 java 虚拟机”错误...
今天我看到有人轻松地将 NetBeans java 项目导出到 JNLP 文件和 HTML 文件,然后他可以将其复制到他的 Web 服务器。手工制作 JNLP 文件有点令人讨厌,尤其是......
我正在使用 kuberntes-plugin。在其自述文件中,它给出了如何使用多个容器映像编写脚本化管道,例如 podTemplate(标签:'mypod',容器:[ 容器模板(名称:...
我有一个Java程序,它运行一个GUI,该GUI从用户接收所需信息/显示信息。 GUI 中有一个按钮,可以生成我希望的 PDF 形式的提案...
有 -Xmx 和 max-heap-size (jnlp) 选项来设置 java 应用程序可以使用的最大内存。 如果未指定这些选项,则允许应用程序仅使用少量可用的 phi...
我无法在任何给定时间运行多个 java webstart 实例。 例如,我无法同时运行应用程序的生产和 QA 实例,这两个实例都是 la...
Jenkins 从属设备因 java.net.SocketException 与主设备断开连接
从今天开始,Jenkins master 中的一些从属设备开始断开连接,并出现以下错误: 信息:尝试协议:JNLP2-connect 2016 年 5 月 31 日下午 3:27:07 hudson.remoting.jnlp.Main$
Jenkins Slave 连接到在 Apache 后面运行的 Jenkins Master
以下是我的设置: Jenkins master 运行在服务器上,假设它的域名是 jenkins.master.host,即直接访问 Jenkins master 的 URL 是 http://j...
上周我使用 Jenkins 和 4 个从 Windows 虚拟机设置了一个 Selenium 网格。作为执行此操作的一部分,我必须解锁从属连接和硒连接的端口。 下载的虚拟机...
Jenkins Slave 与 Jenkins Master 安全连接
我的 jenkins master 使用 https 进行保护。我通过 JNLP 使用启动方法 Java web start 启动从站。然而,由于我的主人是安全的,我无法建立连接。所以我用“Tu...
如何将 Jenkins Slave 配置为 Windows 服务
我已经下载了 jnlp 文件,在从提升的命令行运行 jnlp 文件时,我遇到了附加的错误。请帮我解决。
我尝试使用以下命令在 docker 上创建代理,但它返回了异常 :~$ docker run jenkins/jnlp-slave -disableHttpsCertValidation -url https://hostName/CI-KINDLE-1924
我正在尝试将 Jenkins 代理连接到控制器。 我们只能从公司防火墙打开一个端口(例如 8888)来与 AWS 上托管的控制器进行通信。港口正在建设中...
Jenkins Agent JNLP 连接问题“无法同步通道上的 IO 流”和“协议栈无法再写入数据”
有人知道如何使用 JNLP 连接处理 Linux 到 Linux Jenkins 代理问题吗? 我每隔 20 天左右就会看到这些攻击。我正在使用 centos 7 代理主机 - 2.223 jenkins 和远程处理 4.2。 我们的
我正在 Jenkins 中创建一个 Windows 代理,为此,我需要使用 Java Web Start 作为代理配置中的启动方法。 我知道要在代理配置中查看此选项,我们需要
Jenkins、MiniKube 和 Kubernetes 插件 - 动态生成代理
问题 我已将 csanchez 的 jenkins-kubernetes 插件(版本 0.12)部署到本地 Minikube / Kubernetes 环境。从 Jenk 中配置 Pod 模板和容器模板时...
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。因此,从技术上讲,它的工作原理就像一个圆形罐子,但不幸的是错误消息并不全面