Jan 26, 2012

Can't Login to Administration Console with NetBeans 7.1 and GlassFish 3.1.1

Ok. This is really weird. This has happened on two different machines now.

Problem: You have just installed NetBeans 7.1 Java EE version on Windows 7 64 bit and you want to look at the Administration Console. You open a URL to localhost:4848. You are prompted for a user name and password. Nothing works.

For years the default login for GlassFish on NetBeans has been:
User: admin
Password: adminadmin

What gives?


Solution 3/10/12: This is a bug with Glashfish 3.1.1 and Java 7. Update to Glassfish 3.1.2 (included in NetBeans 7.1.1) and the admin console should work. Or if you need to use 3.1.1 for some reason, you can fall back to JDK 6. Either approach should work.

Jan 19, 2012

Starting a Small Internet Business

Internet IconFound this on the net today:

goop.com: Starting a Small Business

This is Gwyneth Paltrow's site which normally focuses on other subjects. Today's post includes lots of good advice from a number of Net companies on starting a small Internet business. The original story I found about this post seemed to be a skeptical about the merits of the source. However, it looks like great information to me, so I'm sharing. :)

Jan 18, 2012

Big eBook News From Apple Tommorrow?


According to this Ars Technica story, Apple is gonna announce some new eBook creation tool tomorrow. And GigaOm explains why eBooks are gonna be a big deal.

If the product is indeed announced, here is why that is a big deal. Right now there are very few eBook creation tools. Apple includes an ePub format tool with its Pages word processer, but that is the only eBook specific tool that I am aware of. Right now, most eBooks are just text, very plain like a paperback book. However, formats like ePub allow you to create much more interactive books closer to HTML pages than paperbacks. Thus, a tool for making these sort of book easier to write is gonna be a big deal. The paper book and text book industries are in for be changes methinks.

Jan 9, 2012

Collapse and Expand threads with Thunderbird

Firefox LogoHere is a quick Thunderbird tip. My inbox has been annoying me lately because I can't read collapsed threads. Did you know Thunderbird has keyboard shortcuts for expanding and collopasing threads? Me neither.

To expand all threads, click the astericks key (*). To collaps all threads hit the backslash key (\).

Jan 8, 2012

Java FX 2.0 Links (Updated)

Duke WavingHere is an updated list of Java FX 2.0 Links. I will keep updating the list as I find new information.


Java FX 2.0 Links

Jan 4, 2012

Set the Menu/Application/Interface Font Size for Firefox or Thunderbird on Mac OS X

Firefox LogoSome of my Macs have a very high screen resolution. Therefore the font size of the menus for Firefox and Thunderbird seems a little small. It turns out you can actually adjust the size of the application fonts in Firefox or Thunderbird using CSS.

To change the default fonts, edit the userChrome-example.css file. The trick is to find this freaking file. For Thunderbird, the file does not exist and you must create it from scratch. Things are easier for Firefox.

First, here is the CSS code you need to add to userChrome-example.css to change the default font.
* { font-size: 11pt !important; }

This sets the default font size for the interface to 11pt. Next you will need to create the file in the appropriate directory for each application.

Thunderbird
For Thunderbird, first find the Profiles directory.
/Users/YourUserName/Library/Thunderbird/Profiles/someRandomeString

In this directory:
  1. Create a chrome directory.
  2. Create userChrome-example.css in the chrome directory include the CSS code shown above

Firefox
For Firefox, the chrome directory already exists and actually includes some sample CSS files.

Your profile can be found in:
/Users/YourUserName/Library/Application Support/Firefox/Profiles/someRandomeString

Change into the chrome directory and create the userChrome-example.css file as described above.

That is it. With this code, the default font size for menu and other application text should now be set to 11 pts.

For details on modifying specific parts of the interface, check out this page: http://kb.mozillazine.org/Pane_and_menu_fonts

Jan 3, 2012

Library Folder Missing in Lion

OS X pictureI just noticed today that my Library folder was missing on Mac OS X Lion. The folder is located in /Users/YourUserNameHere/Library. The folder is still there, it just doesn't show up in finder. To unhide it, open a terminal window and type:

chflags nohidden ~/Library

You should now be able to see the folder in Finder again.

A more complete write up on the subject can be found on CNET:
CNET: Where did my Library go?