[Resin-interest] [Resin] Locking jar Oracle

2015-02-18 Thread Nam Nguyen
> Date: Tue, 17 Feb 2015 21:48:28 +0100
> From: Maria Elena 
> Subject: Re: [Resin-interest] [Resin] Locking jar Oracle
> To: ML Caucho Resin 
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
>
> On Tue, Feb 17, 2015 at 8:41 PM, Nam Nguyen  wrote:
>
>> Date: Tue, 17 Feb 2015 09:59:43 +0100
>>> From: Maria Elena 
>>> Subject: [Resin-interest] [Resin] Locking jar Oracle
>>> To: ML Caucho Resin 
>>> Message-ID:
>>>  >> u...@mail.gmail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hello,
>>>
>>> I am using Resin 3.1.9 (too old, I know) and I am experiencing problems
>>> with Oracle jars (I am swtiching between Oracle11 and Oracle12).
>>> Tomcat has the antiJARlocking attribute; there is something similar in
>>> Resin?
>>>
>>> Thanks and regards.
>>> M.E.
>>>
>>>
>> Hi Maria,
>>
>> It looks like all that Tomcat's antiJARlocking does is make a new copy of
>> the webapps directory on redeploys.  Is that the feature you wanted?
>>
>> Resin doesn't have something like that.  But you can deploy multiple
>> versions of a webapp, effectively accomplishing the same thing.
>>
>> -- Nam
>>
>
> Hi Nam,
>
> thanks for your reply!
> What do you mean with "you can deploy multiple versions of a webapp"?

Hi Maria,

I'm not entirely sure of the capabilities of 3.1.9, but I think it 
supports versioning at least.  See:

http://www.caucho.com/resin-3.1/doc/webapp-tags.xtp#webappdeploy


   

Suppose your WAR file is named myapp.war.  If you want versioning, then 
you'll need to have some sort of numbering convention.  The following 
should work:

myapp-1.0.war
myapp-1.1.0.war
myapp-1.1.5.war

You should deploy myapp-1.0.war first, not myapp.war.  Then upgrade as 
you see fit.  When the sessions for an old version expires, Resin will 
undeploy the old version.

-- Nam

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


Re: [Resin-interest] [Resin] Locking jar Oracle

2015-02-17 Thread Maria Elena
On Tue, Feb 17, 2015 at 8:41 PM, Nam Nguyen  wrote:

> Date: Tue, 17 Feb 2015 09:59:43 +0100
>> From: Maria Elena 
>> Subject: [Resin-interest] [Resin] Locking jar Oracle
>> To: ML Caucho Resin 
>> Message-ID:
>> > u...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hello,
>>
>> I am using Resin 3.1.9 (too old, I know) and I am experiencing problems
>> with Oracle jars (I am swtiching between Oracle11 and Oracle12).
>> Tomcat has the antiJARlocking attribute; there is something similar in
>> Resin?
>>
>> Thanks and regards.
>>M.E.
>>
>>
> Hi Maria,
>
> It looks like all that Tomcat's antiJARlocking does is make a new copy of
> the webapps directory on redeploys.  Is that the feature you wanted?
>
> Resin doesn't have something like that.  But you can deploy multiple
> versions of a webapp, effectively accomplishing the same thing.
>
> -- Nam
>

Hi Nam,

thanks for your reply!
What do you mean with "you can deploy multiple versions of a webapp"?

Thanks and regards
   M.E.

-- 
PGP Public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] [Resin] Locking jar Oracle

2015-02-17 Thread Nam Nguyen
> Date: Tue, 17 Feb 2015 09:59:43 +0100
> From: Maria Elena 
> Subject: [Resin-interest] [Resin] Locking jar Oracle
> To: ML Caucho Resin 
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> I am using Resin 3.1.9 (too old, I know) and I am experiencing problems
> with Oracle jars (I am swtiching between Oracle11 and Oracle12).
> Tomcat has the antiJARlocking attribute; there is something similar in
> Resin?
>
> Thanks and regards.
>M.E.
>

Hi Maria,

It looks like all that Tomcat's antiJARlocking does is make a new copy 
of the webapps directory on redeploys.  Is that the feature you wanted?

Resin doesn't have something like that.  But you can deploy multiple 
versions of a webapp, effectively accomplishing the same thing.

-- Nam

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


[Resin-interest] [Resin] Locking jar Oracle

2015-02-17 Thread Maria Elena
Hello,

I am using Resin 3.1.9 (too old, I know) and I am experiencing problems
with Oracle jars (I am swtiching between Oracle11 and Oracle12).
Tomcat has the antiJARlocking attribute; there is something similar in
Resin?

Thanks and regards.
  M.E.
-- 
PGP Public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest