incubator-hise-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Więcław (JIRA) <j...@apache.org>
Subject [jira] Updated: (HISE-28) Refreshing hise-bundle throws exception "service proxy has been destroyed"
Date Wed, 07 Jul 2010 12:41:49 GMT

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

Michał Więcław updated HISE-28:
-------------------------------

    Attachment: HISE-28.txt

In org.apache.hise.api.HISEEngine:
 - added new method: void destroy(QName taks)
 - changed return value with void to QName in registerTask method

In org.apache.hise.engine.store.HISEDeployer
 - added new method: void destroy() - this metod remove with engin all tasks created before
(in init)

The new metod (destroy()) is call in /hise-test-example-osgi/src/main/resources/META-INF/spring/beans.xml
file


> Refreshing hise-bundle throws exception "service proxy has been destroyed"
> --------------------------------------------------------------------------
>
>                 Key: HISE-28
>                 URL: https://issues.apache.org/jira/browse/HISE-28
>             Project: HISE
>          Issue Type: Bug
>          Components: OSGi
>         Environment: apache-servicemix-4.1.0-psc-01-00RC1
>            Reporter: Rafal Rusin
>         Attachments: HISE-28.txt
>
>
> Reproduction steps:
> -deploy hise-bundle and hise-test-example-osgi. 
> -touch deploy/hise-bundle
> Exception in thread "SpringOsgiExtenderThread-60" org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'testHtd1': Invocation of init method failed; nested exception
is javax.xml.ws.WebServiceException: org.springframework.osgi.service.importer.ServiceProxyDestroyedException:
service proxy has been destroyed
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
> 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
> 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.xml.ws.WebServiceException: org.springframework.osgi.service.importer.ServiceProxyDestroyedException:
service proxy has been destroyed
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:275)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
> 	... 17 more
> Caused by: org.springframework.osgi.service.importer.ServiceProxyDestroyedException:
service proxy has been destroyed
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:105)
> 	at org.springframework.osgi.service.importer.support.internal.support.RetryTemplate.execute(RetryTemplate.java:83)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.lookupService(ServiceDynamicInterceptor.java:430)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:415)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at $Proxy76.getDestinationForPath(Unknown Source)
> 	at org.apache.cxf.transport.http_osgi.OsgiTransportFactory.getDestination(OsgiTransportFactory.java:42)
> 	at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:90)
> 	at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:106)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
> 	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
> 	... 26 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message