Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

converting idi6.0 to idi6.1 assembly lines - error on system.setPersistentObject call

16 views
Skip to first unread message

michele

unread,
Mar 8, 2007, 4:54:28 PM3/8/07
to
I am trying to convert all of our assembly lines from 6.0 to 6.1. One
of my assembly lines is using the
system.setPersistentObject( "MyUniqueMember", uniquemember ) call and
works fine in 6.0. When I run this assembly line under 6.1, I receive
the following error:


6:51:33 [LDAPExpandGroup] CTGDIS181E Error while evaluating single
attribute map LDAPExpandGroup.lookup_multiple.
java.lang.ClassNotFoundException: com.ibm.db2j.jdbc.DB2jDriver
at java.lang.Class.forName(Class.java:127)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.PropertyStore.<init>(Unknown Source)
at com.ibm.di.store.StoreFactory.getPropertyStore(Unknown Source)
at com.ibm.di.store.StoreFactory.getDefaultPropertyStore(Unknown
Source)
at com.ibm.di.function.UserFunctions.setPersistentObject(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:
220)
at com.ibm.jscript.types.FBSObject.call(FBSObject.java:129)
at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:146)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:95)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:86)
at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:
476)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:324)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:335)
at com.ibm.jscript.JSInterpreter.interpret(JSInterpreter.java:51)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.server.AttributeMapping$SingleAttributeMap.eval(Unknown
Source)
at com.ibm.di.server.AttributeMapping.eval(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.lookup(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
16:51:33 [LDAPExpandGroup] CTGDIS495I handleException , lookup,
java.lang.ClassNotFoundException: com.ibm.db2j.jdbc.DB2jDriver
16:51:33 [LDAPExpandGroup] CTGDIS810E handleException - cannot handle
exception , lookup
java.lang.ClassNotFoundException: com.ibm.db2j.jdbc.DB2jDriver
at java.lang.Class.forName(Class.java:127)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.PropertyStore.<init>(Unknown Source)
at com.ibm.di.store.StoreFactory.getPropertyStore(Unknown Source)
at com.ibm.di.store.StoreFactory.getDefaultPropertyStore(Unknown
Source)
at com.ibm.di.function.UserFunctions.setPersistentObject(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:
220)
at com.ibm.jscript.types.FBSObject.call(FBSObject.java:129)
at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:146)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:95)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:86)
at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:
476)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:324)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:335)
at com.ibm.jscript.JSInterpreter.interpret(JSInterpreter.java:51)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.server.AttributeMapping$SingleAttributeMap.eval(Unknown
Source)
at com.ibm.di.server.AttributeMapping.eval(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.lookup(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
16:51:33 CTGDIS266E Error in NextConnectorOperation. Exception
occurred: java.lang.ClassNotFoundException:
com.ibm.db2j.jdbc.DB2jDriver
java.lang.ClassNotFoundException: com.ibm.db2j.jdbc.DB2jDriver
at java.lang.Class.forName(Class.java:127)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.StoreFactory.getConnection(Unknown Source)
at com.ibm.di.store.PropertyStore.<init>(Unknown Source)
at com.ibm.di.store.StoreFactory.getPropertyStore(Unknown Source)
at com.ibm.di.store.StoreFactory.getDefaultPropertyStore(Unknown
Source)
at com.ibm.di.function.UserFunctions.setPersistentObject(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.jscript.types.JavaAccessObject.call(JavaAccessObject.java:
220)
at com.ibm.jscript.types.FBSObject.call(FBSObject.java:129)
at com.ibm.jscript.ASTTree.ASTCall.interpret(ASTCall.java:146)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:95)
at com.ibm.jscript.ASTTree.ASTProgram.interpretEx(ASTProgram.java:86)
at com.ibm.jscript.JSExpression.interpretExpression(JSExpression.java:
476)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:324)
at com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:335)
at com.ibm.jscript.JSInterpreter.interpret(JSInterpreter.java:51)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.script.ScriptEngine.interpret(Unknown Source)
at com.ibm.di.server.AttributeMapping$SingleAttributeMap.eval(Unknown
Source)
at com.ibm.di.server.AttributeMapping.eval(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.trigger(Unknown Source)
at com.ibm.di.server.AssemblyLineComponent.lookup(Unknown Source)
at com.ibm.di.server.AssemblyLine.msExecuteNextConnector(Unknown
Source)
at com.ibm.di.server.AssemblyLine.executeMainStep(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeMainLoop(Unknown Source)
at com.ibm.di.server.AssemblyLine.executeAL(Unknown Source)
at com.ibm.di.server.AssemblyLine.run(Unknown Source)
16:51:33 CTGDIS100I Printing the Connector statistics.
16:51:33 [LDAPretrieveGroups] Get:1
16:51:33 [LDAPExpandGroup] Errors:1
16:51:33 [WHOIDGroupsUpdate] Not used
16:51:33 CTGDIS104I Total: Get:1, Errors:2.
16:51:33 CTGDIS101I Finished printing the Connector statistics.
16:51:33 CTGDIS077I Failed with error: com.ibm.db2j.jdbc.DB2jDriver.
16:51:33 CTGDIS281E Error caused by:
com.ibm.jscript.InterpretException: Script interpreter error, line=23,
col=8
Error calling method 'setPersistentObject(string,
com.ibm.di.entry.Attribute)' on java class
'com.ibm.di.function.UserFunctions'.
16:51:33 CTGDIS078I AssemblyLine AssemblyLines/OIDProdDynamicGroups
failed with error: com.ibm.db2j.jdbc.DB2jDriver.
16:51:35 CTGDIS241I All threads have been stopped.
16:51:35 CTGDIS174I Config Instance /opt/idi6.1/prodOID_sync.xml
exited with status 0.
16:51:35 CTGDIS228I Unregister server: /opt/idi6.1/prodOID_sync.xml.
16:51:35 CTGDIS627I TDI Shutdown.
************************

any help would be greatly appreciated.

thank you
michele mueller
boston college

Eddie Hartman

unread,
Mar 11, 2007, 4:45:45 PM3/11/07
to
Hi again Michele,

The error message is a ClassNotFoundException and would lead me to
think
that there is something wrong with your SystemStore setup (which uses
the
Derby -- aka Cloudscape -- database via JDBC).

Check that you can start the SysStore (Remote, Manage System Stores
window,
press the Start button). Otherwise, calls like
system.setPersistentObject()
will not work.

Also, make sure it is set up for networked mode, and not the default
embedded
behavior.

-Eddie

0 new messages