<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4302584813994043618</id><updated>2011-10-19T05:11:50.337+02:00</updated><category term='Fedora'/><category term='Jdeveloper'/><category term='PMD'/><category term='Weblogic'/><category term='Extension'/><category term='x86_64'/><category term='Upgrade assistant'/><category term='Java'/><category term='Nodemanager'/><category term='XE'/><category term='Gnome'/><category term='ADF'/><category term='FMW'/><title type='text'>Echoes of a Java/SOA Developer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-8310394494193756574</id><published>2010-09-01T21:37:00.000+02:00</published><updated>2010-09-01T21:37:00.747+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADF'/><title type='text'>ADF code corner moved</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;OTN has been undergoing a change and therefor all links and references changed.&lt;br/&gt;The ADF code corner can now be found at the following link:&lt;br/&gt;&lt;br/&gt;&lt;a href='http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html' target='_blank'&gt;http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;This is a site with as-is coding examples of ADF&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-8310394494193756574?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/8310394494193756574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=8310394494193756574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/8310394494193756574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/8310394494193756574'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2010/09/adf-code-corner-moved.html' title='ADF code corner moved'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-6567691731906254124</id><published>2010-02-12T10:33:00.001+01:00</published><updated>2010-02-12T10:33:29.670+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Usage of equals in Java</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Every now and then I take a look on a projects java source code on the web.&lt;br/&gt;I still am amazed that most of that code do not use some basic coding rules.&lt;br/&gt;&lt;br/&gt;One of these is to check objects with equals to a static string.&lt;br/&gt;This is mostly done as:&lt;br/&gt;&lt;pre class='brush:java'&gt;&lt;br /&gt;private static final String STATIC_TEXT = "Static Text";&lt;br /&gt;&lt;br /&gt;if(object.equals(STATIC_TEXT)&lt;br /&gt;{&lt;br /&gt;.....&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br/&gt;The though part about this is that people do not see the danger in this.&lt;br/&gt;The fact is that (most) objects in java are initiated with null if.&lt;br/&gt;So the case shown above could result in an easy nullpointerexception. &lt;br/&gt;While this is not necessary, this could be prevented by changed sequence in which you execute this statement.&lt;br/&gt;&lt;pre class='brush:java'&gt;&amp;lt;br /&amp;gt;private static final String STATIC_TEXT = "Static Text";&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;if(STATIC_TEXT.equals(object)&amp;lt;br /&amp;gt;{&amp;lt;br /&amp;gt;.....&amp;lt;br /&amp;gt;}&amp;lt;br /&amp;gt;&lt;/pre&gt;&lt;br/&gt;When changed like this the exception will not occur, only the check will result in 'false'.&lt;br/&gt;Keep in mind that the code than needs to handle a null object(s).&lt;br/&gt;&lt;br/&gt;To prevent that the usual check '!= null' can always be executed.&lt;br/&gt;But by putting the objects in the right order it will prevent a lot of unnecessary searches for errors.&lt;br/&gt; &lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=ed2e510d-9d78-8ff3-a745-ab75c9251512' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-6567691731906254124?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/6567691731906254124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=6567691731906254124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6567691731906254124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6567691731906254124'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2010/02/usage-of-equals-in-java.html' title='Usage of equals in Java'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-6959007791888502778</id><published>2010-01-14T12:27:00.002+01:00</published><updated>2010-01-14T14:38:44.536+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Upgrade assistant'/><category scheme='http://www.blogger.com/atom/ns#' term='Jdeveloper'/><title type='text'>Error using upgrade assistant in JDeveloper 11.1.1.2.0</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Today I was running the upgrade assistant in  JDeveloper 11.1.1.2.0 to migrate an ear file to see if we can get a quick deployment on the WLServer.&lt;br/&gt;But then I suddenly received  the following error:&lt;br/&gt;&lt;br/&gt;&lt;pre class='brush:java'&gt;&lt;br /&gt;31:57 WARNING - *** &lt;br /&gt;[ERROR] Action in Web Service Artifact Generation 10.1.3javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.lang.NullPointerException (&amp;lt;Unknown Source&amp;gt;#10)    at com.sun.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:41)    at oracle.migration.action.ScriptBody.execute(ScriptBody.java:122)    at oracle.migration.action.Action.eval(Action.java:210)    at oracle.migration.action.Action.execute(Action.java:176)    at oracle.migration.action.Action.doAction(Action.java:227)    at oracle.migration.action.Action.doFinally(Action.java:231)    at oracle.migration.action.Action.execute(Action.java:188)    at oracle.migration.rule.MigrationRule.performAction(MigrationRule.java:808)    at oracle.migration.update.Updator$ActionContent.doUpdate(Updator.java:100)    at oracle.migration.update.Updator.doUpdate(Updator.java:110)    at oracle.migration.rule.MigrationRule.doUpdate(MigrationRule.java:788)    at oracle.migration.rule.MigrationRule.doUpdate(MigrationRule.java:781)    at oracle.migration.Migrator.generateArtifacts(Migrator.java:762)    at oracle.migration.MigrationPlan.doMigration(MigrationPlan.java:511)    at oracle.migration.MigrationPlan.execute(MigrationPlan.java:438)    at oracle.weblogic.jdeveloper.migration.io.WLMigrationManager.executeArchiveFindings(WLMigrationManager.java:288)    at oracle.weblogic.jdeveloper.migration.addin.application.ArchiveMigrationContext.regenerateFindings(ArchiveMigrationContext.java:85)    at oracle.weblogic.jdeveloper.migration.addin.application.ArchiveMigrationContext.continueUpgrade(ArchiveMigrationContext.java:131)    at oracle.weblogic.jdeveloper.migration.addin.command.ContinueUpgradeCommand.run(ContinueUpgradeCommand.java:89)    at oracle.toplink.workbench.utility.command.CommandWorker.run(CommandWorker.java:61)Caused by: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.lang.NullPointerException (&amp;lt;Unknown Source&amp;gt;#10)    at sun.org.mozilla.javascript.internal.Context.throwAsScriptRuntimeEx(Context.java:1699)    at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:147)    at sun.org.mozilla.javascript.internal.NativeJavaMethod.call(NativeJavaMethod.java:190)    at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:3073)    at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:2239)    at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:138)    at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:323)    at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:2747)    at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(InterpretedFunction.java:149)    at com.sun.script.javascript.RhinoCompiledScript.eval(RhinoCompiledScript.java:37)    ... 19 moreCaused by: java.lang.NullPointerException    at java.io.File.&amp;lt;init&amp;gt;(File.java:222)    at oracle.migration.ws.config.cli.SmartUpgradeEntry.createContinuationStateFile(SmartUpgradeEntry.java:285)    at oracle.migration.ws.config.cli.SmartUpgradeEntry.upgrade(SmartUpgradeEntry.java:174)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)    at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:597)    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)    at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:132)    ... 27 more[INFO]: script file: &lt;br /&gt;null&lt;br /&gt;script line: &lt;br /&gt;&lt;br /&gt;   extraArgs=migrator.getLocator("_cliArgs")&lt;br /&gt;   if (extraArgs==null) {&lt;br /&gt;          map = null;&lt;br /&gt;   } else {&lt;br /&gt;          leaves=extraArgs.getLeafMigrationElements(rule) &lt;br /&gt;          migEl=leaves.get(0)   &lt;br /&gt;          map=migEl.getArtifact()     &lt;br /&gt;   } &lt;br /&gt;          Packages.oracle.migration.ws.config.cli.SmartUpgradeEntry.upgrade(rule, migrationElement, map, targetVersion)&lt;br /&gt;      ot=Packages.oracle.migration.ws.config.cli.SmartUpgradeEntry.getOutString();&lt;br /&gt;          migrationElement.setAttribute("ws.upgrade.out", ot)&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;script code: &lt;br /&gt;null&lt;br /&gt;&lt;/pre&gt;&lt;br/&gt;&lt;br/&gt;I did not see this in previous migrations.........&lt;br/&gt;&lt;br/&gt;After a while of debugging and looking for certain errors finally it came to mind that spaces in paths of imported files could be disastrous.&lt;br/&gt;&lt;br/&gt;The error changed a bit, now it could find de ear but still ended in a nullpointer exception :-(&lt;br/&gt;The fix for this that the whole workspace and project also had a space in the path.&lt;br/&gt;After changing this the upgrade went through and we could continue looking into the migration of all parts for the ear......&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=f9c33caa-37a0-8972-80e4-5395f8b9aa86' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-6959007791888502778?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/6959007791888502778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=6959007791888502778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6959007791888502778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6959007791888502778'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2010/01/error-using-upgrade-assistance-in.html' title='Error using upgrade assistant in JDeveloper 11.1.1.2.0'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-4201133306148412065</id><published>2009-11-27T00:05:00.021+01:00</published><updated>2009-11-27T01:10:12.838+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gnome'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Change login screen for Gnome</title><content type='html'>Since Fedora 11 the Gnome theme always show the available users in a list.&lt;br/&gt;This is a risk because people can see which user(s) there are available on a system.&lt;br/&gt;&lt;br/&gt;This behavior can be changed by the following command:&lt;br/&gt;&lt;pre class="brush:bash"&gt;su -&lt;br /&gt;gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --type bool --set /apps/gdm/simple-greeter/disable_user_list true &lt;br /&gt;&lt;/pre&gt;&lt;br/&gt;With this the "normal" login screen is returned.&lt;br/&gt;Only the "others" is still availbale for selection&lt;br/&gt;You need to know the username and the password B-)&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-4201133306148412065?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/4201133306148412065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=4201133306148412065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/4201133306148412065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/4201133306148412065'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/11/change-login-screen-for-gnome.html' title='Change login screen for Gnome'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-2694637567667271376</id><published>2009-11-20T23:42:00.001+01:00</published><updated>2009-11-20T23:42:42.964+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gnome'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Fedora 12 and dual screen with Gnome panels (and how to move them)</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;After installing Fedora 12 in my installation the panels stayed on the screen of my laptop. While the monitor setup beside it is the primary window to work on. So I could not drag them to the other screen.&lt;br/&gt;&lt;br/&gt;After some googling I found this &lt;a href='https://answers.launchpad.net/ubuntu/+source/gnome-panel/+question/264'&gt;link&lt;/a&gt; and this works for me:&lt;br/&gt;In short the solution is one of the following:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;press ALT and then click the panel and move it to the position you want&lt;/li&gt;&lt;li&gt;Right mouse click on the panel and select properties. Then unmark the 'expand' property. This will enable you to drag them to any place on the screen. When all is positioned check the 'expand' property back again and all will work fine.&lt;/li&gt;&lt;/ol&gt;This helps a lot in the way to work.&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=e417927c-7fad-872a-8daa-2bb2211e97aa' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-2694637567667271376?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/2694637567667271376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=2694637567667271376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/2694637567667271376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/2694637567667271376'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/11/fedora-12-and-dual-screen-with-gnome.html' title='Fedora 12 and dual screen with Gnome panels (and how to move them)'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-4842805785710324298</id><published>2009-11-19T08:55:00.001+01:00</published><updated>2009-11-19T10:06:47.635+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>New release of Fedora ;-)</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Get your chance to see the new &lt;a target='_blank' href='http://get.fedoraproject.org/'&gt;Fedora Constatine&lt;/a&gt; !!!!!!&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=9fe02132-c657-8353-9c70-b422e8b97445' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-4842805785710324298?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/4842805785710324298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=4842805785710324298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/4842805785710324298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/4842805785710324298'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/11/new-release-of-fedora.html' title='New release of Fedora ;-)'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-3901549373909934319</id><published>2009-11-11T00:15:00.001+01:00</published><updated>2009-11-21T00:28:22.922+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Weblogic'/><title type='text'>Oracle WebLogic Server 11g Release 1 (10.3.2) released!!</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;You can read about it &lt;a href='http://www.oracle.com/technology/products/weblogic/index.html' target='_blank'&gt;here&lt;/a&gt;!&lt;br/&gt;&lt;br/&gt;Or you can directly start with downloading &lt;a href='http://www.oracle.com/technology/software/products/middleware/index.html' target='_blank'&gt;here&lt;/a&gt;!&lt;br/&gt;&lt;br/&gt;Have fun!&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=bc565df3-a343-81a5-9771-81799cae8e39' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-3901549373909934319?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/3901549373909934319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=3901549373909934319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3901549373909934319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3901549373909934319'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/11/oracle-weblogic-server-11g-release-1.html' title='Oracle WebLogic Server 11g Release 1 (10.3.2) released!!'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-1811427372717740938</id><published>2009-11-11T00:11:00.002+01:00</published><updated>2009-11-21T00:28:56.060+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FMW'/><title type='text'>Oracle FMW 11g (11.1.1.2.0) released!!</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;You can read about it &lt;a href='http://www.oracle.com/technology/software/products/middleware/index.html' target='_blank'&gt;here&lt;/a&gt;!&lt;br/&gt;&lt;br/&gt;Or you can directly start with downloading &lt;a href='http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html' target='_blank'&gt;here&lt;/a&gt;!&lt;br/&gt;&lt;br/&gt;Have fun!&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=fac5f8c7-256f-8146-b957-c803d5a9fbb9' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-1811427372717740938?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/1811427372717740938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=1811427372717740938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/1811427372717740938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/1811427372717740938'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/11/oracle-fmw-11g-111120-released.html' title='Oracle FMW 11g (11.1.1.2.0) released!!'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-3825449591381268487</id><published>2009-07-08T23:10:00.003+02:00</published><updated>2009-11-21T00:31:22.061+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XE'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='x86_64'/><title type='text'>Install Oracle XE on Fedora 11 x86_64</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;In order to install the &lt;a href='http://www.oracle.com/technology/software/products/database/xe/index.html'&gt;oracle xe&lt;/a&gt; database on Fedora x86_64.&lt;br/&gt;Download the oracle-xe-univ-10.2.0.1-1.0.i386.rpm.&lt;br/&gt;&lt;br/&gt;In the &lt;a href='http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm'&gt;installation guide&lt;/a&gt; is stated that the following packages are necessary.&lt;br/&gt;&lt;ul&gt;&lt;li&gt;glibc – 2.3.2&lt;/li&gt;&lt;li&gt;libaio – 0.3.96&lt;/li&gt;&lt;/ul&gt;So I installed these packages:&lt;br/&gt;yum install glibc libaio&lt;br/&gt;&lt;br/&gt;The installed the rpm : rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm&lt;br/&gt;And then executed&lt;br/&gt;"/etc/init.d/oracle-xe configure"&lt;br/&gt;Which successfully ran with given answers to the questions.&lt;br/&gt;&lt;br/&gt;After this I tried to start the database and got many different error messages.&lt;br/&gt;Tried to start the database but nothing was started.&lt;br/&gt;But there was nothing coming up.&lt;br/&gt;&lt;br/&gt;Also tried "sqlplus /NOLOG"&lt;br/&gt;connect / as sysdba&lt;br/&gt;startdb&lt;br/&gt;&lt;br/&gt;Then the errors stated there was not INITXE.ORA, so created the initXE.ora.&lt;br/&gt;The following errors where the database files were not located.....&lt;br/&gt;&lt;br/&gt;After numerous attempts and failing every time I uninstalled the rpm.&lt;br/&gt;rpm -e oracle-xe-univ-10.2.0.1-1.0.i386.rpm&lt;br/&gt;&lt;br/&gt;And removing all installed files "rm -rf /usr/lib/oracle/xe"&lt;br/&gt;&lt;br/&gt;After some googling... It came to mind I am running a 64bit machine and the rpm is for a i386.&lt;br/&gt;So I installed also the i586 packages:&lt;br/&gt;yum install glibc.i686 libaio.i586&lt;br/&gt;&lt;br/&gt;After this reinstalled the rpm : rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm&lt;br/&gt;&lt;br/&gt;and configured the database.&lt;br/&gt;Now all is running perfectly.....&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-3825449591381268487?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/3825449591381268487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=3825449591381268487' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3825449591381268487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3825449591381268487'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/07/install-oracle-xe-on-fedora-11-x8664.html' title='Install Oracle XE on Fedora 11 x86_64'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-6635981304624166662</id><published>2009-07-06T23:50:00.001+02:00</published><updated>2009-11-21T00:31:43.847+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Jdeveloper'/><title type='text'>Changing the font of JDeveloper 11R1 on Linux</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Just installing the new release of &lt;a href='http://otn.oracle.com/software/products/jdev/content.html'&gt;JDeveloper 11&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;But when running on Linux the font size seems a little bit off.&lt;br/&gt;In order to make this better to look at a chane is needed in the ide.properties.&lt;br/&gt;&lt;br/&gt;This file is located at:   ~/.jdeveloper/system11.1.1.1.33.54.07/o.jdeveloper&lt;br/&gt;There is a commented field "#      Ide.FontSize=11"&lt;br/&gt;Changed it to 'Ide.FontSize=10' and then started JDeveloper that looked a lot better........&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-6635981304624166662?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/6635981304624166662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=6635981304624166662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6635981304624166662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/6635981304624166662'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/07/changing-font-of-jdeveloper-11r1-on.html' title='Changing the font of JDeveloper 11R1 on Linux'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-8687257330328428220</id><published>2009-03-24T00:27:00.005+01:00</published><updated>2009-03-26T22:46:55.795+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nodemanager'/><category scheme='http://www.blogger.com/atom/ns#' term='Jdeveloper'/><category scheme='http://www.blogger.com/atom/ns#' term='ADF'/><category scheme='http://www.blogger.com/atom/ns#' term='Weblogic'/><title type='text'>Howto run ADF with a Node Manager</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;hr class="jump"&gt;I am working now more and more with weblogic.&lt;br /&gt;So I normally ran simple ADF web applications from JDeveloper.&lt;br /&gt;&lt;br /&gt;Now I tried to deploy an ADF webapplication on a server running an AdminServer and a Managed Server set-up to be recovered by the node manager.&lt;br /&gt;But during deploy the only error received is a "java.lang.ClassNotFoundException: "&lt;br /&gt;&lt;br /&gt;Either on "oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener" or on "javax.faces.webapp.FacesServlet".&lt;br /&gt;&lt;br /&gt;But when running the Managed Server from the commandline all seem to work fine..........&lt;br /&gt;&lt;br /&gt;The catch is in the classpath.&lt;br /&gt;The nodemanager is &lt;big&gt;&lt;b&gt;&lt;span style="color:#ff0000;"&gt;NOT&lt;/span&gt;&lt;/b&gt;&lt;/big&gt; using the same startup script as available in your domain directory (see further below).&lt;br /&gt;&lt;br /&gt;So a change needs to be made to the nodemanager:&lt;br /&gt;Add the following code in the &amp;lt;WLS_HOME&amp;gt;/server/bin/startNodeManger.sh (or .cmd).&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ORACLE_HOME="/opt/products/oracle/WLS103/jdeveloper"&lt;br /&gt;export ORACLE_HOME&lt;br /&gt;&lt;br /&gt;ADF_CLASSPATH="${ORACLE_HOME}/modules/features/adf.share_11.1.1.jar"&lt;br /&gt;export ADF_CLASSPATH&lt;br /&gt;&lt;br /&gt;set -x&lt;br /&gt;CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${CLASSPATH}${CLASSPATHSEP}${BEA_HOME}${CLASSPATHSEP}${ADF_CLASSPATH}"&lt;br /&gt;export CLASSPATH&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;By doing so the start of a managed server is made ADF aware and therefor deployments will result in a deployment on a server that uses the nodemanager...&lt;br /&gt;&lt;br /&gt;There is a second solution to this problem.&lt;br /&gt;The nodemanager.properties can be adjusted.&lt;br /&gt;The properties for start and stop scripts needs to be enabled.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;StopScriptEnabled=true&lt;br /&gt;StartScriptEnabled=true&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;By this the classpath is set through the scripts created when the domain is also created...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-8687257330328428220?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/8687257330328428220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=8687257330328428220' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/8687257330328428220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/8687257330328428220'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/03/howto-run-adf-with-node-manager.html' title='Howto run ADF with a Node Manager'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4302584813994043618.post-3406658369322477042</id><published>2009-02-19T10:56:00.007+01:00</published><updated>2009-11-27T00:59:59.431+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Extension'/><category scheme='http://www.blogger.com/atom/ns#' term='Jdeveloper'/><category scheme='http://www.blogger.com/atom/ns#' term='PMD'/><title type='text'>Open a file in a JDeveloper Extension.</title><content type='html'>Since a few months I now run Linux.&lt;br /&gt;And I am using the PMD plugin for JDeveloper.&lt;br /&gt;After the upgrade of JDeveloper to the latest version 11.1.1.0.1 the preferences are always gone.&lt;br /&gt;So I wanted to import my settings again, but the file selector did not come up!&lt;br /&gt;&lt;br /&gt;So looking into the log I saw the following stacktrace:&lt;br /&gt;Exception occurred during event dispatching:&lt;br /&gt;&lt;pre class="brush: java"&gt;java.lang.ClassCastException: sun.awt.NullComponentPeer cannot be cast to sun.awt.X11.XChoicePeer&lt;br /&gt;    at sun.awt.X11.XFileDialogPeer.init(XFileDialogPeer.java:264)&lt;br /&gt;    at sun.awt.X11.XFileDialogPeer.show(XFileDialogPeer.java:726)&lt;br /&gt;&lt;/pre&gt;with the following code to open the dialog&lt;br /&gt;&lt;pre&gt;final FileDialog fdlg = new FileDialog(new Frame(), "Import", FileDialog.LOAD);&lt;br /&gt;fdlg.setVisible(true);&lt;br /&gt;&lt;/pre&gt;Looking throug a lot of (blog) post I could not get a fix for this.&lt;br /&gt;So the thing that intrigued by the fact that the JDeveloper File chooser was working.&lt;br /&gt;But that was not the Java default file chooser.&lt;br /&gt;&lt;br /&gt;Then the question arises how can I use the JDeveloper file chooser?&lt;br /&gt;&lt;br /&gt;A quest was up to get through the knowledge where a description is on the JDeveloper File Chooser.&lt;br /&gt;&lt;br /&gt;I finally found it in an extension I also did some work on, the &lt;a href="http://jdevextensions.sourceforge.net/"&gt;search extension&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It is needed to use the following code:&lt;br /&gt;&lt;pre class="brush: java"&gt;    public String getPath(String windowText, String currPath)&lt;br /&gt;    {&lt;br /&gt;      String returnPath = "";&lt;br /&gt;     &lt;br /&gt;      URL url = URLFactory.newDirURL( Ide.getSystemDirectory() );&lt;br /&gt;      URLChooser chooser = DialogUtil.newURLChooser( url );&lt;br /&gt;      chooser.setSelectionMode( URLChooser.SINGLE_SELECTION );&lt;br /&gt;      chooser.setSelectionMode( URLChooser.FILES_ONLY);&lt;br /&gt;      int ret = chooser.showOpenDialog( Ide.getMainWindow(), windowText);&lt;br /&gt;      if ( ret == URLChooser.APPROVE_OPTION )&lt;br /&gt;      {&lt;br /&gt;        URL selectedURL = chooser.getSelectedURL();&lt;br /&gt;        returnPath = URLFileSystem.getPlatformPathName( selectedURL ) ;&lt;br /&gt;      }&lt;br /&gt;      return returnPath;&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;With this also on Linux it will work to import or export files into the PMD plugin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4302584813994043618-3406658369322477042?l=remcodeblok.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://remcodeblok.blogspot.com/feeds/3406658369322477042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4302584813994043618&amp;postID=3406658369322477042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3406658369322477042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4302584813994043618/posts/default/3406658369322477042'/><link rel='alternate' type='text/html' href='http://remcodeblok.blogspot.com/2009/02/open-file-in-jdeveloper-extension.html' title='Open a file in a JDeveloper Extension.'/><author><name>Remco</name><uri>http://www.blogger.com/profile/03397263234177166581</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
