bean adminOverviewForm not found within scope

I'm attempting to setup a a TeamCity server on an Ubuntu 10.04 machine. I've upacked the tarball, started the server (via runAll.sh) and followed the directions and was able to create an administrator account however, whenever I attempt to access the administrator page I get the following error (full stack trace attached.:

Error message: bean adminOverviewForm not found within scope
TeamCity: 8.1.5 (build 30240)
Operating system: Linux (3.13.0-36-generic, amd64)
Java: 1.7.0_65-b32 (Oracle Corporation)
Servlet container: Apache Tomcat/7.0.55


I've tried redownloading TeamCity, which had no effect. My Java version is:
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)


I'm not sure where to go from here, any help would be appriciated.


Attachment(s):
trace.txt.zip
6 comments
Comment actions Permalink

Looks like exception is incomplete. Please attach teamcity-server.log.

0
Comment actions Permalink

Does it help to logout and then login?

0
Comment actions Permalink

It does not. I've actually gone as far as wiping out .BuildServer and the TeamCity folder and redownoading.

0
Comment actions Permalink

In your logs I see request to http://<your server>/admin/admin.html?item=projects%3Fitem%3Dprojects%3Fitem%3Dprojects%3Fitem%3Dprojects
Indeed this request produces error java.lang.InstantiationException: bean adminOverviewForm not found within scope. I reproduced it locally. The question how it happens that your browser sends this request. It looks like there are several parameters item=projects repeated.

Did it help to reinstall server?

0
Comment actions Permalink

Ok, there was the clue I needed. TeamCity was sitting behind Nginx, with Nginx configured to 301 all http requests to https, and the actual proxy on https. I should have actually recorded the sequence of redirects (and can if you'd like) but basically TeamCity was 302ing to http://<host>/admin.html?<parameters>, nginx was 301ing to https://<host>/admin.html?<parameters> and for some reason TeamCity would 301 to http://<host>/admin.html?<even more parameters>. After a couple bounces came the exception. I was able to fix it by adding scheme="https" secure="true" to the connector as described in the last step here: https://confluence.jetbrains.com/display/TCD8/How+To...#HowTo...-SetUpTeamCitybehindaProxyingServer

Thanks for the help! Let me know if you want the full request log on that for any reason.

0

Please sign in to leave a comment.