Hi,

I'm using my own repository (I disabled the demo one following the
instructions at http://svn.nuxeo.org/trac/nuxeo/wiki/sqlRepository),
but since yesterday's snapshot (0604) I get redirected to a seam debug page
when I try to log in. The error seems to be coming from :

org.nuxeo.ecm.webapp.helpers.StartupHelper.initDomainAndFindStartupPage(
StartupHelper.java:139)

I tried to deploy from the trunk as well but it didn't help ... any idea ?
To reproduce it just d&d the two attached files in nuxeo.ear/config and
launch jboss.

Cedric
<?xml version="1.0"?>
<component name="custom-layout-bundle">

  <extension target="org.nuxeo.ecm.platform.util.LocationManagerService" point="location">
    <locationManagerPlugin>
      <locationEnabled>false</locationEnabled>
      <locationName>demo</locationName>
    </locationManagerPlugin>
    <locationManagerPlugin>
      <locationEnabled>true</locationEnabled>
      <locationName>custom</locationName>
    </locationManagerPlugin>
  </extension>

  <extension target="org.nuxeo.ecm.platform.api.PlatformService" point="servers">
    <server name="default" host="localhost" port="1099">
      <repository name="custom" class="org.nuxeo.ecm.core.api.CoreSession" description="Custom Repository" />
    </server>
  </extension>

</component>
<?xml version="1.0"?>
<component name="custom-repository-config">
  <extension target="org.nuxeo.ecm.core.repository.RepositoryService" point="repository">

    <repository name="custom" factory="org.nuxeo.ecm.core.repository.jcr.JCRRepositoryFactory"
      securityManager="org.nuxeo.ecm.core.repository.jcr.JCRSecurityManager" forceReloadTypes="false">
      <Repository>

        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
          <param name="path" value="${rep.home}/repository" />
        </FileSystem>

        <Security appName="Jackrabbit">
          <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager"></AccessManager>
          <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
            <param name="anonymousId" value="anonymous" />
          </LoginModule>
        </Security>

        <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" />

        <Workspace name="${wsp.name}">
          <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${wsp.home}" />
          </FileSystem>
          <PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"></PersistenceManager>
          <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            <param name="path" value="${wsp.home}/index" />
          </SearchIndex>
        </Workspace>

        <Versioning rootPath="${rep.home}/version">
          <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${rep.home}/version" />
          </FileSystem>
          <PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"></PersistenceManager>
        </Versioning>

        <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
          <param name="path" value="${rep.home}/repository/index" />
        </SearchIndex>

      </Repository>
    </repository>

  </extension>
</component>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to