Yes, both files have been merged in 5.4. Le 26/11/10 11:56, Nicolas SARMIR a écrit : > Here is the 5.3.2 default-repository-ds.xml: > > cat > $NUXEO/server/default/deploy/nuxeo.ear/datasources/default-repository-ds.xml > <?xml version="1.0"?> > <connection-factories> > <tx-connection-factory> > <jndi-name>NXRepository/default</jndi-name> > <xa-transaction/> > <track-connection-by-tx/> > <adapter-display-name>Nuxeo SQL Repository > DataSource</adapter-display-name> > <rar-name>nuxeo.ear#nuxeo-core-storage-sql-ra-1.6.2.rar</rar-name> > > <connection-definition>org.nuxeo.ecm.core.storage.sql.Repository</connection-definition> > <config-property name="name">default</config-property> > <max-pool-size>20</max-pool-size> > > <config-property name="xaDataSource" > type="java.lang.String">org.postgresql.xa.PGXADataSource</config-property> > <config-property name="property" > type="java.lang.String">ServerName=localhost</config-property> > <config-property name="property" > type="java.lang.String">PortNumber/Integer=5432</config-property> > <config-property name="property" > type="java.lang.String">DatabaseName=nuxeo</config-property> > <config-property name="property" > type="java.lang.String">User=nuxeo</config-property> > <config-property name="property" > type="java.lang.String">Password=nuxeo</config-property> > </tx-connection-factory> > </connection-factories> > > Default-repository-config and default-repository-ds are in one file on 5.4? > > Regards, Nicolas. > > On 26.11.2010 11:45, Thierry Delprat wrote: >> Your 5.3.2 repo config is bound to JBoss (as you can see the factory is >> different between JBoss and Tomcat because >> JCA is not implemented the same way). >> In 5.3.2 was does you default-repository-ds look like ? >> >> Tiry >> >> On 26 November 2010 11:37, Nicolas SARMIR <[email protected] >> <mailto:[email protected]>> wrote: >> >> That's the problem: i've nothing on the log file. >> I check the creation date and it's the right date. >> >> Error with the repo db could be possible: i would use my >> default-repository-config.xml from my nuxeo 5.3.2 but it >> wouldn't work. >> Here are my two default-repository-config.xml files: >> From nuxeo 5.3.2 >> <?xml version="1.0"?> >> <component name="default-repository-config"> >> <extension target="org.nuxeo.ecm.core.repository.RepositoryService" >> point="repository"> >> <repository name="default" >> >> factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory"> >> <repository name="default"> >> <schema> >> <field type="largetext">note</field> >> <field type="largetext">webp:content</field> >> <field type="largetext">webc:welcomeText</field> >> <field type="largetext">comment:comment</field> >> <field type="largetext">post</field> >> <field type="largetext">mail:mail</field> >> </schema> >> <indexing> >> <fulltext analyzer="english"> >> <index name="default"> >> <!-- all props implied --> >> </index> >> <index name="title"> >> <field>dc:title</field> >> </index> >> <index name="description"> >> <field>dc:description</field> >> </index> >> </fulltext> >> </indexing> >> </repository> >> </repository> >> </extension> >> </component> >> >> >> >> From 5.4.0.1 >> <?xml version="1.0"?> >> <component name="default-repository-config"> >> <extension target="org.nuxeo.ecm.core.repository.RepositoryService" >> point="repository"> >> <repository name="default" >> >> factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory"> >> <repository name="default"> >> <clustering enabled="false" delay="1000" /> >> <binaryStore path="" /> >> <schema> >> <field type="largetext">note</field> >> <field type="largetext">webp:content</field> >> <field type="largetext">webc:welcomeText</field> >> <field type="largetext">comment:comment</field> >> <field type="largetext">post</field> >> <field type="largetext">mail:mail</field> >> </schema> >> <indexing> >> <fulltext analyzer="english"/> >> </indexing> >> <xa-datasource>org.postgresql.xa.PGXADataSource</xa-datasource> >> <property name="ServerName">localhost</property> >> <property name="PortNumber">5432</property> >> <property name="DatabaseName">nuxeo</property> >> <property name="User">nuxeo</property> >> <property name="Password">nuxeo</property> >> </repository> >> </repository> >> </extension> >> </component> >> >> >> Thanks for you help. >> >> Regards, Nicolas. >> >> >> On 25.11.2010 18:35, Thierry Delprat wrote: >>> >>> Do you have anything interesting in the logs ? >>> Do you have domain/workspace structure ? If yes, check the creation >>> date. >>> >>> May be there is something wrong with repo db config and your repo is >>> running against the embeded db. >>> >>> Tiry >>> >>> Le 25 nov. 2010 11:35, "Nicolas SARMIR" >>> <[email protected] >>> <mailto:[email protected]>> a écrit : >>> > Hi all, >>> > >>> > I'm experiencing a problem after nuxeo migration from jboss 5.3.2 to >>> > tomcat 5.4. I'm using postgresql. Everything look working fine but my >>> > documents created before the migration are all unavailable on the >>> > interface. There are no error message. >>> > >>> > Is it a know problem? >>> > >>> > Thanks and regards, Nicolas. >>> > _______________________________________________ >>> > ECM mailing list >>> > [email protected] <mailto:[email protected]> >>> > http://lists.nuxeo.com/mailman/listinfo/ecm >>> > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm >> >> > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
-- Julien Carsique, Nuxeo (Paris, France) www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
