{"id":321,"date":"2013-10-15T16:36:08","date_gmt":"2013-10-15T15:36:08","guid":{"rendered":"http:\/\/www.psinke.nl\/wordpress\/?p=321"},"modified":"2013-10-15T16:39:12","modified_gmt":"2013-10-15T15:39:12","slug":"wlraconfigurationexception-during-deployment-of-dbadapter","status":"publish","type":"post","link":"https:\/\/www.psinke.nl\/blog\/wlraconfigurationexception-during-deployment-of-dbadapter\/","title":{"rendered":"WLRAConfigurationException during deployment of dbAdapter"},"content":{"rendered":"<div class=\"afa2b3b851443650502c43e85c746c1f\" data-index=\"1\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-4223201538046844\";\r\n\/* standaardblok *\/\r\ngoogle_ad_slot = \"9522527129\";\r\ngoogle_ad_width = 320;\r\ngoogle_ad_height = 50;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>If you ever run into this error while deploying or redeploying your dbAdapter or when restarting the OSB AdminServer or managed servers:<\/p>\n<pre>Failed to initialize the application 'DbAdapter' due to error weblogic.application.ModuleException: weblogic.connector.exception.WLRAConfigurationException:<\/pre>\n<p>The stack trace looks something like this:<\/p>\n<pre>There are 1 nested errors:\r\n\r\nweblogic.descriptor.DescriptorException: Unmarshaller failed\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:287)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.application.descriptor.AbstractDescriptorLoader.getPlanMergedDescriptor(AbstractDescriptorLoader.java:593)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.application.descriptor.AbstractDescriptorLoader.getPlanMergedDescriptorBean(AbstractDescriptorLoader.java:548)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.connector.configuration.ConnectorDescriptor.getWeblogicConnectorBean(ConnectorDescriptor.java:332)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.connector.configuration.DDUtil.getRAInfo(DDUtil.java:132)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.connector.deploy.ConnectorModule.loadDescriptors(ConnectorModule.java:794)\r\n......<\/pre>\n<p>You might want to recheck your osb_dbadapter.xml for validity, or the weblogic-ra.xml in other setups. Even if you didn&#8217;t modify it. In my case, the configproperty tag in the file was there multiple times for one datasource:<\/p>\n<pre>\u00a0\u00a0\u00a0\u00a0 &lt;variable&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;name&gt;ConnectionInstance_\/eis\/DB\/BogusDB_JNDIName_13800278320830&lt;\/name&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;value&gt;eis\/DB\/BogusDB&lt;\/value&gt;\r\n\u00a0\u00a0\u00a0\u00a0 &lt;\/variable&gt;\r\n\u00a0\u00a0\u00a0\u00a0 &lt;variable&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;name&gt;ConfigProperty_dataSourceName_Value_13800278750590&lt;\/name&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;value&gt;jdbc\/BogusDB&lt;\/value&gt;\r\n\u00a0\u00a0\u00a0\u00a0 &lt;\/variable&gt;\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0 &lt;variable&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;name&gt;ConfigProperty_xADataSourceName_Value_13800279128421&lt;\/name&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;value&gt;jdbc\/BogusDB&lt;\/value&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0 &lt;\/variable&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0 &lt;variable&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;name&gt;ConfigProperty_xADataSourceName_Value_13800281891200&lt;\/name&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;value&gt;&lt;\/value&gt;<\/span>\r\n<span style=\"color: #3366ff;\">\u00a0\u00a0\u00a0\u00a0 &lt;\/variable&gt;<\/span><\/pre>\n<p>As you see, one ConfigProperty was there twice and one was empty. Apparently this may happen without anyone touching the file when the OSB server crashes.<\/p>\n<p>I removed the\u00a0 part with the blue textcolor and redeployed the dbAdapter succesfully.<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>If you ever run into this error while deploying or redeploying your dbAdapter or when restarting the OSB AdminServer or managed servers: Failed to initialize the application &#8216;DbAdapter&#8217; due to error weblogic.application.ModuleException: weblogic.connector.exception.WLRAConfigurationException: The stack trace looks something like this: There are 1 nested errors: weblogic.descriptor.DescriptorException: Unmarshaller failed \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161) \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323) \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[255,3,121],"tags":[290,291,288,294,257,289,276,295,293,292],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-middleware","category-oracle-blog","category-tips-and-tricks","tag-configproperty","tag-datasource","tag-dbadapter","tag-exception","tag-middleware-2","tag-ofm","tag-osb","tag-unmarshaller","tag-weblogic","tag-wlraconfigurationexception"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":0,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}