maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin_Joy...@ao.uscourts.gov
Subject Maven Problems
Date Fri, 19 Apr 2013 13:33:38 GMT
I have been having an issue with a deploy through maven.  I migrated our 
copy of bamboo  to a new server recently and for one of our plans we use 
Maven and its cargo plugin to connect to JBoss and pull and install a .war 
file.  however, on the new install this command always fails with a 
invokerlocater socket error.  I will lpost the stack trace below.  both 
systems are running RHEL and while they are running different versions I 
have attempted to move it to a server running the same version  and it 
still fails.  SO that rules out that as an issue.  I have verified that 
ssh, scp, ftp, Get, and ping all work between the servers, and there are 
no active firewalls.  I have also tried modifying the hostname and that 
change the hostname on my server in the error, but did not affect the 
problem itself.

This is the Command run that fails. If I run the same command from the old 
server it succeeds.  Everything down to where it says "ERROR] FATAL ERROR" 
is identical to the successful run accept that instead of the "ERROR] 
FATAL ERROR" I get a success.  Any help or ideas will be much apreciated 
as I am running out of things to try.


[root@fppsappdev pacts-gen3-view-war]# 
/opt/devl/apache-maven-2.2.1/bin/mvn clean install 
org.codehaus.cargo:cargo-maven2-plugin:redeploy -s 
/home/gen3builder/.m2/settings_fppsint.xml -e
+ Error stacktraces are turned on.
[WARNING] Not decrypting password for server 'fppsint.gtwy.dcn' due to 
exception in security handler.
Ensure that you have configured your master password file (and relocation 
if appropriate)
See the installation instructions for details.
Cause: /root/.m2/settings-security.xml (No such file or directory)
[WARNING] Not decrypting password for server 'ao.opps.releases' due to 
exception in security handler.
Ensure that you have configured your master password file (and relocation 
if appropriate)
See the installation instructions for details.
Cause: /root/.m2/settings-security.xml (No such file or directory)
[WARNING] Not decrypting password for server 'ao.opps.snapshots' due to 
exception in security handler.
Ensure that you have configured your master password file (and relocation 
if appropriate)
See the installation instructions for details.
Cause: /root/.m2/settings-security.xml (No such file or directory)
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Building pacts-gen3-view-war
[INFO]    task-segment: [clean, install, 
org.codehaus.cargo:cargo-maven2-plugin:redeploy]
[INFO] 
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
/home/gen3builder/client-data-transfer/pacts-gen3-view-war/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] snapshot gov.usc.codex:codex-core:1.4.12-SNAPSHOT: checking for 
updates from public-snapshots
[INFO] snapshot gov.usc.codex:codex:1.4.12-SNAPSHOT: checking for updates 
from public-snapshots
[INFO] snapshot gov.usc.ao:pacts-gen3-controller-jar:0.1.10-SNAPSHOT: 
checking for updates from public-snapshots
[INFO] snapshot gov.usc.codex:codex-converter:1.4.12-SNAPSHOT: checking 
for updates from public-snapshots
[INFO] snapshot gov.usc.codex:codex-uspps-v1:1.4.12-SNAPSHOT: checking for 
updates from public-snapshots
[INFO] snapshot gov.usc.commons:esb-http-util:2.13.0-SNAPSHOT: checking 
for updates from public-snapshots
[INFO] snapshot gov.usc.commons:usc-commons-esb:2.13.0-SNAPSHOT: checking 
for updates from public-snapshots
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/home/gen3builder/client-data-transfer/pacts-gen3-view-war/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [pacts-gen3-view-war] in 
[/home/gen3builder/client-data-transfer/pacts-gen3-view-war/target/pacts-gen3]
[INFO] Processing war project
[INFO] Copying webapp webResources 
[/home/gen3builder/client-data-transfer/pacts-gen3-view-war/src/main/webapp] 
to 
[/home/gen3builder/client-data-transfer/pacts-gen3-view-war/target/pacts-gen3]
[INFO] Copying webapp resources 
[/home/gen3builder/client-data-transfer/pacts-gen3-view-war/src/main/webapp]
[INFO] Webapp assembled in [397 msecs]
[INFO] Building war: 
/home/gen3builder/client-data-transfer/pacts-gen3-view-war/target/pacts-gen3.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/gen3builder/client-data-transfer/pacts-gen3-view-war/target/pacts-gen3.war 
to 
/home/gen3builder/.m2/repository/gov/usc/ao/pacts-gen3-view-war/0.1.10-SNAPSHOT/pacts-gen3-view-war-0.1.10-SNAPSHOT.war
[INFO] [cargo:redeploy {execution: default-cli}]
[INFO] [DeployerRedeployMojo] Resolved container artifact 
org.codehaus.cargo:cargo-core-container-jboss:jar:1.2.4 for container 
jboss51x
[WARNING] The <deployables> element under the <deployer> element is 
deprecated. Please use <deployables> under the plugin <configuration> 
instead.
[WARNING] The <deployables> element under the <deployer> element is 
deprecated. Please use <deployables> under the plugin <configuration> 
instead.
[WARNING] The <deployables> element under the <deployer> element is 
deprecated. Please use <deployables> under the plugin <configuration> 
instead.
[INFO] 
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Cannot deploy deployable 
org.codehaus.cargo.container.jboss.deployable.JBossWAR[pacts-gen3.war]
Can not get connection to server. Problem establishing socket connection 
for InvokerLocator [socket://fppsappdev.chnt.gtwy.dcn:55013/]
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.util.CargoException: Cannot deploy deployable 
org.codehaus.cargo.container.jboss.deployable.JBossWAR[pacts-gen3.war]
        at 
org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.deploy(JBoss5xRemoteDeployer.java:216)
        at 
org.codehaus.cargo.container.spi.deployer.AbstractDeployer.redeploy(AbstractDeployer.java:212)
        at 
org.codehaus.cargo.maven2.DeployerRedeployMojo.performDeployerActionOnSingleDeployable(DeployerRedeployMojo.java:50)
        at 
org.codehaus.cargo.maven2.AbstractDeployerMojo.performDeployerActionOnAllDeployables(AbstractDeployerMojo.java:166)
        at 
org.codehaus.cargo.maven2.AbstractDeployerMojo.doExecute(AbstractDeployerMojo.java:97)
        at 
org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:440)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.Exception: Remote action failed: null 
(java.io.IOException: Can not get connection to server. Problem 
establishing socket connection for InvokerLocator 
[socket://fppsappdev.chnt.gtwy.dcn:55013/])
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.checkFailed(JBossDeployer.java:153)
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.deploy(JBossDeployer.java:77)
        at 
org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.deploy(JBoss5xRemoteDeployer.java:212)
        ... 24 more
Caused by: java.lang.RuntimeException: java.io.IOException: Can not get 
connection to server. Problem establishing socket connection for 
InvokerLocator [socket://fppsappdev.chnt.gtwy.dcn:55013/]
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:286)
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.distribute(StreamingDeploymentTarget.java:106)
        at 
org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.distribute(DeploymentProgressImpl.java:178)
        at 
org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:83)
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.deploy(JBossDeployer.java:76)
        ... 25 more
Caused by: java.io.IOException: Can not get connection to server. Problem 
establishing socket connection for InvokerLocator 
[socket://fppsappdev.chnt.gtwy.dcn:55013/]
        at 
org.jboss.remoting.stream.StreamHandler.read(StreamHandler.java:386)
        at 
org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.addDeploymentContent(BasicDeploymentRepository.java:193)
        at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:288)
        at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:63)
        at 
