You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ronald Klop <ro...@base.nl> on 2004/06/02 13:15:05 UTC

default for reloadable setting

Hello,
 
The docs on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html do not mention the default setting of reloadable.
Does anybody know what it is?
 
Greetings,
 
Ronald.

Re: default for reloadable setting

Posted by Veniamin Fichin <3c...@mail.ru>.
Ronald Klop wrote:

> The docs on 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html do 
> not mention the default setting of reloadable.
> Does anybody know what it is?

    Just try it! :-) IMHO reasonable default setting is "false".


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: 2 War files for one Application

Posted by QM <qm...@brandxdev.net>.
On Wed, Jun 02, 2004 at 01:54:30PM +0100, mpforste wrote:
: I would like to know if it is possible to have 2 War files for one
: application.

Sounds like something that would violate the servlet spec.  A webapp is
supposed to be a (fairly) self-contained package.


: Is it possible to have 2 files set up to make the whole site so I can put
: the larger non changing files
: in one larger war and the smaller changeable files in another to make
: updating the site easier?

What about using an exploded-WAR format webapp on the server?  That way,
you just have to make sure you upload your files to the right locations.

btw, please create a new message when mailing the list with a new topic.
Responding to an old message plays hell with thread-aware mailers, which
rely on the "In-Reply-To" header.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: 2 War files for one Application

Posted by Parsons Technical Services <pa...@earthlink.net>.
Mike,

If you have control of the server you can try what I did. I needed to have a
common directory to serve out pics for several of my apps. I set up a folder
in the root of tomcat and created a servlet that intercepted any request for
a .jpg file. It then read the file in using file IO and wrote it out to the
response.

This had the side affect of not needing to reloading the pics when the app
was reloaded. Thus achieving what you need. You would have to manipulate the
movie files manually rather than as part of the war.

Some caution is needed when writing the servlet to ensure that a mal-formed
URL does not create some unwanted action. One thing I did was to do a
substring so as to only use the segment of the URL that indicated the file
name without extension. This way adding any path information would not
affect the request.

Let us know if you need further information.

Doug
www.parsonstechnical.com


----- Original Message ----- 
From: "mpforste" <mp...@muckworld.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, June 02, 2004 8:54 AM
Subject: 2 War files for one Application


> I would like to know if it is possible to have 2 War files for one
> application.
>
> The problem...
>
> I have to upload changes to the server and the link is not that fast.
>
> The current War file is 27mb in size, but the changeable parts are only
> about 1mb at most
>
> (the jar file inside is only 187kb)
>
> Most of it is jar files that are needed and some swf movie files for a
fixed
> presentation.
>
> Is it possible to have 2 files set up to make the whole site so I can put
> the larger non changing files
> in one larger war and the smaller changeable files in another to make
> updating the site easier?
>
>
> Mike.
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


2 War files for one Application

Posted by mpforste <mp...@muckworld.com>.
I would like to know if it is possible to have 2 War files for one
application.

The problem...

I have to upload changes to the server and the link is not that fast.

The current War file is 27mb in size, but the changeable parts are only
about 1mb at most

(the jar file inside is only 187kb)

Most of it is jar files that are needed and some swf movie files for a fixed
presentation.

Is it possible to have 2 files set up to make the whole site so I can put
the larger non changing files
in one larger war and the smaller changeable files in another to make
updating the site easier?


Mike.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org