Re: Process Failure When Using Java Classes as Variables
Vladimir Puskas <[email protected]> Thu, 01 Sep 2005 13:36:20 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hello John only process definition that failed to run is "simple-test_Wor1" - Persist, whose application "init" invokes PickleFactory class. Attached is excerpt from CORBA server's log file showing "simple-test_Wor6" - "Fails" process executed. you wrote: > I'm having an issue using Java classes as variables via external > reference. The attached sources, jar, and xpdl demonstrate the failure. > Give a jar file containing two classes, ClassOne and ClassTwo, I can > successfully create and use a variable of type ClassOne, or ClassTwo, > but only one at a time. In other words, if I create a variable of > ClassOne, it works. If I create a variable of ClassTwo, it works. If I > create two variables, one as ClassOne and one as ClassTwo, then the > process halts after cloning the two variables. > > I'm running the Corba server. It fails under both Windows and Linux. > > Any ideas? Which Shark version you are using? Java version? How do you feed these classes/jar file to the CORBA engine? regards -- Vlada
sharkcorba_wrapper.log
(text/x-log, 10.3 KB)
INFO | jvm 1 | 2005/09/01 12:26:43 | SharkEngineManager -> Shark engine is being initialized ... INFO | jvm 1 | 2005/09/01 12:26:43 | 2005-09-01 12:26:43,401: SharkEngineManager -> Working with 'org.enhydra.shark.CallbackUtil' implementation of core CallbackUtilities API INFO | jvm 1 | 2005/09/01 12:26:43 | 2005-09-01 12:26:43,402: SharkEngineManager -> Working with 'org.enhydra.shark.SharkObjectFactory' implementation of core SharkObjectFactory API INFO | jvm 1 | 2005/09/01 12:26:43 | 2005-09-01 12:26:43,402: SharkEngineManager -> Working with 'org.enhydra.shark.ToolAgentManagerImpl' implementation of core ToolAgentManager API INFO | jvm 1 | 2005/09/01 12:26:43 | 2005-09-01 12:26:43,402: SharkEngineManager -> Working with 'org.enhydra.shark.logging.StandardLoggingManager' implementation of Logging API INFO | jvm 1 | 2005/09/01 12:26:43 | 2005-09-01 12:26:43,405: SharkEngineManager -> Working with 'org.enhydra.shark.assignment.StandardAssignmentManager' implementation of Assignment API INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,258: SharkEngineManager -> Working with 'org.enhydra.shark.authentication.DODSAuthenticationManager' implementation of Authentication API INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,259: SharkEngineManager -> Working without Caching API implementation - CacheManager is not specified. INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,785: DODSPersistentManager -> manager configured - working with DB "jdbc:postgresql://localhost/shark" INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,785: DODSPersistentManager -> - using DB Driver "org.postgresql.Driver" INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,785: DODSPersistentManager -> - persisting String variables into BLOB for sizes greater than 4000 INFO | jvm 1 | 2005/09/01 12:26:44 | 2005-09-01 12:26:44,785: SharkEngineManager -> Working with 'org.enhydra.shark.instancepersistence.DODSPersistentManager' implementation of InstancePersistence API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,076: SharkEngineManager -> Working with 'org.enhydra.shark.eventaudit.DODSEventAuditManager' implementation of EventAudit API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,082: SharkEngineManager -> Working with 'org.enhydra.shark.limitagent.StandardLimitAgentManager' implementation of Limit API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,149: SharkEngineManager -> Working with 'org.enhydra.shark.processlocking.DODSLockMaster' implementation of ProcessLocking API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,268: SharkEngineManager -> Working with 'org.enhydra.shark.partmappersistence.DODSParticipantMappingMgr' implementation of ParticipantMapPersistence API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,509: SharkEngineManager -> Working with 'org.enhydra.shark.appmappersistence.DODSApplicationMappingMgr' implementation of ApplicationMapPersistence API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,509: SharkEngineManager -> Working without ScriptMapPersistence API implementation - ScriptMapPersistenceManager is not specified. INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,519: SharkEngineManager -> Working with 'org.enhydra.shark.repositorypersistence.DODSRepositoryPersistenceManager' implementation of RepositoryPersistence API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,530: SharkEngineManager -> Working with 'org.enhydra.shark.scripting.StandardScriptingManager' implementation of Scripting API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,542: StandardSecurityManager -> Security mode set to NORMAL_SECURITY INFO | jvm 1 | 2005/09/01 12:26:45 | Admin users are:[admin] INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,543: SharkEngineManager -> Working with 'org.enhydra.shark.security.StandardSecurityManager' implementation of Security API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,546: SharkEngineManager -> Working with 'org.enhydra.shark.toolagent.ToolAgentFactoryImpl' implementation of ToolAgent API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,551: SharkEngineManager -> Working with 'org.enhydra.shark.transaction.DODSTransactionFactory' implementation of Transaction API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,568: SharkEngineManager -> Working with 'org.enhydra.shark.usergroup.DODSUserGroupManager' implementation of UserGroup API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,575: SharkEngineManager -> Working with 'org.enhydra.shark.usertransaction.DODSUserTransactionFactory' implementation of UserTransaction API INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,575: SharkEngineManager -> Working without wfEngineInteroperability API implementation - WfEngineInteroperability implementation is not specified. INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,648: The repository EXTERNAL_PACKAGES_REPOSITORY is at /home/wiznogood/7up/prep4publicShark/output/Shark/repository/external INFO | jvm 1 | 2005/09/01 12:26:45 | 2005-09-01 12:26:45,659: SharkUtilities -> synchronizing XPDL cache INFO | jvm 1 | 2005/09/01 12:26:46 | Shark -> shark engine initialization is finished, it lasted 3 [s] INFO | jvm 1 | 2005/09/01 12:26:46 | Shark -> Shark ready and waiting ... INFO | jvm 1 | 2005/09/01 12:26:46 | Nameserver is (re)started! INFO | jvm 1 | 2005/09/01 12:26:51 | 2005-09-01 12:26:50,966: SharkConnectionImpl -> User admin is logged on INFO | jvm 1 | 2005/09/01 12:26:51 | ******************** INFO | jvm 1 | 2005/09/01 12:26:51 | ClassOne constructor called INFO | jvm 1 | 2005/09/01 12:26:51 | ******************** INFO | jvm 1 | 2005/09/01 12:26:51 | ******************** INFO | jvm 1 | 2005/09/01 12:26:51 | ClassTwo constructor called INFO | jvm 1 | 2005/09/01 12:26:51 | ******************** INFO | jvm 1 | 2005/09/01 12:26:51 | 2005-09-01 12:26:51,461: Process [key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] is created INFO | jvm 1 | 2005/09/01 12:26:51 | 2005-09-01 12:26:51,625: Starting Process [key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ClassOne clone called INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ClassTwo clone called INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | 2005-09-01 12:26:51,912: Process[key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] - Activity[Id=201_201_simple-test_simple-test_Wor6_simple-test_Wor1_Act2, ba=null, ActDefId=simple-test_Wor1_Act2] is created INFO | jvm 1 | 2005/09/01 12:26:52 | 2005-09-01 12:26:52,264: SharkConnectionImpl -> User admin with connection key 1 is logged off INFO | jvm 1 | 2005/09/01 12:26:52 | 2005-09-01 12:26:52,272: SharkConnectionImpl -> User admin is logged on INFO | jvm 1 | 2005/09/01 12:26:52 | 2005-09-01 12:26:52,631: Process[key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] - Activity[Id=201_201_simple-test_simple-test_Wor6_simple-test_Wor1_Act2, ba=null, ActDefId=simple-test_Wor1_Act2] is completed. INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ClassOne clone called INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | ClassTwo clone called INFO | jvm 1 | 2005/09/01 12:26:52 | ******************** INFO | jvm 1 | 2005/09/01 12:26:52 | 2005-09-01 12:26:52,645: Process[key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] - Activity[Id=202_201_simple-test_simple-test_Wor6_simple-test_Wor1_Act1, ba=null, ActDefId=simple-test_Wor1_Act1] is created INFO | jvm 1 | 2005/09/01 12:26:53 | 2005-09-01 12:26:52,909: Activity[Id=202_201_simple-test_simple-test_Wor6_simple-test_Wor1_Act1, ba=null, ActDefId=simple-test_Wor1_Act1] - Executing tool [id=test] INFO | jvm 1 | 2005/09/01 12:26:53 | ******************** INFO | jvm 1 | 2005/09/01 12:26:53 | ClassOne clone called INFO | jvm 1 | 2005/09/01 12:26:53 | ******************** INFO | jvm 1 | 2005/09/01 12:26:53 | ******************** INFO | jvm 1 | 2005/09/01 12:26:53 | ClassTwo clone called INFO | jvm 1 | 2005/09/01 12:26:53 | ******************** INFO | jvm 1 | 2005/09/01 12:26:53 | Tool agent map created, maximum number of mappings is 2147483646 INFO | jvm 1 | 2005/09/01 12:26:53 | Tool agent map created, maximum number of mappings is 2147483646 INFO | jvm 1 | 2005/09/01 12:26:53 | New mapping added to tool agent map, tool agent map currently has 1 mappings ! INFO | jvm 1 | 2005/09/01 12:26:53 | ================== INFO | jvm 1 | 2005/09/01 12:26:53 | Begin: test INFO | jvm 1 | 2005/09/01 12:26:53 | ================== INFO | jvm 1 | 2005/09/01 12:26:53 | c1: com.appriss.shark.test.ClassOne INFO | jvm 1 | 2005/09/01 12:26:53 | c2: com.appriss.shark.test.ClassTwo INFO | jvm 1 | 2005/09/01 12:26:53 | ================== INFO | jvm 1 | 2005/09/01 12:26:53 | End: test INFO | jvm 1 | 2005/09/01 12:26:53 | ================== INFO | jvm 1 | 2005/09/01 12:26:53 | 2005-09-01 12:26:53,436: Process[key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] - Activity[Id=202_201_simple-test_simple-test_Wor6_simple-test_Wor1_Act1, ba=null, ActDefId=simple-test_Wor1_Act1] is completed. INFO | jvm 1 | 2005/09/01 12:26:53 | 2005-09-01 12:26:53,439: Process[key=201_simple-test_simple-test_Wor6,mgrname=simple-test#1#simple-test_Wor6] - No transitions left to follow INFO | jvm 1 | 2005/09/01 12:26:53 | 2005-09-01 12:26:53,503: SharkConnectionImpl -> User admin with connection key 2 is logged off INFO | jvm 1 | 2005/09/01 12:26:55 | 2005-09-01 12:26:55,084: ExecutionAdmin -> User admin with connection key 3 is logged on INFO | jvm 1 | 2005/09/01 12:26:55 | 2005-09-01 12:26:55,216: ExecutionAdmin -> User admin with connection key 3 is logged off
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws