Re: Update on Unpacked WARs

Anthony Eden <[email protected]> Thu, 06 Mar 2003 11:44:09 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
Its more of a matter of following Sun's servlet specification in that a servlet engine does not have to have a file system backing it.  To support unpacked WARs everything has to come through the ServletContext API.

-Anthony

Kevin Baynes wrote:
> I'm only personally familiar with Tomcat, Resin and WebSphere.
> 
> There are servlet containers that do not have the file system concept? Could
> you point me to some information? I see this thread started with JBoss in
> the title, which I'm looking at now.
> 
> Sincerely,
> 
> ~akb
> 
> 
>>-----Original Message-----
>>From: [email protected]
>>[mailto:[email protected]]On Behalf Of
>>Anthony Eden
>>Sent: Wednesday, March 05, 2003 5:15 PM
>>To: jpublish-developer
>>Subject: Re: [JPublish-developer] Update on Unpacked WARs
>>
>>
>>Unfortunately I don't think that is a viable solution.  In
>>containers which load data from a WAR they can completely remove
>>the concept of a file system.
>>
>>-Anthony
>>
>>Kevin Baynes wrote:
>>
>>>As an alternative, can you detect that a server is loading
>>
>>JPublishServlet
>>
>>>from the WAR and unpack the WAR yourself? I have not worked
>>
>>with a container
>>
>>>that runs WebApps out of the WAR so have no idea if that is feasible.
>>>
>>>~akb
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: [email protected]
>>>>[mailto:[email protected]]On Behalf Of
>>>>Anthony Eden
>>>>Sent: Tuesday, March 04, 2003 2:15 PM
>>>>To: jpublish-developer
>>>>Subject: [JPublish-developer] Update on Unpacked WARs
>>>>
>>>>
>>>>I have spent most of the morning looking at what it will take for
>>>>JPublish to support execution in unpacked WARs.  Unfortunately
>>>>the list of changes is long and the results are problematic at best.
>>>>
>>>>- All managers will need new implementations that pull data from
>>>>the ServletContext.
>>>>- Some scripting languages will not work.  My initial testing
>>>>indicates that of Jython, JavaScript and BeanShell, only
>>>>BeanShell properly loads classes using the context class loader.
>>>>- Any calls to SiteContext.getRoot() or any other File based
>>>>methods will fail.
>>>>
>>>>I am sure there are many other changes as well.  The question I
>>>>have is that given the scope of this change is it really worth
>>>>the effort?  How many of you can not live without the ability to
>>>>run JPublish in an unexpanded WAR?
>>>>
>>>>Sincerely,
>>>>Anthony Eden
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.net email is sponsored by: Etnus, makers of TotalView,
>>>>The debugger
>>>>for complex code. Debugging C/C++ programs can leave you
>>
>>feeling lost and
>>
>>>>disoriented. TotalView can help you find your way. Available on
>>>>major UNIX
>>>>and Linux platforms. Try it free. www.etnus.com
>>>>_______________________________________________
>>>>Jpublish-developer mailing list
>>>>[email protected]
>>>>https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by: Etnus, makers of TotalView,
>>
>>The debugger
>>
>>>for complex code. Debugging C/C++ programs can leave you
>>
>>feeling lost and
>>
>>>disoriented. TotalView can help you find your way. Available on
>>
>>major UNIX
>>
>>>and Linux platforms. Try it free. www.etnus.com
>>>_______________________________________________
>>>Jpublish-developer mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Etnus, makers of TotalView,
>>The debugger
>>for complex code. Debugging C/C++ programs can leave you feeling lost and
>>disoriented. TotalView can help you find your way. Available on
>>major UNIX
>>and Linux platforms. Try it free. www.etnus.com
>>_______________________________________________
>>Jpublish-developer mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/jpublish-developer
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
> for complex code. Debugging C/C++ programs can leave you feeling lost and 
> disoriented. TotalView can help you find your way. Available on major UNIX 
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> Jpublish-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jpublish-developer



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com