Running geoserver without exploding the war is not really something that is tested afaik. I don't have a list of all the issues of why and how much work it would be to fix... but pretty much long story short is you are better off to run from an exploded war.
That said this issue seems to be occurs due to a request that is going through the file publisher... which assumes access to the file system under the GEOSERVER_DAT_DIR. So in this case I assume you have not set that environment variable or system property so it is assuming the data directory resides in the war itself, hence the error. So one thing to try would be to add the GEOSERVER_DATA_DIR property to the java system properties (you can also edit it in geoserver web.xml) and set it to a location outside of the webapp (which is best practice anyways). -Justin On Mon, Feb 28, 2011 at 2:57 AM, Terje <[email protected]> wrote: > Hi, > We have trouble deploying geoserver 2.1rc2 on weblogic (10.3.3.0) using > war-file. If we use the expanded binary/jar it works fine. When using war we > get the error: FileNotFoundException: ServletContext resource [/index.html] > cannot be resolved to absolute file path - web application archive not > expanded? at org.springframework.web.util.WebUtils.getRealPath. > > See attached fole for complete error message. Any hints? > > Best regards > Terje > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial.
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
