Hi,
Seems we need add javax.crypto package import for
org.apache.servicemix.bundles.commons-vfs bundle.
Could you do a quick test to verify it?
You can change the META-INF/MANIFEST.MF of
$SMX4_home/system/org/apache/servicemix/bundles/
org.apache.servicemix.bundles.commons-vfs/1.0_3/
org.apache.servicemix.bundles.commons-vfs-1.0_3.jar
add javax.crypto for Import-Package.
Freeman
On 2010-6-1, at 上午3:50, Martin S. wrote:
Lars
I did some further investigation. I enabled the debug log for the
class
org.apache.commons.vfs.impl.StandardFileSystemManager I can see
this entry:
Skipping provider
"org.apache.commons.vfs.provider.sftp.SftpFileProvider"
because required class "javax.crypto.Cipher" is not available.
This seems strange because I can see the package javax.crypto being
imported
for Java 1.6 in etc/config.properties:
jre-1.6=, \
com.sun.org.apache.xalan.internal.xsltc.trax, \
com.sun.org.apache.xerces.internal.dom, \
com.sun.org.apache.xerces.internal.jaxp, \
com.sun.org.apache.xerces.internal.xni, \
com.sun.jndi.ldap, \
javax.accessibility, \
\# javax.activation, \
javax.activity, \
\# javax.annotation, \
\# javax.annotation.processing, \
javax.crypto, \
javax.crypto.interfaces, \
javax.crypto.spec, \
javax.imageio, \
...
what's up here?
--
View this message in context:
http://old.nabble.com/Exception-when-using-vsf%3Apoller-with-sftp-%28ServiceMix-4.2%29-tp28700187p28734552.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com