Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I installed GeoServer 2.1 RC1. It installed successfully, but when i click on WFS in services category, i got the following message.

Oops, something went wrong... Sorry, something unexpected happened on the server.

Here's an error report you can include in a JIRA bug report about this issue:

org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.geoserver.wfs.web.WFSAdminPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)

What is wrong ? How can i fix this problem ?

share|improve this question
7  
You're unlikely to get any answers after asking 17 questions, getting 30 answers, and accepting none of them. It might be worth asking this on the GeoServer forum. –  MerseyViking May 20 '11 at 13:18
6  
There is newer version 2.1 (Stable) geoserver.org/display/GEOS/Stable was released 12th May 2011. Please accept some of your previous questions or GISse users will ignore your questions (because of your 0% acceptance rate). –  Mapperz May 20 '11 at 13:52
1  
plus you'll need more details, such as how did you install it? which servlet container are you using? etc. –  iant May 20 '11 at 18:26
add comment

2 Answers 2

up vote 1 down vote accepted

I got this same error on the latest stable version. I found that my wfs.xml file had become empty somehow.

share|improve this answer
add comment

I had a similar problem and found it was memory related; increasing the Java heap space fixed it for me. In C:\Program Files\GeoServer 2.1.0\wrapper\wrapper.conf I increased wrapper.java.maxmemory=128 to 512. Maybe that helps!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.