[jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables
by emailkuppai
main process
| <?xml version="1.0" encoding="UTF-8"?>
| <process name="wf_ingest_book" version="1" xmlns="http://jbpm.org/4.2/jpdl">
| <start g="264,19,48,48" name="startIngestBook">
| <transition g="-73,-18" name="trDecideType" to="decideType"/>
| </start>
| <decision g="271,125,48,48" name="decideType">
| <handler class="org.sae.services.jbpm4.DecideTypeHandler" />
| <transition g="-95,-18" name="trMetaOnlyIngest" to="metaonly-ingest"/>
| <transition g="499,235:-48,-18" name="trFailed" to="failed"/>
| </decision>
| <sub-process name="metaonly-ingest" sub-process-key="wf_metaonly_ingestion"
| g="130,367,132,53">
| <transition name="trSuccess" to="succeeded" g="-62,-18"/>
| <transition name="trFailed" to="failed" g="-62,-18"/>
| </sub-process>
| <end g="122,443,48,48" name="succeeded"/>
| <end-error g="387,459,48,48" name="failed"/>
| </process>
|
SupProcess
| <?xml version="1.0" encoding="UTF-8"?>
| <process name="wf_metaonly_ingestion" version="1" xmlns="http://jbpm.org/4.2/jpdl">
| <start g="333,26,48,48" name="startMetaOnlyIngestion">
| <transition g="-113,-22" name="trMetaOnlyIngest" to="stateMetaOnlyIngest"/>
| </start>
| <custom g="275,201,163,52"
| name="stateMetaOnlyIngest"
| class="org.sae.services.jbpm4.IngestBookActivity">
| <transition g="234,231:-42,-18" name="trSuccess" to="succeeded"/>
| <transition g="494,231:-48,-18" name="trFailure" to="failed"/>
| </custom>
| <end g="209,356,48,48" name="succeeded"/>
| <end-error g="471,367,48,48" name="failed"/>
| </process>
|
JBPMTestCase
| public void testDoDirty() {
| ProcesssInformationService pisrv = JBPMServices
| .getProcesssInformationService();
| System.out.println("TEST");
| // ProcessInstance processInstance =
| // pisrv.startProcess("wf_ingest_book");
| String pid = "wf_ingest_book";
| String cid = System.currentTimeMillis() + "";
| Map<String,Object> variables = new HashMap<String,Object>();
| variables.put("product-type","book");
| variables.put("ingest-type","meta-only");
| variables.put("prod-cd", "AE-21");
| variables.put("c-id", "");//Some CID Number
| ProcessInstance processInstance = pisrv.startProcess(pid,variables, cid);
|
i can access all these variables in my main process - any event,lisenter,java module hooks.
but these same variables are not able to my sub-process custom module.
i tried to get parent.getProcessInstance.getVariable also.. parent is comming as null..
| ublic class IngestBookActivity implements ExternalActivityBehaviour {
| public void signal(ActivityExecution execution, String signalName,
| Map<String, ?> parameters) throws Exception {
|
| System.out.println( " Parameters "+parameters);
| String prodCd = (String)execution.getVariable("prod-cd");
| String prodType = (String)execution.getVariable("product-type");
| /** both prod-cd, prod-type comming as null */
| IngestionControl pojo = new IngestionControl();
| pojo.setProdCd(prodCd);
| pojo.setProdType(prodType);
|
| String executionPath = "trSuccess";
| try {
| doIngestion(pojo);
| System.out.println(" IngestBook Activity --- Book Ingested Successfully ");
| } catch (Exception e) {
| e.printStackTrace();
| executionPath = "trFailure";
| }
| execution.take( executionPath);
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270008#4270008
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270008
14 years, 11 months
[jBPM Users] - Re: deploy() takes an awefully LONG time
by ajaygautam
Sure. Here you go... The complete log leading upto this. The time lag occurs between 9:33:57 to 9:35:43. This is when the deploy() runs.
PS: Could this be a timeout thing? Does deploy() go out to the internet, and try to retrieve a DTD file or something like that? We are behind a proxy, so that could be a problem.
Any help / pointers will be appreciated.
Thanks
Ajay
2009-12-10 09:33:52,191 INFO WorkflowEngineTest - Creating workflow engine
| 2009-12-10 09:33:52,691 DEBUG Log4jLog - eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Environment <clinit>
| INFO: Hibernate 3.3.1.GA
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Environment <clinit>
| INFO: hibernate.properties not found
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Environment buildBytecodeProvider
| INFO: Bytecode provider name : javassist
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Environment <clinit>
| INFO: using JDK 1.4 java.sql.Timestamp handling
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Configuration configure
| INFO: configuring from resource: jbpm.hibernate.cfg.xml
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Configuration getConfigurationInputStream
| INFO: Configuration resource: jbpm.hibernate.cfg.xml
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.Configuration addResource
| INFO: Reading mappings from resource : jbpm.repository.hbm.xml
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.repository.DeploymentImpl -> JBPM4_DEPLOYMENT
| Dec 10, 2009 9:33:52 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.repository.DeploymentProperty -> JBPM4_DEPLOYPROP
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.id.PropertyImpl -> JBPM4_PROPERTY
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.Configuration addResource
| INFO: Reading mappings from resource : jbpm.execution.hbm.xml
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.model.ExecutionImpl -> JBPM4_EXECUTION
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.type.Variable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.BlobVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.DateVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.DoubleVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateLongVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateStringVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.LongVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.NullVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.StringVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.type.variable.TextVariable -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.lob.Lob -> JBPM4_LOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.job.JobImpl -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.job.MessageImpl -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteActivityMessage -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteEventListenerMessage -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.job.CommandMessage -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.job.TimerImpl -> JBPM4_JOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.Configuration addResource
| INFO: Reading mappings from resource : jbpm.history.hbm.xml
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl -> JBPM4_HIST_PROCINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl -> JBPM4_HIST_ACTINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryAutomaticInstanceImpl -> JBPM4_HIST_ACTINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryDecisionInstanceImpl -> JBPM4_HIST_ACTINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskInstanceImpl -> JBPM4_HIST_ACTINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.history.model.HistoryTaskImpl -> JBPM4_HIST_TASK
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.history.model.HistoryVariableImpl -> JBPM4_HIST_VAR
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.history.model.HistoryDetailImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryCommentImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceMigrationImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryPriorityUpdateImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskAssignmentImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskDuedateUpdateImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindSubclass
| INFO: Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.Configuration addResource
| INFO: Reading mappings from resource : jbpm.task.hbm.xml
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.task.TaskImpl -> JBPM4_TASK
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.task.ParticipationImpl -> JBPM4_PARTICIPATION
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.task.SwimlaneImpl -> JBPM4_SWIMLANE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.Configuration addResource
| INFO: Reading mappings from resource : jbpm.identity.hbm.xml
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.identity.impl.MembershipImpl -> JBPM4_ID_MEMBERSHIP
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
| INFO: Mapping class: org.jbpm.pvm.internal.identity.impl.GroupImpl -> JBPM4_ID_GROUP
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.Configuration doConfigure
| INFO: Configured SessionFactory: null
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.resources -> JBPM4_LOB
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.objectProperties -> JBPM4_DEPLOYPROP
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.variables -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.systemVariables -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.executions -> JBPM4_EXECUTION
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes -> JBPM4_SWIMLANE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyActivityInstances -> JBPM4_HIST_ACTINST
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyVariables -> JBPM4_HIST_VAR
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.details -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl.details -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.details -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.historyVariables -> JBPM4_HIST_VAR
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.subTasks -> JBPM4_HIST_TASK
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryVariableImpl.details -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.history.model.HistoryCommentImpl.replies -> JBPM4_HIST_DETAIL
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.participations -> JBPM4_PARTICIPATION
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.variables -> JBPM4_VARIABLE
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.subTasks -> JBPM4_TASK
| Dec 10, 2009 9:33:53 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
| INFO: Mapping collection: org.jbpm.pvm.internal.task.SwimlaneImpl.participations -> JBPM4_PARTICIPATION
| Dec 10, 2009 9:33:53 AM org.hibernate.connection.DriverManagerConnectionProvider configure
| INFO: Using Hibernate built-in connection pool (not for production use!)
| Dec 10, 2009 9:33:53 AM org.hibernate.connection.DriverManagerConnectionProvider configure
| INFO: Hibernate connection pool size: 20
| Dec 10, 2009 9:33:53 AM org.hibernate.connection.DriverManagerConnectionProvider configure
| INFO: autocommit mode: false
| Dec 10, 2009 9:33:53 AM org.hibernate.connection.DriverManagerConnectionProvider configure
| INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS =
| (PROTOCOL = TCP)(HOST = LON3230XUS.fm.rbsgrp.net)(PORT =
| 1621))(ADDRESS = (PROTOCOL = TCP)(HOST =
| LON3231XUS.fm.rbsgrp.net)(PORT = 1621)) (LOAD_BALANCE =
| yes)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = RSLONU)))
| Dec 10, 2009 9:33:53 AM org.hibernate.connection.DriverManagerConnectionProvider configure
| INFO: connection properties: {user=rates_services_dev_2_owner, password=****}
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
| With the Partitioning, Real Application Clusters and Data Mining options
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
| Dec 10, 2009 9:33:54 AM org.hibernate.dialect.Dialect <init>
| INFO: Using dialect: org.hibernate.dialect.Oracle10gDialect
| Dec 10, 2009 9:33:54 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
| INFO: Using default transaction strategy (direct JDBC transactions)
| Dec 10, 2009 9:33:54 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
| INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Automatic flush during beforeCompletion(): disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Automatic session close at end of transaction: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: JDBC batch size: 15
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: JDBC batch updates for versioned data: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Scrollable result sets: enabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: JDBC3 getGeneratedKeys(): disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Connection release mode: auto
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Default batch fetch size: 1
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Generate SQL with comments: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Order SQL updates by primary key: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Order SQL inserts for batching: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
| INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| Dec 10, 2009 9:33:54 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
| INFO: Using ASTQueryTranslatorFactory
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Query language substitutions: {}
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: JPA-QL strict compliance: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Second-level cache: enabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Query cache: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory createRegionFactory
| INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Optimize cache for minimal puts: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Structured second-level cache entries: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Statistics: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Deleted entity synthetic identifier rollback: disabled
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Default entity-mode: pojo
| Dec 10, 2009 9:33:54 AM org.hibernate.cfg.SettingsFactory buildSettings
| INFO: Named query checking : enabled
| Dec 10, 2009 9:33:54 AM org.hibernate.impl.SessionFactoryImpl <init>
| INFO: building session factory
| Dec 10, 2009 9:33:55 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
| INFO: Not binding factory to JNDI, no JNDI name configured
| 2009-12-10 09:33:55,769 DEBUG Log4jLog - ----- beginning hibernate tx 31633330 --------------------------------------------------------
| 2009-12-10 09:33:56,457 INFO Log4jLog - jBPM version info: library[4.2], schema[null]
| 2009-12-10 09:33:56,457 DEBUG Log4jLog - ----- committing hibernate tx 21719810 -------------------------------------------------------
| 2009-12-10 09:33:56,550 DEBUG WorkflowEngineImpl - adding definition file [pretrade.jpdl.xml]
| 2009-12-10 09:33:56,566 DEBUG Log4jLog - ----- beginning hibernate tx 27253707 --------------------------------------------------------
| 2009-12-10 09:33:56,613 DEBUG Log4jLog - last id -2 was consumed. acquiring new block...
| 2009-12-10 09:33:56,613 DEBUG Log4jLog - ----- beginning hibernate tx 19762893 --------------------------------------------------------
| 2009-12-10 09:33:57,832 DEBUG Log4jLog - ----- committing hibernate tx 25894799 -------------------------------------------------------
| 2009-12-10 09:33:57,910 DEBUG Log4jLog - acquired new id block [1340001-1350000]
| 2009-12-10 09:35:43,908 DEBUG Log4jLog - ----- committing hibernate tx 1279942 -------------------------------------------------------
| 2009-12-10 09:35:43,986 INFO WorkflowEngineTest - Creating workflow engine
| 2009-12-10 09:35:44,002 DEBUG WorkflowEngineTest - ======== testWFStart START ========
| ...
| ...
| ... tests run fine here ...
| ...
| ...
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270005#4270005
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270005
14 years, 11 months
[JBoss Cache Users] - Invalidation mode and state retrieval
by rs1050
Hi,
If I have an invalidation cluster:
| <clustering mode="invalidation">
| <stateRetrieval timeout="20000"/>
| ...
|
What does stateRetrieval control in this case? Does it still control whether this cache JVM would retrieve all the objects from other cluster members?
2. If i have
| <clustering mode="invalidation">
| <stateRetrieval timeout="20000" fetchInMemoryStafe="false"/>
|
| ...
|
Image I fist start a JVM and put 100 objects under 'xyz' node. Then i start up another JVM (part of the same invalidation cluster). I assume in this case no initial retrieval would take place. However, when i call 'xyz'.getChildren on the 'blank' jvm - will it start asking the neighbors for the all the xyz children or simply return empty collection because this particular node does not know anything about the other 100 children previously created by the first node?
Thank you.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270002#4270002
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270002
14 years, 11 months