Sunday, July 26, 2015

Getting Started with Simple WSO2 ESB Connectors


A WSO2 connector allows you to interact with a third-party product's functionality and data from your ESB message flow, enabling you to connect to and interact with the APIs of services such as Twitter, Salesforce, and JIRA. This means that if you have enabled the Twitter and Google Spreadsheet connectors in your ESB instance,

Wednesday, July 8, 2015

Development challanges



Error-1

java.lang.ClassFormatError: Illegal local variable table start_pc 39 in method org.apache.synapse.transport.passthru.PassThroughHttpSender.sendUsingOutputStream(Lorg/apache/axis2/context/MessageContext;)V

java.lang.ClassFormatError: Illegal local variable table length 81 in method org.apache.synapse.transport.passthru.PassThroughHttpSender.maintenanceShutdown(J)V

Solution
adding the JVM arg -XX:-UseSplitVerifier(in wso2server.sh/bat)
Ex:-     $JAVACMD \
    -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
    -Xms256m -Xmx1024m -XX:MaxPermSize=256m \
    -XX:-UseSplitVerifier \