{"id":836,"date":"2016-04-27T19:55:14","date_gmt":"2016-04-27T18:55:14","guid":{"rendered":"http:\/\/elstarit.nl\/?p=836"},"modified":"2016-04-27T19:58:51","modified_gmt":"2016-04-27T18:58:51","slug":"a-small-update-to-my-multi-language-4-xpages-demo","status":"publish","type":"post","link":"https:\/\/elstarit.nl\/?p=836","title":{"rendered":"A small update to my Multi language 4 XPages demo"},"content":{"rendered":"<p>Last week I have <a href=\"http:\/\/elstarit.nl\/2016\/04\/22\/xpages-tip-demo-code-for-multi-language-support\/\">posted<\/a> a demo database of my way to add multi language to a XPages application.<\/p>\n<p>Today <a href=\"http:\/\/quintessens.wordpress.com\/\" target=\"_blank\">Patrick Kwinten<\/a> pinged me on Slack about an 500 error he was hitting when he access the database from the browser.<\/p>\n<p>After some investigation via Slack it the cause of the error was an external jar file which was in still, unused, in the database. The external jar was on the Build Path, but after removing from the Build Path it was still crashing. On stackoverflow I found the <a href=\"http:\/\/stackoverflow.com\/questions\/14606364\/axis-1-4-log4j-1-2-8-jar-incompatible-with-xpages\" target=\"_blank\">answer<\/a>.<\/p>\n<p>The external library was causing an reflection exception. There was no need for this external library, so no need to update the java policy file.<\/p>\n<p>After removing the external jars completly from the database, the application was up and running again. Everyone happy \ud83d\ude09<\/p>\n<p>I made the update to my demo database and commited to the <a href=\"https:\/\/bitbucket.org\/flinden68\/multilanguage4xpages\" target=\"_blank\">Bitbucket repository<\/a> of this demo.<\/p>\n<h3>Where are my Java classes<\/h3>\n<p>I also noticed that it is not common or the normal way, when using Java in DDE to store the Java classes in a Java directory which I created under WebContent &#8211;&gt; WEB-INF and add the directory as source folder.<\/p>\n<p>In my life outside the DDE\/Domino world when building Java applications in vanilla Eclipse environments, it is the normal way, so I still use it in DDE. So for\u00a0Java development I live in the Package Explorer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-865\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png\" alt=\"packageexplorer\" width=\"1042\" height=\"594\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png 1042w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer-300x171.png 300w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer-768x438.png 768w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer-1024x584.png 1024w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer-439x250.png 439w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/p>\n<p>To find the Package Explorer. Goto Window &#8211;&gt; Eclipse Views &#8211;&gt; Packagage<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-867\" src=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/javaclasses.png\" alt=\"javaclasses\" width=\"696\" height=\"878\" srcset=\"https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/javaclasses.png 696w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/javaclasses-238x300.png 238w, https:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/javaclasses-198x250.png 198w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>So I encourage everyone when do Java development in an XPages, to use the Package Explorer and the Java classes in a folder under\u00a0WebContent &#8211;&gt; WEB-INF ( next make them a source folder ). When moving to other grounds, outside the Yellow bubble or doing more and more OSGi plugin development, it makes your life easier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I have posted a demo database of my way to add multi language to a XPages application. Today Patrick Kwinten pinged me on Slack about an 500 error he was hitting when he access the database from the browser. After some investigation via Slack it the cause of the error was an external <a class=\"read-more\" href=\"https:\/\/elstarit.nl\/?p=836\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[22,2],"tags":[66,3,12],"class_list":["post-836","post","type-post","status-publish","format-standard","hentry","category-community","category-development","tag-development","tag-java","tag-xpages"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A small update to my Multi language 4 XPages demo - elstar IT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elstarit.nl\/?p=836\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A small update to my Multi language 4 XPages demo - elstar IT\" \/>\n<meta property=\"og:description\" content=\"Last week I have posted a demo database of my way to add multi language to a XPages application. Today Patrick Kwinten pinged me on Slack about an 500 error he was hitting when he access the database from the browser. After some investigation via Slack it the cause of the error was an external Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elstarit.nl\/?p=836\" \/>\n<meta property=\"og:site_name\" content=\"elstar IT\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-27T18:55:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-27T18:58:51+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png\" \/>\n<meta name=\"author\" content=\"flinden68\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"flinden68\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836\"},\"author\":{\"name\":\"flinden68\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\"},\"headline\":\"A small update to my Multi language 4 XPages demo\",\"datePublished\":\"2016-04-27T18:55:14+00:00\",\"dateModified\":\"2016-04-27T18:58:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836\"},\"wordCount\":313,\"commentCount\":3,\"image\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/packageexplorer.png\",\"keywords\":[\"development\",\"java\",\"xpages\"],\"articleSection\":[\"community\",\"development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/elstarit.nl\\\/?p=836#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836\",\"url\":\"https:\\\/\\\/elstarit.nl\\\/?p=836\",\"name\":\"A small update to my Multi language 4 XPages demo - elstar IT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/packageexplorer.png\",\"datePublished\":\"2016-04-27T18:55:14+00:00\",\"dateModified\":\"2016-04-27T18:58:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elstarit.nl\\\/?p=836\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#primaryimage\",\"url\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/packageexplorer.png\",\"contentUrl\":\"http:\\\/\\\/elstarit.nl\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/packageexplorer.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/?p=836#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elstarit.nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"community\",\"item\":\"https:\\\/\\\/elstarit.nl\\\/?cat=22\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"A small update to my Multi language 4 XPages demo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#website\",\"url\":\"https:\\\/\\\/elstarit.nl\\\/\",\"name\":\"elstar IT\",\"description\":\"Fullstack | Java | Tech Speaker | Tech Coach | Frank van der Linden\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elstarit.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elstarit.nl\\\/#\\\/schema\\\/person\\\/426456e816ad57bf411d5d2bb9768935\",\"name\":\"flinden68\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g\",\"caption\":\"flinden68\"},\"sameAs\":[\"http:\\\/\\\/www.elstarit.nl\",\"https:\\\/\\\/x.com\\\/elstarit\"],\"url\":\"https:\\\/\\\/elstarit.nl\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A small update to my Multi language 4 XPages demo - elstar IT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elstarit.nl\/?p=836","og_locale":"en_US","og_type":"article","og_title":"A small update to my Multi language 4 XPages demo - elstar IT","og_description":"Last week I have posted a demo database of my way to add multi language to a XPages application. Today Patrick Kwinten pinged me on Slack about an 500 error he was hitting when he access the database from the browser. After some investigation via Slack it the cause of the error was an external Read More","og_url":"https:\/\/elstarit.nl\/?p=836","og_site_name":"elstar IT","article_published_time":"2016-04-27T18:55:14+00:00","article_modified_time":"2016-04-27T18:58:51+00:00","og_image":[{"url":"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png","type":"","width":"","height":""}],"author":"flinden68","twitter_misc":{"Written by":"flinden68","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elstarit.nl\/?p=836#article","isPartOf":{"@id":"https:\/\/elstarit.nl\/?p=836"},"author":{"name":"flinden68","@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935"},"headline":"A small update to my Multi language 4 XPages demo","datePublished":"2016-04-27T18:55:14+00:00","dateModified":"2016-04-27T18:58:51+00:00","mainEntityOfPage":{"@id":"https:\/\/elstarit.nl\/?p=836"},"wordCount":313,"commentCount":3,"image":{"@id":"https:\/\/elstarit.nl\/?p=836#primaryimage"},"thumbnailUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png","keywords":["development","java","xpages"],"articleSection":["community","development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elstarit.nl\/?p=836#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elstarit.nl\/?p=836","url":"https:\/\/elstarit.nl\/?p=836","name":"A small update to my Multi language 4 XPages demo - elstar IT","isPartOf":{"@id":"https:\/\/elstarit.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elstarit.nl\/?p=836#primaryimage"},"image":{"@id":"https:\/\/elstarit.nl\/?p=836#primaryimage"},"thumbnailUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png","datePublished":"2016-04-27T18:55:14+00:00","dateModified":"2016-04-27T18:58:51+00:00","author":{"@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935"},"breadcrumb":{"@id":"https:\/\/elstarit.nl\/?p=836#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elstarit.nl\/?p=836"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elstarit.nl\/?p=836#primaryimage","url":"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png","contentUrl":"http:\/\/elstarit.nl\/wp-content\/uploads\/2016\/04\/packageexplorer.png"},{"@type":"BreadcrumbList","@id":"https:\/\/elstarit.nl\/?p=836#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elstarit.nl\/"},{"@type":"ListItem","position":2,"name":"community","item":"https:\/\/elstarit.nl\/?cat=22"},{"@type":"ListItem","position":3,"name":"A small update to my Multi language 4 XPages demo"}]},{"@type":"WebSite","@id":"https:\/\/elstarit.nl\/#website","url":"https:\/\/elstarit.nl\/","name":"elstar IT","description":"Fullstack | Java | Tech Speaker | Tech Coach | Frank van der Linden","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elstarit.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elstarit.nl\/#\/schema\/person\/426456e816ad57bf411d5d2bb9768935","name":"flinden68","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b915e82bbf3665adb6f7cef5acc5292b5958aec259f763ccde322ec72c643ec0?s=96&d=mm&r=g","caption":"flinden68"},"sameAs":["http:\/\/www.elstarit.nl","https:\/\/x.com\/elstarit"],"url":"https:\/\/elstarit.nl\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=836"}],"version-history":[{"count":38,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/836\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/elstarit.nl\/index.php?rest_route=\/wp\/v2\/posts\/836\/revisions\/876"}],"wp:attachment":[{"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elstarit.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}