You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Tom Hanekamp (JIRA)" <ji...@apache.org> on 2012/11/05 19:58:13 UTC
[jira] [Created] (ACE-299) login not working after building with
bin-build.xml
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
[jira] [Commented] (ACE-299) login not working after building with
bin-build.xml
Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACE-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492493#comment-13492493 ]
Marcel Offermans commented on ACE-299:
--------------------------------------
I can reproduce this here, the log shows me a very similar message:
2012.11.07 17:34:35 WARNING - Bundle: org.apache.ace.webui.vaadin - Login failed! Destroying session... - java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:234)
at sun.net.www.http.HttpClient.New(HttpClient.java:307)
at sun.net.www.http.HttpClient.New(HttpClient.java:324)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at org.apache.ace.repository.ext.impl.RemoteRepository.getRange(RemoteRepository.java:121)
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)
[...]
> 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
[jira] [Resolved] (ACE-299) login not working after building with
bin-build.xml
Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACE-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Offermans resolved ACE-299.
----------------------------------
Resolution: Fixed
Fixed, there were a few properties missing, so the framework started up with the wrong configuration.
> 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