You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Prashanth Krishnamurthy <pk...@yahoo.com> on 2006/09/12 23:46:37 UTC

Cargo deploy on to a remote machine

I am trying to deploy my application to a running
tomcat instance on a different machine. I have tried
the following and haven't been successfully. What is
the right way to do this? Please suggest.

1.mvn cargo:deploy - This works fine only when the
tomcat instance doesn't have my application deployed. 

2. mvn cargo:deploy - This fails when run against a
tomcat instance which already has my application
running or deployed.

Failed to deploy [c:\main\app\ui\target\aa.war]
Application already exists at path /aa

3. mvn cargo:deployer-redeploy - This goal undeploys
and redeploys the application. I guess this is
deploying the existing war file without refreshing
with the new war file.

4. mvn cargo:deployer-redeploy - This fails when run
against a tomcat instance which doesn't have my 
running or deployed.

[INFO] Failed to redeploy
[c:\main\app\ui\target\aa.war]
FAIL - No context exists for path /aa

thanks
--Prashanth

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Schedules and manual build not working

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
Its just not my scheduler, even the manual build is
not working. It always stays in queued state and
nothing happens. The last message in the continuum
console is

jvm 1    | 2006-09-21 16:39:21,994 [SocketListener0-1]
ERROR VelocityComponent
            - RHS of #set statement is null. Context
will not be modified. screens/ProjectBuild.vm [line
103, column 3]

Any pointers ?

thanks
--Prashanth

--- Prashanth Krishnamurthy <pk...@yahoo.com>
wrote:

> Thanks.
> 
> The see following messages in the end. Modifying the
> cron expression is not logging any messages.
> 
>
-------------------------------------------------------
> 
> 1908837 [Thread-2] ERROR
> org.codehaus.plexus.velocity.VelocityComponent  -
> Left
> side of '>' operation is not a valid type.  It is a
> class java.lang.Long. Currently only integers
> (1,2,3...) and Integer type is supported.
>
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
> [line 25, column 27]
> 1929976 [Thread-2] ERROR
> org.codehaus.plexus.velocity.VelocityComponent  -
> Left
> side of '>' operation is not a valid type.  It is a
> class java.lang.Long. Currently only integers
> (1,2,3...) and Integer type is supported.
>
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
> [line 25, column 27]
> 1958741 [Thread-2] ERROR
> org.codehaus.plexus.velocity.VelocityComponent  -
> Left
> side of '>' operation is not a valid type.  It is a
> class java.lang.Long. Currently only integers
> (1,2,3...) and Integer type is supported.
>
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
> [line 25, column 27]
> 72952469 [SocketListener0-1] ERROR
> org.codehaus.plexus.velocity.VelocityComponent  -
> RHS
> of #set statement is null. Context will not be
> modified. screens/ProjectBuild.vm [line 103, column
> 3]
> 
> -----------------------------------------------
> 
> 
> --- Emmanuel Venisse <em...@venisse.net> wrote:
> 
> > Can you modify the cron expression in them and
> look
> > in logs when will be the next job?
> > 
> > Emmanuel
> > 
> > Prashanth Krishnamurthy a écrit :
> > > They are enabled and also assigned to projects.
> > > 
> > > thanks
> > > 
> > > --- Emmanuel Venisse <em...@venisse.net>
> wrote:
> > > 
> > >> You can check if they aren't disabled and
> > projects
> > >> attached to them.
> > >>
> > >> Emmanuel
> > >>
> > >> Prashanth Krishnamurthy a écrit :
> > >>> Hi,
> > >>>
> > >>> The schedules used to work fine for 2-3 months
> > >> now.
> > >>> Since past 2-3 days, both my schedules( hourly
> > >> build
> > >>> and daily build ) are not working. I restarted
> > my
> > >>> continuum instance, but no luck.
> > >>>
> > >>> thanks
> > >>> --Prashanth
> > >>>
> > >>>
> > __________________________________________________
> > >>> Do You Yahoo!?
> > >>> Tired of spam?  Yahoo! Mail has the best spam
> > >> protection around 
> > >>> http://mail.yahoo.com 
> > >>>
> > >>>
> > >>>
> > >>
> > > 
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > > 
> > > 
> > > 
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Schedules not working

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
Thanks.

