idql extra classpath

Hi.
To update xCP object attributes that have business events you need Apache commons-logging in classpath. It's already there in JBoss and Tomcat, but when you try an update DQL in idql it fails with:

Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at com.documentum.fc.client.impl.bof.classmgmt.URLClassLoaderEx.findClass(URLClassLoaderEx.java:49)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at com.documentum.fc.client.impl.bof.classmgmt.URLClassLoaderEx.loadClass(URLClassLoaderEx.java:41)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 27 more

I tried setting "$CLASSPATH", however idql seems to ignore it.

Comments

  • There is a file called java.ini in $DM_HOME/bin. I'm not sure if iapi/idql use it but give it a try. Try to a variable java_classpath = "yourclasspathhere"

  • @bacham3 said:
    There is a file called java.ini in $DM_HOME/bin. I'm not sure if iapi/idql use it but give it a try. Try to a variable java_classpath = "yourclasspathhere"

    Thank you, it works.