[Geoserver-users] Geoserver Tomcat Install Fails

Hi,
I’m trying to get Geoserver (latest stable) running on XAMPP 1.8.2 and Tomcat 7 (as bundled) on Windows 7 64 bit.

I am not interested in the all in one installation as it does not suit our requirements.

I have tried to load the war file through the Tomcat Manager-Gui but I get a file too big error.

So, I copied the war file to …/tomcat/webapps/ and restarted tomcat.

It still fails to deploy.

Currently the first error is:

“SEVERE: Exception sending context initialized event to listener instance of class org.geoserver.platform.GeoServerContextLoaderListener
java.lang.RuntimeException: java.io.FileNotFoundException: security\config.xml (The system cannot find the file specified)”

Now, under the newly created geoserver directory there are the following

data/

META-INF

WEB-INF

index.html

Under ./data/ there is a “security” folder with config.xml in it.

So why cant the geoserver application find it?

Is there a setting I’m missing?

Why is this so hard?

Barry

Barry Steele

Sales

Mobile 0413 947 980

Join us on:

Hi Barry

···

I have tried to load the war file through the Tomcat Manager-Gui but I get a file too big error.

So, I copied the war file to …/tomcat/webapps/ and restarted tomcat.

Did you wipe the existing …/tomcat/webapps/geoserver/ dir?
You would not like to have half a directory before letting tomcat deploy the war.

It still fails to deploy.

Currently the first error is:

“SEVERE: Exception sending context initialized event to listener instance of class org.geoserver.platform.GeoServerContextLoaderListener
java.lang.RuntimeException: java.io.FileNotFoundException: security\config.xml (The system cannot find the file specified)”

Now, under the newly created geoserver directory there are the following

Under ./data/ there is a “security” folder with config.xml in it.

So why cant the geoserver application find it?

From the above I would guess that you have a permission problem - which is easily detected by running the tomcat startup.bat in a command prompt started as administrator.

Best regards,

Greg

Hans Gregers Petersen

Partner, Seniorkonsulent
gregers@anonymised.com

Septima P/S
Larsbjørnsstræde 3
1454 Kbh K
www.septima.dk
Tlf: +45 7230 0672
Direkte: +45 9132 6945
Cvr: 34900841

Hi thanks for getting back.
I fixed the too large to load issue in web/xml of the tomcat manager app.

I have deleted the application directory a number of times and tried new
deployments often.

But I still get :

"Dec 03, 2013 11:37:45 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.geoserver.platform.GeoServerContextLoaderListener
java.lang.RuntimeException: java.io.FileNotFoundException:
security\config.xml (The system cannot find the file specified)
"

The directory structure is"

....\tomcat\webapps\geoserver\data
                                             \security\config.xml

                                             .....

The file permission are set to allow the tomcat user full control if
necessary on the file. I've run the startup batch file as administrator
with no success.

This is a really tedious issue and has about convinced me that there is too
much uncertainty about geoserver in this environment and maybe some
alternatives are needed.

Any and all helpful and not so helpful suggestions will be gratefully
received.

Shouldn't this be simple.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-Tomcat-Install-Fails-tp5091843p5092284.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Tue, Dec 3, 2013 at 3:58 AM, beach_defender <barry@anonymised.com> wrote:

But I still get :

"Dec 03, 2013 11:37:45 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.geoserver.platform.GeoServerContextLoaderListener
java.lang.RuntimeException: java.io.FileNotFoundException:
security\config.xml (The system cannot find the file specified)
"

The directory structure is"

....\tomcat\webapps\geoserver\data
                                             \security\config.xml

                                             .....

Known issue, it seems to be happening only in certain environments, and not
in others: http://jira.codehaus.org/browse/GEOS-6186

There is a patch, we're waiting for some feedback from the developer that
normally
works in that area of code

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it 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

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