我打算编写一个应用程序,可以让我绘制流程图,可以跨越多个连接到N级深度的动态矩形(节点).显而易见的想法是使用一个flowchat库来达到目的.我喜欢http://gojs.net/latest/samples/flowchart.html提供的示例,但由于许可条款,我可能无法使用它.
我正在搜索opensource JS库,所以我可以在HTML5画布上绘制这样的图表.有什么想法吗?
我正在将端口9999部署到本地和远程Jboss AS 7.1.1 Final .Maven使用jboss插件'jboss-as-maven-plugin:7.1.1.Final'来管理服务器的构建.我已确认服务器已启动并正在运行且端口可在9999访问.但"很多次"构建失败,本地和远程Jboss都出现以下错误.Jboss ic在独立模式单节点集群中配置.
扼杀构建不会每次都失败,但大部分时间都是如此.不确定我们是否需要将Maven插件升级到更高版本.
[INFO] ohmehMavenExecutionResultHandler - 构建因异常失败[INFO] ohmehMavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException:无法执行目标org.jboss.as.plugins:jboss-as-maven-plugin: 7.1.1.Final:undeploy(default-cli)on project测试:执行UNDEPLOY时出错[DEBUG]关闭与远程[ERROR]的连接无法执行目标org.jboss.as.plugins:jboss-as-maven-plugin:7.1 .1.Final:项目上的undeploy(default-cli)测试:执行UNDEPLOY时出错:java.net.ConnectException:JBAS012144:无法连接到remote:// localhost:9999.连接超时 - > [帮助1]
UPDATE
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.1.1.Final</version>
<configuration>
<filename>${project.build.finalName}.jar</filename>
<username>${userName}</username>
<password>${password}</password>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud)
我现在使用最新版本的Maven插件,但现在似乎连接超时错误更频繁.我开始认为,当尝试使用应用程序的不同子项目进行太多远程部署时,Jboss的行为会有所不同.我正在从主POM部署21个子项目.样本配置如下
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.master</groupId>
<artifactId>master</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>Master</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<modules>
<module>module1</module>
<module>module2</module>
<module>module3</module>
<module>module4</module>
<module>module5</module>
<module>module6</module>
<module>module7</module>
<module>module8</module>
<module>module9</module>
<module>module10</module>
<module>module11</module>
<module>module12</module>
<module>module13</module>
</modules>
Run Code Online (Sandbox Code Playgroud) 我复制了一个现有项目并在Hudson中创建了一个新项目.在运行构建时,它显示"返回状态码141:致命:写入错误:设备上没有剩余空间"
像在其他论坛中建议的那样,我检查了文件系统中使用的自由空间和inode,这里没有任何问题.Hudson作为服务运行,Hudons用户已获得sudo权限.可以运行较旧的工作,因此在新的克隆工作中没有任何不同.
磁盘空间
bash-4.1$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dev-lv_root
20G 19G 28K 100% /
tmpfs 1.9G 192K 1.9G 1% /dev/shm
/dev/sda1 485M 83M 377M 19% /boot
/dev/mapper/vg_dev-lv_home
73G 26G 44G 38% /home
Run Code Online (Sandbox Code Playgroud)
使用的i节点
bash-4.1$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg_dev-lv_root
1310720 309294 1001426 24% /
tmpfs 490645 4 490641 1% /dev/shm
/dev/sda1 128016 46 127970 1% /boot
/dev/mapper/vg_dev-lv_home
4833280 117851 4715429 3% /home
Run Code Online (Sandbox Code Playgroud)
哈德森建立日志
bash-4.1$ cat log
Started by user anonymous …Run Code Online (Sandbox Code Playgroud) flowchart ×1
git ×1
html5 ×1
html5-canvas ×1
hudson ×1
javascript ×1
jboss7.x ×1
linux ×1
maven ×1