org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1885)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:954)
        at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
        at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
        at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
        at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:211)
        at org.jboss.remoting.Client.invoke(Client.java:1724)
        at org.jboss.remoting.Client.invoke(Client.java:629)
        at org.jboss.remoting.Client.invoke(Client.java:1508)
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:277)
        ... 29 more
java.lang.Exception: Remote action failed: null (java.io.IOException: Can 
not get connection to server. Problem establishing socket connection for 
InvokerLocator [socket://fppsappdev.chnt.gtwy.dcn:55013/])
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.checkFailed(JBossDeployer.java:153)
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.deploy(JBossDeployer.java:77)
        at 
org.codehaus.cargo.container.jboss.JBoss5xRemoteDeployer.deploy(JBoss5xRemoteDeployer.java:212)
        at 
org.codehaus.cargo.container.spi.deployer.AbstractDeployer.redeploy(AbstractDeployer.java:212)
        at 
org.codehaus.cargo.maven2.DeployerRedeployMojo.performDeployerActionOnSingleDeployable(DeployerRedeployMojo.java:50)
        at 
org.codehaus.cargo.maven2.AbstractDeployerMojo.performDeployerActionOnAllDeployables(AbstractDeployerMojo.java:166)
        at 
org.codehaus.cargo.maven2.AbstractDeployerMojo.doExecute(AbstractDeployerMojo.java:97)
        at 
org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:440)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.RuntimeException: java.io.IOException: Can not get 
connection to server. Problem establishing socket connection for 
InvokerLocator [socket://fppsappdev.chnt.gtwy.dcn:55013/]
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:286)
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.distribute(StreamingDeploymentTarget.java:106)
        at 
org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.distribute(DeploymentProgressImpl.java:178)
        at 
org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:83)
        at 
org.codehaus.cargo.tools.jboss.JBossDeployer.deploy(JBossDeployer.java:76)
        ... 25 more
Caused by: java.io.IOException: Can not get connection to server. Problem 
establishing socket connection for InvokerLocator 
[socket://fppsappdev.chnt.gtwy.dcn:55013/]
        at 
org.jboss.remoting.stream.StreamHandler.read(StreamHandler.java:386)
        at 
org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.addDeploymentContent(BasicDeploymentRepository.java:193)
        at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:288)
        at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:63)
        at 
org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1885)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:954)
        at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
        at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
        at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)
        at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:211)
        at org.jboss.remoting.Client.invoke(Client.java:1724)
        at org.jboss.remoting.Client.invoke(Client.java:629)
        at org.jboss.remoting.Client.invoke(Client.java:1508)
        at 
org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:277)
        ... 29 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Fri Apr 19 09:20:54 EDT 2013
[INFO] Final Memory: 42M/512M
[INFO] 
------------------------------------------------------------------------
[root@fppsappdev pacts-gen3-view-war]#
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message