cargo.remote.username and cargo.remote.password not found

View: New views
3 Messages — Rating Filter:   Alert me  

cargo.remote.username and cargo.remote.password not found

by Frank Otto-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I want to use cargo maven plugin in my maven project. But on remote
tomcat5x deploy I will get following error:

The [cargo.remote.username] and [cargo.remote.password] properties are
mandatory and need to be defined in your configuration.

My pom.xml looks like this:

<plugin>
        <groupId>org.codehaus.cargo</groupId>
         <artifactId>cargo-maven2-plugin</artifactId>
         <configuration>
                <type>runtime</type>
                     <container>
                         <containerId>tomcat5x</containerId>
                         <type>remote</type>
                     </container>

                     <properties>                        
<cargo.remote.username>user</cargo.remote.username>
        <cargo.remote.password>pwd</cargo.remote.password>
       
<cargo.tomcat.manager.url>http://<host>:<port>/manager</cargo.tomcat.manager.url>
                     </properties>
        </configuration>
</plugin>

Has someone an idea?


kind regards,

Frank




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: cargo.remote.username and cargo.remote.password not found

by Matt Wringe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You need to have the properties defined in a nested configuration option
(the first configuration option is a maven configuration, the nested one
is a cargo specific configuration). See added elements inline


On Thu, 2009-07-30 at 15:00 +0200, Frank Otto wrote:

> Hi,
>
> I want to use cargo maven plugin in my maven project. But on remote
> tomcat5x deploy I will get following error:
>
> The [cargo.remote.username] and [cargo.remote.password] properties are
> mandatory and need to be defined in your configuration.
>
> My pom.xml looks like this:
>
> <plugin>
> <groupId>org.codehaus.cargo</groupId>
>          <artifactId>cargo-maven2-plugin</artifactId>
>          <configuration>
>        <type>runtime</type>
>                      <container>
>                          <containerId>tomcat5x</containerId>
>                          <type>remote</type>
>                      </container>

<configuration>

>                      <properties>                        
> <cargo.remote.username>user</cargo.remote.username>
>         <cargo.remote.password>pwd</cargo.remote.password>
>        
> <cargo.tomcat.manager.url>http://<host>:<port>/manager</cargo.tomcat.manager.url>
>                      </properties>

</configuration>

> </configuration>
> </plugin>
>
> Has someone an idea?
>
>
> kind regards,
>
> Frank
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: cargo.remote.username and cargo.remote.password not found

by Frank Otto-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It works. Thanks.

Another question. Can I undeploy a web app with cargo? I my app is
deployed and I wan't redeploy I get following error:

Caused by:
org.codehaus.cargo.container.tomcat.internal.TomcatManagerException:
ERROR - Application exists for context path /myApp


kind regards,

Frank

Matt Wringe schrieb:

> You need to have the properties defined in a nested configuration option
> (the first configuration option is a maven configuration, the nested one
> is a cargo specific configuration). See added elements inline
>
>
> On Thu, 2009-07-30 at 15:00 +0200, Frank Otto wrote:
>> Hi,
>>
>> I want to use cargo maven plugin in my maven project. But on remote
>> tomcat5x deploy I will get following error:
>>
>> The [cargo.remote.username] and [cargo.remote.password] properties are
>> mandatory and need to be defined in your configuration.
>>
>> My pom.xml looks like this:
>>
>> <plugin>
>> <groupId>org.codehaus.cargo</groupId>
>>          <artifactId>cargo-maven2-plugin</artifactId>
>>          <configuration>
>>        <type>runtime</type>
>>                      <container>
>>                          <containerId>tomcat5x</containerId>
>>                          <type>remote</type>
>>                      </container>
>
> <configuration>
>
>>                      <properties>                        
>> <cargo.remote.username>user</cargo.remote.username>
>>         <cargo.remote.password>pwd</cargo.remote.password>
>>        
>> <cargo.tomcat.manager.url>http://<host>:<port>/manager</cargo.tomcat.manager.url>
>>                      </properties>
>
> </configuration>
>
>> </configuration>
>> </plugin>
>>
>> Has someone an idea?
>>
>>
>> kind regards,
>>
>> Frank
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email