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
BarcodeEmail.m 230 lines (189 with data), 6.2 kB | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 |
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
19:30:43,075 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000227: Running hbm2ddl schema export | |
19:30:43,081 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000231: Schema export unsuccessful: java.sql.SQLException: You cannot set autocommit during a managed transaction! | |
at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java:888) | |
at org.jboss.jca.adapters.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:715) | |
at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:60) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] | |
at org.hibernate.tool.hbm2ddl.DatabaseExporter.<init>(DatabaseExporter.java:52) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] | |
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:368) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] | |
at org.hibernate.tool.hbm2ddl.SchemaExport.create(Schema |
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
Caused by: java.lang.NullPointerException | |
at org.switchyard.serial.graph.node.AccessNode.getAccessList(AccessNode.java:196) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.node.AccessNode.compose(AccessNode.java:108) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.node.NodeBuilder.build(NodeBuilder.java:97) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.node.AccessNode.compose(AccessNode.java:117) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.node.NodeBuilder.build(NodeBuilder.java:97) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.Graph.composeRoot(Graph.java:125) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.Graph.<init>(Graph.java:52) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final] | |
at org.switchyard.serial.graph.GraphSerializer.serialize(GraphSerializer.java:48) [switchyard-serial-0.7.0.Final.jar:0.7.0.Final |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<switchyard xmlns="urn:switchyard-config:switchyard:1.0" | |
xmlns:swyd="urn:switchyard-config:switchyard:1.0" | |
xmlns:trfm="urn:switchyard-config:transform:1.0" | |
xmlns:bean="urn:switchyard-component-bean:config:1.0" | |
xmlns:soap="urn:switchyard-component-soap:config:1.0" | |
xmlns:bpel="http://docs.oasis-open.org/ns/opencsa/sca/200903" | |
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
xmlns:ls="http://example.com/loan-approval/loanService/" | |
xmlns:remote="urn:switchyard-component-remote:config:1.0" |
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
private static final String cacheContainerRoot = "java:jboss/infinispan/container/"; | |
try { | |
EmbeddedCacheManager ecm = (EmbeddedCacheManager) | |
new InitialContext().lookup(cacheContainerRoot + "cluster"); | |
this.cache = ecm.getCache(); | |
cache.start(); | |
} catch (NamingException e) { | |
logger.error(e); | |
} |
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
23:23:55,518 WARN [org.jboss.modules] (http--127.0.0.1-8080-1) Failed to define class org.apache.tomcat.util.net.URL in Module "org.jboss.as.web:main" from local module loader @114c86cf (roots: /Users/jeffyu/deploy/switchyard-as7-0.7/modules): java.lang.OutOfMemoryError: PermGen space | |
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_10] | |
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0_10] | |
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [rt.jar:1.7.0_10] | |
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327) [jboss-modules.jar:1.1.1.GA] | |
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391) [jboss-modules.jar:1.1.1.GA] | |
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243) [jboss-modules.jar:1.1.1.GA] | |
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.1.1.GA] | |
at org.jboss.modules.Module.loadModuleCl |
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
KieServices ks = KieServices.Factory.get(); | |
KieRepository kr = ks.getRepository(); | |
KieModuleModel kmm = ks.newKieModuleModel(); | |
KieBaseModel kbm = kmm.newKieBaseModel(getRuleName()) | |
.setEqualsBehavior(EqualityBehaviorOption.EQUALITY) | |
.setEventProcessingMode(EventProcessingOption.STREAM); | |
kbm.setDefault(true); | |
KieFileSystem kfs = ks.newKieFileSystem(); |
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
import org.overlord.bam.activity.model.soa.RequestReceived | |
import org.overlord.bam.activity.model.soa.ResponseSent | |
global org.overlord.bam.epn.EPNContext epn | |
declare RequestReceived | |
@role( event ) | |
@timestamp( timestamp ) | |
@expires( 2m20s ) | |
end |
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
private KieSession createSession() { | |
KieSession ret=null; | |
synchronized (SESSIONS) { | |
ret = SESSIONS.get(getRuleName()); | |
if (ret == null) { | |
KieBase kbase = loadRuleBase(); | |
if (kbase != null) { |
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
java.lang.RuntimeException: Unexpected global [epn] | |
at org.drools.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:512) | |
at org.drools.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:349) | |
at org.overlord.bam.epn.cep.CEPEventProcessor.createSession(CEPEventProcessor.java:145) | |
at org.overlord.bam.epn.cep.CEPEventProcessor.init(CEPEventProcessor.java:61) | |
at org.overlord.bam.epn.cep.CEPEventProcessorTest.testPurchasingResponseTime(CEPEventProcessorTest.java:61) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at java.lang.reflect.Method.invoke(Method.java:597) |
NewerOlder