- Server Loggging works
- log4j.properties, remoting-config.xml needed to be corrected
- using com.fgm.javaUtils.logging.VisibilityLogger for LogRemoteObject, not sure if separate ones are needed for separate servlets.
- Dump three sql files from project_portfolio and added to scripts directory
- project_portfolio_clean.sql for clean install
- project_portfolio_inserts.sql for updating data
- project_portfolio_update.sql for updating structure and data
Dong Shin 05.14.2010
- created SQLScriptRunnerServer project
- creates SQLScriptRunnerClient project
- deployed SQLScriptRunnerServer, but didn’t behave…
- found commons* jar files are required
- SQL Script runs from remote object call!
- Visibility Logging not working properly – http instead of https?
Phil 5.14.2010
7:30 – 4:30
- “Deployed” new details XML for standard and extended employees.
- Need to be able to do a precompiled query through facades
- Unpacked the Feldman Project
- Tom’s building a new set of sensors
- Setting up the testbed next to my desk. Going to set up a clean(er?) code framework
- Installed Phidgets 32 bit drivers from here: http://www.phidgets.com/drivers.php
- Installer instructions: http://www.phidgets.com/documentation/Tutorials/Library_Information.pdf
- Freeglut precompiled binaries: http://www.transmissionzero.co.uk/software/freeglut-devel/
- Freeglut source: http://freeglut.sourceforge.net/index.php#download
- Got OpenGL working nicely
- Can talk to the motors. Going to fix control next
Mike 5.13.2010
- Thanks to Phil’s DB dump, I’m back up and running, making good progress on the Drag+Drop interface for configuring slideshows
- Should finish the creation interface tomorrow then start work on actually loading / displaying the slideshows
- Finally got ProjPortfolioMgrClient to build successfully
Phil 5.13.2010
7:30 – 4:30
- Fixed the category problem in employees_std. Talked to Mike C about developing an automated way to do this. Will start doing a daily manual set of the details xml. Later, I’ll do this in a script
- Adding user management to the scripting server – done and checked in.
- Asked Dong to use javaUtils rather than recreate log4j and properties classes
Dong Shin 05.13.2010
- working from home
- reinstalled the Flex Builder plugin for Eclipse Galileo
- links/com.adobe.flexbuilder.feature.core.link file is missing “path=” at the beginning of the line!
- exported com.edgeti.Uilts package from Visibility2 to com.fgm.ServletUtils
- need log4j and other stuff
- deployed to viz-n.com
- http://www.viz-n.com/nexus/contentrepositories/releases/com/fgm/ServletUtils/ServletUtils/1.0/ServletUtils-1.0.jar
- imported for SQLScriptRunner project – seems ok….
- found out Phil already converted it…
- SQLScriptRunner runs as java app, converting it to Servlet
- Troubleshooting Servlet crashing hard with Tomcat…..
- turned out web.xml had duplicate lines
- fixed and deploys good now
- logs/SQLScriptRunner.log visible
- on to actual interface implementation!
Mike 5.12.2010
- More attempting to build Dong’s Project, getting closer
- Now that the back end code for slide shows are working I tried to move to the drag and drop interface for creating slide shows. However, my database was wiped at one point so I tried refilling it with fake data. Now something is throwing a null pointer exception somewhere, catching it, and not logging it. The fake roles look correct in the database but won’t load in to the AccountManager GUI and I can’t create a user without the roles so I’m stuck in a giant rabbit hole.
Phil 5.12.2010
7:30 – 3:30
- Helped John Williams out a bit with generating some unusual tables
- Changed the employees_standard table to reflect the new organization of the data. Had a talk with Mike C. about automatically generating details xml files
- After plugging in my computer, found it running *really* slowly. Deleting my trash (25,025 items) to see if that speeds things up.
- Need to talk to Dong about backticking Ingest Manager – done
- Apparently, I left of 11 employee classification types. Need to fix that tomorrow.
- Adding user management to scripting
Dong Shin 05.12.2010
- refresh () in onCreateComplete in FinancialDataCanvas causing the data view update twice…. Fixed now and it’s lot faster.
- Changed FinancialDataDGItemRenderer to highlight the current month’s $ cells only. Removed whole column highlight
- highlight the cells that fails the criterias
- less than 90% of next cell
- no in previous cell
- cells with comments generate red borders?
Mike 5.11.2010
- Started writing test cases to help debug and ensure the slideshow database code was working. Banged my head against a very weird foreign key issue for many hours… Inserts were throwing an error using the JDBC connection but working fine from the MYSQL workbench. I could even step through with the debugger, copy and paste the query to mysql right before it ran in java and it would execute fine. The internet was no help so in my flailing I changed the table engine type from MyISAM to InnoDB and it worked…
- Now I have a set of very nice test cases and all the methods listed in my previous posted are tested and working.
- Tried to build Dong’s ProjProtfolioMgrClient, finally got connected to the new maven repo but still having build problems
Phil 5.11.2010
7:30 – 3:30
- Fix ServerLog – done. The problem is the changeout of the remote object to the javautils package. Had to generalize a bit.
- Fix PublishServlet – done
- Demo prep (screenshots) – done
- Demo. Went well, I think. One of the lab PMs liked the demonstration enough that he wanted a copy for his lab
Dong Shin 05.11.2010
- charts for each dataset now displays $ figures only – removed % figures
- InvoiceFormWindow changed to have individual items added to the list and manage items
- removed all message Alerts when saving data….
- To install the Java development tools in the standalone version of Flex Builder:
- Use the Help > Software Updates > Find and Install menu command to open the Install/Update dialog box
- Select Search for new features to install.
- Click Next.
- In the results, choose Europa Discovery Site.
- Click Finish.
- Select the Java Development package to install.
- Click Next.
- Accept the license.
- Click Finish.
- trying to track down slow data retrieval
Dong Shin 05.10.2010
- deployed ProjPortfolioMgr to Phil’s PC
- created projportfolio user and grant permissions – make sure MySQL restarts!!!!!
- The crash problem on Charts may only be in DEBUG….
- checking out are building Visibility 2 for the IngestMgr trouble-shooting
- Continue w/o Invoice added to InvoiceFormWindow
- added $ Goals to the FinancialDataGrid – calculated from % and fundingAmount
Phil 5.10.2010
7:30 – 4:30
- Prepping for demo
- Got dong’s war file deployed on my machine. That works, rather than building. He’s going to ask Mike to try building and see where the problem lies
- Problems with ie today – it can’t open multiple Flex programs.
- Spent some time getting the projmanager user working in mySql
- better pull for errors: SELECT p.title as project, f.name as funding, o.* FROM obligations_outlays o, fundings f, projects p;
- IngestManager problems:
- Can’t parse special characters into column names or the values can’t be inserted properly in the column. For example, ‘2/15/60’ won’t read in at all, ‘2-15-60’ won’t have any data in the columns, and ‘2_15_60’ is a date format that Actionscript can’t recognize
- If the XML SOLR file has CRs in the text file, they are kept, which screws up VISIBILITY. They need to be stripped.
Script to look for decreasing values in outlays:
# Strip off a column based on its name
def stripColumn(headers, table, columnName):
newRow = []
for item in headers:
if item != columnName:
newRow.append(item)
newTable = [];
newTable.append(newRow)
for row in table:
newRow = []
for i in xrange(len(headers)):
if headers[i] != columnName:
newRow.append(row[i])
newTable.append(newRow)
return newTable
# Find a month that is less than the previous
def errorsToSolrXml(doc, root, header, table):
for row in table:
for i in xrange(len(row)-1):
if header[i].count("month_") > 0:
cur = int(float(row[i]))
next = int(float(row[i+1]))
#print row[0]+": "+header[i]+" = "+str(cur)
if(cur > next):
#print header[i]+" = "+str(cur)+" > ("+str(next)+")"
errorNode = doc.createElement('doc')
root.appendChild(errorNode)
fieldNode = doc.createElement('field')
fieldNode.setAttribute('name', 'type')
textNode = doc.createTextNode(str(row[0]))
fieldNode.appendChild(textNode)
errorNode.appendChild(fieldNode)
fieldNode = doc.createElement('field')
fieldNode.setAttribute('name', 'cur_month')
textNode = doc.createTextNode(header[i])
fieldNode.appendChild(textNode)
errorNode.appendChild(fieldNode)
fieldNode = doc.createElement('field')
fieldNode.setAttribute('name', 'next_month')
textNode = doc.createTextNode(header[i+1])
fieldNode.appendChild(textNode)
errorNode.appendChild(fieldNode)
fieldNode = doc.createElement('field')
fieldNode.setAttribute('name', 'value')
textNode = doc.createTextNode(str(cur - next))
fieldNode.appendChild(textNode)
errorNode.appendChild(fieldNode)
#################### 'main'
impl = getDOMImplementation()
jf = ScriptFacades()
table = jf.dbQuery('project_portfolio', 'SELECT * from obligations_outlays where project_id=1 and year=2010')
tableData = table.getTable()
newTable = stripColumn(tableData[:1][0], tableData[1:], 'uid')
errorDoc = impl.createDocument(None, "add", None)
root = errorDoc.documentElement
errorsToSolrXml(errorDoc, root, newTable[:1][0], newTable[1:])
#print errorDoc.toprettyxml()
jf.publishXml("/obligation_errors.xml", errorDoc.toxml())
Dong Shin 05.09.2010
- chart for all obligation / overlay data added – crashes when mouse over at multiple points intersect…..
- funding now supports to FY14
- worked down the list from the meeting….. Project Creation works!!!!!!!!!!!!!

You must be logged in to post a comment.