PIX ArrayIndexOutofBoundsException#

So today I went to make some firewall updates for a client and the Cisco PDM wouldn't launch from the browser.

After some troubleshooting, I found that the Java VM was indicating an ArrayIndexOutofBoundsException had occurred.

After some checking around I confirmed my suspicion: Java sucks.  Just kidding, well not really, but what I really confirmed was that the PDM wouldn't work with any new version of Sun Java.  I guess I'm spoiled with .Net being backward compatible. 

Some suggested installing an old version of Java
http://java.sun.com/products/archive/j2se/1.4.2_03/index.html

But lucky for me I was able to just install Java 6 Update 15 and Java 6 Update 7 from Add/Remove programs and everything started working again.

It's totally true when people accuse MS of copying Java with the .NET framework, but they sure didn't make it suck like Java.

UPDATE: The version of Java that is working for me is Java 6 Update 6.  You can download it here:
http://java.sun.com/products/archive/j2se/6u6/index.html

Categories: Networking | Firewall
Friday, October 30, 2009 8:28:11 AM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Visual Studio type fly out windows in HTML#

I've been working on a project where I wanted to have a flyout window on the left just like how Visual Studio does their menus.

Maybe "slide out" is more accurate.

I used jQuery, which I am trying to use more in my projects, for the effects.

Anyway, I ended up making it a bit harder than it needed to be by having the tab itself slide out, as well as allow for multiple tabs.

At this point I'm happy enough to move on with a successful proof of concept, but I think if I were doing this from scratch again I wouldn't bother having the tab slide out as well.  I'd just show the sliding out window.

But, this should be a good starting point.

visualstudioflyoutmenus.htm (17.7 KB)

Update: And of course it completely fails in FF.

I made some changes, removed some things, tweaked others... looks ok in FF now.

visualstudioflyoutmenus2.htm (17.7 KB)

Categories: Programming | HTML | Javascript
Thursday, October 29, 2009 12:16:37 PM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Mozy May Suck... #

What the heck?  This ad does in fact go to Mozy.com.

 

Categories: Computers | Funny Stuff | Hardware | Misc
Sunday, October 18, 2009 5:07:04 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

Using XXCopy to clone and compress your files for backup#

You can use XXCOPY (www.xxcopy.com) to write simple backup scripts to copy your files to remote storage locations, but you can also use it to compress those files on the NTFS file system.

I have used /CLONE in the past because it's easy, but a side effect is that all the files will maintain their attributes when copied to the destination.  What this means is that if a file is not compressed at the source, it won't be compressed at the destination, even if you set the destination folder/drive to be compressed.

To solve this problem you just need to first set the compression attribute of the container of the location you are copying files too, and then use a switch to tell xxcopy to only set the "normal" attribute, which I belive sets the "A" attribute.  Either way, it works.

xxcopy E:\ /s /ASDC
xxcopy E:\ /s /AS:C
xXcopy D:\FolderRoot\*.* E:\FolderRoot /CLONE /YY /Z0 /KN 

The code here is backing up everything in D:\FolderRoot to the E: with compression.

The first step sets the E: to be a compressed drive (this will work for any folder, not just the root of the drive).

The second step sets all files in all folders to be compressed.  This is just to make sure that when this runs at night, no files are missed.

The last step copies all files from the folder we care about, and the /KN swtich allows the destination files to inherit the "C" (compression) attribute from the parent folder.

 

Categories: Misc
Wednesday, October 07, 2009 3:02:44 PM (Central Daylight Time, UTC-05:00) #    Comments [0]  | 

 

All content © 2010, Christopher May, Inc
Open Job Positions
On this page
Google Ads
This site
Calendar
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: