ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthijs Hendriks (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACE-269) Target no longer resolves after randomly adding/removing bundles.
Date Tue, 01 May 2012 08:39:46 GMT

     [ https://issues.apache.org/jira/browse/ACE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthijs Hendriks updated ACE-269:
----------------------------------

    Description: 
If you deploy a clean agent (I used the ace launcher) on a clean server (I used the ace devserver),
the target appears and resolves. However, if I deploy the Amdatu kitchensink on it, including
the local and web demo, it no longer does. Even after I then detach *all* bundles, distributions
and features from the target, the target won't resolve.

I managed to do this 2 out of 2 times, using the method explained above. The first time I
got no exceptions, but the second time I got a giant list of the same exception over and over
again, being:

2012.05.01 10:22:32 WARNING - Bundle: org.apache.felix.http.jetty - /deployment/defaultTargetID/versions/38.0.0
- java.lang.RuntimeException: org.mortbay.jetty.EofException
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:243)
        at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
        at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
        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.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        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)
Caused by: org.mortbay.jetty.EofException
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
        at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
        at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
        ... 27 more
Caused by: java.io.IOException: An established connection was aborted by the software in your
host machine
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
        at sun.nio.ch.IOUtil.write(IOUtil.java:26)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
        at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
        ... 30 more

2012.05.01 10:22:32 WARNING - Bundle: org.apache.ace.deployment.servlet - Exception trying
to close stream after request.  - org.mortbay.jetty.EofException
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
        at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
        at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
        at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
        at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
        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.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        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)
Caused by: java.io.IOException: An established connection was aborted by the software in your
host machine
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
        at sun.nio.ch.IOUtil.write(IOUtil.java:26)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
        at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
        ... 30 more

If I stop the agent and restart it with a cleaned cache (that is, I removed the folder named
felix-cache) it works again.

NOTE: When adding/removing bundles, I did this in a 'bulk-way'. I selected multiple bundles
and provisioned/deprovisioned (I did *not* remove the bundles entirely from the view) them,
instead of one by one.

I got this exception in the target console. However, I'm not sure if it is related, since
I'm not sure when it was thrown (sorry for that)
Exception in thread "Apache Felix DeploymentAdmin - ExplodingOutputtingInputStream" java.lang.NullPointerException
     at org.apache.felix.deploymentadmin.ExplodingOutputtingInputStream.run(ExplodingOutputtingInputStream.java:116)
     at java.lang.Thread.run(Thread.java:662)

  was:
If you deploy a clean agent (I used the ace launcher) on a clean server (I used the ace devserver),
the target appears and resolves. However, if I deploy the Amdatu kitchensink on it, including
the local and web demo, it no longer does. Even after I then detach *all* bundles, distributions
and features from the target, the target won't resolve.

I managed to do this 2 out of 2 times, using the method explained above. The first time I
got no exceptions, but the second time I got a giant list of the same exception over and over
again, being:

2012.05.01 10:22:32 WARNING - Bundle: org.apache.felix.http.jetty - /deployment/defaultTargetID/versions/38.0.0
- java.lang.RuntimeException: org.mortbay.jetty.EofException
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:243)
        at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
        at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
        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.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        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)
Caused by: org.mortbay.jetty.EofException
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
        at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
        at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
        ... 27 more
Caused by: java.io.IOException: An established connection was aborted by the software in your
host machine
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
        at sun.nio.ch.IOUtil.write(IOUtil.java:26)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
        at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
        ... 30 more

2012.05.01 10:22:32 WARNING - Bundle: org.apache.ace.deployment.servlet - Exception trying
to close stream after request.  - org.mortbay.jetty.EofException
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
        at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
        at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
        at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
        at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
        at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
        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.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        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)
Caused by: java.io.IOException: An established connection was aborted by the software in your
host machine
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
        at sun.nio.ch.IOUtil.write(IOUtil.java:26)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
        at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
        at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
        ... 30 more

If I stop the agent and restart it with a cleaned cache (that is, I removed the folder named
felix-cache) it works again.

NOTE: When adding/removing bundles, I did this in a 'bulk-way'. I selected multiple bundles
and provisioned/deprovisioned (I did *not* remove the bundles entirely from the view) them,
instead of one by one.

    
> Target no longer resolves after randomly adding/removing bundles.
> -----------------------------------------------------------------
>
>                 Key: ACE-269
>                 URL: https://issues.apache.org/jira/browse/ACE-269
>             Project: ACE
>          Issue Type: Bug
>          Components: Web UI
>         Environment: Windows 7, With authentication enabled (all config filed adapted,
login d/f)
>            Reporter: Matthijs Hendriks
>            Priority: Critical
>
> If you deploy a clean agent (I used the ace launcher) on a clean server (I used the ace
devserver), the target appears and resolves. However, if I deploy the Amdatu kitchensink on
it, including the local and web demo, it no longer does. Even after I then detach *all* bundles,
distributions and features from the target, the target won't resolve.
> I managed to do this 2 out of 2 times, using the method explained above. The first time
I got no exceptions, but the second time I got a giant list of the same exception over and
over again, being:
> 2012.05.01 10:22:32 WARNING - Bundle: org.apache.felix.http.jetty - /deployment/defaultTargetID/versions/38.0.0
- java.lang.RuntimeException: org.mortbay.jetty.EofException
>         at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:243)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
>         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.headerComplete(HttpConnection.java:926)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         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)
> Caused by: org.mortbay.jetty.EofException
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
>         at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
>         at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
>         ... 27 more
> Caused by: java.io.IOException: An established connection was aborted by the software
in your host machine
>         at sun.nio.ch.SocketDispatcher.write0(Native Method)
>         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
>         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
>         at sun.nio.ch.IOUtil.write(IOUtil.java:26)
>         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
>         at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
>         at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
>         ... 30 more
> 2012.05.01 10:22:32 WARNING - Bundle: org.apache.ace.deployment.servlet - Exception trying
to close stream after request.  - org.mortbay.jetty.EofException
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:789)
>         at org.mortbay.jetty.HttpConnection.flushResponse(HttpConnection.java:693)
>         at org.mortbay.jetty.HttpConnection$Output.close(HttpConnection.java:997)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.tryClose(DeploymentServlet.java:238)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:218)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>         at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)
>         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.headerComplete(HttpConnection.java:926)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         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)
> Caused by: java.io.IOException: An established connection was aborted by the software
in your host machine
>         at sun.nio.ch.SocketDispatcher.write0(Native Method)
>         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
>         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
>         at sun.nio.ch.IOUtil.write(IOUtil.java:26)
>         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
>         at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:169)
>         at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:221)
>         at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:723)
>         ... 30 more
> If I stop the agent and restart it with a cleaned cache (that is, I removed the folder
named felix-cache) it works again.
> NOTE: When adding/removing bundles, I did this in a 'bulk-way'. I selected multiple bundles
and provisioned/deprovisioned (I did *not* remove the bundles entirely from the view) them,
instead of one by one.
> I got this exception in the target console. However, I'm not sure if it is related, since
I'm not sure when it was thrown (sorry for that)
> Exception in thread "Apache Felix DeploymentAdmin - ExplodingOutputtingInputStream" java.lang.NullPointerException
>      at org.apache.felix.deploymentadmin.ExplodingOutputtingInputStream.run(ExplodingOutputtingInputStream.java:116)
>      at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message