<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Days of ... (java)</title><link>http://blog.yellowbluebus.com</link><description>Useful technology stuff</description><lastBuildDate>Wed, 03 Jul 2013 12:03:00 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>The case of missing JNDI branches</title><link>http://blog.yellowbluebus.com/posts/wordpress20111120the-case-of-missing-jndi-branches.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I’ve got a complaint from one of the developers: the JMS resources, defined in his local instance of Weblogic server, are defined correctly, but he can’t use them from the application he developing – the names are not present in JNDI tree. The problem is that in our environment the same scripts are used to create all Weblogic instances, from local development through production.&lt;/p&gt;  &lt;p&gt;Quick look through Weblogic Console JNDI browser confirmed that the JMS resources are not in the tree. I took a look for exceptions or errors in the log files – everything looks ok, the logs are clean. Then I tried to change one of the parameters of the JMS resources and then Weblogic complained with the message saying that JMS resource is not yet started. And in the console it looks like it started ok.&lt;/p&gt;  &lt;p&gt;Then I took a look at the Git logs of the recent changes for this type of the Weblogic domain and the only change was an introduction of the JDBCStores for JMS resources. But where are local development machines are pointed to? Is it local Oracle XE database? No, they are pointed to the shared database, used by other environment. This is clearly wrong! I don’t think that JDBCStore implementation is smart enough to recognise that connections are coming from different domains. So I removed JDBCStore usage from development domain and restarted it – voila, JMS resources are now in JNDI tree!&lt;/p&gt;  &lt;p&gt;So Weblogic was misconfigured, but was silently ignoring the fact that it can not recognise data from JDBCStore and manifested it through JNDI tree. How weird!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20111120the-case-of-missing-jndi-branches.html</guid><pubDate>Sun, 20 Nov 2011 22:02:42 GMT</pubDate></item><item><title>VMWare DHCP service wont’start - SOLVED</title><link>http://blog.yellowbluebus.com/posts/wordpress20090508vmware-dhcp-service-wontstart-solved.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I use VMWare to run a bunch of different Linux VMs on my home PC, which is running Vista SP1. Today I encountered strange thing: Linux VM won’t get an IP address from VMWare DHCP. I’ve opened VMWare Virtual Networks management console (as Administrator, of course, or it won’t let you make and save any changes) just to find out that DHCP service is not started. I tried to start it from there, but it failed to do so.&lt;/p&gt;  &lt;p&gt;So I went to Vista Services console and tried to start “VMWare DHCP service from there”. Again, failed to start with no explanation, even cryptic one. So I went to Windows Events viewer and there, under Windows Logs-System, I found a lot of messages from VMNetDHCP:&lt;/p&gt; &lt;span lang="RU"&gt;   &lt;blockquote&gt;     &lt;p&gt;The description for Event ID 2 from source VMnetDHCP cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.&lt;/p&gt;      &lt;p&gt;If the event originated on another computer, the display information had to be saved with the event.&lt;/p&gt;      &lt;p&gt;The following information was included with the event: &lt;/p&gt;      &lt;p&gt;Can't open C:ProgramDataVMwarevmnetdhcp.conf: Access is denied.&lt;/p&gt;      &lt;p&gt;/ The data is invalid&lt;/p&gt;      &lt;p&gt;the message resource is present but the message is not found in the string/message table&lt;/p&gt;   &lt;/blockquote&gt;    &lt;p&gt;Though the message says that the message is not found, it has enough information to fix the problem. &lt;/p&gt; So, I’ve taken a look at the security properties for C:ProgramDataVMWare folder and found that SYSTEM account somehow is not in a list of permitted users. The only account, who was permitted to access that folder, was my Windows user account. So I added SYSTEM account with all permissions to this folder, waited when Windows propagated my change to all files and tried to start VMWare DHCP service again. It worked!&lt;/span&gt;  &lt;p&gt;Then I simply restarted network within Linux VM (sudo /etc/init.d/networking restart) and got back to work.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20090508vmware-dhcp-service-wontstart-solved.html</guid><pubDate>Fri, 08 May 2009 12:43:22 GMT</pubDate></item><item><title>JBOSS Seam 2.1.1GA on JBOSS AS 5.0.1GA: Table is not mapped</title><link>http://blog.yellowbluebus.com/posts/wordpress20090507jboss-seam-211ga-on-jboss-as-501ga-table-is-not-mapped.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I created sample JBOSS Seam project in Eclipse and decided to generate entity code from  existing database. It worked fine, but when I try to run it, it shows me that Hibernade is not able to map entity beans to the corresponding tables. The error message is like this:&lt;/p&gt;  &lt;p&gt;&lt;span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: 13px arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"&gt;&lt;span style="border-collapse: collapse; font-family: arial; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span"&gt;org.hibernate.hql.ast.QuerySyntaxException: &amp;lt;your table&amp;gt; is not mapped&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;I spent around three hours trying to read all available information on it, but most of it just useless – it looks like people don’t know whats happening, so they recommend bizarre tricks. Like, for example, having empry seam.settings file in each folder, meh.&lt;/p&gt;  &lt;p&gt;Finally, I found the solution in Seam Jira: &lt;a href="https://jira.jboss.org/jira/browse/JBSEAM-3821"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;https://jira.jboss.org/jira/browse/JBSEAM-3821&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;They rocemmend to to force Hibernate to use Seam’s EntityManager by changing two files:&lt;/p&gt;    &lt;p&gt;1. components.xml&lt;/p&gt; &lt;blockquote&gt;     &lt;br&gt;    &amp;lt;persistence:entity-manager-factory name="bookingDatabase" installed="false"/&amp;gt;      &lt;br&gt;    &amp;lt;!-- If Seam loads the persistence unit (JBoss 4.x), the EntityManagerFactory will be resolved from #{bookingDatabase}.      &lt;br&gt;         On JBoss AS 5, the EntityManagerFactory is retrieved from JNDI (the binding occurs during application deployment). --&amp;gt;      &lt;br&gt;    &amp;lt;persistence:managed-persistence-context name="em" auto-create="true"      &lt;br&gt;       entity-manager-factory="#{bookingDatabase}" persistence-unit-jndi-name="java:/bookingEntityManagerFactory"/&amp;gt; &lt;/blockquote&gt;    &lt;p&gt;2. persistence.xml&lt;/p&gt; &lt;blockquote&gt;     &lt;br&gt; &amp;lt;!-- Binds the EntityManagerFactory to JNDI where Seam can look it up.      &lt;br&gt;              This is only relevant when the container automatically loads the persistence unit, as is the case in JBoss AS 5. --&amp;gt;      &lt;br&gt;         &amp;lt;property name="jboss.entity.manager.factory.jndi.name" value="java:/bookingEntityManagerFactory"/&amp;gt; &lt;/blockquote&gt;    &lt;p&gt;Hope that Google will find that page and the proper solution would be much more easily found!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20090507jboss-seam-211ga-on-jboss-as-501ga-table-is-not-mapped.html</guid><pubDate>Thu, 07 May 2009 18:37:46 GMT</pubDate></item><item><title>Trying Team Concert build system</title><link>http://blog.yellowbluebus.com/posts/wordpress20081028trying-team-concert-build-system.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;After yesterday’s success in installation of Team Concert, I went through the “Do and Learn” tutorial. The amount of new information and, especially, new views in IDE, is overwhelming! Though the tutorial tries its best to guide through sample project, it would take my time to digest the information. So far, I managed to get through it, but have been stuck on building my HelloWorld application.&lt;/p&gt;  &lt;p&gt;The problem is that freshly created build engine, named “HelloWorldEngine”, telling me that Jazz Build Engine is not yet connected to repository. But in another window jbe.exe process is connected and waiting for builds. &lt;/p&gt;  &lt;p&gt;I restarted jbe with –verbose parameter to see what it does, but this resulted in only one additional line to be displayed: “2008-10-28 12:16:42 [Jazz build engine] Not using a proxy to reach &lt;a href="https://localhost:9443/jazz/"&gt;https://localhost:9443/jazz/&lt;/a&gt;” I would expect it to be more verbose that that. Perhaps it needs to tell me something more about which build engine id it tries to use…&lt;/p&gt;  &lt;p&gt;And build engine id is exactly my problem here. By default jbe is going to use “default” build engine, not my “HelloWorldEngine”. There is parameter, which is not mentioned in tutorial, but mentioned if you try to run jbe.exe: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;-engineId &amp;lt;engine id&amp;gt;   (engine id of a build engine defined in the Jazz repository, default is "default")&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Once I started jbe with proper parameter – my build was fired off.&lt;/p&gt;  &lt;p&gt;And first one was a failure:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;com.ibm.team.build.internal.engine.InvalidPropertyValueException: CRRTC3512E: The location "C:javajazzbuildsystembuildengineeclipsefetchedScrumProjectbuild.xml" referenced by property "com.ibm.team.build.ant.buildFile" does not exist.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt; This is because I named Team Concert project “ScrumProject”, but in Java perspective I followed HelloWorld cue card and named my Java project “HelloWorld”. The build system was puzzled to find it. Team Concert Tutorial says this:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;13. In the Build file field, type the following path: &lt;kbd&gt;fetched/projectname/build.xml&lt;/kbd&gt;, where &lt;kbd&gt;projectname&lt;/kbd&gt; is the name of your Jazz project.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;This is not exactly the truth. This should have the name of my Java project. &lt;/p&gt;  &lt;p&gt;So I went and fixed the project name in Ant tab. Requested the build and, voila, it builds!&lt;/p&gt;  &lt;p&gt;Now its time to create new project, which will do something bigger, than printing “Hello, World!”&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20081028trying-team-concert-build-system.html</guid><pubDate>Tue, 28 Oct 2008 12:30:55 GMT</pubDate></item><item><title>Trying Rational Team Concert</title><link>http://blog.yellowbluebus.com/posts/wordpress20081027trying-rational-team-concert.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="margin: 1em; display: block; float: right" class="zemanta-img"&gt;&lt;a href="http://www.crunchbase.com/company/ibm"&gt;&lt;img style="border-bottom-style: none; border-right-style: none; display: block; border-top-style: none; border-left-style: none" alt="Image representing IBM as depicted in CrunchBase" src="http://www.crunchbase.com/assets/images/resized/0002/1370/21370v1-max-250x250.png"&gt;&lt;/a&gt;     &lt;p style="font-size: 0.8em" class="zemanta-img-attribution"&gt;Image via &lt;a href="http://www.crunchbase.com/"&gt;CrunchBase&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;After rave reviews from my coworkers, who seen the IBM presentation, I decided to give it a try on my local machine. As it usually happens with IBM beta software, the expectancy of it working is close to zero. Let’s give it a try this time, could it be better?&lt;/p&gt;  &lt;p&gt;First, I headed to &lt;a href="http://jazz.net/"&gt;http://jazz.net/&lt;/a&gt; to download software. The server, obviously, managed by IBM marketing department, requires to register. Usual IBM ID is not supported, so I had to give IBM my email once again. &lt;/p&gt;  &lt;p&gt;Since I only need a software for basic trial, I decided not to download version, which supports DB2 and Oracle databases. There is no support for MySQL either, but at least they promise to include Derby in setup package. So I pointed that I want Windows installation and found that download size is about 400Mb, and there is no IBM Download Manager (which I hate) to be seen. &lt;/p&gt;  &lt;p&gt;So I downloaded and unpacked everything to my hard drive. I am on Windows and Windows users are used to find setup.exe, which does installation of the software for you. There is no such thing here: only install_express_c.html file, which describes step by step installation procedure for both Windows and Linux. Why Linux if I specifically stated that I want Windows installation?&lt;/p&gt;  &lt;p&gt;First step says that I have to navigate to Tomcat’s folder and then run &lt;tt&gt;server.startup.bat&lt;/tt&gt; file. There is no such file! The actual file named startup.bat. So I executed it, new command line window popped out and it is full of exceptions. Something about IbmX509 KeyStoreManager is nowhere to be found. Of course it can not be found because I am not running IBM JVM! What kind of assumption is to expect that everybody in the world are on IBM JVM, huh? I had to dig into Tomcat’s server.xml to set it to use Sun’s X509 keymanager (simply open tomcat/conf/server.xml, find IbmX509 and replace it with SunX509).&lt;/p&gt;  &lt;p&gt;After quick restart Tomcat is happy and I can open, according to instructions, Jazz setup screen, which is a web application running within Tomcat. The setup has two options: “Fast Path” and “Custom setup”. I’ve chosen Fast Path because I am happy with the defaults, whatever they are. Click on “Fast Path” gets me to “Setup User Registry” screen, which has “A problem occurred while loading User Registry settings.” error message displayed. Hmm… Let’s head back to installation guide:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The default user name and password are case-sensitive: &lt;/p&gt;    &lt;ul&gt;&lt;li&gt;The user name is ADMIN. &lt;/li&gt;      &lt;li&gt;The password is ADMIN. &lt;/li&gt;   &lt;/ul&gt;&lt;p&gt;If you configured the LDAP directory Web container, log in with a JazzAdmin user that is defined in your LDAP directory.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;What? I have to configure LDAP directory Web container first? This is first time it mentioned in this “guide”! How do I do that? There is no answer.&lt;/p&gt;  &lt;p&gt;Ok, Fast Path is broken, so let’s try Custom setup. Click. “Loading Database Connection settings…” No progress here as well. Nothing about such problems in tomcat logs, nothing in server troubleshooting section of installation guide.&lt;/p&gt;  &lt;p&gt;So there is no Rational Team Concert for me for now. Would I recommend it for use on my next project?  &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Decided to dig around filesystem, looking for something useful like logs and other batch files. Found some logs in Tomcat cache folders (tomcat/work/Catalina/localhost) with the ClassNotFound messages. Found jars, containing missing class and added it to CLASSPATH. No help.&lt;/p&gt;  &lt;p&gt;Then found mentioned above server.startup.bat and tried to run it. Now it complained about SunX509 KeyManager, so I returned the IbmX509 KeyManager back. Still no help progressing with Jazz Setup…&lt;/p&gt;  &lt;p&gt;And then I decided to run repotools.bat – just in case the repository got corrupted or something. Execited it with parameter –createTables, it done something with something. &lt;/p&gt;  &lt;p&gt;Tried Jass Setup page again and now it worked! Whoa! &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20081027trying-rational-team-concert.html</guid><pubDate>Mon, 27 Oct 2008 10:27:06 GMT</pubDate></item><item><title>How to get rid of .svn folders</title><link>http://blog.yellowbluebus.com/posts/wordpress20071003how-to-get-rid-of-svn-folders.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Use Ant!&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;delete includeemptydirs="true" &amp;gt;&lt;br&gt;
    &amp;lt;fileset dir="${checkout.dir}" defaultexcludes="false" &amp;gt;&lt;br&gt;
        &amp;lt;include name="**/.svn/" /&amp;gt;&lt;br&gt;
    &amp;lt;/fileset&amp;gt;&lt;br&gt;
