Category Archives: Server

Phil 4.11.13

8:00 – 3:00 SR

  • Backups
  • There seems to be a problem with PA: “February in VizTool is showing ‘overdue’ If everyone input their data for Feb shouldn’t it be March that’s overdue?” – Heidi. Lenny also had the same problem. I’ll bring a printout of the entire email.
  • Make AS3 version tracker
  • Start on script(?) to convert months for slide show. I’m guessing python. But since we’re adding server side code this time anyway, we might want to add a way for the scripting system to insert a ‘visibility_dev2″ table to bypass the ingestor. This means managing roles, users and ingest(?) tables.

Phil 4.10.13

8:00 – 4:00 – SR

  • Sleepy – went to see Marc Broussard last night. Got to sleep after midnight and up at 5:45. Ow.
  • Backups.
  • Start moving VersionChecker to a component. Done. Added it to FGMFlexUtils45
  • Next, let’s add this to EdgeUtils.
  • Dong has incorporated VersionChecker into PA, and we have a disk full of installs for tomorrow.

Phil 4.9.13

7:30 – 4:30 SR

  • Imported new FA
  • VizTool Review (More notes in Req’s & Bugs & Stuff)
  • And now I can’t put my bike in the basement hallway. Gonna try the gym, which I thought would cause complaints. People don’t seem to like bicycles here.
  • Got the logic working on the test and updates. Now I just need to package and make versions for 3.x and 4.5+

Phil 4.8.13

8:00 – 4:30 SR

  • Someone stole my last few teabags! Trader Joe’s today…
  • Backups – done
  • Prep for review tomorrow
    • Get demo-able version of VersionTracker
    • Status report
    • Burn Dong’s system for deployment on integration server
  • Spent the entire morning trying to get the DbObjectTestbed server running in Eclipse. It was working just fine when I turned off the machines for the weekend.
    • Committed my code changes and reloaded the project – nothing
    • Did notice that the properties might be corrupted. I could not edit some of the properties tabs.
    • Added JavaUtils as a project that DbObjectTestbed depended on. That forced a rebuild, which placed the .class files I needed in the Tomcat directory.
    • Rebuilt and deployed the VersionTrackerTest Flex project, and after a hiccup (I’m assuming the server was still coming up), everything is now working. Well, sort of. I have to stop the server, rebuild the Java code then restart the server for the classes to get updated in the webapps directory.
  • Working on getting a very finicky Date.parse() to work properly so that the milliseconds since the code was compiled to assemble properly.

Phil 4.5.13

8:00 – 4:00 SR

Phil 4.3.13

8:00 – 4:00 SR

  • Got all the certs incorporated. I should be able to switch over at any time. Might try that on Friday.
  • Helped Chris with his accounts. He needs to change his passwords and attempt to log on to the test and integration servers.
  • Work on the xmlparsers today?
    • There are two problems, one with the hash, and one with components that can be turned on and off
    • If the items in the xml are not in the same order, then the hash will differ, which is bad.
    • The different lengths of xml are due to the the fact that the initial xml is not created by interrogating the display item.
    • Dong suggests the solution is to make the id from only the displayName and yField. That won’t guarantee uniqueness, but it’s close. I could add a validator that checks for a unique displayName too.
    • Yay, that seems to have done the trick. For now. Checking in and burning a new disk for tomorrow.
  • Did you know that JSON has functions? Check this out: http://www.jayway.com/2013/04/01/three-undocumented-features-of-json-3/

Phil 4.2.13

8:00 – 4:00 SR?

  • Spent a long time working through keystore and renewing the sever certs. And then I was informed that server certs could not be renewed, contradicting the email and website instructions that say that they can be renewed. Sigh. More tomorrow.
  • Got the FlexiChart bug fixed. I wound up adding a Hash class to Utils, and calculated a hash based on the string (with id set to -1). An RSHash is then computed based on the XML string and that result is used to set the Id. That ID hangs around long enough to be useful, although it does get recalculated when the values change, so it’s not a permanent ID.
  • Need to add fix from ColumnSeriesConverter to all the other converters.
    • Which also meant adding seriesConfigChanged(seriesConfig) to all the xxxConfig classes and handling that in SeriesConfig.
    • Which also meant handling the initial creation of the id hash in SeriesConfig.addSeries_clickHandler(event:MouseEvent)
    • The initial creation and updates work, but there is a point that the hashes get out of sync. Making the addSeries perform the hash seemed to move the hash downstream one step.
    • Hmmm. Looks like we have a new bug. With an area chart, the item is initially created as
      • <series id=”2387166208″ seriesType=”AreaSeries” displayName=”New Series” form=”segment” fillColor=”0″ fillAlpha=”0.4″ strokeEnabled=”false” strokeColor=”0″ strokeWeight=”3″ strokeAlpha=”1″ yField=”Totals”/>
    • but when “Apply” is clicked, it changes to
      • <series id=”1515104256″ displayName=”New Series” seriesType=”AreaSeries” yField=”Totals” form=”segment” fillColor=”0″ fillAlpha=”0.3″ strokeEnabled=”false”/>
    • Which, naturally enough, leads to a different hash.
    • However, once this makes a “round trip(?)” to TrendWidget, it takes the shorter form and everything works.
  • Need to clean up a lot of debugging statements…

Phil 3.20.13