The see following messages in the end. Modifying the
cron expression is not logging any messages.

-------------------------------------------------------

1908837 [Thread-2] ERROR
org.codehaus.plexus.velocity.VelocityComponent  - Left
side of '>' operation is not a valid type.  It is a
class java.lang.Long. Currently only integers
(1,2,3...) and Integer type is supported.
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
[line 25, column 27]
1929976 [Thread-2] ERROR
org.codehaus.plexus.velocity.VelocityComponent  - Left
side of '>' operation is not a valid type.  It is a
class java.lang.Long. Currently only integers
(1,2,3...) and Integer type is supported.
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
[line 25, column 27]
1958741 [Thread-2] ERROR
org.codehaus.plexus.velocity.VelocityComponent  - Left
side of '>' operation is not a valid type.  It is a
class java.lang.Long. Currently only integers
(1,2,3...) and Integer type is supported.
/org/apache/maven/continuum/notification/mail/templates/maven2/BuildComplete.vm
[line 25, column 27]
72952469 [SocketListener0-1] ERROR
org.codehaus.plexus.velocity.VelocityComponent  - RHS
of #set statement is null. Context will not be
modified. screens/ProjectBuild.vm [line 103, column 3]

-----------------------------------------------


--- Emmanuel Venisse <em...@venisse.net> wrote:

> Can you modify the cron expression in them and look
> in logs when will be the next job?
> 
> Emmanuel
> 
> Prashanth Krishnamurthy a écrit :
> > They are enabled and also assigned to projects.
> > 
> > thanks
> > 
> > --- Emmanuel Venisse <em...@venisse.net> wrote:
> > 
> >> You can check if they aren't disabled and
> projects
> >> attached to them.
> >>
> >> Emmanuel
> >>
> >> Prashanth Krishnamurthy a écrit :
> >>> Hi,
> >>>
> >>> The schedules used to work fine for 2-3 months
> >> now.
> >>> Since past 2-3 days, both my schedules( hourly
> >> build
> >>> and daily build ) are not working. I restarted
> my
> >>> continuum instance, but no luck.
> >>>
> >>> thanks
> >>> --Prashanth
> >>>
> >>>
> __________________________________________________
> >>> Do You Yahoo!?
> >>> Tired of spam?  Yahoo! Mail has the best spam
> >> protection around 
> >>> http://mail.yahoo.com 
> >>>
> >>>
> >>>
> >>
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> > 
> > 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Schedules not working

Posted by Emmanuel Venisse <em...@venisse.net>.
Can you modify the cron expression in them and look in logs when will be the next job?

Emmanuel

Prashanth Krishnamurthy a écrit :
> They are enabled and also assigned to projects.
> 
> thanks
> 
> --- Emmanuel Venisse <em...@venisse.net> wrote:
> 
>> You can check if they aren't disabled and projects
>> attached to them.
>>
>> Emmanuel
>>
>> Prashanth Krishnamurthy a écrit :
>>> Hi,
>>>
>>> The schedules used to work fine for 2-3 months
>> now.
>>> Since past 2-3 days, both my schedules( hourly
>> build
>>> and daily build ) are not working. I restarted my
>>> continuum instance, but no luck.
>>>
>>> thanks
>>> --Prashanth
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>>> http://mail.yahoo.com 
>>>
>>>
>>>
>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> 


Re: Schedules not working

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
They are enabled and also assigned to projects.

thanks

--- Emmanuel Venisse <em...@venisse.net> wrote:

> You can check if they aren't disabled and projects
> attached to them.
> 
> Emmanuel
> 
> Prashanth Krishnamurthy a écrit :
> > Hi,
> > 
> > The schedules used to work fine for 2-3 months
> now.
> > Since past 2-3 days, both my schedules( hourly
> build
> > and daily build ) are not working. I restarted my
> > continuum instance, but no luck.
> > 
> > thanks
> > --Prashanth
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> > 
> > 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Schedules not working

