![]() |
|
|
|
|
Change By:
|
Ivo Ladage - van Doorn
(01/Jun/12 2:26 PM)
|
|
Summary:
|
AMA
permanently
broken after config update
|
|
Description:
|
I pushed a demo-opensocial distribution to my AMA and updated the port number config as described in AMDATUMNGMNT-21. Now since that resulted in 404's I de-associated the new config, associated the original config with the distribution and pushed this change to the AMA. Now I get these errors in the AMS:
{code} SEVERE: Terminal error: com.vaadin.event.ListenerMethod$MethodException Cause: java.lang.IllegalStateException: Problem generating new deployment version: D:\Amdatu-svn\trunk\amdatu-release-de mo\target\demo-ams-0.3.0-SNAPSHOT\features\web\amdatu-web-config.xml (The system cannot find the file specified) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:162) at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1166) at com.vaadin.ui.Button.fireClick(Button.java:380) at com.vaadin.ui.Button.changeVariables(Button.java:196) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager. java:1297) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java :1217) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager. java:733) at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296) at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:483) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.amdatu.web.dispatcher.handler.ServletHandler.handle(ServletHandler.java:89) at org.amdatu.web.dispatcher.dispatch.CustomFilterChain.doFilter(CustomFilterChain.java:56) at org.amdatu.web.dispatcher.dispatch.CustomFilterPipeline.dispatch(CustomFilterPipeline.java:59) at org.amdatu.web.dispatcher.dispatch.ExtenderFilterChain.doFilter(ExtenderFilterChain.java:53) at org.amdatu.web.dispatcher.dispatch.ExtenderFilterPipeline.dispatch(ExtenderFilterPipeline.java:44) at org.amdatu.web.dispatcher.service.DispatcherServiceImpl.dispatchRequest(DispatcherServiceImpl.java:203) at org.amdatu.web.dispatcher.filter.DispatchInterceptFilter.doFilter(DispatchInterceptFilter.java:68) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:80) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:68) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) 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:55) 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:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.IllegalStateException: Problem generating new deployment version: D:\Amdatu-svn\trunk\amdatu-releas e-demo\target\demo-ams-0.3.0-SNAPSHOT\features\web\amdatu-web-config.xml (The system cannot find the file specified) at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.approve(StatefulTargetObjectImpl.java :84) at org.apache.ace.target.management.ui.TargetManagementExtension$3.buttonClick(TargetManagementExtension.java:10 4) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490) ... 38 more Caused by: java.io.FileNotFoundException: D:\Amdatu-svn\trunk\amdatu-release-demo\target\demo-ams-0.3.0-SNAPSHOT\feature s\web\amdatu-web-config.xml (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.getBytesFromUrl(VelocityArtifactPre processor.java:274) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.getArtifactAsBytes(VelocityArtifact Preprocessor.java:258) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.preprocess(VelocityArtifactPreproce ssor.java:116) at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.preprocessArtifact(ArtifactRepositoryImpl.java:4 98) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.getNecessaryDeploymentArtifacts(S tatefulTargetRepositoryImpl.java:582) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.generateDeploymentVersion(Statefu lTargetRepositoryImpl.java:665) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.approve(StatefulTargetRepositoryI mpl.java:478) at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.approve(StatefulTargetObjectImpl.java :79) ... 43 more 1-jun-2012 14:17:25 com.vaadin.Application terminalError SEVERE: Terminal error: com.vaadin.event.ListenerMethod$MethodException Cause: java.lang.IllegalStateException: Problem generating new deployment version: D:\Amdatu-svn\trunk\amdatu-release-de mo\target\demo-ams-0.3.0-SNAPSHOT\features\web\amdatu-web-config.xml (The system cannot find the file specified) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:162) at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1166) at com.vaadin.ui.Button.fireClick(Button.java:380) at com.vaadin.ui.Button.changeVariables(Button.java:196) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager. java:1297) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java :1217) at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager. java:733) at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296) at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:483) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.amdatu.web.dispatcher.handler.ServletHandler.handle(ServletHandler.java:89) at org.amdatu.web.dispatcher.dispatch.CustomFilterChain.doFilter(CustomFilterChain.java:56) at org.amdatu.web.dispatcher.dispatch.CustomFilterPipeline.dispatch(CustomFilterPipeline.java:59) at org.amdatu.web.dispatcher.dispatch.ExtenderFilterChain.doFilter(ExtenderFilterChain.java:53) at org.amdatu.web.dispatcher.dispatch.ExtenderFilterPipeline.dispatch(ExtenderFilterPipeline.java:44) at org.amdatu.web.dispatcher.service.DispatcherServiceImpl.dispatchRequest(DispatcherServiceImpl.java:203) at org.amdatu.web.dispatcher.filter.DispatchInterceptFilter.doFilter(DispatchInterceptFilter.java:68) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:80) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:68) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) 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:55) 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:536) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.IllegalStateException: Problem generating new deployment version: D:\Amdatu-svn\trunk\amdatu-releas e-demo\target\demo-ams-0.3.0-SNAPSHOT\features\web\amdatu-web-config.xml (The system cannot find the file specified) at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.approve(StatefulTargetObjectImpl.java :84) at org.apache.ace.target.management.ui.TargetManagementExtension$3.buttonClick(TargetManagementExtension.java:10 4) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490) ... 38 more Caused by: java.io.FileNotFoundException: D:\Amdatu-svn\trunk\amdatu-release-demo\target\demo-ams-0.3.0-SNAPSHOT\feature s\web\amdatu-web-config.xml (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.getBytesFromUrl(VelocityArtifactPre processor.java:274) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.getArtifactAsBytes(VelocityArtifact Preprocessor.java:258) at org.apache.ace.client.repository.helper.base.VelocityArtifactPreprocessor.preprocess(VelocityArtifactPreproce ssor.java:116) at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.preprocessArtifact(ArtifactRepositoryImpl.java:4 98) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.getNecessaryDeploymentArtifacts(S tatefulTargetRepositoryImpl.java:582) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.generateDeploymentVersion(Statefu lTargetRepositoryImpl.java:665) at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.approve(StatefulTargetRepositoryI mpl.java:478) at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.approve(StatefulTargetObjectImpl.java :79) ... 43 more {code}
After this error the AMA is broken; each time I try to push any change to the AMA I do get these errors after approving the changes.
Even if I restart the AMA clean (remove work and felix cache), changes cannot be pused anymore to this AMA. The AMA seems to be officially dead. Only fix to start all over, including a clean AMS.
|
|
|
|
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
|
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers