Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Services 1.8.2

After rebuilding services 1.8.2, the Nuxeo password must be reset and the CSpace server must be restarted. The password can be reset here:

file:/usr/local/share/jboss-4.2.3.GA/server/cspace/cspace/config/services/service-config.xml

URLs

Localhost (1.8.2)

http://localhost:8180/collectionspace/ui/pahma/html/index.html

Glen's initial server (1.8.1)

http://pahma.collectionspace.org:8180/collectionspace/ui/pahma/html/index.html

Glen's current server (1.8.2)

http://pahmacspace.berkeley.edu:8180/collectionspace/ui/pahma/html/index.html

Demo (1.8)

http://demo.collectionspace.org/collectionspace/ui/lifesci/html/index.html

Errors

When attempting to build services 1.8.1, I get the following error:





When I checked the terminal, I found this:

BUILD FAILED
/Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/build.xml:249: The following error occurred while executing this line:
/Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/services/build.xml:160: The following error occurred while executing this line:
/Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/services/collectionobject/build.xml:112: The following error occurred while executing this line:
/Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/services/collectionobject/3rdparty/build.xml:121: The following error occurred while executing this line:
/Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-hearst/build.xml:122: Warning: Could not find file /Users/michaelblack/Documents/CSpaceSourceCode/svn4/trunk/services/v1.8.1/services/collectionobject/3rdparty/nuxeo-platform-collectionobject-hearst/target/org.collectionspace.services.collectionobject.CollectionObjectTenant3.nuxeo-1.8-SNAPSHOT.jar to copy.

Thinking that the problem was a mistaken reference to Tenant3 (PAHMA tenant) in Tenant2 (LifeSci)'s build.xml file, I looked at line 122 for such an error:

<copy file="${basedir}/target/${nuxeo.collectionobject.jar}" todir="${jboss.deploy.nuxeo.plugins}"/>

No obvious problem. Going upstairs one level to build.xml, line 121 is this:

<ant antfile="${nuxeo-platform-collectionobject-hearst}/build.xml" target="deploy" inheritall="false"/>

No obvious problem. Going upstairs one more level to build.xml, line 112 is this:

<ant antfile="3rdparty/build.xml" target="deploy" inheritall="false"/>

No obvious problem. Going upstairs one more level to build.xml, line 160 is this:

<target name="doc-unix" if="osfamily-unix">
        <exec executable="mvn" failonerror="true">
            <arg value="javadoc:aggregate" />
            <arg value="${mvn.opts}" />
        </exec>
    </target>

No obvious problem. Going upstairs one more level to build.xml, line 249 is this:

<ant antfile="services/build.xml" target="deploy" inheritAll="false"/>

No obvious problem found, so I guess I'll just try to get 1.8.2 working.


Got 1.8.2 working (error appears to have been a result of either:

  • not having reformatted copies of anthropology and pahma schemas in JAXB directory, OR
  • having improperly formed anthropology and pahma schemas in collectionobject/nuxeo-platform-collectionobject-pahma/src/main/resources/schemas
    ("</xs:schema>" should be at end of elements; was before "nagpraInventorys")
  • No labels