Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Jeff Schnitzer
On Tue, May 24, 2011 at 2:04 PM, Scott Ferguson  wrote:
>
> Also, what does the /resin-admin webapps tab say?

It reports a webapp at /, but just the "stock" one.

> For example, if you've deployed a .war using the command-line "deploy",
> that overrides the webapps/ directory.

I haven't done anything... seriously, I just went through these steps:

1) Download resin-4.0.18.zip
2) Unzip it into a directory
3) Copy my ROOT.war into resin/webapps
4) Run resin

No love.  No error messages.

I've also tried commenting out  but it makes no difference.  I'm not
quite sure what this line is supposed to do, though - shouldn't it be
irrelevant if there is a ROOT.war file in webapps?

Jeff


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Scott Ferguson
On 05/24/2011 01:50 PM, Jeff Schnitzer wrote:
> On Tue, May 24, 2011 at 8:11 AM, Paul Cowan  wrote:
>> Hi Jeff,
>> We fixed a few bugs related to deployment in 4.0.17 and 4.0.18, perhaps the
>> behavior you're expecting has changed.
>> I tested by simply overwriting ROOT.war with a different ROOT.war and didn't
>> have any issues.
>> Resin will recreate the old app from resin-data directory, if you delete the
>> war and directory, since it needs a ROOT webapp.  So that behavior is
>> expected.
>> Some things to check are permissions (Resin is
>> running as),  exists, webapp version is enabled
>> (  ).
>> -Paul
> I don't know what to say... I'm running vanilla Resin 4.0.18
> (non-pro), right out of the zipfile.  I get the same behavior on both
> linux (started using the init.d script, running as root) and Mac
> (bin/resin.sh console, running as myself).
>
> The only changes I've made to resin.xml are tweaks to my logging
> configuration and disabling the resin-doc webapp.
>   and  are stock.  I've tried
> commenting out the  but
> it doesn't seem to make a difference one way or another.
>
> It almost seems like Resin just doesn't notice my ROOT.war, but there
> are no error messages and there's nothing wrong with the permissions.
> The file unjars just fine with the command line jar utility.

Also, what does the /resin-admin webapps tab say?

For example, if you've deployed a .war using the command-line "deploy", 
that overrides the webapps/ directory.

-- Scott

> Jeff
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Jeff Schnitzer
On Tue, May 24, 2011 at 8:11 AM, Paul Cowan  wrote:
>
> Hi Jeff,
> We fixed a few bugs related to deployment in 4.0.17 and 4.0.18, perhaps the
> behavior you're expecting has changed.
> I tested by simply overwriting ROOT.war with a different ROOT.war and didn't
> have any issues.
> Resin will recreate the old app from resin-data directory, if you delete the
> war and directory, since it needs a ROOT webapp.  So that behavior is
> expected.
> Some things to check are permissions (  Resin is
> running as),  exists, webapp version is enabled
> ( ).
> -Paul

I don't know what to say... I'm running vanilla Resin 4.0.18
(non-pro), right out of the zipfile.  I get the same behavior on both
linux (started using the init.d script, running as root) and Mac
(bin/resin.sh console, running as myself).

The only changes I've made to resin.xml are tweaks to my logging
configuration and disabling the resin-doc webapp.
 and  are stock.  I've tried
commenting out the  but
it doesn't seem to make a difference one way or another.

It almost seems like Resin just doesn't notice my ROOT.war, but there
are no error messages and there's nothing wrong with the permissions.
The file unjars just fine with the command line jar utility.

Jeff


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Paul Cowan

On May 24, 2011, at 4:52 AM, Jeff Schnitzer wrote:

