• codigo de openkm-ds.xml

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #15070  by Dyehuty
 
Buenos días
a continuacion adjunto el codigo de openkm-ds.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<datasources> 
<local-tx-datasource>   
<jndi-name>OpenKMDS</jndi-name>    
<connection-url>jdbc:postgresql://localhost:5432/OKM_APP</connection-url>    
<driver-class>org.postgresql.jdbcDriver</driver-class>    
<user-name>openkm</user-name>    
<password>admin</password>    
<min-pool-size>5</min-pool-size>    
<max-pool-size>20</max-pool-size>   
<idle-timeout-minutes>28680</idle-timeout-minutes>    
<prepared-statement-cache-size>32</prepared-statement-cache-size>    
<metadata>  
<!--<type-mapping>PostgreSQL</type-mapping>-->    
<type-mapping>PostgreSQL 9.1</type-mapping>
<!--<type-mapping>PostgreSQL 9.1</type-mapping>-->    
</metadata> 
<depends>jboss:service=postgresql=OKM_APP</depends>  
</local-tx-datasource>  
<mbean code="org.jboss.jdbc.postgresql"          
name="jboss:service=postgresql=OKM_APP">    
<attribute name="Database">OKM_APP</attribute>    
<attribute name="InProcessMode">true</attribute>  
</mbean>
</datasources>
- Tengo la duda si en el password se pone el de postgre o el de el openkm
y la parte que va despues del metadata que no se como va :?
 #15093  by jllort
 
si has creado un usuario openkm tienes que poner el password de ese usuario ( por temas de seguridad eso seria lo suyo ).
Code: Select all
<metadata>
        <type-mapping>PostgreSQL</type-mapping>
        <!-- <type-mapping>PostgreSQL 8.0</type-mapping> -->
        <!-- <type-mapping>PostgreSQL 7.2</type-mapping> -->
    </metadata>
Aunque lo del metadata no es necesario dado que no se esta utilizando CMP
 #15137  by Dyehuty
 
Hola!!
ya organice los archivos para poder conectar la base de datos postgresql, y en en server.log me presenta errores y por ende no me deja abrir el openkm.

A continuación adjunto el archivo.
Attachments
(65.1 KiB) Downloaded 243 times
 #15175  by jllort
 
El error te lo esta diciendo ( invalid character )
Code: Select all
2012-04-09 15:40:45,225 INFO  [org.jboss.system.ServiceConfigurator] Problem configuring service jboss.jca:service=ManagedConnectionFactory,name=OpenKMDS

java.lang.Error: Invalid ObjectName: jboss:service=postgresql=OKM_APP; javax.management.MalformedObjectNameException: Invalid character '=' in value part of property

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.