Re: [Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-14 Thread Mark Prins
2014-05-13 23:24 GMT+02:00 Greg Knight : > Thank you both for your input. > > I dont think we want to go down that road (security manager) if we can avoid > it. > > As a temporary 'local' work-around, I tried unzipping the contents of the > EPSG.zip from the jar -- and dropped those in WEB-INF/clas

Re: [Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-13 Thread Greg Knight
Thank you both for your input. I dont think we want to go down that road (security manager) if we can avoid it. As a temporary 'local' work-around, I tried unzipping the contents of the EPSG.zip from the jar -- and dropped those in WEB-INF/classes... I expected this to work, but still no go -- b

Re: [Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-13 Thread Jody Garnett
For GeoServer we always configure the tomcat security manager to allow disk access. - http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html Of course many people do not set up a security manager at all ... Jody Garnett On Tue, May 13, 2014 at 12:54 PM, Andrea Aime wrote: > On T

Re: [Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-13 Thread Andrea Aime
On Tue, May 13, 2014 at 9:43 PM, Greg Knight wrote: > Greetings, > > I am trying to deploy the EPSG HSQL plugin under Tomcat. > > I am able to successfully run JUnit tests against my class (which I > understand uses the embedded Jetty engine). However, when I run in Tomcat > in Debug mode, my cla

Re: [Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-13 Thread Jody Garnett
It unpacks into a temp directory, but yeah you may wish to configure tomcat to provide your application disk access permissions? The alternative "enterprise" approach also works - GeoTools is willing to look up the EPSG database via JNDI name, allowing you to deploy a single EPSG database for a cl

[Geotools-gt2-users] EPSG HSQL Plugin under Tomcat

2014-05-13 Thread Greg Knight
Greetings, I am trying to deploy the EPSG HSQL plugin under Tomcat. I am able to successfully run JUnit tests against my class (which I understand uses the embedded Jetty engine). However, when I run in Tomcat in Debug mode, my class fails when it makes a call to the EPSG database. final C