[
https://issues.apache.org/jira/browse/SYNAPSE-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kasun Indrasiri updated SYNAPSE-722:
------------------------------------
Attachment: SYNAPSE-722.patch
Attaching the patch that fixes these these issues.
> Cannot start Synapse with VFS Transport enabled on an OSGi environment
> ----------------------------------------------------------------------
>
> Key: SYNAPSE-722
> URL: https://issues.apache.org/jira/browse/SYNAPSE-722
> Project: Synapse
> Issue Type: Bug
> Reporter: Kasun Indrasiri
> Attachments: SYNAPSE-722.patch
>
>
> When we enabled the vfs transport in the axis2.xml then Synapse cannot be
> started on a OSGi environment. Here is the given exception.
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/commons/vfs/FileSystemException
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> at java.lang.Class.getConstructor0(Class.java:2699)
> at java.lang.Class.newInstance0(Class.java:326)
> at java.lang.Class.newInstance(Class.java:308)
> at
> org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:685)
>
> ... 11 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.vfs.FileSystemException
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 17 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]