More details.
This exception appears once I login to Nuxeo console
http://localhost:8080/nuxeo. The error on webpage is as follows:
"If you can read this in your browser, this probably because of a configuration
problem of your nuxeo.war/WEB-INF/pages.xml. To change this, edit the
OSGI-INF/deployment-fragment.xml of your project at extension pages#PAGES."
I found default-repository-ds.xml for MySQL in nuxeo-distribution and I use it
with modification. Some relevant log entries.
2009-02-26 13:59:12,596 DEBUG [org.jboss.deployment.MainDeployer] Starting
deployment of package:
file:/C:/dev/jboss-4.2.3.GA/server/default/deploy/nuxeo.ear/datasources/default-repository-ds.xml
2009-02-26 13:59:12,596 DEBUG [org.jboss.deployment.XSLSubDeployer] transformed
into doc: <server>
<mbean code='org.jboss.resource.connectionmanager.TxConnectionManager'
display-name='ConnectionManager for ConnectionFactory NXRepository/default'
name='jboss.jca:service=TxCM,name=NXRepository/default'>
<attribute name='TrackConnectionByTx'>true</attribute>
<attribute name='LocalTransactions'>false</attribute>
<depends optional-attribute-name='ManagedConnectionPool'>
<mbean
code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool'
display-name='Connection Pool for DataSource NXRepository/default'
name='jboss.jca:service=ManagedConnectionPool,name=NXRepository/default'>
<depends optional-attribute-name='ManagedConnectionFactoryName'>
<mbean code='org.jboss.resource.connectionmanager.RARDeployment'
display-name='ManagedConnectionFactory for ConnectionFactory
NXRepository/default'
name='jboss.jca:service=ManagedConnectionFactory,name=NXRepository/default'>
<attribute name='ManagedConnectionFactoryProperties'>
<properties>
<config-property name='name' type=''>default</config-property>
<config-property name='name' type=''>default</config-property>
<config-property name='xaDataSource'
type='java.lang.String'>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</config-property>
<config-property name='property'
type='java.lang.String'>ServerName=localhost</config-property>
<config-property name='property'
type='java.lang.String'>PortNumber/Integer=3306</config-property>
<config-property name='property'
type='java.lang.String'>DatabaseName=nuxeo</config-property>
<config-property name='property'
type='java.lang.String'>User=test</config-property>
<config-property name='property'
type='java.lang.String'>Password=test</config-property>
</properties>
</attribute>
<attribute
name='RARName'>nuxeo.ear#nuxeo-core-storage-sql-ra-1.5-SNAPSHOT.rar</attribute>
<attribute
name='ConnectionDefinition'>org.nuxeo.ecm.core.storage.sql.Repository</attribute>
<depends
optional-attribute-name='OldRarDeployment'>jboss.jca:service=RARDeployment,name='nuxeo.ear#nuxeo-core-storage-sql-ra-1.5-SNAPSHOT.rar'</depends>
</mbean>
</depends>
<attribute name='PoolJndiName'>NXRepository/default</attribute>
<attribute name='MinSize'>0</attribute>
<attribute name='MaxSize'>20</attribute>
<attribute name='BlockingTimeoutMillis'>30000</attribute>
<attribute name='IdleTimeoutMinutes'>15</attribute>
<attribute name='BackGroundValidation'>False</attribute>
<attribute name='BackGroundValidationMinutes'>10</attribute>
<attribute name='PreFill'>False</attribute>
<attribute
name='StatisticsFormatter'>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</attribute>
<attribute name='UseFastFail'>False</attribute>
<attribute name='Criteria'>ByNothing</attribute>
</mbean>
</depends>
<attribute name='JndiName'>NXRepository/default</attribute>
<depends
optional-attribute-name='CachedConnectionManager'>jboss.jca:service=CachedConnectionManager</depends>
<depends
optional-attribute-name='TransactionManagerService'>jboss:service=TransactionManager</depends>
</mbean>
<mbean
code='org.jboss.resource.connectionmanager.ConnectionFactoryBindingService'
display-name='Binding for ConnectionFactory NXRepository/default'
name='jboss.jca:service=ConnectionFactoryBinding,name=NXRepository/default'>
<attribute name='JndiName'>NXRepository/default</attribute>
<attribute name='UseJavaContext'>true</attribute>
<depends
optional-attribute-name='ConnectionManager'>jboss.jca:service=TxCM,name=NXRepository/default</depends>
</mbean>
</server>
...
2009-02-26 13:59:12,612 DEBUG [org.jboss.deployment.MainDeployer] Done with
create step of deploying default-repository-ds.xml
2009-02-26 13:59:12,612 DEBUG [org.jboss.deployment.MainDeployer] Begin
deployment start
file:/C:/dev/jboss-4.2.3.GA/server/default/deploy/nuxeo.ear/datasources/default-repository-ds.xml
...
2009-02-26 13:59:12,612 DEBUG [org.jboss.deployment.MainDeployer] End
deployment start on package: default-repository-ds.xml
2009-02-26 13:59:12,612 DEBUG [org.jboss.deployment.MainDeployer] Deployed
package:
file:/C:/dev/jboss-4.2.3.GA/server/default/deploy/nuxeo.ear/datasources/default-repository-ds.xml
...
13:59:34,593 ERROR [OSGiRuntimeService] Nuxeo EP Started
======================================================================
= Nuxeo EP Started
======================================================================
*ERROR[OSGiRuntimeService] Nuxeo EP Started"?*
--
Posted by "[email protected]" at Nuxeo Discussions
<http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2314#6223>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm