This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: Shared ClassLoader Domain 'Embedded' doesn't exist | |
at org.mule.module.launcher.MuleSharedDomainClassLoader.<init>(MuleSharedDomainClassLoader.java:80) | |
at com.mulesoft.aiab.mule.EmbeddedMuleApplication.createDeploymentClassLoader(EmbeddedMuleApplication.java:319) | |
at com.mulesoft.aiab.mule.EmbeddedMuleApplication.install(EmbeddedMuleApplication.java:80) | |
at com.mulesoft.aiab.js.JsAppRunner.main(JsAppRunner.java:59) | |
Caused by: java.lang.IllegalArgumentException: Shared ClassLoader Domain 'Embedded' doesn't exist | |
at org.mule.module.launcher.MuleSharedDomainClassLoader.<init>(MuleSharedDomainClassLoader.java:43) | |
... 3 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^C[3722454:mulesoft/aiab/target] rootjava - -jar ./hackinabox-0.1-SNAPSHOT-jar-with-dependencies.jar /Users/jdemic/Dropbox/Delopment/projects/mulesoft/migration-service/ | |
[3722454:mulesoft/aiab/target] root# java -Dmule.verbose.exceptions=true -jar ./hackinabox-0.1-SNAPSHOT-jar-with-dependencies.jar /Users/jdemic/Dropbox/Development/projects/mulesoft/migration-service/ | |
App URL not defined, using default: http://localhost:8090 | |
App url in builder is: http://localhost:8090 | |
App home in builder is: /Users/jdemic/Dropbox/Development/projects/mulesoft/migration-service | |
App dir is /Users/jdemic/Dropbox/Development/projects/mulesoft/migration-service | |
ERROR 2011-02-07 14:18 DefaultServiceExceptionStrategy: | |
******************************************************************************** | |
Message : Failed to invoke com.mulesoft.restdsl.mule.CallableInvokable@f5d8d75. Message payload is of type: ContentLengthInputStream | |
Type : org.mule.api.MessagingException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = com.mulesource.muleesb.migration.MigratorAdapter.migrate( | |
migrator,org.apache.commons.io.IOUtils.toByteArray(inputFile), | |
fromVersion, | |
toVersion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = com.mulesource.muleesb.migration.MigratorAdapter.migrate( | |
migrator,org.apache.commons.io.IOUtils.toByteArray(inputFile), | |
fromVersion, | |
toVersion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] ------------------------------------------------------------------------ | |
[ERROR] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Compilation failure | |
/Users/jdemic/Development/projects/mulesoft/aiab/src/main/java/com/mulesoft/aiab/mule/EmbeddedMuleApplication.java:[307,19] cannot find symbol | |
symbol : class EmbeddedMuleApplicationClassLoader | |
location: class com.mulesoft.aiab.mule.EmbeddedMuleApplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ObjectMapper mapper = new ObjectMapper(); | |
mapper.readValue(queryString, BasicDBObject.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>org.mule.transports</groupId> | |
<artifactId>mule-transport-quartz</artifactId> | |
<version>${mule.version}</version> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void fireNotification(ServerNotification notification) | |
{ | |
if (!disposed.get()) | |
{ | |
notification.setMuleContext(muleContext); | |
if (notification instanceof BlockingServerEvent) | |
{ | |
notifyListeners(notification); | |
} | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="Query Test With Keys"> | |
<vm:inbound-endpoint path="query.keys.in"/> | |
<mongodb:outbound-endpoint collection="query" query='{ "name": "John" }' | |
exchange-pattern="request-response" keys="{'name': 1}"/> | |
<vm:outbound-endpoint path="query.keys.out"/> | |
</flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn archetype:generate -DarchetypeGroupId=org.mule.tools.devkit - DarchetypeArtifactId=mule-devkit-archetype-generic -DarchetypeVersion=3.0.1 - DarchetypeRepository=http://repository.mulesoft.org/releases/ -DgroupId=acmesoft.com -DartifactId=validator-module -Dversion=1.0-SNAPSHOT -DmuleVersion=3.2.0 - DmuleModuleName=Validator -DmuleModulePackage=com.acmesoft.integration |