Tom Hanekamp created ACE-299:
--------------------------------

             Summary: login not working after building with bin-build.xml
                 Key: ACE-299
                 URL: https://issues.apache.org/jira/browse/ACE-299
             Project: ACE
          Issue Type: Bug
            Reporter: Tom Hanekamp


Started Ace using "sh run.sh" from "<repository 
location>/build/generated/ace-devserver" after building it from a clean 
checkout of the trunk, using the command "ant -f bin-build.xml clean package". 

Ace will start but an attempt to log in using the standard username "d" and 
password "f" will return the message "Invalid username or password" and the 
following stack trace in the console:

[Debug] [   ] Authenticating user for: [Ljava.lang.Object;@5b1e32b6
[Debug] [   ] Authenticated user ([Ljava.lang.Object;@5b1e32b6) as: d
[Warn ] [   ] Login failed! Destroying session...
java.io.IOException: Connection error: Not Found
        at 
org.apache.ace.repository.ext.impl.RemoteRepository.getRange(RemoteRepository.java:140)
        at 
org.apache.ace.repository.ext.impl.CachedRepositoryImpl.getRange(CachedRepositoryImpl.java:105)
        at 
org.apache.ace.repository.ext.impl.CachedRepositoryImpl.highestRemoteVersion(CachedRepositoryImpl.java:139)
        at 
org.apache.ace.repository.ext.impl.CachedRepositoryImpl.checkout(CachedRepositoryImpl.java:60)
        at 
org.apache.ace.client.repository.impl.RepositorySet.checkout(RepositorySet.java:236)
        at 
org.apache.ace.client.repository.impl.RepositoryAdminImpl.checkout(RepositoryAdminImpl.java:267)
        at org.apache.ace.webui.vaadin.VaadinClient.login(VaadinClient.java:985)
        at org.apache.ace.webui.vaadin.VaadinClient.login(VaadinClient.java:495)
        at 
org.apache.ace.webui.vaadin.LoginWindow$1.buttonClick(LoginWindow.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at 
com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
        at com.vaadin.ui.Button.fireClick(Button.java:567)
        at com.vaadin.ui.Button.changeVariables(Button.java:223)
        at 
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java:1460)
        at 
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1404)
        at 
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1329)
        at 
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:761)
        at 
com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:323)
        at 
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
        at 
org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
        at 
org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
        at 
org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
        at 
org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
        at 
org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
        at 
org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
        at 
org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[Warn ] [   ] Apache Ace WebUI invalid username or password entered.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to