<?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:blogger='http://schemas.google.com/blogger/2008' 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-1641750294551222536</id><updated>2024-09-05T04:26:01.042-07:00</updated><category term="Oracle WebLogic11g"/><title type='text'>Nilo Garcia´s Blog</title><subtitle type='html'>Blog about Oracle technologies and JavaEE</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nilogarcia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1641750294551222536/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nilogarcia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1641750294551222536.post-1259179694766718118</id><published>2010-04-25T09:37:00.000-07:00</published><updated>2010-09-13T16:25:46.551-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle WebLogic11g"/><title type='text'>How to deploy Apache Archiva on Oracle Database 11g and Oracle WebLogic 11g</title><content type='html'>When you see that on Apache Archiva&#39;s site: &quot;Archiva can be deployed as a web application into any Java EE application server&quot; you think: &quot;Oh, it&#39;s easy to deploy Apache Archiva on any JavaEE server like: WebLogic, Oracle Application Server, etc...&quot;&lt;br /&gt;
&lt;br /&gt;
But it isn&#39;t so simple. In fact, it may be possible that you need to do some adaptations with specific deployments when you create a standard WAR or EAR file. One situation like that is the behavior of ClassLoader: Should it search classes first on web application classpath or application server classpath?&lt;br /&gt;
&lt;br /&gt;
That and others issues had happened with me when I tried to deploy Apache Archiva 1.3 on Oracle WebLogic 11g R2 (10.3.2.0.0) with Oracle Database 11g. So, if it&#39;s useful for anybody, I followed these&amp;nbsp;steps:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Create owner(s) on database&lt;/b&gt;&lt;/span&gt; &lt;br /&gt;
Create the owner(s) (user or schema, choose your option) on the Oracle Database (or any other RDBMS of your preference). You can create just one owner and create two datasources (we&#39;ll see that on next step) accessing the same one (I prefer that way). Or you may create two owners and create the datasources accessing theirs owners. On Oracle database, you need to give the grants of RESOURCE and CONNECT. See the following sample:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;CREATE USER ARCHIVA IDENTIFIED BY ARCHIVA&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt; DEFAULT TABLESPACE USERS&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt; TEMPORARY TABLESPACE TEMP;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;-- ROLES&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;GRANT &quot;CONNECT&quot; TO ARCHIVA;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;GRANT &quot;RESOURCE&quot; TO ARCHIVA;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;-- SYSTEM PRIVILEGES&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;GRANT UNLIMITED TABLESPACE TO ARCHIVA;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create two datasources on WebLogic connecting to database&#39;s owner(s)&lt;/b&gt;&lt;br /&gt;
Access WebLogic&#39;s console: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;http://&amp;lt;application_server_host&amp;gt;:&amp;lt;weblogic_http_port&amp;gt;/console&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;(like that: http://localhost:7001/console)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Click on: Services =&amp;gt; JDBC =&amp;gt; Data Sources&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;Create the first datasource with JNDI Name: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;jdbc/archiva&lt;/span&gt; (the name may be the same) and you fill in the rest of the fields. Test if the connection is rigth&amp;nbsp;in the end. See the images:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;The Name and JNDI Name:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ64Oyuq-pV2T1Z4oSovCvQA0S37YSdAgur1SGwFdFJccu5RQ41HckomDm9RaFGlSOiRiyM0zZtNuYvyL55CtgE9tYsnb3XnEPReIOZptep4tYrtb3CZlwmJOpRn4T87Zjo8WQTYxYS3Q/s1600-h/datasource-1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ64Oyuq-pV2T1Z4oSovCvQA0S37YSdAgur1SGwFdFJccu5RQ41HckomDm9RaFGlSOiRiyM0zZtNuYvyL55CtgE9tYsnb3XnEPReIOZptep4tYrtb3CZlwmJOpRn4T87Zjo8WQTYxYS3Q/s320/datasource-1.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Information about connection:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp4AxUwJ4eQuNMy7IQyb-e6Zt02JzY6iI3nw-GhoVN-XrameR7aoup-_CGISYoS4EuIjX3GwDMRY6niSHfNWdNz_hRPuVpK4H1xbK2_G0rqROWdRH_5oOsfXrLu5FoKmfPk2w8ioAee_Y/s1600-h/datasource-2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp4AxUwJ4eQuNMy7IQyb-e6Zt02JzY6iI3nw-GhoVN-XrameR7aoup-_CGISYoS4EuIjX3GwDMRY6niSHfNWdNz_hRPuVpK4H1xbK2_G0rqROWdRH_5oOsfXrLu5FoKmfPk2w8ioAee_Y/s320/datasource-2.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The&amp;nbsp;connection test:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxwai7Ib6i8I6SB7JiQe2yplj-mVIe4C1UKDAMs17Um2U4IXV62H-hLfuZRLxSsVQvGnAX26bM9s66chgzC775zVzjVehcHwDA3oe3MeINfPSQf6wDmT_OcRzsVm3Bn1_22S5wQyZr_Kw/s1600-h/datasource-3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxwai7Ib6i8I6SB7JiQe2yplj-mVIe4C1UKDAMs17Um2U4IXV62H-hLfuZRLxSsVQvGnAX26bM9s66chgzC775zVzjVehcHwDA3oe3MeINfPSQf6wDmT_OcRzsVm3Bn1_22S5wQyZr_Kw/s320/datasource-3.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The target server of the datasource:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJqYbqU3PHcAVNd43vJXckoADhohyR8w9AWxq193MzNzAImwdXtvZUI5ckEn2RqMOhs6jBpVP3Zqu6jAoFkyMtk4fXcwCxWv8YZOaX82eTCvl1BRDyrAYbK9ZY4mYvGYlJcTF3jcqFV2c/s1600-h/datasource-4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJqYbqU3PHcAVNd43vJXckoADhohyR8w9AWxq193MzNzAImwdXtvZUI5ckEn2RqMOhs6jBpVP3Zqu6jAoFkyMtk4fXcwCxWv8YZOaX82eTCvl1BRDyrAYbK9ZY4mYvGYlJcTF3jcqFV2c/s320/datasource-4.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
After that, you need to&amp;nbsp;do the same with the other datasource, now with JNDI Name: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;jdbc/users&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create a session Mail on WebLogic&lt;/b&gt;&lt;br /&gt;
On WebLogic&#39;s console, click on following option: Services =&amp;gt; Mail Sessions&lt;br /&gt;
Create new mail session with JNDI Name: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mail/Session&lt;/span&gt;. You have to fill in the information about server mail through Java properties of JavaMail API.&lt;br /&gt;
See the picture: &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU5ZWYcpf_qIIrzupisk8faJgAE5Yu_jibz35h1mwylEQvI9xHQADLlYoDr2V13Y-VzYSdXn7-oqb7x0hQ-_VTdZ13DiS_sTy1d3G73uckVqvTs5zemF657OgoFIL2eAJ_wMy-YqWFBz0/s1600-h/mail-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU5ZWYcpf_qIIrzupisk8faJgAE5Yu_jibz35h1mwylEQvI9xHQADLlYoDr2V13Y-VzYSdXn7-oqb7x0hQ-_VTdZ13DiS_sTy1d3G73uckVqvTs5zemF657OgoFIL2eAJ_wMy-YqWFBz0/s320/mail-1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
And select the server target for this new session mail:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KLezXwLNWKMdEq_O6qlHp7dxSmbcYJZCdBKPDs-Q98sJNZoluxIw1N58HTO9Xgxa0_VXlWcI8u-TsWnQQHrlP0cmd3EKim18EG5dhgptbMAPSNG9a5PFcImpYrk7iooOIjOsl0cWGAg/s1600-h/mail-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KLezXwLNWKMdEq_O6qlHp7dxSmbcYJZCdBKPDs-Q98sJNZoluxIw1N58HTO9Xgxa0_VXlWcI8u-TsWnQQHrlP0cmd3EKim18EG5dhgptbMAPSNG9a5PFcImpYrk7iooOIjOsl0cWGAg/s320/mail-2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;Add weblogic.xml deployment on apache-archiva.war&lt;/b&gt;&lt;br /&gt;
To became visible the WebLogic session Mail to apache-archiva aplication, you have to add a &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;weblogic.xml&lt;/span&gt; deployment into &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war&lt;/span&gt; (inside WEB-INF folder). This file will map the session Mail resource with the aplication deployment. See a sample of this file:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;?xml version = &#39;1.0&#39; encoding = &#39;windows-1252&#39;?&amp;gt;&lt;br /&gt;
&amp;lt;weblogic-web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation=&quot;http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns=&quot;http://www.bea.com/ns/weblogic/weblogic-web-app&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;resource-description&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;res-ref-name&amp;gt;mail/Session&amp;lt;/res-ref-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;jndi-name&amp;gt;mail/Session&amp;lt;/jndi-name&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/resource-description&amp;gt;&lt;br /&gt;
&amp;lt;/weblogic-web-app&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Add weblogic-application.xml deployment&amp;nbsp;and generate an EAR&lt;/b&gt;&lt;br /&gt;
After adding weblogic.xml deployment file to &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war&lt;/span&gt;, you need to create an EAR file to add other deployment file which will&amp;nbsp;report to WebLogic server the priority of load classpath. To do this task, create a folder META-INF and then create a weblogic-application.xml like that (thanks for Maxence Button on his blog: http://m-button.blogspot.com/2008/09/how-to-deploy-hudson-on-weblogic.html):&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;?xml version = &#39;1.0&#39; encoding = &#39;windows-1252&#39;?&amp;gt;&lt;br /&gt;
&amp;lt;weblogic-application xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation=&quot;http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns=&quot;http://www.bea.com/ns/weblogic/weblogic-application&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;application-param&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;webapp.encoding.default&amp;lt;/param-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;UTF-8&amp;lt;/param-value&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/application-param&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;prefer-application-packages&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package-name&amp;gt;org.springframework.*&amp;lt;/package-name&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/prefer-application-packages&amp;gt;&lt;br /&gt;
&amp;lt;/weblogic-application&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
It&#39;s better if you add the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;application.xml&lt;/span&gt; file together with &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;weblogic-application.xml&lt;/span&gt;, see a sample:&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;application version=&quot;1.4&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;display-name&amp;gt;Apache-Archiva&amp;lt;/display-name&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;module&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;web&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;web-uri&amp;gt;apache-archiva.war&amp;lt;/web-uri&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;context-root&amp;gt;/archiva&amp;lt;/context-root&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/web&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/module&amp;gt;&lt;br /&gt;
&amp;lt;/application&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Then, compact META-INF folder (wich contains &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;application.xml&lt;/span&gt; and &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;weblogic-application.xml&lt;/span&gt;) and &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war&lt;/span&gt; to create &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.ear&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Deploy the Apache Archiva on WebLogic&lt;/b&gt;&lt;br /&gt;
Ok, now you are ready to deploy Apache Archiva. So, access the WebLogic&#39;s console and deploy the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archvia.ear&lt;/span&gt; file like an application.&lt;br /&gt;
After that, you can access the Apache Archiva on the followed URL:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;http://localhost:7001/archiva&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Last step, create objtable on Oracle&lt;/b&gt;&lt;br /&gt;
Sorry, but if you are using Oracle Database you need&amp;nbsp;one more step. When you logon with admin user on Apache Archiva, and when you click on Reports option, you see this error:&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2010-03-15 14:49:52,166 [[ACTIVE] ExecuteThread: &#39;2&#39; for queue: &#39;weblogic.kernel.Default (self-tuning)&#39;] ERROR JPOX.RDBMS&amp;nbsp; - Error t&lt;br /&gt;
hrown executing CREATE TABLE ARCHIVA_REPOSITORY_PROBLEMS&lt;br /&gt;
(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ARCHIVA_REPOSITORY_PROBLEMS_ID NUMBER NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ARTIFACT_ID VARCHAR2(80) NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; GROUP_ID VARCHAR2(250) NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE VARCHAR2(4096) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; PROBLEM_ORIGIN VARCHAR2(20) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; REPO_PATH VARCHAR2(250) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; REPOSITORY_ID VARCHAR2(50) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; PROBLEM_TYPE VARCHAR2(50) NOT NULL,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VERSION VARCHAR2(50) NULL&lt;br /&gt;
) : ORA-00910: specified length too long for its datatype&lt;br /&gt;
&lt;br /&gt;
java.sql. &lt;/span&gt;&lt;/div&gt;&lt;div bgcolor=&quot;#ffffff&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot; text=&quot;#000000&quot;&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQLSyntaxErrorException: ORA-00910: specified length too long for its datatype&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQLStateMapping.&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;newSQLException(&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQLStateMapping.java:91)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DatabaseError.newSQLException(&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DatabaseError.java:133)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DatabaseError.&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;throwSqlException(&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DatabaseError.java:206)&lt;/span&gt;&lt;/div&gt;&lt;div bgcolor=&quot;#ffffff&quot; style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot; text=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;&lt;/div&gt;&lt;div bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;&lt;br /&gt;
It happens because the application Apache Archiva tries to&amp;nbsp;create a table with a column of type VARCHAR2 with lenght 4096. But the limit of VARCHAR2 type on Oracle Database it is 4000.&lt;br /&gt;
So, you need&amp;nbsp;to change manually&amp;nbsp;the file that specifies the structure of tables on database. There&amp;nbsp;are 3 columns in this file that&amp;nbsp;will fail when creating&amp;nbsp;tables on Oracle database.&lt;br /&gt;
The file &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;package.jdo&lt;/span&gt; contains the structure of database objects is inside of &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;archiva-model-1.3.jar&lt;/span&gt; (you can find it inside the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war&lt;/span&gt; file, on folder &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;WEB-INF/lib&lt;/span&gt;). See the complete path:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war!/WEB-INF/lib/archiva-model-1.3.jar!/org/apache/maven/archiva/model/package.jdo&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then, edit the orignal file package.jdo in that following points:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;!DOCTYPE jdo PUBLIC&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &quot;-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &quot;http://java.sun.com/dtd/jdo_2_0.dtd&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;jdo&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;lt;package name=&quot;org.apache.maven.archiva.model&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;ArchivaProjectModel&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_PROJECT&quot; identity-type=&quot;application&quot; objectid-class=&quot;org.apache.maven.archiva.model.jpox.ArchivaProjectModelKey&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;description&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;column length=&quot;8192&quot;/&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;License&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_LICENSES&quot; identity-type=&quot;application&quot; objectid-class=&quot;javax.jdo.identity.IntIdentity&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;comments&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;column length=&quot;8192&quot;/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;RepositoryProblem&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_REPOSITORY_PROBLEMS&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;message&quot; null-value=&quot;exception&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;column length=&quot;4096&quot;/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;lt;/package&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;/jdo&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Change to be like that:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;!DOCTYPE jdo PUBLIC&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &quot;-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &quot;http://java.sun.com/dtd/jdo_2_0.dtd&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;jdo&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;lt;package name=&quot;org.apache.maven.archiva.model&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;ArchivaProjectModel&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_PROJECT&quot; identity-type=&quot;application&quot; objectid-class=&quot;org.apache.maven.archiva.model.jpox.ArchivaProjectModelKey&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;description&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;lt;column jdbc-type=&quot;CLOB&quot;/&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;License&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_LICENSES&quot; identity-type=&quot;application&quot; objectid-class=&quot;javax.jdo.identity.IntIdentity&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;comments&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;lt;column jdbc-type=&quot;CLOB&quot;/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class name=&quot;RepositoryProblem&quot; detachable=&quot;true&quot; table=&quot;ARCHIVA_REPOSITORY_PROBLEMS&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;field name=&quot;message&quot; null-value=&quot;exception&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;lt;column length=&quot;4000&quot;/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/field&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &amp;lt;/package&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;/jdo&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Next, alter the file &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;archiva-model-1.3.jar&lt;/span&gt; with the new version of &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;package.jdo&lt;/span&gt;. Alter the file &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;apache-archiva.war&lt;/span&gt; with the new version of &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;archiva-model-1.3.jar&lt;/span&gt;.&lt;br /&gt;
After&amp;nbsp;all that, I hope the tips written here have been useful for someone.</content><link rel='replies' type='application/atom+xml' href='http://nilogarcia.blogspot.com/feeds/1259179694766718118/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://nilogarcia.blogspot.com/2010/03/deploy-apache-archiva-on-weblogic-11g.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1641750294551222536/posts/default/1259179694766718118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1641750294551222536/posts/default/1259179694766718118'/><link rel='alternate' type='text/html' href='http://nilogarcia.blogspot.com/2010/03/deploy-apache-archiva-on-weblogic-11g.html' title='How to deploy Apache Archiva on Oracle Database 11g and Oracle WebLogic 11g'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ64Oyuq-pV2T1Z4oSovCvQA0S37YSdAgur1SGwFdFJccu5RQ41HckomDm9RaFGlSOiRiyM0zZtNuYvyL55CtgE9tYsnb3XnEPReIOZptep4tYrtb3CZlwmJOpRn4T87Zjo8WQTYxYS3Q/s72-c/datasource-1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>