[opencms-dev] Running OpenCMS with unpacked war file

Michael Emmerich m.emmerich at alkacon.com
Thu Apr 14 10:08:24 CEST 2011


Shi,

> If the configuration files and logs are separated from the war, I think
> it should be able to run without unpacking.

The config files and logs are not everything.
There are also:

-Search index files
-Image cache
-JSP repository

The first two could be moved outside the webapp folder like the logs or 
config files (we made some experiments with this issue in general), but 
the problem is the JSP repository.

All JSPs used by OpenCms are stored in the VFS. There, they cannot 
accessed by the servlet container directly. Therefore JSPs are 
automatically written to the JSP repository folder when they are called 
the first time (or are modified), so that the JSPs can be accessed from 
the servlet container.

You would need to find a solution for this before using an unpacked .war 
file.


Kind regards,
Michael



> Regards,
>
> Shi Jinghai
>
> PS: the openoces contributed by TDC is great.
>
> On Mon, 2011-04-11 at 10:53 +0200, Jon Brüel wrote:
>> As a newbe, I'm trying the run the OpenCMS under a Tomcat 6 server
>> without unpacking the war file. It does not work. If I let Tomcat
>> unpack the war file or if I manually unpack it, it runs OK.
>>
>> My problem is that I want to run it on a server, the BroadSoft XSP,
>> where the requirement is that it be run as an unpacked war.
>>
>> It it possibly at all by appropriate changes of the settings?
>>
>> Thanks, Jon Brüel
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-- 
Kind Regards,
Michael.

-------------------
Michael Emmerich

Visit OpenCms Days 2011 Conference and Expo
May 9 to May 10 2011 in Cologne, Germany
http://www.opencms-days.org

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list