Event Manager crashing

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member
Posts: 549
Veteran Member
New Poster
New Poster
Congrats on posting!
Env: 8.0.3.6
OS: Windows 8.0.3.6
Apps: 8.0.3.7
IOS/LOGAN: 8.0.3.6
CCSBase: 8.0.3.6
Processflow: 8.0.3.6
Java 1.4.2

Event Manager seems to be crashing. I lauch em.bat directly on the server console in a command prompt window. I have set all my variables (CGIDIR,GENDIR,LAW_JAVA_HOME,etc). I have checked the em.out file and after a few minitues (moments) of seeming to be up, I get the entry in the em.out log. Also I have bolded here the section of the em.out file where I think the problem lies. Appears it can't find lawdir, ladbdir and gendir values somewhere and I have verified logan.env exists in %CGIDIR% and %CGIDIR%\rmi. I have stopped and restarted RMI and webserver all to no avail. I have cleaned out wf13 also before starting PF.

Any ideas?
Thank you in advance,
Roger

[Sep 25, 2006 10:47:51 PM] Event Manager started at Mon Sep 25 22:47:51 CDT 2006
[Sep 25, 2006 10:47:51 PM] Reading all EVT_PFLOW workunits
[Sep 25, 2006 10:48:00 PM] Reading all EVT_MULTI workunits
[Sep 25, 2006 10:48:01 PM] Starting WorkunitTimedProcessor: Polling every 30 minutes
[Sep 25, 2006 10:48:01 PM] java.lang.ExceptionInInitializerError
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.db.api.DBDataAreaFactory$PooledDict.getDict(DBDataAreaFactory.java:202)
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.db.api.DBDataAreaFactory.create(DBDataAreaFactory.java:86)
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.util.ObjectPool.internalCheckOut(ObjectPool.java:308)
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.db.api.DBDataAreaFactory.checkOut(DBDataAreaFactory.java:142)
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.db.api.DBDataAreaFactory.checkOut(DBDataAreaFactory.java:123)
[Sep 25, 2006 10:48:01 PM] at com.lawson.javaworkflow.eventmanager.WorkunitTimedProcessor.doProcessWorkunits(WorkunitTimedProcessor.java:115)
[Sep 25, 2006 10:48:01 PM] at com.lawson.javaworkflow.eventmanager.WorkunitTimedProcessor.run(WorkunitTimedProcessor.java:63)
[Sep 25, 2006 10:48:01 PM] Caused by: java.lang.IllegalStateException: Invalid lawson environment settings.
com.lawson.gendir = null
com.lawson.lawdir = null
com.lawson.ladbdir = null
java.library.path = d:\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;d:\jdk\bin;d:\jdk\bin;D:\PROGRA~1\MKSTOO~1\bin;D:\PROGRA~1\MKSTOO~1\bin\x11;D:\PROGRA~1\MKSTOO~1\mksnt;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\CA_APPSW;C:\Program Files\Dell\SysMgt\oma\bin;C:\PROGRA~1\CA\SHARED~1\SCANEN~1
Unable to load lacobrts, nested exception is:
java.lang.UnsatisfiedLinkError: no lacobrts in java.library.path
[Sep 25, 2006 10:48:01 PM] at com.lawson.rdtech.util.Lawson.(Lawson.java:176)
[Sep 25, 2006 10:48:01 PM] ... 7 more
[Sep 26, 2006 12:15:06 AM] java.lang.NoClassDefFoundError
[Sep 26, 2006 12:15:06 AM] at com.lawson.rdtech.db.api.DBDataAreaFactory$PooledDict.getDict(DBDataAreaFactory.java:202)
[Sep 26, 2006 12:15:06 AM] at com.lawson.rdtech.db.api.DBDataAreaFactory.create(DBDataAreaFactory.java:86)
[Sep 26, 2006 12:15:06 AM] at com.lawson.rdtech.util.ObjectPool.internalCheckOut(ObjectPool.java:308)
[Sep 26, 2006 12:15:06 AM] at com.lawson.rdtech.db.api.DBDataAreaFactory.checkOut(DBDataAreaFactory.java:142)
[Sep 26, 2006 12:15:06 AM] at com.lawson.rdtech.db.api.DBDataAreaFactory.checkOut(DBDataAreaFactory.java:123)
[Sep 26, 2006 12:15:06 AM] at com.lawson.javaworkflow.eventmanager.EventMgr.getEventTypeThinDb(EventMgr.java:1102)
[Sep 26, 2006 12:15:06 AM] at com.lawson.javaworkflow.eventmanager.EventMgr.addWorkunitToProcessQueue(EventMgr.java:1027)
[Sep 26, 2006 12:15:06 AM] at com.lawson.javaworkflow.eventmanager.EventMgr.processConnection(EventMgr.java:149)
[Sep 26, 2006 12:15:06 AM] at com.lawson.javaworkflow.netutils.ServerConnection.run(ServerConnection.java:39)
John Henley
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!

See Lawson KB article 126528
Thanks for using the LawsonGuru.com forums!
John
Roger French
Veteran Member
Posts: 549
Veteran Member
New Poster
New Poster
Congrats on posting!
Already looked at that article.

The problem was that, since I was starting event manager using em.bat (not servers.pl), the install docs don't say exactly what environment variables need to (again) be set/defined when using em.bat. (They DO state it for servers.pl). Once I set all the necessary variables, em kicked off ok.