Posted by Emmanuel Venisse <em...@venisse.net>.
You can check if they aren't disabled and projects attached to them.

Emmanuel

Prashanth Krishnamurthy a écrit :
> Hi,
> 
> The schedules used to work fine for 2-3 months now.
> Since past 2-3 days, both my schedules( hourly build
> and daily build ) are not working. I restarted my
> continuum instance, but no luck.
> 
> thanks
> --Prashanth
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> 


Schedules not working

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
Hi,

The schedules used to work fine for 2-3 months now.
Since past 2-3 days, both my schedules( hourly build
and daily build ) are not working. I restarted my
continuum instance, but no luck.

thanks
--Prashanth

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: Cargo deploy on to a remote machine

Posted by Vincent Massol <vi...@massol.net>.
Hi Prashanth,

As it has been suggested, please use the cargo mailing list if you need more
information and help.

Note that I've also answered to you already on this list... :-(

Thanks
-Vincent

> -----Original Message-----
> From: Prashanth Krishnamurthy [mailto:pkrishna25@yahoo.com]
> Sent: mercredi 13 septembre 2006 21:09
> To: continuum-users@maven.apache.org
> Subject: Re: Cargo deploy on to a remote machine
> 
> I did try cargo:undeploy. undeploy works fine. But
> when I use deploy again, it fails with an error,
> something like "..Application with that name already
> exists.."
> 
> thanks
> --Prashanth
> 
> --- Wayne Fay <wa...@gmail.com> wrote:
> 
> > Did you try cargo:undeploy? I don't currently use
> > Cargo, but I'd
> > expect that's a valid goal/target.
> >
> > Also, it might be more appropriate to send this
> > question to the Cargo
> > Users email list...
> >
> > Wayne
> >
> > On 9/12/06, Prashanth Krishnamurthy
> > <pk...@yahoo.com> wrote:
> > > I am trying to deploy my application to a running
> > > tomcat instance on a different machine. I have
> > tried
> > > the following and haven't been successfully. What
> > is
> > > the right way to do this? Please suggest.
> > >
> > > 1.mvn cargo:deploy - This works fine only when the
> > > tomcat instance doesn't have my application
> > deployed.
> > >
> > > 2. mvn cargo:deploy - This fails when run against
> > a
> > > tomcat instance which already has my application
> > > running or deployed.
> > >
> > > Failed to deploy [c:\main\app\ui\target\aa.war]
> > > Application already exists at path /aa
> > >
> > > 3. mvn cargo:deployer-redeploy - This goal
> > undeploys
> > > and redeploys the application. I guess this is
> > > deploying the existing war file without refreshing
> > > with the new war file.
> > >
> > > 4. mvn cargo:deployer-redeploy - This fails when
> > run
> > > against a tomcat instance which doesn't have my
> > > running or deployed.
> > >
> > > [INFO] Failed to redeploy
> > > [c:\main\app\ui\target\aa.war]
> > > FAIL - No context exists for path /aa
> > >
> > > thanks
> > > --Prashanth
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com


	

	
		
___________________________________________________________________________ 
D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences. 
http://fr.answers.yahoo.com 


Re: Cargo deploy on to a remote machine

Posted by Prashanth Krishnamurthy <pk...@yahoo.com>.
I did try cargo:undeploy. undeploy works fine. But
when I use deploy again, it fails with an error,
something like "..Application with that name already
exists.."

thanks
--Prashanth

--- Wayne Fay <wa...@gmail.com> wrote:

