Did you deploy a JBI SA or an OSGi bundle or a plain spring xml file ?
If you deploy an OSGi bundle, you may need to import the sun.misc
package explicitely from this bundle.

On Fri, Oct 24, 2008 at 9:29 AM, Martin Kuhn <[EMAIL PROTECTED]> wrote:
>
>
> gnodet wrote:
>>
>> Which version of ServiceMix do you use ?
>> Could you also provide the full stack trace please ?
>>
>
> I use fuse-esb-4.0.0.2-windows.
>
> I tried in with a bean and get the exception:
>
> Exception in thread "pool-component.servicemix-bean-thread-4"
> java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
>        at
> at.merkur.esb.generic.service.processor.ServiceProcessorBean.onMessageExchange(ServiceProcessorBean.java:53)
>        at
> org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:226)
>        at
> org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:212)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:456)
>        at
> org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:341)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> --
> View this message in context: 
> http://www.nabble.com/SM4%3A-java.lang.NoClassDefFoundError%3A-sun-misc-BASE64Encoder-%21%21-tp20145109p20145553.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to