[Design of JBoss jBPM] - Whether the JBPM4.0 support informix
by superjoo
When i deployed the JBPM4.0 version to informix,the eclipse IDE tell me some exceptions like that:
15:26:17,437 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@10c3a08
org.jbpm.pvm.internal.wire.WireException: couldn't initialize object 'org.jbpm.pvm.internal.repository.RepositorySessionImpl': No Dialect mapping for JDBC type: 2005
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(ObjectDescriptor.java:233)
at org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext.java:537)
at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:153)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:144)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:46)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
at test.superjoo.deploy.DeployProcessDefinition.main(DeployProcessDefinition.java:22)
Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: 2005
at org.hibernate.dialect.TypeNames.get(TypeNames.java:79)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:104)
at org.hibernate.dialect.Dialect.getTypeName(Dialect.java:314)
at org.hibernate.mapping.Column.getSqlType(Column.java:205)
at org.hibernate.mapping.Table.sqlCreateString(Table.java:420)
at org.hibernate.cfg.Configuration.generateSchemaCreationScript(Configuration.java:881)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:105)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:343)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:64)
at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:153)
at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:144)
at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.autoWire(ObjectDescriptor.java:294)
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(ObjectDescriptor.java:225)
... 17 more
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244849#4244849
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244849
16 years, 8 months
[Design of JBossCache] - Re: Eager deadlock detection with 2 phase commits
by mircea.markus
Previous design treats the situation in which two replicating transaction are in a deadlock.
Here is an idea for a similar mechanism intended for detecting deadlocks on a local cache.
T1, T2 two transactions running on the same local cache.
T1 has lock on k1 and tries to acquire k2
T2 has lock on k2 and tries to acquire k1
Each thread runs the following algorithm (pseudocode):
lock(int timeout)
| {
| while (currentTime < startTime + timeout)
| {
| if (acquire(smallTimeout)) break;
| testEDD(globalTransaction, key);
| }
| }
|
|
//will run the same algorithm, by both T1 and T2:
//globalTransaction - this is the tx that couldn't acquire lock in 'smallTimeout'
//key - the key that couldn't be locked by globalTransation
testEDD(globalTransaction, key) :
|
| globalTransaction.setLockIntention(key); //we intend to lock the given key...
| Object lockOwner = getLockOwner(key);
| if (isLocallyOriginatedTx(lockOwner)) {
| Object keyToBeLocked = lockOwner.getLockIntention();
| if (globalTransaction.ownsLock(keyToBeLocked)) {
| //this is a deadlock situation
| //use coin toss to determine which tx should rollback!!!
| return;
| } else {
| return; //this will go back to the main loop in 'lock(int timeout)' method
| }
| }
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244838#4244838
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244838
16 years, 8 months
[Design of JBoss Identity] - Re: Dependency Pack for JBoss IDM
by jeff.yuchang
well, just added the versions for those jars.
--------
activation-1.1.jar
ant-1.7.0.jar
ant-launcher-1.7.0.jar
antlr-2.7.6.jar
bsh-2.0b4.jar
commons-collections-3.1.jar
commons-logging-1.0.4.jar
dom4j-1.6.1.jar
ejb3-persistence-1.0.2.GA.jar
freemarker-2.3.8.jar
hibernate-annotations-3.4.0.GA.jar
hibernate-cglib-repack-2.1_3.jar
hibernate-commons-annotations-3.0.0.ga.jar
hibernate-core-3.3.1.GA.jar
hibernate-tools-3.2.0.ga.jar
javassist-3.4.GA.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.8.jar
jbosscache-core-3.0.2.GA.jar
jboss-common-core-2.2.10.GA.jar
jboss-logging-spi-2.0.5.GA.jar
jgroups-2.6.7.GA.jar
jta-1.1.jar
jtidy-r8-20060801.jar
log4j-1.2.14.jar
slf4j-api-1.5.2.jar
slf4j-log4j12-1.5.2.jar
stax-api-1.0-2.jar
xml-apis-1.0.b2.jar
--------------------------------
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244822#4244822
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244822
16 years, 8 months