Unable to login

Hi

I've downloaded the jar version today and started jetty as suggested on the homepage.

The loginpage comes up but I'm unable to login (as i dont' have any credentials).

So I point the URL to the registerUserForm, but I get bounced back to the login page.

In the jetty console the following stacktrace  becomes visible:

2009-09-22 11:59:02.306::WARN:  /registerUserForm

com.jetbrains.teamsys.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes:

  1: User name is not set.

        at jetbrains.charisma.persistent.UserImpl.checkLisenceOnCreation(UserImpl.java:122)

        at jetbrains.charisma.persistent.UserImpl.constructor(UserImpl.java:1074)

        at jetbrains.charisma.user.RegisterUserForm_RootHtmlTemplateComponent.onEnter(RegisterUserForm_RootHtmlTemplateComponent.java:68)

        at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.<init>(TemplateComponent.java:115)

        at jetbrains.charisma.user.RegisterUserForm_RootHtmlTemplateComponent.<init>(RegisterUserForm_RootHtmlTemplateComponent.java:50)

        at jetbrains.charisma.user.RegisterUserForm_RootHtmlTemplateController$Action.createTemplateComponent(RegisterUserForm_RootHtmlTemplateController.java:51)

        at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.getRootTemplateRenderResponseAction(TemplateActionController.java:51)

        at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.doEnterAction(TemplateActionController.java:31)

        at jetbrains.mps.webr.runtime.templateComponent.ActionController.securedRefreshResponse(ActionController.java:148)

        at jetbrains.mps.webr.runtime.templateComponent.ActionController.enterAction(ActionController.java:79)

        at jetbrains.mps.webr.runtime.requestProcessor.ActionControllerUtil.doEnterAction(ActionControllerUtil.java:15)

        at jetbrains.mps.webr.runtime.requestProcessor.ActionControllerUtil.processRequest(ActionControllerUtil.java:48)

        at jetbrains.mps.webr.runtime.requestProcessor.HtmlTemplateRequestProcessor.processRequest(HtmlTemplateRequestProcessor.java:48)

        at jetbrains.mps.webr.runtime.servlet.MainServlet.processRequest(MainServlet.java:129)

        at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:46)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)

        at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:26)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)

        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)

        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)

        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

        at org.mortbay.jetty.Server.handle(Server.java:313)

        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)

        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)

        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)

        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Any thoughts?

2 comments
Comment actions Permalink

Roald,

Have you attempted logging in with root/root username/password? These are default user credentials that you normally use for first launch.

0
Comment actions Permalink

That's it.

It might be a good idea to put this info on a more prominent place.

0

Please sign in to leave a comment.