&amp;lt;/delete&amp;gt;  &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20071003how-to-get-rid-of-svn-folders.html</guid><pubDate>Wed, 03 Oct 2007 14:16:04 GMT</pubDate></item><item><title>Faces component: Table with subtotals</title><link>http://blog.yellowbluebus.com/posts/wordpress20070309faces-component-table-with-subtotals.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I tried to search all over the web for a Java Faces component, which will do a simple thing: totals and subtotals. And I failed. It seems that whole web is about how much more AJAX you could put everywhere, not how more useful your product could be for average user.&lt;/p&gt;
&lt;p&gt;It could be done through a facet tag, which is obvious. &lt;/p&gt;
&lt;p&gt;I think about that as competitive advantage for myself. If nobody done it - I should do it and be recognised for it!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20070309faces-component-table-with-subtotals.html</guid><pubDate>Fri, 09 Mar 2007 08:44:11 GMT</pubDate></item><item><title>Axis 1.x or Axis2?</title><link>http://blog.yellowbluebus.com/posts/wordpress20060926filenet-does-xslt-2.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;This &lt;a href="http://atmanes.blogspot.com/2006/08/axis-1x-or-axis2.html"&gt;blog post&lt;/a&gt; answers the questions about which version of Axis framework developers should use and also gives a short story about Axis development history. Short and must read.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20060926filenet-does-xslt-2.html</guid><pubDate>Tue, 26 Sep 2006 12:26:33 GMT</pubDate></item><item><title>Security in JSF apps</title><link>http://blog.yellowbluebus.com/posts/wordpress20060726security-in-jsf-apps.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Java Developer's Journal published a &lt;a href="http://java.sys-con.com/read/250254.htm"&gt;very good article&lt;/a&gt; on security issues in JSF applications. The article consists of three pages. Two first pages provide the neccessary background information with the possible solution. The third page looks like the editors decided not to publish more details and just finish that article as fast as possible. And source code attachment does not work either.&lt;/p&gt;
&lt;p&gt;Another link to check is &lt;a href="http://jsf-security.sourceforge.net/"&gt;JSF security project&lt;/a&gt; on Sourceforge&lt;/p&gt;
&lt;!--adsense#links--&gt;

