weblogic maven plugin - how to deploy to a remote server -
i have setup oracle maven command deploy remote server (myservername.com).
<plugin> <!-- configuration weblogic-maven-plugin --> <groupid>com.oracle.weblogic</groupid> <artifactid>weblogic-maven-plugin</artifactid> <version>12.1.2-0-0</version> <configuration> <adminurl>t3://myservername.com:7001</adminurl> <user>test</user> <password>test1</password> <upload>true</upload> <remote>true</remote> <targets>adminserver</targets> <verbose>true</verbose> <source>${project.build.directory}/${project.build.finalname}</source> <name>${project.build.finalname}</name> </configuration> <executions> <execution> <!-- deploy application --> <id>wls-deploy</id> <phase>pre-integration-test</phase> <goals> <goal>deploy</goal> </goals> </execution> <!-- stop application in pre-integration-test phase --> <execution> <id>wls-stop-app</id> <phase>pre-integration-test</phase> <goals> <goal>stop-app</goal> </goals> </execution> <!-- start servicing requests --> <execution> <id>wls-start-app</id> <phase>pre-integration-test</phase> <goals> <goal>start-app</goal> </goals> </execution> </executions> </plugin>
i getting following error, trying connect loacalhost don't have server running on localhost, have set admin url above.
[error] failed execute goal com.oracle.weblogic:weblogic-maven-plugin:12.1.2-0-0:deploy (wls-deploy) on project myproject-web: weblogic.deployer$deployerexception: weblogic.dep loy.api.tools.deployer.deployerexception: unable connect 't3://localhost:7001': destination 127.0.0.1, 7001 unreachable; nested exception is:
how can plugin deploy remote server?
Comments
Post a Comment