> Did you try cargo:undeploy? I don't currently use
> Cargo, but I'd
> expect that's a valid goal/target.
> 
> Also, it might be more appropriate to send this
> question to the Cargo
> Users email list...
> 
> Wayne
> 
> On 9/12/06, Prashanth Krishnamurthy
> <pk...@yahoo.com> wrote:
> > I am trying to deploy my application to a running
> > tomcat instance on a different machine. I have
> tried
> > the following and haven't been successfully. What
> is
> > the right way to do this? Please suggest.
> >
> > 1.mvn cargo:deploy - This works fine only when the
> > tomcat instance doesn't have my application
> deployed.
> >
> > 2. mvn cargo:deploy - This fails when run against
> a
> > tomcat instance which already has my application
> > running or deployed.
> >
> > Failed to deploy [c:\main\app\ui\target\aa.war]
> > Application already exists at path /aa
> >
> > 3. mvn cargo:deployer-redeploy - This goal
> undeploys
> > and redeploys the application. I guess this is
> > deploying the existing war file without refreshing
> > with the new war file.
> >
> > 4. mvn cargo:deployer-redeploy - This fails when
> run
> > against a tomcat instance which doesn't have my
> > running or deployed.
> >
> > [INFO] Failed to redeploy
> > [c:\main\app\ui\target\aa.war]
> > FAIL - No context exists for path /aa
> >
> > thanks
> > --Prashanth
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Cargo deploy on to a remote machine

Posted by Wayne Fay <wa...@gmail.com>.
Did you try cargo:undeploy? I don't currently use Cargo, but I'd
expect that's a valid goal/target.

Also, it might be more appropriate to send this question to the Cargo
Users email list...

Wayne

On 9/12/06, Prashanth Krishnamurthy <pk...@yahoo.com> wrote:
> I am trying to deploy my application to a running
> tomcat instance on a different machine. I have tried
> the following and haven't been successfully. What is
> the right way to do this? Please suggest.
>
> 1.mvn cargo:deploy - This works fine only when the
> tomcat instance doesn't have my application deployed.
>
> 2. mvn cargo:deploy - This fails when run against a
> tomcat instance which already has my application
> running or deployed.
>
> Failed to deploy [c:\main\app\ui\target\aa.war]
> Application already exists at path /aa
>
> 3. mvn cargo:deployer-redeploy - This goal undeploys
> and redeploys the application. I guess this is
> deploying the existing war file without refreshing
> with the new war file.
>
> 4. mvn cargo:deployer-redeploy - This fails when run
> against a tomcat instance which doesn't have my
> running or deployed.
>
> [INFO] Failed to redeploy
> [c:\main\app\ui\target\aa.war]
> FAIL - No context exists for path /aa
>
> thanks
> --Prashanth
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

RE: Cargo deploy on to a remote machine

Posted by Vincent Massol <vi...@massol.net>.
Hi Prashanth,

Please use the Cargo mailing list.

What you want is not implemented yet. You need to do undeploy first in your
case. Cargo is currently mimicking exactly what you get when you use the
Tomcat Managa Application. 

However we need to do better, see http://jira.codehaus.org/browse/CARGO-403
and http://jira.codehaus.org/browse/CARGO-242.

Please continue the discussion on the Cargo mailing lists.

Thanks
-Vincent

> -----Original Message-----
> From: Prashanth Krishnamurthy [mailto:pkrishna25@yahoo.com]
> Sent: mercredi 13 septembre 2006 03:17
> To: continuum-users@maven.apache.org
> Subject: Cargo deploy on to a remote machine
> 
> I am trying to deploy my application to a running
> tomcat instance on a different machine. I have tried
> the following and haven't been successfully. What is
> the right way to do this? Please suggest.
> 
> 1.mvn cargo:deploy - This works fine only when the
> tomcat instance doesn't have my application deployed.
> 
> 2. mvn cargo:deploy - This fails when run against a
> tomcat instance which already has my application
> running or deployed.
> 
> Failed to deploy [c:\main\app\ui\target\aa.war]
> Application already exists at path /aa
> 
> 3. mvn cargo:deployer-redeploy - This goal undeploys
> and redeploys the application. I guess this is
> deploying the existing war file without refreshing
> with the new war file.
> 
> 4. mvn cargo:deployer-redeploy - This fails when run
> against a tomcat instance which doesn't have my
> running or deployed.
> 
> [INFO] Failed to redeploy
> [c:\main\app\ui\target\aa.war]
> FAIL - No context exists for path /aa
> 
> thanks
> --Prashanth
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com


	

	
		
___________________________________________________________________________ 
D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences. 
http://fr.answers.yahoo.com