Hi all, I have a question related the load of Geoserver Catalog.
An introduction: I'm try to devel a lib who changes (create/delete/mod) the
information on geoserver without using rest api. In private, I can explain
why.
To realize that, my mind is change geoserver_data_dir using gs-main Catalog
class, avoiding to re-invent the wheel.
I try to get Catalog using an Applicationcontext created by
ClassPathXmlApplicationContext
ApplicationContext ac=new ClassPathXmlApplicationContext(new String[]{
"classpath*:applicationContext.xml",
"classpath*:applicationSecurityContext.xml",
});
CatalogImpl cat = ac.getBean(CatalogImpl.class);
System.out.println(cat.getWorkspaces());
And everything goes as well until I get an empty workspaces list. This is
obviously because no Geoserver Data Dir is set. I try unsing
System.setProperty, but nothing changes.
Any one have a suggestion?
Thanks.
Cheers.
.Federico C Guizzardi
>_
abstract.it
...............................................................................
Registro Imprese di Napoli 788429 / Cap. Soc. 10.000 Euro I.V. Avvertenze
Legali - D. Lgs. 196/03 Tutela dei dati personali. Le informazioni contenute
in questo messaggio e in ogni eventuale allegato sono riservate e ne รจ vietata
ogni forma di diffusione. Se avete ricevuto questa comunicazione per errore,
Vi preghiamo di informare immediatamente il mittente del messaggio e di
eliminare l'e-mail.
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
