jas:xp_laptop
xp laptop
- Packaging
- Packaging the hci is a dev image, not an XD
- The version is the name of the hci config map.
- The timestamp of the hci is the config map's time stamp
- Jar/User/Domain Security
- 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
- Transforms
- what triggers 'Transform Required'?
- compares versionName from scenario data to sim version after stripping trailing letters from sim version.
- then it compares sim version to the hci version which is assumed to be the highest.
- trailing letters are stripped from the hci version
- 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.
- This (https://docs.oracle.com/database/121/SUTIL/GUID-BAA3B679-A758-4D55-9820-432D9EB83C68.htm#SUTIL110) says that impdp can always read previous versions of expdp.
- 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 20 2020
- Chuck's machine has only 7.5 installed so no Win7 w*.icx images came from it.
- TODO - package a new sim on Win7
- why do i have sim packaged images in twodifferent outpu directories?
- after reboot, sim 8/28/2018 size 27569 from packaged starts then stops and is still in queue.
- 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.
- 10 14 2020
- pf86/inst/9.1 is not clean. it has jas dlls.
- don't want to mess up what is there?
- do a clean install?
- might blow away existing environments
- or leave it alone and create a stock image
- thne load hic and package
- load jas sim and package
- use workspave files
- copy progdata\jas to vm
- copy nsis to vm
- test install
- fix oracle pwd
- add new icxs from above
- may need to set path in install
- delete/rename install.bit and test
- 06-28-2019
- win7 machine has no jars defined
- 06-27-2019
- goal is to remove access.bit security (jacs) and hard code jar password on import and export (sim).
- jacs has no refs to password (case insensitive)
- hci has JwgCreateNewJarModel»defaultPassword set to 'password'.
- hci has JwgCreateNewJarModel»alterJarProfileCmd do this:
- removed password field from jarimport/export pane and hard-coded password to password. PACKAGE HCI and TEST THIS
- do not need to recompile jacs to get around access.bit. set autodomaincreate and autoaccountcreate to true in jacs.ini file. TEST THIS
- 05-25-2019
- 6520 machine needed progfilex86\jas\bin added to path. sims now work.
- to get to win7 - 1) kill windows logging 2) fix permissions 3) add path
- hci ask the jacs for what icx files are available.
- the jacs looks in its current dir for '*hSIM*.icx'
- then it runs whSIM.exe (abt.exe) with the -report option on each icx.
- this command is logged in jacs.log, but the results are not.
- the sim report its version number to the jacs. it detects files named *.icx that are not really images.
- this is logged in simvm.log
- this does not work on the 6520 machine
- new hci works on 6520 when you run Jas as admin.
- fixed Jas privileges and admin no longer needed.
- hci takes its version number from the hci config map name.
- jacs looks for icx files in the jacs director
- no sim versions showing up on 6520.
- tried running jacs as jas to get admin right but no luck.
- 05-24-2019
- Can now package 3.20 HCI on Win 7 and it works on Chuck's machine.
- Latest Jas Packaging Instructions did not contain latest apps, so JwvSimRunInfo was not being packaged.
- Packaged new HCI using latest instructions (3.21) and code that no-op windows log messages.
- Works on Chuck's machine. On the 6520 Win7, it gets past log error but then blows up when you click on a run definition with bMajorHash. Try an install of JAS run as admin.
- The HCI takes the config map version and then looks for a sim with the same version. This is done in answerAvailableSimulationVersionsByHost. Solution is to run with the 3.20 sim that it sees.
- Find out where and how it is finding sims. See JwrSimImageConfig.
- Copied jasClean.icx to Win7 and got not an image.
- * 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-17-2019
- XP has no ProgramData. Leave the ini files alone.
- Used produKey to extract Win7 keys from Dell 6450.
- Did two backups of Dell 6450. Put them on Z.
- Did two backups of Dell 6420. Put them on Z.
- Used Acronis to image 6420 to 6450.
- Zipped ProgFiles\Jas. Use to install on Win 10 machine
- 05-12-2019
- Create Jacs Service
- sc create “Jas Administrative Control System” start= auto binPath= “C:\Progra~2\JAS\bin\whJACS.exe -srvName whJACS -i.\whJacs.icx -ini:vmcfg.ini -srvWorkingDir C:\Progra~2\JAS\jacs”
- sc description “Jas Administrative Control System” “Jas Administrative Control System”
- start jacs first
- Create Env Service
- sc create “Jas Environment System” start= auto binPath= “C:\Progra~2\JAS\bin\whENV.exe -srvName whEnv -i.\whEnv.icx -ini:vmcfg.ini -srvWorkingDir C:\Progra~2\JAS\env”
- sc description “Jas Environment System” “Jas Environment System”
- start env next
- services.msc bring up services control panel
- 04-20-2020
- Video playback blow up on wht Dell Win7 machine.
- 04-18-2020
- copied jas shortcuts from chuck's vista machine to z:\jas\chuckVistaJasShortcuts
- latest jas development is done on win7_x64 VM
- Chuck was getting the message :“No hosts are available for Sim Version [R20.SR320]. \Simulation added to scheduled queue” on the the Win 7 Dell machine. What this means is that JACS is looking for an icx named wmSIM.R20.SR320 in the Jacs directory, and the Win7 Dell machine did not have one.
- change ini file to write to ProgramData: MessageLogFile=c:\ProgramData\jas\environment.log ← use long name!
NOTE the above^^^ progra~9 numbers are for Win 7. ProgFile on XP is probably 1 and ProgramData 2. Try long quoted names“
Use a batch file like this: @cd %programfiles(x86)% if errorlevel = 1 goto x86 do x64 stuff here goto end do x86 stuff here :end -------------------------------------- sc delete whJacs if exist %programfiles(x86)% ( set progFilesx86 = "progra~1" ) else ( REM we are on a 64 bit machine set progFilesx86 = "progra~2" ) sc create “Jas Administrative Control System” start= auto binPath= “C:\%progFilesx86%\JAS\bin\whJACS.exe -srvName whJACS -i.\whJacs.icx -ini:vmcfg.ini -srvWorkingDir C:\%progFilesx86%\JAS\jacs” sc description “Jas Administrative Control System” “Jas Administrative Control System” sc whJacs start
- 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
- 2019-01-19
- restored xpEmptyOracleBackup.tib from blue passport. Got no listener from oracle gui.
- copied z:\jas\xp laptop
- replaced listener.ora. restarted listener. gui works.
- ran create tablespace
- ran create02role
- ran create03userJwars
- ran create04createJarRole
- ran the original createall in createJas\database\scripts\user\jwars\new.
- Did not use createIndexes.sql because the dump I am loading is table data only.
- table space usage after this (before table data was loaded) was
- instruments and jar 0%
- scenario component 12%
- environment 4%
- primary 7%
- index 2%
- ran imp parfile=parfileimportjastables.txt
- table space usage after was
- instruments and jar 0%
- scenario component 16% +4
- environment 72% +68
- primary 11% +4
- index 9% +7
- 12-15-2018
- user is owner
- loaded avast anti virus
- did acronis backup
- install oracle 9 standard edition. take other defaults
- create Jas db. all passwords are password
- did these tb allocations
table alloc env 10 index 1 instruments 9 jar 1 primary 1 scenario 3 25
- 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
jas/xp_laptop.txt · Last modified: 2020/11/22 19:21 by 127.0.0.1