cargo
プラグインを使用してサーブレット プロジェクトをデプロイしようとしています。
pom.xml ファイル:
...
<!-- cargo plugin -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat6x</containerId>
<type>remote</type>
<systemProperties>
<cargo.jvmargs>-XX:MaxPermSize=256M -Xmx1024m</cargo.jvmargs>
</systemProperties>
</container>
<configuration>
<type>runtime</type>
<properties>
<cargo.hostname>example.com</cargo.hostname>
<cargo.protocol>http</cargo.protocol>
<cargo.servlet.port></cargo.servlet.port>
<cargo.remote.username>verticals-renderer</cargo.remote.username>
<cargo.remote.password>verticals-renderer</cargo.remote.password>
</properties>
</configuration>
<deployables>
<deployable>
<groupId>com.foo.foo</groupId>
<artifactId>foo-renderer</artifactId>
<type>war</type>
<properties>
<context>latest</context>
</properties>
</deployable>
</deployables>
</configuration>
</plugin>
<!-- End cargo plugin -->
...
ご覧のとおり、プロジェクトをリモートにデプロイしたいと考えていdomain
ます。example.com
しかし、実行すると次のようmvn cargo:doploy
になります。
Connection timed out
これは、プロジェクトを次の場所にデプロイしようとするためです。
http://example.com:/manager
:
URL からコロン ( ) を削除するにはどうすればよいですか?