Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Non-standard web application deployment question

Right, that's to deploy WARs and exploded WARs. Which isn't what I'd prefer. I'd like to not have to change the current installation directory. I have a few tens of thousands of deployers that would not be happy with that. That's why I was trying to find something that would allow me to point to the component parts of the web applications.

On 6/10/10 3:15 PM, Michael Gorovoy wrote:
I'm having trouble finding the right example at the moment...

Take a look at ${jetty.home}/contexts/test.xml and note properties 'war'
and 'extractWAR'. The way they are set up now is to extract a war
file... If extractWAR is set to true, and 'war' is pointing to a
directory that contains war file structure, it will work the way you
would want.

-Michael

Michael Gorovoy | mgorovoy@xxxxxxxxxxx <mailto:mgorovoy@xxxxxxxxxxx> |
http://www.intalioworks.com |


On Thu, Jun 10, 2010 at 2:58 PM, Chad La Joie <lajoie@xxxxxxxxx
<mailto:lajoie@xxxxxxxxx>> wrote:

    Oh, sorry.  v7


    On 6/10/10 2:56 PM, Michael Gorovoy wrote:

        What version of Jetty are you running?

        Michael Gorovoy | mgorovoy@xxxxxxxxxxx
        <mailto:mgorovoy@xxxxxxxxxxx> <mailto:mgorovoy@xxxxxxxxxxx
        <mailto:mgorovoy@xxxxxxxxxxx>> |

        http://www.intalioworks.com |


        On Thu, Jun 10, 2010 at 2:33 PM, Chad La Joie <lajoie@xxxxxxxxx
        <mailto:lajoie@xxxxxxxxx>
        <mailto:lajoie@xxxxxxxxx <mailto:lajoie@xxxxxxxxx>>> wrote:

            Before asking my question let me start by describing where
        I'm at today.

            I have an application whose install directory structure looks
            something like this:

            /lib
            /conf
            /bin
            /logs
            ...

            Contained in lib directory are all the jars that make up the web
            application.  In the conf directory are the configuration
        files for
            the app.  In bin are command line tools that also use the
        contents
            of the lib directory, one of which tests configurations.

            Currently, what I do is create a WAR file from everything in
        lib + a
            web.xml file.  The problem I'm having is that users drop in
            extension jars in the /lib directory, make appropriate
        changes to
            the conf files, run the config test script and everything checks
            out.  They then restart their web app and the new config fails
            (since the extension jar isn't in the WAR file).  I provide
        a way
            for them to regen the WAR but a lot of people forget to do that.

            So, my question is, is there a particular deployer or context
            handler where I can specifically configure the classpath and
        web.xml
            file?  That way I wouldn't need a WAR file at all and so it
        would
            never get out of synch.

            Thanks.

            --
            Chad La Joie
        http://itumi.biz
            trusted identities, delivered
            _______________________________________________
            jetty-users mailing list
        jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
        <mailto:jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>>

        https://dev.eclipse.org/mailman/listinfo/jetty-users




        _______________________________________________
        jetty-users mailing list
        jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
        https://dev.eclipse.org/mailman/listinfo/jetty-users


    --
    Chad La Joie
    http://itumi.biz
    trusted identities, delivered
    _______________________________________________
    jetty-users mailing list
    jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/jetty-users




_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Chad La Joie
http://itumi.biz
trusted identities, delivered


Back to the top