Friday January 11, 2008
Insert Witty Irony Herevince kraemer's Weblog
All
|
5 in 5
|
Compile Time
|
Ease of Evolution
|
General
|
GlassFish
|
Gotchas
|
Java
|
Music
|
NetBeans
Cannot edit entries on the GlassFish wiki? You may run into this message when you try to edit a page on the GlassFish project wiki site: Forbidden Sorry, but you are not allowed to do that. Usually we block access to something because you do not have the correct privileges (e.g., read, edit, comment) for the page you are looking for. In this particular case, it is likely that you are not listed in the page’s access control list or that your privileges aren’t high enough (you want to edit, but ACL only allows ‘read’). It is also possible that JSPWiki cannot find its security policy, or that the policy is not configured correctly. Either of these cases would cause JSPWiki to block access, too. Better luck next time. You may ask, "Why can't I add or edit a page on the Glassfish wiki site after I have logged in?" Due to spamming and wiki vandals, the folks in the GlassFish project have added an extra step to the authoring process. You may ask, "How do I get permission to add and edit pages on the GlassFish wiki site?" It is explained in a FAQ entry. I hope this entry will provide you with "Better luck next time." (2008-01-11 09:39:14.0) Permalink I found this message about SIP in my reader today. If you are thinking about doing SIP application development, you might want to look at the capabilities that we are adding to NetBeans to develop SIP Applications and the Sailfin project. (2007-12-31 10:43:15.0) Permalink Monkeying with the GlassFish Issue Tracker I am a Firefox user but have never really gotten into customizing it with add-ons. That changed a couple days ago, when I came up with a punk hack that I wanted to enable on Google search result pages. I started to look at Firefox add-ons that might already perform my hack... which would kind of ruin the fun of implementing it... or help me implement it. One of the add-ons that I found was Greasemonkey. It doesn't perform my hack, but it has allowed lots of people to implement customizations of web-pages that are similar to what I want to do. I installed it and started to look for scripts that would teach me how to monkey-around. I found this script by Jesse Glick that modifies the page title for Issuezilla entries. Direct link to Jesse's actual script. If you have Greasemonkey installed clicking the link to Jesse's script will ask you if you would like to install it. I read through the script and took it for a testdrive... and I liked it. Then I remembered that the NetBeans Issuezilla is hosted by the same folks that host the Issue Tracker for the GlassFish community. So, I decided to try an experiment.
I opened the Greasemonkey Manage User Scripts... dialog and saw this.
I used the Add... button to update the Included Pages list to look like this.
I went to Java.net and logged in and went to look for some GlassFish issues that I need to VERIFY. I have been very lazy about that...
When I clicked on a link to see the details on an issue, this is what my Window title looked like.
Then, I figured I would share this with folks in the GlassFish community.
And now, I am done
All good things come to an end.... Many of you know that NetBeans 5.5 provides an excellent development environment for Java EE 5 code to deploy on the application servers based on the GlassFish Project codebase for V1 U1, like Sun Java System Application Server 9.0 Update 1 Patch 1. Many of you have also been taking advantage of the happy accident that the plugin for V1 U1 was also capable of targeting V2 domains. Slowly but surely, that happy accidental compatability has erroded away. NetBeans 5.5 users have lost the ability to use NetBeans 5.5 as a development environment for apps that they want to target to recent V2 builds. But all is not lost. NetBeans 5.5.1 is the SLR to NetBeans 5.5's 300 SL. One of the release drivers for NetBeans 5.5.1 is support for application servers based on the GlassFish Project codebase for V2. Very few changes are getting rolled into the NetBeans 5.5.1 codebase, so builds are functional and very stable. But, it could use more testing because the GF V2 codebase is still in motion. (2007-01-11 15:52:17.0) Permalink Comments [1] You know what this project needs.... A Theme Song! That's right; a theme song. Here is my proposal for how this would work.
First we open an Issue tracker entry, that is the central catalog for the proposed songs...
For folks like me with WAY TOO MUCH TIME on their hands, we could even have a second contest to select new lyrics, sung "to the tune of" the selected song. This is sort of like the NetBeans theme song. Note: Linux has at least TWO... (2006-05-26 14:30:06.0) Permalink Deploying Liferay : Teaser 1 I intend to write an entry about deploying Liferay onto Sun Java System Application Server Platform Edition 9 using the archive project module for NetBeans 5.5 IDE. It isn't ready yet. I have run into an issue that has vexed a number of other folks:
Error reading configuration for portal: The base properties file was not found I was able to get around this issue by extracting the portal.properties file out of the EAR file and placing it into domain1's lib/classes folder. This folder is part of the domain's classpath. I know that this won't help folks on "other servers" directly. I hope that folks are able to translate this into a work-around that is applicable to their environment. (2006-05-20 08:54:08.0) Permalink Access Log in "real-time" I noticed a thread about delayed updates to the access log for an instance of the app server built by the GlassFish Project. The user expected the access log to update in real time. In other words, they expected to access a web page and see that access reflected in the access log immediately. When it wasn't, they were concerned. I found a work-around, that exposed a bug.... But that is a different story.... The news that you can use is in the bug report though. The lag between a web page being accessed and that access being reflected in the access log is controlled by two properties: accessLogBufferSize and accessLogWriteInterval. You can read about them. Making the values of these properties small will decrease the lag between when a user accesses a web page and when that access appears in the servers access log. It may well slow your server down, too, so you have been forwarned... You may be able to leverage the self-management features of the GlassFish project's implementation of Java EE 5 to remember to crank up these values (and increase your applications performance "automagically"). That is an entry for another day/author, though. UPDATE: One of the evaluators provides information about the access log rotation algorithm that is used by the app server implemented by the GlassFish project. After you read it you will realize why the log hardly ever rotates if you change the rotation suffix to YYYY... (2006-04-05 11:48:23.0) Permalink Comments [1] BIRT and GlassFish b41 The BIRT project includes a web application for displaying reports. After some fits and starts, folks have been able to get it working on GlassFish. While folks were able to get it working, I did not like the "solution". I spent a bit of time with BIRT 2.0.1 and build 41 to see if I could get a better solution.
I have been able to deploy 2.0.1 on GlassFish build 41, by following the instructions for JBoss, with a couple small changes:
After doing this, I was able to view the "installation report" and the "more complex report". (2006-03-25 17:06:21.0) Permalink Comments [4] AppFuse and Build 40 This is just a quick note, to let people know that AppFuse 1.9 (Struts/Spring/Hibernate configuration) is working with build 40. Folks will be pleased to note that disabling the security manager made many of the steps I outlined unnecessary. I am working on entries that provide more details. Look for them in the next couple of days. (2006-03-11 15:19:31.0) Permalink Forum posting regarding Adobe's Flex 2.0 Beta on SJSAS 8 Around 1 Feb 2006, folks at Adobe released the Flex 2.0 beta. Since there was a web app associated with it, I decided to try to deploy it to GlassFish. I wasn't too successful and "real work" diverted my attention from getting Flex 2.0 functional. I was able to share some tips with another Beta tester who was able to make more progress according to this thread. (2006-03-08 00:34:47.0) Permalink Autodeploy classes at your own risk... I have noticed a number of people having issues with using autodeploy. I think they may be following the "advice" of entries/articles like this or this. Extending the methodology espoused by these entries hasn't been well tested. It is a great trick for demos and examples, but it doesn't scale. You may want to read through this book for more details about the numerous deployment strategies that are supported by application servers, based on the GlassFish Project's code-base. This section is particularly important. The autodeploy mechanism is designed to work with archive files. (2006-03-03 20:46:11.0) Permalink Top of the Pops in Santa Clara; Empathy for Developers Sorry, Mick, Keith, Brian, Bill, and Charlie. I could not resist. A number of people have run into issues deploying and running applications on GlassFish, due to the security manager. You can read some of the stories by clicking on the linked blogs and articles that you can find here. Well, those GlassFish hatchery workers (oft times known as software engineers in other parts of the world) have seen the pains that the security manager has wrought on developers. Since the goal of Java EE 5 is 'Ease of Development', they have decided to use a null default security manager... This will make deployment and execution of applications that use many popular frameworks MUCH easier. Petr Blaha also discovered another benefit of running the application server without the security manager. As Ludo commented, look for the this important EOD change in promoted build 39, which is coming soon. (2006-03-01 08:36:45.0) Permalink Comments [2] Custom client policies for JWS App Clients I noticed this thread in the GlassFish forums, this moring. I am sure that Tim will blog about this in greater detail, but this thread has a quick preview for the impatient. (2006-02-08 10:14:55.0) Permalink Good news for WebWork users One of my co-workers has been able to deploy a large app built on WebWork to GlassFish. He ran into some security policy issues during deployment and testing. His blog entry has the details. (2006-02-08 08:25:10.0) Permalink News for AppFuse-rs I had posted a quick note about using Equinox on GlassFish. Matt Raible saw it and figured that AppFuse should work, too. I think it will soon, but not today. A couple other folks appear to have run into an issue in GlassFish related to the use of Acegi. Once the issue is resolved, I will write up an entry about integrating AppFuse into the GlassFish environment (which includes the Derby database). (2006-02-06 17:16:34.0) Permalink |
Calendar
RSS Feeds
All /5 in 5 /Compile Time /Ease of Evolution /General /GlassFish /Gotchas /Java /Music /NetBeans About Me![]() Short Bio SearchLinks
Navigation
ReferersToday's Page Hits: 401 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||