cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco with weblogic 12c

ilyagalahov
Champ in-the-making
Champ in-the-making
Hi all!

I am trying to install alfresco community 4.2b on weblogic 12c.

I've applied this instruction's steps: http://docs.alfresco.com/4.2/tasks/alf-weblogic-install.html

During alfresco start I got following error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageService' defined in class path resource [alfresco/core-services-context.xml]

And causes:

Caused By: org.alfresco.service.cmr.dictionary.DictionaryException: 05170001 Could not import bootstrap model alfresco/model/dictionaryModel.xml
Caused By: org.alfresco.service.cmr.dictionary.DictionaryException: 05170000 Failed to parse model
Caused By: org.jibx.runtime.JiBXException: Missing required attribute "name" (line 1, col 80)

Thanks.
Ilya.
3 REPLIES 3

ilyagalahov
Champ in-the-making
Champ in-the-making
Can anyone help, please ?

cristinamr
World-Class Innovator
World-Class Innovator
Good morning.

I know that this is an old issue, but I had the same issue and I've solved it. I could reproduce the same issue during a upgrade process between Alfresco 3.4 / Weblogic 10.3.2 and Alfresco 4.2.4 / Weblogic 12.1.2

In order to fix it:

Update the weblogic-application.xml with the same that you can find on alfresco-enterprise-4.2.4.ear\META-INF\ (or inside of the ear file that you have downloaded).

I hope that this could help to somebody else.

Cheers,

Cristina.
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

rahmi
Champ in-the-making
Champ in-the-making
Cristina,
By just copying the file, it didn't work for me, I had some exceptions but I've found a configuration that works for me also. I've added following lines in wevlogic.xml :


<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
   <context-root>/dmarchivage</context-root>
       <resource-description>
           <res-ref-name>jdbc/dataSource</res-ref-name>
                  <jndi-name>/jdbc/alfrescoDS</jndi-name>
   </resource-description>

   <container-descriptor>
      <prefer-application-packages>
         <package-name>antlr.*</package-name>
         <package-name>org.mozilla.*</package-name>
         <package-name>org.apache.xmlbeans.*</package-name>
         <package-name>org.apache.commons.*</package-name>
         <package-name>org.apache.chemistry.*</package-name>
         <package-name>org.codehaus.jackson.*</package-name>
         <package-name>org.eclipse.jaxb.*</package-name>
         <package-name>org.eclipse.persistence.*</package-name>
         <package-name>com.sun.xml.ws.*</package-name>
         <package-name>com.sun.xml.ws.db.*</package-name>
         <package-name>com.sun.xml.ws.developer.*</package-name>
         <package-name>com.sun.xml.ws.server.*</package-name>
         <package-name>com.sun.xml.ws.transport.*</package-name>
         <package-name>com.sun.xml.ws.binding.*</package-name>
         <package-name>com.sun.xml.ws.client.*</package-name>
         <package-name>com.sun.xml.ws.handler.*</package-name>
         <package-name>com.sun.xml.ws.model.*</package-name>
         <package-name>com.sun.xml.ws.resources.*</package-name>
         <package-name>com.sun.xml.ws.util.*</package-name>
         <package-name>com.sun.xml.ws.api.*</package-name>
         <package-name>com.sun.faces.*</package-name>
         <package-name>javax.faces.*</package-name>
         
         <package-name>org.relaxng.datatype.*</package-name>
         <package-name>org.slf4j.*</package-name>
         <package-name>org.slf4j.helpers.*</package-name>
         <package-name>org.slf4j.impl.*</package-name>
         <package-name>org.slf4j.spi.*</package-name>
         <package-name>org.xmlpull.*</package-name>
         <package-name>repackage.*</package-name>
      </prefer-application-packages>

      <prefer-application-resources>
         <resource-name>javax.faces.*</resource-name>
         <resource-name>com.sun.faces.*</resource-name>
         <resource-name>META-INF/services/com.sun.xml.ws.api.wsdl.parser.WSDLParserExtension</resource-name>
         <resource-name>META-INF/services/com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension</resource-name>
         <resource-name>META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactory</resource-name>
      </prefer-application-resources>

   </container-descriptor>

   <session-descriptor>
      <cookie-http-only>false</cookie-http-only>
      <timeout-secs>10800</timeout-secs>
   </session-descriptor>
</weblogic-web-app>