&lt;p&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20060726security-in-jsf-apps.html</guid><pubDate>Wed, 26 Jul 2006 08:35:58 GMT</pubDate></item><item><title>Filenet does exception handling - 2</title><link>http://blog.yellowbluebus.com/posts/wordpress20060214filenet-does-exception-handling-2.html</link><description>&lt;html&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Week ago I wrote about &lt;a href="http://softarch.blogspot.com/2006/02/this-is-how-exceptions-are-handled.html"&gt;unusual way of handling exceptions in Filenet Workplace&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Today I found another "gem":&lt;/p&gt;
&lt;p&gt;[java]
           try
           {
               invokeNamedEvent(eventName, uiModule, request, new WcmEventResponse(response, this, okToRedirect));&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre&gt;           &lt;span class="c1"&gt;// If a non-null return value was returned from the invoke, check for true/false.  If the&lt;/span&gt;
           &lt;span class="c1"&gt;// result matches "false", set the redirect flag to true indicating to cancel processing&lt;/span&gt;
           &lt;span class="c1"&gt;// of the page.&lt;/span&gt;
           &lt;span class="n"&gt;Object&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getAttribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;INVOKE_RETURN_VALUE&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
           &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="n"&gt;null&lt;/span&gt;  &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="n"&gt;equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;valueOf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt;
               &lt;span class="n"&gt;sendRedirectCalled&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="p"&gt;}&lt;/span&gt;
       &lt;span class="n"&gt;catch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Exception&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
       &lt;span class="p"&gt;{&lt;/span&gt;
           &lt;span class="n"&gt;throw&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;[/java]&lt;/p&gt;
&lt;p&gt;Why to catch an exception here? And why string comparison is used when Boolean has a constructor with the String parameter?&lt;/p&gt;
&lt;p&gt;It seems that Filenet doesn't use any of code review procedures internally. Developers just hack the code all day, make no comments and only two of them really understand the whole Filenet Workplace system. Or it was written long time ago by developer, which left the company, and nobody has time and/or will to do a proper system.&lt;/p&gt;
&lt;p&gt;Technorati Tags: &lt;a href="http://technorati.com/tag/filenet" rel="tag"&gt;filenet&lt;/a&gt;, &lt;a href="http://technorati.com/tag/source" rel="tag"&gt;source&lt;/a&gt;, &lt;a href="http://technorati.com/tag/exceptions" rel="tag"&gt;exceptions&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description><guid>http://blog.yellowbluebus.com/posts/wordpress20060214filenet-does-exception-handling-2.html</guid><pubDate>Tue, 14 Feb 2006 12:42:00 GMT</pubDate></item></channel></rss>