What it looks like when someone tries to break into your car

2-Sep-2014

Views 66 

I had a good, productive day at work, was working from home, so didn’t have to drive anywhere, but in the evening I needed something out of my car. I went downstairs in the building that I live in and this was what I found. The passenger side quarter window was smashed in. There was glass all around, on the floor. It didn’t look good.

CIMG5544.JPG

CIMG5543.JPG

[Read More and Comment]


Posted on Tue Sep 2 09:58:52 2014 in Misc


Fitting a SATA USB 3.0 HDD enclosure into the modified SGI Octane case

1-Sep-2014

Views 50 

Now that the HDD enclosure arrived, I could continue the modding of the Octane case. This case is going to hold the HDD enclosure only, no computer components, its sole purpose is to be a complement to the other Octane that I modified that I use as my home server.

I went for a cheap USB 3.0 enclosure that could hold 4x drives. I wanted something basic that I could easily take apart and fit into the Octane. This is what I found…’CFI 4 Bay SATA HDD Enterprise Storage Enclosure USB 3.0 (B7843JU) DAS for Server‘ as listed on eBay for $99. Cheap, but exactly what I was after as it seemed to have an easily removable casing.

CIMG5502.JPG CIMG5503.JPG

CIMG5504.JPG CIMG5505.JPG

It took some time to disassemble, mostly to it’s jigsaw puzzle like design that required a certain order of disassembly. In the end, I had all of the components separated out and ready for test fitting inside the Octane.

[Read More and Comment]


Posted on Mon Sep 1 16:20:17 2014 in DIY, Electronics, Modding, SGI


A low-tech fix to the traffic cam ‘green reflection’ problem

29-Aug-2014

Views 111 

For a long time, I could not figure out what that green reflection was on the traffic cam at night, nor could I get rid of it, until recently. I was talking to a friend of mine, and something so simple hit us, it was the light on the camera causing the green glow! I was dumbfounded, but could not fix it right away as I was interstate. I finally tried it tonight and lo and behold, the camera light was the culprit.

This was the green glow/reflection on night time captures:

wc2.jpg

After the ‘fix’, the glow is no more!

wc.jpg

[Read More and Comment]


Posted on Fri Aug 29 22:29:42 2014 in DIY, Webcam


JDeveloper 11g to 12c ADF Application migration causes deployments to fail with a ClassNotFoundException

26-Aug-2014

Views 161 

I’ve been porting an older ADF 11g application to ADF 12c and used JDeveloper to do the migration for me, after a bit of code tweaking I tried to deploy the app only to find that it was failing with the java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.TrinidadConverterELTag error. It took some time to find the culprit, so I’ve decided to share the fix.

The error looks like this:

 JDeveloper 12c Deployment Output
[02:24:33 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application XXX on adf_server.: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.TrinidadConverterELTag.
[02:24:33 PM] weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.TrinidadConverterELTag
[02:24:33 PM] Deployment cancelled.
[02:24:33 PM] ----  Deployment incomplete  ----.
[02:24:33 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

The obvious issues to check here are:

  • ADF installed in the WebLogic server
  • ADF libraries correctly targeted for the server instance being deployed to
  • weblogic-application.xml has a reference to the oracle.adf.domain shared library

In my case, all of the above were OK, so the issue was somewhere else.

[Read More and Comment]


Posted on Tue Aug 26 14:33:21 2014 in Programming, Oracle, ADF, JDeveloper, Tips


 

Break a OS X software RAID-1 up into individual disk volumes

22-Aug-2014

Views 182 

I’ve been running two software RAID-1 arrays on my OS X Lion Server for quite some time for backup and data storage purposes. At the time, I went for software RAID so that I didn’t have to rely on any particular hardware. This worked great for me, but I’ve been thinking more and more that for my purposes, I did not need a RAID-1 array, what I needed was a separate, stand-alone offline mirror of my drives. This required me to break the RAID-1 arrays up into their individual volumes, this is how I did it.

I’ve already done my ‘work’ and ‘backup’ RAID sets, the last and the largest was the ‘data’ set. In Disk Utility, this is what it looked like. Two 2Tb disks.

raidrm1.png

Note: At this point, I did a full back up of the data, just in case something went wrong. I’d advise the same if you are going to try this.

[Read More and Comment]


Posted on Fri Aug 22 08:41:13 2014 in Apple, Tips, OS X


 

SoapUI taking a long time to establish a connection

21-Aug-2014

Views 196 

Some of the recent work I’ve been doing required the use of SoapUI to do some basic load testing. When I first started this, every request I tried sending to the server was taking 30+ seconds to complete. This really stumped me because another, pretty much identical environment would respond immediately. I’ve finally tracked down the issue to DNS.

The environment I was trying to access was rarely used via SoapUI, so naturally I did not bother configuring its IP and hostname in the /etc/hosts file. So I simply used the IP address for the web service endpoint I was accessing and thought that should be sufficient. It turns out, however, that SoapUI tries to do a DNS lookup on the IP address and as this was an internal address, the network name server would not respond for a long time. This is where the delay was coming from.

The solution was to add the IP address to the hosts file. The hostname doesn’t actually matter in this case, it can be anything. Once this is done, SoapUI started establishing connections to the server instantly.

[Read More and Comment]


Posted on Thu Aug 21 09:07:27 2014 in Programming, Tips, OS X