Thursday December 10, 2009
Insert Witty Irony Herevince kraemer's Weblog
All
|
5 in 5
|
Compile Time
|
Ease of Evolution
|
General
|
GlassFish
|
Gotchas
|
Java
|
Music
|
NetBeans
|
Sailfin
Updating the 'Bundled' v3 Instance on Mac OS X This entry is here to let folks that google for answers find one.
There is an issue that affects folks that are on Mac OS X, use NetBeans 6.8 and try to use the 'View Update Center' item on the GlassFish v3 domain that was installed and registered in the IDE automatically. The primary symptom of this issue is the following dialog box:
(2009-12-10 07:00:00.0) Permalink My contributions to International Talk Like a Pirate Day. (2009-09-19 22:09:11.0) Permalink This is really a 'they wish' (http://gop.gov), 'you get' (http://gop.org)
Here is a screen shot of the second one... just in case someone cleans up their DNS entries...
Before folks say I am totally biased... which I am... I also have to object to http://dems.gov. I think both of these dot-gov addresses have stretched the 'meaning' of the dot-gov TLD past the breaking point. The parties are dot-org entities. The respective caucuses in the two chambers are dot-org's, too. (2009-09-12 18:45:15.0) Permalink SIP Servlet Applications in Eclipse You can use Eclipse to implement almost any kind of Java project/archive, but the ability implement and supporting implementation are very different things. To get support for developing projects that leverage JSR-116 or JSR-289, you had to go out and get a particular vendor's developer SDK or customized Eclipse release. We recently extended the Glassfish Plugin for Eclipse to help make developing SIP Servlet Applications more accessible. After you install the the plugin or upgrade to version 1.0.31, you can leverage the following new features:
(2009-08-29 13:31:56.0) Permalink There has been support for registering instances of Sun GlassFish Communications Server, which is produced from the code written as part of Project SailFin for a long time in the our Eclipse Server Adapter. But, it has been hidden from users. Well, no more!
(2009-07-06 23:26:09.0) Permalink I had to go to the Seattle area yesterday. I was flying on short notice, but was able to score a really cheap fare on Virgin America... About $100, round trip. I got the usual e-mail reminder to confirm my reservation and seat assignment. I went to the site and noticed that I could upgrade to first for $50 for each segment. I upgrade both flights... It was worth it. I also recommend that folks look at the Virgin America web site. I think it is very usable.... The ad for GoGo in-flight internet service was mighty cute, too. It has an animated Richard Branson. I was traveling computer-free, so I skipped it... (2009-05-10 23:01:48.0) Permalink WebBeans, GlassFish v3 and NetBeans 6.7
A new jar appeared in the GlassFish v3 distro recently for WebBeans. Enterprise Java projects that target GlassFish v3 can start to use the APIs that are part of the jar.
You will need to use the new marker module or the command-line switch to enable the support for v3 in NetBeans 6.7. (2009-05-04 00:00:01.0) Permalink Comments [1] Using GlassFish v3 in NetBeans 6.7... now even easier I have described a magic flag that allows folks to register GlassFish v3 builds in NetBeans 6.7. Some folks have been using this flag and demonstrating the power of Java EE 6. Others have asked for an easier way to activate the functionality. So, I got off my good intentions and implemented a marker module that lets the user activate the functionality. The module is available in the 'Dev' update center, today.
After you install the plugin, 'GlassFish v3 Enabler', the IDE will restart and you will be able to work with v3 as I described earlier. (2009-05-03 00:01:00.0) Permalink Debug usability improvement for v3 servers Sometimes, it is easy to be blind to an obvious use-case. In this case, I had gotten so 'trained' to Debug a project, that I completely forgotten about how hard it is to attach the debugger to the server when the user does a 'Start in Debug Mode'. Luckily, someone made it clear and I was able to make the situation a bit better, by exposing a new Server property for servers based on the GlassFish v3 code.
The property, Address to use, starts off undefined. The first time you debug a project or start the server in debug mode, the port is selected, if you haven't defined it already. After the value is set, it remains constant unless you...
While I was working on this, I discovered something that surprised me. If you start the JPDA debugger with a bogus address (when you are using the socket transport), the JVM and debugger will start. A random port is selected and you can proceed. I like interfaces that are forgiving and try to succeed where I have failed. I was pretty excited about this at first, but soon realized that I could not leverage this 'forgiveness' in the IDE. Oh, well. (2009-05-01 12:39:53.0) Permalink SIP Application Development and 6.7 I recently tried to load the SIP Application development support modules into a recent 6.7 build and there were some modules that would not load. There is an issue tracker entry with the gory details for the curious. The problem was easy to track down, so I have updated the SailFin build to create modules that can be loaded into 6.7. To get the updated modules, you should follow these directions. (2009-04-22 11:57:54.0) Permalink Comments [2] I switched to Google WiFi in Mountain View, CA as my ISP nearly two years ago. The speed was decent. The selling point for me was the fact that the upload and download speeds were comparable. Oh... and FREE did not hurt either. I have been happy with it for nearly two years... AND THEN... It started to go faster for downloads. I am currently getting about 1900 Kb/s download and 950 Kb/s upload. The new upload speed is double what I had been averaging. The upload speed is about 30% faster, too. (2009-04-12 13:49:46.0) Permalink Comments [1] Now Compatible! NetBeans and JDK 6 Update 12 We ran into an embarrassing spat of issues when JDK 6 Update 12 was released. Some sloppy coding practices that had not been causing issues with earlier JDK releases came up and bit us. Ouch! A lot of folks got the wake-up call and scrambled to address the problems... and have helped roll a new release of NetBeans... 6.5.1. Once you download this new release, you should be able to use JDK 6 update 12 and NetBeans together. (2009-03-16 10:01:53.0) Permalink Comments [5] I have seen a number of reports of this exception...
java.lang.IllegalStateException: Common server instance not found for [/opt/glassfish-v3-prelude-b28c/glassfish]deployer:gfv3:localhost:8080
at org.netbeans.modules.glassfish.javaee.Hk2DeploymentManager.getServerInstance(Hk2DeploymentManager.java:476)
at org.netbeans.modules.glassfish.javaee.Hk2StartServer.getCommonServerSupport(Hk2StartServer.java:106)
at org.netbeans.modules.glassfish.javaee.Hk2StartServer.isRunning(Hk2StartServer.java:239)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance$3.run(ServerInstance.java:794)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Many of them appear to be because the code that imports/upgrades the userdir from 6.5 to 6.7 misses a very important subdirectory, .netbeans/conf/GlassFish. I fixed the issue in the code, so it should be available in nightly builds of NetBeans 6.7 soon. If you run into the exception with builds younger than 7 March 2009, please let me know. (2009-03-06 20:13:13.0) Permalink Every now and then, you look back at 'What did I do today?' and the answer is mighty depressing. Today was not one of those days for me. For my accomplishments today, I:
I wish that I had been able to work a bug fix into the mix today, but that did not happen. Maybe Monday. (2009-03-06 20:01:02.0) Permalink Development builds get GlassFish v2.1 bundled GlassFish v2.1 has been out for a little while and is now part of the development build bundles. If you are using NetBeans 6.5, you can register a GlassFish v2.1 instance and it should work, but it is not a support combination. I may be able to slip a fix or two into the 6.5 patch releases, if folks run into a serious problem though... (2009-02-20 12:01:42.0) Permalink |
Calendar
RSS Feeds
All /5 in 5 /Compile Time /Ease of Evolution /General /GlassFish /Gotchas /Java /Music /NetBeans /Sailfin About Me![]() Short Bio SearchLinks
Navigation
ReferersToday's Page Hits: 202 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||