We indeed only use the embedded Jetty server for development.
But I'd still like it to use JNDI so the "data" directory would be the same 
than on other environments.

Julien


On 7/11/2014 3:34 PM, Andrea Aime wrote:
On Fri, Jul 11, 2014 at 8:56 PM, electrotype <[email protected] <mailto:[email protected]>> wrote:

    I have been able to make JNDI work using Tomcat, but not using the embedded 
Jetty server.

    I followed this :
    
http://docs.geoserver.org/latest/en/developer/eclipse-guide/#configuring-jndi-resources-in-jetty

    But I think the "jetty.config.file" argument is not used. In fact, I 
checkouted Geoserver source,
    and I only fond "jetty.config.file" string instances in tests ( For example 
:
    src\web\app\src\test\java\org\geoserver\web\Start.java ).

    Am I missing something?


Not sure, but I would not recommend using the Jetty embedded server for 
production use,
it's old (and slower, at least on windows I hear). It is really meant only for 
demo purposes,
the production setup should be done with Tomcat.

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to