Known facts
Chuck's Vista machine runs Oracle 10 with credential JWARS/password@jas.
#cmCreateAddAssignJar label: 'Create-Add-Assign JAR…' enable: #isDBAdministrator; CONFIRMED 6/28
users and domains require JwarsAdministrator CONFIRMED 6/28
Oracle is version 11.2.0.1.0 32 bit CONFIRMED 6/28
^'alter profile %1 limit failed_login_attempts unlimited password_life_time unlimited' Burleson says unlimited is ok 6/28
Use JAS PAckaging : Jacs 3.20.0.1 29 Sep 2010 CONFIRM THIS
HCI was packaged 12/2/2010. Sim was 9/30/2010. CONFIRM THIS
to get to win7 - 1) kill windows logging 2) fix permissions 3) add progfilex86\jas\bin to path CONFIRM THIS
JwSimulationSystem»openImageVersionName has current version for open image, e.g., ^'R2.0 SR3.20 (Open)'
ImportExportPane class»dataDictionaryVersionName has ^'R2.0 SR3.20' in hci
JwvHciJacsProxy»releaseLevelModule contains Jacs version currently 3.3. LOOK FOR OTHER IMPLEMENTORS
map Jas Dev:JSO 3.20 dated (12/2/2010 12:11:02 PM) is last open image map. Added jar imp/exp changes to it. WHAT SHOUD NEW VERSION NUMBER BE? try 3.20 a
To do:
kill all jars on 6520, then recreate from gui and test import/export
test new import/export panes
put dmacq in eventLog mods
put uac and firewall back on chuck's machine
do a jas64.zip of progFile\jas on 6520 to use on win 10 machine
rename jas.zip jas86.zip and store
update all scenarions on 6520.
do full expdp from 6520.
See if I can virtualize Chuck's machine for future use
Try repackaging jacs and adding debug messages, after setting jacs to log everything.
add timestamp to simvm.log reporting in JwSimulationSystem»reportConfiguration. Low priority
use opne image to set break point on bMajorHash on CHuck's machine DONE
11 19 2020
Win10 can be reset from within
Acronis 2011 will not work on Win 10
I have Acronis 14 but it is an upgrade, cannot creaet usb, and cannot find key.
Win 7 will install Oracel 10 in compatibility mode.
Win 10 seemed to install it but then had two sets of Oracle keys in the registry, then next time had none and got ora-01019 error.
Copying Chuck's zip ro progfilesx86/jas and starting jacs and env start up jas
Oracle 12c is 64 bit, Jas cannot talk to it.
-
Plan is to install Oracle 11 which is 32 bit.
Installed Oracel 11 32 bit thne did impdp using 10g data.
Copied Chuck Vista install of progfilesx86/jas and started services.
Had the usual terrible time with access.bt.
Got AbtError after entering jwar/password to import a scenario.
ran system.02.roles.sql which creates user jwarsdb_role.
ran grant jwarsdb_role to jwars from system.03.jwars.
can now import scenarios
got gMajorMinorHas when cloning a run def. fixing jas permissions fixed the problem.
Getting “at capacity” errors. set all of jas and its subDirs to not read only, AND added Jas to the path.
10 19 2020
Win 7 machine has wHci dated 10/25/2010 with size 38576
win 7 machine is running oracle 11.2.0.1.0
jwars/PASSWORD@jas works
tried variations of this: C:\ProgramData\Jas\jacs>“C:\Program Files (x86)\Jas\abt.exe” -iwhadmintool.icx -
ini:vmcfg.ini -nosplash -no_break -h. nada.
cannot find admin tool source.
TODO install jwars in xp vm and look at admin command line.
whci was looking for libslac.dll in progdata/jas. error message suggested a setting for SlacLibrary under [Resources] in jas.ini.
copied libslac.dll from progfiles86/jas to progdata/jas/client, and launcher come up. updated nsis data.
the wHci from 5/19 opens the launcher but blows up trying to run a scenario.
the wHci from 12/2/10 of size 38054 is probably the original one becasue it blows up tryin to write to Windows logs.
Running AJH Sea Viking with all 24 hours OPEN blows up right away with no jacs.log entry and nothing left in scheduled or executing.
Running AJH Sea Viking with all 24 hours OPEN as Admin never connects to display. jacs.log shows it completes right away but it is left in scheduled. same thing happens after clean restart.
conclusion is that admin is a problem. problem solved by making progdata/jas/client writable. updated nsis
sim still starts and then stop 5 seconds later but is still in the pending queue.
making all of progData and progFiles writable makes no difference. making progData\jas\client writable is enough.
Neither of the two latest hci packaging maps will load into 9.1
Not sure how or where I created the “new” hci.exes.
9.1 is 413.
save the 9.1 icx file and install 9.0
save the whics that have been packaged along with yheir file location. test them and try to recreate them
10 17 2020
moved 3 wh*.exe from progData to progFiles in nsis
chuck's machine never connected.
jacs.log showed that -j and -e had ip addresses of 10.0.0.* instead of 127.0.0.1.
Disconnect all network including wifi and all is well.
works with 5/25/2019 whci.icx too which has a size of 39965. Recreate This.
The sim icx on Chuck;s machine that works is dare 9/30/2010 and is 26072, but may not be the original!
Trying a whSim created 5/19/2019 of size 23590.
The above whSim Does Not Work. Gets to Begin Simulation and freezes.
TODO create new nsis with new hci and old sim and try on win7
TODO find out how the jacs queries an icx for its version number
10 15 2020
modified Jas»fatalError: to also write to jas.log. TODO add to maps
sim/clean image will load jas dev jso from 8/2018 but will not load 6/2019
6/2019 has password removed from import/export pane but is other wise unknown crap.
jso image has 8/2018 jso loaded but fails to find jacs on startup
running new hci packaged 5/29/2019 from installed sjortcut fails connecting to oracle. output goes to walkback.lo0. get message box sayinn “MISSING MxKRN34”. trying to connect to jas not JAS10. unclear where it gets this setting.
running original hci does pick up JAS10 but JAS10 is followed by a Nul. running new is also picking up JAS10 fillowed by a Nul, so maybe what was needed was a Jacs restart.
Neither of the latest Jas Packaging HCI maps load in sim/clean. The open edition of 9/25/2018 does load, so it was probably used for latest packaging.
It does look like we are using AbtOracle10DatabaseManager in the HCI
Oracle db name is jas. sqlplus JWARS/password@jas works. jas and JAS both work.
The problem is that Oracle is version 12 64 bit! Dumbass.
* 05-19-2019
Installed 7.5 on Win7 VM.
Won't run in environments.
Must start image as admin.
re-packaged sim and it works on the 6420 machine.
No-opped all methods in JwarsEventLog and saved as 3.21.
Loaded map Jas Sim 3.21 with required maps and packaged.
Image ran fine on 6420 XP machine.
Got runtime error ExReportEventException: error reporting an event to the
OS. Jas launcher did not start
The problem is in HCI not Sim.
Commented out all refs to JwarsEventLog and repackaged HCI using latest Jas pacakaging instructions
Got past ExReportEventException and Jas Launcher started. Died with bMajorHash on 6520 Win7 machine.
bMajorHash went away on Chuck's machine after a good JAS install. Do not think it is code.
New HCI died on the XP machine when starting a run with an error in JwgSimulationCoordinator»buildRunHeaderInfoForScenarioData: because JwvSimRunInfo is missing
HCI was packaged 12/2/2010. Sim was 9/30/2010.
My latest 3.20 code probably has MySql which looks for special stuff in the ini file.
05-18-2019
used acronis to backup 6520 win 7 machine
put acronis 6420 XP image on 6520.
could not connect to oracle
restored win7 image to 6520
copied jas dir
created jacs and env service
made win7 jas and vp shortcuts
installed oracle 11 32 bit
used impdp to restore entire database. no need to create tablespaces, users, etc.
jacs started and connected to Oracle but died writing Windows logs
Oracle is now case sensitive to username and password.
look for instances of jwars and password in the code
05-10-2019
on windows, use netstat -an to show listening ports
on chuck's machine, 8000, 8002, and 8004 are listening
jacs runs on 8000
modify jacs.ini to do autoDomain/UserCreation=true
env on 8002
using custom install on chuck's machine left the jas dir with permission problems and got error dnu bHashMajor* when clicking on a run def in a scenario. missing some data or a link to some data but could not figure this out
did the server install then the client install and all was ok after
adding ToEnvironmentalServer=127.0.0.1:8002 to jas.ini in the client dir
copying the SEA data dir and subdirs to the env dir
adding an [SEA] stanza to env.ini in the env dir
starting the env service.
add StackDump=Y to jass.ini ←— no. this is already there
packaging of 3.20 hci works using 3.20 clean image.
what controls what sims the run def browser sees? *
find install of jacs service in installShield files ←– on red drive
2019-01-21
installed jas 3.20. startup failed on read of blob in jwars_preferences
copied progFiles/jas from chuck's working install. → same thing.
copied all oradata/jas/*.dbf files from chuck to xp
sqlplus / as sysdba got ora-01033 → oracle shutting down
found articles about recreating control files but could not get into sqlplus
decided to go with expdp
did CREATE OR REPLACE DIRECTORY xyzzy AS 'c:\temp\xyzzy';
GRANT READ, WRITE ON DIRECTORY xyzzy TO public;
c:\temp\xyzzy must exist
expdp system/password@jas full=y directory=xyzzy dumpfile=jasexpdp.dmp logfile=jasexpdp.log
zipped 6.5 gig dump file and copied it to xp laptop
on Dell laptop, did CREATE OR REPLACE DIRECTORY xyzzy AS 'c:\temp\xyzzy';
GRANT READ, WRITE ON DIRECTORY xyzzy TO public;
c:\temp\xyzzy must exist and dump file must be there
impdp system/password@jas full=y directory=xyzzy dumpfile=jasexpdp.dmp logfile=jasimpdp.log
installed jas and scenarios came up
sqlplus sys/jwars@xe as sysdba
imp sys\password@jas schemas=JWARS dumpfile=expdat.dmp logfile=impJwars.log table_exists_action=truncate
expdat.dmp file on Z could not be read by Oracle
From Lenovo, did exp system jwars full=y. got file with size 7 gigs
From Lenovo again, did exp JWARS/PASSWORD@JAS10 file=Jas10.dmp log=Jas10dump.log to get just jwars schema. size is 6 gigs
execute scripts in ..\createJas\Database\scripts\system\new to create roles, jwars user, and jar role
- sqlplus system/password@jas @create.system.02.roles.sql
- sqlplus system/password@jas @create.system.03.user.jwars.sql
- sqlplus system/password@jas @create.system.04.roles.jar.sql
execute scripts in ..\createJas\Database\scripts\users\jwars\new to create the Jas tables
- sqlplus jwars/password@jas @createAll.sql
exports from oracle 12 on Lenovo cannot be read by 9.2
the expdat.dmp file on z from 2017 cannot be read by 9.2.
version=9.2 will not (probably) not work because of LOBs
tnsnames.ora on ayeone is in oracle/ora92/network/admin. service name is jas.
doing copy of *.dbf files to diskstation
-
-
tried to do the rename after installing dummy Jas files (after the creation of user jwars, roles, etc.) but got multiple errors.
got chuck's vista machine which has jas in oracle 10g. got an export of jas data.
installed oracle 10g on the xp machine. got many ora-12514 errors. solution was to change listener.ora. see z: xpLaptop for the file
to recreate the table spaces, you must first run droptb.sql, and then delete the .dbg files manually
on a jas retry, createrole2, createjwars3, and create4roles will throw an error but work because the creation of these objects is not affected by the recreation of the table spaces.
imp failed because of key problems.
IIRC, the solution is to modify the new user scripts and move the create index statements to a separate sql file. did this in z: xpLaptop
sqlplus / as sysdba @some.sql > someOutput.log works