8:00 – 4:00 ESSO

  • First day of Spring! Brrr!
  • Meeting with Chris B. Lenny, Carla and Thom. Next meeting is on Thursday 28th. We should try to have some version of the new PM deployed for evaluation
  • Need to change the scripts for FY12 and FY13 to show only 6 months of history. Possible change to have only bar charts. Still a desire to have something in the horizontal axis that’s legible. Possibly just text.
  • Got the server up and running in eclipse. Most of the remaining problems involved getting jar files to pass through to the final application. In the end, jars used by JavaUtils had to be copied to the test program and exported.
  • Got the Flex code to connect with the debug java server and stepped through things. Found that the classloader was working fine, although it was important to actually copy over the properties files and stick them in the WEB-INF/classes directory in the Juno(Java) project. The classes from all the other sources were merged correctly. Yay.
  • Tomorrow, we create the Flex version component.

Phil 3.19.13

8:00 – 4:00 ESSO

  • Spent a good part of the morning trying to figure out Keystore again. I need to export a jks file?
  • Working on getting the Tomcat server to run inside of Eclipse.
  • Had to add flex jars and javaUtil classes to the Deployment Assembly dialog in Properties for RemoteObjectTestbed. Had to do it through the QuickFix mechanism in the Problems pane. Adding it directly didn’t seem to work. Also, tried to add the JavaUtils project rather than just the classes, but that didn’t seem to bring along the classes and added warnings about the jar files used to construct JavaUtils. Since they’re needed for logging and such, I’m going to add them?
  • Description Resource Path Location Type
    Classpath entry M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar is marked for publish/export but is not exported on the project classpath. Classpath visibility within Eclipse and at runtime will differ. javaUtils P/javaUtils Classpath Dependency Validator Message
  • Things are working, but I still can’t get the eclipse server to work with the installed Tomcat location. It’s possible that this could be done using the VM arguments in the Arguments tab of Run Configurations, but I really don’t want to try that yet.

    Tomcat Run Configuration

    Tomcat Run Configuration

Phil 3.18.13

Phil 8:00 – 4:30 ESSO

  • On the whole, being back at work is much better than watching over your parents at the hospital.
  • Backups
  • Getting a new server cert for the integration machine. Many changes, dead links, etc, but the help is better, and makes more sense. Sent off, though I’m not sure if I go all the people right.
  • Working on getting the server to run in the debugger. So far I’ve had to download updates to all the web tools, and the JST adapters and JST adapter extensions.
  • Updated the HOW TO SET UP ECLIPSE FOR SERVER SIDE JAVA AND CLIENT SIDE FLEX pages to fix a lot of changes since Helios, but can’t seem to connect to the pages – just a bunch of 404s. Calling it a day.

Phil 3.11.13

8:00 – 1:30 ESSO

  • Backed up everything
  • Installed new Java and verifies that everything is working
  • 10:30 Meeting with Chris B, Denise P, and Bill A. to discuss who has the responsibility to run the server/it infrastructure.

Phil 3.8.13

8:00 – 4:00 Esso

  • Backed up everything
  • Deployed the new version of PA with the concatination fix.
  • Long discussion with Lenny about mapping between Req’s and $$. Our thought was that the contract would be the best way to determine how to distribute money in the case where multiple projects shared a MIPR, but it might turn out to be the Budget Center/Sub Budget Center.
  • And we still need to add a check on the version of the software that’s being run. In case it’s not written down anywhere else, it’s as follows:
    • When the software loads up for the first time, it reaches out to the DB and asks what the date of the client code is. The table has the app name (PPM, PA, VSS, DataViz, etc), and a date.
    • If the client’s date is later than the stored date, then the date on the server is updated.
    • If the client’s date is older, a dialog comes up that tells the user to remove any cached data from their browser and reload the client.
  • Going to see if my DbObject code can be used for the version check dialog. Getting reacquainted with the code.
  • Got the example (written M 2011) running. Nothing in the server class folder but libraries. Kinda cool.

Phil 11.1.12

8:00 – 2:00 ESSO

  • We have our VizTool URN!
  • Looks like next week for Morpheus
  • Interview today?
  • Discovered a small bug today when deploying the new version. Although data tips for other items are able to use HTML, tips for pie charts don’t. Pulling out the offending code .
  • Talked to Dong about passing variables into SQL, and about creating some release builds to evaluate.
  • Burning a new disk

2:00 – 4:00 FP

  • More papers and HCC foundations

Phil 10.26.12

8:00 – 4:00 ESSO

  • Put in the paperwork for an URN
  • Pinged the Morpheus folks to see how we can integrate
  • Working on tracking down bugs and coloring lines
  • Discussed how to add SQL stored(?) procedures to VSS with Dong.
    • Need an editor to create and name scripts
    • Need some kind of macro substitution
    • Some of this is available in the dbObjects in JavaUtils and FGMUtils, using the classes that I wrote to create databases that map to Flex objects.
  • Fixed the bug that was crashing the column rendering in WidgetBase by adding a try/catch block and resetting the array of visibile columns. Not pretty, but it works.
  • Still trying to figure out how to change the color of a line. This seems to be the way: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7c52.html

Phil 9.7.12

8:00 – 3:00 ESSO

  • Backups
  • Deployed new versions of PPM and PA. With bonus fixes – go, Dong!
  • Made a new script that produced a table of users for the pre FY13 data for visualization
  • Deployed test GWT code on the integration server. Works with Firefox and IE7 including server access, so we’re good.
  • Helped Jessica with her pursuit of various roles.