« Return to Thread: Deploy war with cargo maven plugin

Re: Deploy war with cargo maven plugin

by danesa :: Rate this Message:

Reply to Author | View in Thread

niamande a écrit :
> Thanks. Have you an URL of this deployer war ?
>
>
>  
Hi,

Check here:

 http://cargo.codehaus.org/JOnAS+5.x

you can see that the Remote deployer feature is provided.

The question is, are you willing to use JOnAS/Jetty ?


JOnAS Application Server <http://jonas.ow2.org>

Regards,
Adriana Danes

> Matt Wringe wrote:
>  
>> On Wed, 2009-04-01 at 08:22 -0700, rynam0 wrote:
>>    
>>> My first inclination is that your server does not allow a PUT but not
>>> having
>>> the details of how the Jetty Remote deployer is implemented I can not
>>> offer
>>> any certainties... Could someone else shed some light on this as I will
>>> not
>>> be able to look into this until this evening.  Thanks!
>>>      
>> You need to have the Cargo Jetty Remote Deployer war deployed on your
>> remote server, and you need to setup the security permissions on the
>> server for the war to be able to log into it. Jetty doesn't provide
>> remote deployment support itself.
>>
>>    
>>> niamande wrote:
>>>      
>>>> I try to deploy a war with jetty 6.1.15 (Jetty-Service running).
>>>> I use the maven cargo plugin to do this deployement.
>>>> My configuration is :
>>>> <plugin>
>>>> <groupId>org.codehaus.cargo</groupId>
>>>> <artifactId>cargo-maven2-plugin</artifactId>
>>>> <version>${cargo-maven2-plugin-version}</version>
>>>> <configuration>
>>>> <container>
>>>> <containerId>jetty6x</containerId>
>>>> <type>remote</type>
>>>> <timeout>120000</timeout>
>>>> </container>
>>>>
>>>>
>>>> <configuration>
>>>> <type>runtime</type>
>>>> <properties>
>>>> <cargo.servlet.port>8081</cargo.servlet.port>
>>>> </properties>
>>>> </configuration>
>>>>
>>>> <deployer>
>>>> <type>remote</type>
>>>> <deployables>
>>>> <deployable>
>>>> <groupId>${pom.groupId}</groupId>
>>>> <artifactId>myWebApp</artifactId>
>>>> <type>war</type>
>>>> </deployable>
>>>> </deployables>
>>>> </deployer>
>>>> </configuration>
>>>> </plugin>
>>>>
>>>> When i execute : mvn cargo:deploy, i've got :
>>>>
>>>> java.io.IOException: Server returned HTTP response code: 405 for URL:
>>>> http:localhost:8081/cargo-jetty-deployer/deploy?path=/myWebApp
>>>>
>>>> Have you an idea ?
>>>>
>>>> I use another port (not 8080), because port 8080 is already in use.
>>>>
>>>> Thanks !!
>>>>
>>>>        
>> ---------------------------------------------------------------------
>> 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


 « Return to Thread: Deploy war with cargo maven plugin