wso2esb - WSO2 ESB - java.lang.ClassNotFoundException: org.apache.synapse.core.axis2.Axis2MessageContext -


i having mediator receives message, generated vfs poller. trying figure out file name act on differently. code pulls filename works, getting classnotfoundexception (see below). gave restart wso2 1 or more times in order class loaded successfully. running wso2 esb 4.8.0 on ubuntu 12.04 8gb ram , 4gb max java heap. thanks, krassimir

public boolean mediate(messagecontext context) { ... string filename = ((map) ((axis2messagecontext) context).getaxis2messagecontext()         .getproperty("transport_headers")).get("file_name").tostring(); ... 

caused by: java.lang.classnotfoundexception: org.apache.synapse.core.axis2.axis2messagecontext @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:501) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:421) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:412) @ org.eclipse.osgi.internal.baseadaptor.defaultclassloader.loadclass(defaultclassloader.java:107) @ java.lang.classloader.loadclass(classloader.java:357) ... 17 more


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -