not able to deploy my webapp to a remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi friends;

I am very screwed here.

I am using tomcat-maven-plugin to deploy my work on a remote server.. My remote server is running on centos box. Now here goes my situation log whenever i rum deploy command.
I have tried running this by iptables disables. but that also does not change the situation.

Comand
----
D:\VijayAtWork\TeamProjects\trunk\works>mvn -e org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy
---

logs 

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building mobivite
[INFO]    task-segment: [org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:deploy
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading aspectj:aspectjweaver:1.5.4
  This artifact has been relocated to org.aspectj:aspectjweaver:1.5.4.


[WARNING] While downloading javax.xml.soap:saaj-impl:1.3
  This artifact has been relocated to com.sun.xml.messaging.saaj:saaj-impl:1.3.


Downloading: http://192.168.1.200:8014/artifactory/repo/org/springframework/spring-hibernate3/2.0-rc2/spring-hibernate3-2.0-rc2.pom
Downloading: http://192.168.1.200:8014/artifactory/repo/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to D:\VijayAtWork\TeamProjects\trunk\works\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\VijayAtWork\TeamProjects\trunk\works\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[works] in [D:\VijayAtWork\TeamProjects\trunk\works\target\works]
[INFO] Processing war project
[INFO] Webapp assembled in[4707 msecs]
[INFO] Building war: D:\VijayAtWork\TeamProjects\trunk\works\target\works.war
[INFO] [tomcat:deploy]
[INFO] Deploying war to http://servername.net:8080/works
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot invoke Tomcat manager: FAIL - Encountered exception java.net.SocketTimeoutException: Read timed out

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke Tomcat manager: FAIL - Encountered exception java.net.SocketTimeoutException: Read timed out

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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: org.apache.maven.plugin.MojoExecutionException: Cannot invoke Tomcat manager: FAIL - Encountered exception java.net.SocketTimeoutException: Read timed out

        at org.codehaus.mojo.tomcat.AbstractCatalinaMojo.execute(AbstractCatalinaMojo.java:145)
        at org.codehaus.mojo.tomcat.AbstractWarCatalinaMojo.execute(AbstractWarCatalinaMojo.java:63)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Sat Dec 26 00:04:03 IST 2009
[INFO] Final Memory: 21M/254M
[INFO] ------------------------------------------------------------------------

D:\VijayAtWork\TeamProjects\works\trunk\works>


Will you please suggest where should i look for solution.


My POM.xml entry is given below


-----
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration>
<url>http://servername.net:8080/manager</url>
<username>admin</username>
<password>admin@vijay</password>
<path>/works</path>
</configuration>
</plugin>
-----


Regards,
Vijay Shanker Dubey
Ph: +91-9818311884

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux