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.<clinit>(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)
I'm not sure specifically where the problem lies, but before starting processflow I execute a batch file that sets the following variables for my open command prompt session.
SET CCSDIR=F:\LINTE\CCS
SET CGIDIR=F:\LINTE\IOSRS
SET LAW_JAVA_HOME=E:\PROGRA~1\jdk1.3.1_16
SET GENDIR=F:\LINTE\UNIV
SET LAWDIR=F:\LINTE\APPS
SET LADBDIR=F:\LINTE\DB
SET PATH=%PATH%;%GENDIR%\bin
SET MKS=E:\PROGRA~1\MKSToo~1\mksnt
Also just to confirm one last item. After you start processflow are you leaving the command prompt open and just locking the console? I believe that you will have problems if you close the command prompt or logoff.
Yep I am setting the params before the em.bat file. I will check the param values again (specifically PATH). Also I'm leaving the command window open..
The command window can be closed, it isn't required to stay open, just that the console stay logged in at all times.
I did noticed the PATH value has several values with spaces in them, such as c:\program files...
Java can't handle these spaces anywhere in the path value. When you start one of the PFLOW processes, take a snapshot of the command window and see exactly what the path value is there, then find all of the places in the PATH var where spaces are and remove then, also check any variables that are used in the PATH variable to check their values as well.
The changes will have to be in shortname format, such as c:\program files\dir to c:\progra~1\dir
Give that a try first, then let's see if anything else pops up.