> I tried upgrading to 4.0.18 recently and deployment seems broken.
> 
> Normally I copy my war file over webapps/ROOT.war, restart appserver,
> and it works.
> 
> Now it seems the only way I can get a deployment working is by:
> 
> 1) Deleting webapps/ROOT (the directory)
> 2) Manually un-jaring ROOT.war
> 3) Deleting the resin-data directory
> 
> If I don't do #3, Resin recreates an old version of my app, not the
> new contents of ROOT.war.  If I don't do #2, Resin creates an empty
> web project.  This is really, insanely confusing :-(
> 
> Jeff

Hi Jeff,

We fixed a few bugs related to deployment in 4.0.17 and 4.0.18, perhaps the 
behavior you're expecting has changed.

I tested by simply overwriting ROOT.war with a different ROOT.war and didn't 
have any issues.

Resin will recreate the old app from resin-data directory, if you delete the 
war and directory, since it needs a ROOT webapp.  So that behavior is expected.

Some things to check are permissions (  Resin is 
running as),  exists, webapp version is enabled 
( ).

-Paul



> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

===
Paul Cowan, Software Engineer
Caucho Technology
co...@caucho.com
http://blog.caucho.com
http://twitter.com/cauchoresin

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Paul Cowan

On May 24, 2011, at 4:52 AM, Jeff Schnitzer wrote:

> I tried upgrading to 4.0.18 recently and deployment seems broken.
> 
> Normally I copy my war file over webapps/ROOT.war, restart appserver,
> and it works.
> 
> Now it seems the only way I can get a deployment working is by:
> 
> 1) Deleting webapps/ROOT (the directory)
> 2) Manually un-jaring ROOT.war
> 3) Deleting the resin-data directory
> 
> If I don't do #3, Resin recreates an old version of my app, not the
> new contents of ROOT.war.  If I don't do #2, Resin creates an empty
> web project.  This is really, insanely confusing :-(

Hi Jeff

I just ran a quick test and saw similar behavior.  

I'll look into it and file a bug if appropriate, and let you know either way.

-Paul



> 
> Jeff
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

===
Paul Cowan, Software Engineer
Caucho Technology
co...@caucho.com
http://blog.caucho.com
http://twitter.com/cauchoresin

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Mattias Jiderhamn
Just do double check, you are running both the watchdog process and the 
actual Resin instance as root?

Anything on the finest logging level?



- Original Message -
Subject: Re: [Resin-interest] Resin no longer deploys my war
Date: Tue, 24 May 2011 02:26:44 -0700
From: Jeff Schnitzer 

It does sound like that, but I'm running Resin as root.

Jeff

On Tue, May 24, 2011 at 1:56 AM, Mattias Jiderhamn
 wrote:
 > Sounds like a file permission issue, but you've checked that, haven't
 > you...?
 >
 > 
 >
 > - Original Message -
 > Subject: [Resin-interest] Resin no longer deploys my war
 > Date: Tue, 24 May 2011 01:52:04 -0700
 > From: Jeff Schnitzer 
 >
 > I tried upgrading to 4.0.18 recently and deployment seems broken.
 >
 > Normally I copy my war file over webapps/ROOT.war, restart appserver,
 > and it works.
 >
 > Now it seems the only way I can get a deployment working is by:
 >
 > 1) Deleting webapps/ROOT (the directory)
 > 2) Manually un-jaring ROOT.war
 > 3) Deleting the resin-data directory
 >
 > If I don't do #3, Resin recreates an old version of my app, not the
 > new contents of ROOT.war. If I don't do #2, Resin creates an empty
 > web project. This is really, insanely confusing :-(
 >
 > Jeff
 >
 >
 > ___
 > resin-interest mailing list
 > resin-interest@caucho.com
 > http://maillist.caucho.com/mailman/listinfo/resin-interest
 >
 >
 >
 >
 > ___
 > resin-interest mailing list
 > resin-interest@caucho.com
 > http://maillist.caucho.com/mailman/listinfo/resin-interest
 >


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 

   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Jeff Schnitzer
It does sound like that, but I'm running Resin as root.

Jeff

On Tue, May 24, 2011 at 1:56 AM, Mattias Jiderhamn
 wrote:
> Sounds like a file permission issue, but you've checked that, haven't
> you...?
>
> 
>
> - Original Message -
> Subject: [Resin-interest] Resin no longer deploys my war
> Date: Tue, 24 May 2011 01:52:04 -0700
> From: Jeff Schnitzer 
>
> I tried upgrading to 4.0.18 recently and deployment seems broken.
>
> Normally I copy my war file over webapps/ROOT.war, restart appserver,
> and it works.
>
> Now it seems the only way I can get a deployment working is by:
>
> 1) Deleting webapps/ROOT (the directory)
> 2) Manually un-jaring ROOT.war
> 3) Deleting the resin-data directory
>
> If I don't do #3, Resin recreates an old version of my app, not the
> new contents of ROOT.war. If I don't do #2, Resin creates an empty
> web project. This is really, insanely confusing :-(
>
> Jeff
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Mattias Jiderhamn
Sounds like a file permission issue, but you've checked that, haven't 
you...?



- Original Message -
Subject: [Resin-interest] Resin no longer deploys my war
Date: Tue, 24 May 2011 01:52:04 -0700
From: Jeff Schnitzer 

I tried upgrading to 4.0.18 recently and deployment seems broken.

Normally I copy my war file over webapps/ROOT.war, restart appserver,
and it works.

Now it seems the only way I can get a deployment working is by:

1) Deleting webapps/ROOT (the directory)
2) Manually un-jaring ROOT.war
3) Deleting the resin-data directory

If I don't do #3, Resin recreates an old version of my app, not the
new contents of ROOT.war. If I don't do #2, Resin creates an empty
web project. This is really, insanely confusing :-(

Jeff


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Resin no longer deploys my war

2011-05-24 Thread Jeff Schnitzer
I tried upgrading to 4.0.18 recently and deployment seems broken.

Normally I copy my war file over webapps/ROOT.war, restart appserver,
and it works.

Now it seems the only way I can get a deployment working is by:

1) Deleting webapps/ROOT (the directory)
2) Manually un-jaring ROOT.war
3) Deleting the resin-data directory

If I don't do #3, Resin recreates an old version of my app, not the
new contents of ROOT.war.  If I don't do #2, Resin creates an empty
web project.  This is really, insanely confusing :-(

Jeff


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest