On 05/02/2012 04:36 PM, mfpc wrote:
>
> Hi guys,
>
> I'm having a big problem here. I have a workflow that work fine but
> only when I choose older roles. Recently I added new roles and my
> workflow doesn't work on it. I looked the trustees and the attributes
> and everything is ok. Can anyone help me?
>
>
>
>
> PHP code:
> --------------------
> 2012-05-02 16:47:21,660 INFO [STDOUT] (http-0.0.0.0-443-7) INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Approved] Initiated by cn=LAZEVEDO,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Secondary User: null
> 2012-05-02 16:47:22,435 INFO [STDOUT] (Thread-183) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:47:22,437 INFO [STDOUT] (Thread-183) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:47:22,437 INFO [STDOUT] (Thread-183) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:47:22,437 INFO [STDOUT] (Thread-183) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:47:22,438 INFO [STDOUT] (Thread-183) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:47:22,438 INFO [STDOUT] (Thread-183) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:22,438 INFO [STDOUT] (Thread-183) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:22,438 INFO [STDOUT] (Thread-183) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:22,495 INFO [STDOUT] (Thread-183) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:47:32,327 INFO [STDOUT] (http-0.0.0.0-443-7) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:47:32,327 INFO [STDOUT] (http-0.0.0.0-443-7) 8365376 [http-0.0.0.0-443-7] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:47:32,327 INFO [STDOUT] (http-0.0.0.0-443-7) 8354710 [http-0.0.0.0-443-7] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Approved] Initiated by cn=LAZEVEDO,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Secondary User: null
> 2012-05-02 16:47:32,614 INFO [STDOUT] (http-0.0.0.0-443-7) INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:47:33,139 INFO [STDOUT] (Thread-185) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:47:33,141 INFO [STDOUT] (Thread-185) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:33,142 INFO [STDOUT] (Thread-185) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:33,181 INFO [STDOUT] (Thread-185) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:47:43,067 INFO [STDOUT] (http-0.0.0.0-443-7) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:47:43,068 INFO [STDOUT] (http-0.0.0.0-443-7) 8376116 [http-0.0.0.0-443-7] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:47:43,068 INFO [STDOUT] (http-0.0.0.0-443-7) 8365664 [http-0.0.0.0-443-7] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:47:43,146 INFO [STDOUT] (pool-13-thread-5) INFO [RBPM] [com.novell.soa.af.impl.activity.LogActivityrocess] [User_Message] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity2, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Author: {Enter author name here}, Message: cn=acesso_SIST21_GRU28350,cn=Contrato,cn=Level10,c n=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN
> 2012-05-02 16:47:43,704 INFO [STDOUT] (Thread-187) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:43,705 INFO [STDOUT] (Thread-187) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:43,746 INFO [STDOUT] (Thread-187) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:47:53,563 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:47:53,576 INFO [STDOUT] (pool-13-thread-5) 8386614 [pool-13-thread-5] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:47:53,576 INFO [STDOUT] (pool-13-thread-5) 8376197 [pool-13-thread-5] INFO com.novell.soa.af.impl.activity.LogActivity - [User_Message] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity2, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Author: {Enter author name here}, Message: cn=acesso_SIST21_GRU28350,cn=Contrato,cn=Level10,c n=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN
> 2012-05-02 16:47:53,785 INFO [STDOUT] (pool-13-thread-5) INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity2, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:47:54,297 INFO [STDOUT] (Thread-189) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:47:54,317 INFO [STDOUT] (Thread-189) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:47:54,317 INFO [STDOUT] (Thread-189) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:47:54,317 INFO [STDOUT] (Thread-189) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:47:54,317 INFO [STDOUT] (Thread-189) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:47:54,318 INFO [STDOUT] (Thread-189) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:54,318 INFO [STDOUT] (Thread-189) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:54,318 INFO [STDOUT] (Thread-189) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:47:54,335 INFO [STDOUT] (Thread-189) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:48:04,188 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:48:04,188 INFO [STDOUT] (pool-13-thread-5) 8397240 [pool-13-thread-5] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:48:04,188 INFO [STDOUT] (pool-13-thread-5) 8386836 [pool-13-thread-5] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity2, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:04,254 INFO [STDOUT] (pool-13-thread-5) INFO [RBPM] [com.novell.soa.af.impl.activity.LogActivityrocess] [User_Message] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity4, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Author: {Enter author name here}, Message: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:04,705 INFO [STDOUT] (Thread-191) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:48:04,706 INFO [STDOUT] (Thread-191) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:48:04,706 INFO [STDOUT] (Thread-191) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:48:04,706 INFO [STDOUT] (Thread-191) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:48:04,706 INFO [STDOUT] (Thread-191) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:48:04,707 INFO [STDOUT] (Thread-191) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:04,707 INFO [STDOUT] (Thread-191) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:04,707 INFO [STDOUT] (Thread-191) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:04,748 INFO [STDOUT] (Thread-191) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:48:14,630 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:48:14,631 INFO [STDOUT] (pool-13-thread-5) 8407681 [pool-13-thread-5] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:48:14,631 INFO [STDOUT] (pool-13-thread-5) 8397306 [pool-13-thread-5] INFO com.novell.soa.af.impl.activity.LogActivity - [User_Message] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity4, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN, Author: {Enter author name here}, Message: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:14,665 INFO [STDOUT] (pool-13-thread-5) INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity4, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:15,166 INFO [STDOUT] (Thread-193) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:15,167 INFO [STDOUT] (Thread-193) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:15,207 INFO [STDOUT] (Thread-193) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:48:25,074 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell:info] Logging to Novell Audit failed.
> 2012-05-02 16:48:25,075 INFO [STDOUT] (pool-13-thread-5) 8418125 [pool-13-thread-5] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:48:25,075 INFO [STDOUT] (pool-13-thread-5) 8407717 [pool-13-thread-5] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Forwarded] Initiated by System, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity4, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:25,197 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Error Message: java.lang.NullPointerException, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity3, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
> 2012-05-02 16:48:25,771 INFO [STDOUT] (Thread-195) CACHE ERROR>Exception in thread "main" java.lang.NoClassDefFoundError: com/novell/naudit/lcache/LCache
> 2012-05-02 16:48:25,773 INFO [STDOUT] (Thread-195) CACHE ERROR>Caused by: java.lang.ClassNotFoundException: com.novell.naudit.lcache.LCache
> 2012-05-02 16:48:25,773 INFO [STDOUT] (Thread-195) CACHE ERROR> at java.net.URLClassLoader$1.run(Unknown Source)
> 2012-05-02 16:48:25,774 INFO [STDOUT] (Thread-195) CACHE ERROR> at java.security.AccessController.doPrivileged(Native Method)
> 2012-05-02 16:48:25,774 INFO [STDOUT] (Thread-195) CACHE ERROR> at java.net.URLClassLoader.findClass(Unknown Source)
> 2012-05-02 16:48:25,774 INFO [STDOUT] (Thread-195) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:25,774 INFO [STDOUT] (Thread-195) CACHE ERROR> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:25,774 INFO [STDOUT] (Thread-195) CACHE ERROR> at java.lang.ClassLoader.loadClass(Unknown Source)
> 2012-05-02 16:48:25,809 INFO [STDOUT] (Thread-195) CACHE ERROR>Could not find the main class: com.novell.naudit.lcache.LCache. Program will exit.
> 2012-05-02 16:48:35,670 INFO [STDOUT] (pool-13-thread-5) ERROR [RBPM] [com.novell:error] Logging to Novell Audit failed.
> 2012-05-02 16:48:35,670 INFO [STDOUT] (pool-13-thread-5) 8428721 [pool-13-thread-5] ERROR com.novell - Logging to Novell Audit failed.
> 2012-05-02 16:48:35,670 INFO [STDOUT] (pool-13-thread-5) 8418248 [pool-13-thread-5] ERROR com.novell.soa.af.impl.LogEvent - [Workflow_Error] Initiated by cn=SHBSILVA,ou=ID,o=FIRJAN, Error Message: java.lang.NullPointerException, Process ID: a1c0385b6d124d4cafc5f9ef8867f69a, Process Name: cn=myTeste,cn=RequestDefs,cn=AppConfig,cn=User Application,cn=DriverSet,ou=SERVICOS,o=FIRJAN:3762 , Activity: Activity3, Recipient: cn=SHBSILVA,ou=ID,o=FIRJAN
>
>
> --------------------
>
>

Greetings,
The error outlined above is because you have enabled "Audit" within
the User Application but you are not properly configured. The
logevent.conf (on Linux) file does not have the proper mapping to the
NAuditPA.jar. Here is an example of my logevent.conf file:

LogHost=myserver.com
JLogCacheDir=/var/opt/novell/naudit/jcache
JLogCachePort=1287
LogCachePort=1288
LogJavaClassPath=/opt/novell/idm/rbpm/UserApplication/NAuditPA.jar
LogMaxBigData=8192
LogEnginePort=1289
LogCacheUnload=no
LogCacheSecure=no
LogCacheLimitAction=keep logging
LogCacheDir=/var/opt/novell/idm/audit


--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