Hi, Jeroen.
Thank you for the reply.
I verified that the dependencies were added to /site/pom.xml.
The file hst-jaxrs-2.26.08.jar is found in:
/site/target/site/WEB-INF/lib
/target/tomcat6x/webapps/site/WEB-INF/lib
but not in:
/target/cargo/installs/apache-tomcat-6.0.37/apache-tomcat-6.0.37/lib
Should I check anywhere else?
I also checked that we have a file with the exact XML shown in your post in /site/src/main/resources/META-INF/
hst-assembly/overrides/. Does that go anywhere else, such as in the top-level /src directory?
Is there any chance of a conflict with the "CMS REST" API included by default? We see a file called "hst-cms-rest.xml" in the same "overrides" directory, which loads one of the same components.
Can you think of any other configuration steps we might have missed? Should I check for XML parsing errors
At the risk of creating an ugly post, here is the output of the launch sequence for the site. Does this contain any clues?
--------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Join Web App 1.01.00-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ joinwebapp ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /opt/hippo/release_1.07.06/joinwebapp && svn --non-interactive info
[INFO] Working directory: /opt/hippo/release_1.07.06/joinwebapp
[INFO] Storing buildNumber: -1 at timestamp: 1387469537134
[INFO] Executing: /bin/sh -c cd /opt/hippo/release_1.07.06/joinwebapp && svn --non-interactive info
[INFO] Working directory: /opt/hippo/release_1.07.06/joinwebapp
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO]
[INFO] --- cargo-maven2-plugin:1.1.3:run (cargo-run) @ joinwebapp ---
[INFO] [stalledLocalDeployer] Deploying [/opt/hippo/release_1.07.06/joinwebapp/cms/target/cms.war] to [/opt/hippo/release_1.07.06/joinwebapp/target/tomcat6x/webapps]...
[INFO] [stalledLocalDeployer] Deploying [/opt/hippo/release_1.07.06/joinwebapp/site/target/site.war] to [/opt/hippo/release_1.07.06/joinwebapp/target/tomcat6x/webapps]...
[INFO] [talledLocalContainer] Tomcat 6.x starting...
[INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8000
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:20 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/opt/hippo/release_1.07.06/joinwebapp/target/tomcat6x/common/classes], exists: [false], isDirectory: [false], canRead: [false]
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:20 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/opt/hippo/release_1.07.06/joinwebapp/target/tomcat6x/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.catalina.core.AprLifecycleListener init
[WARNING] [talledLocalContainer] INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.coyote.http11.Http11Protocol init
[WARNING] [talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8080
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.catalina.startup.Catalina load
[WARNING] [talledLocalContainer] INFO: Initialization processed in 1117 ms
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.catalina.core.StandardService start
[WARNING] [talledLocalContainer] INFO: Starting service Catalina
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.catalina.core.StandardEngine start
[WARNING] [talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/6.0.37
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:21 PM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive cargocpc.war
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:22 PM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive site.war
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:22 PM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
[WARNING] [talledLocalContainer] INFO: Setting useContextClassLoader = true
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:33 PM org.apache.catalina.startup.HostConfig deployWAR
[WARNING] [talledLocalContainer] INFO: Deploying web application archive cms.war
[INFO] [talledLocalContainer] 19.12.2013 17:12:48 INFO main [EventProcessor.<init>:117] Automatic export is disabled
[INFO] [talledLocalContainer] 19.12.2013 17:12:48 INFO main [InitializeItem.initContentResourceValues:205] Content resource configuration/richtextconfig/xinha.xml uses unrecognized delta xml semantics; export in this context will be disabled.
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.catalina.startup.HostConfig deployDirectory
[WARNING] [talledLocalContainer] INFO: Deploying web application directory manager
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.catalina.startup.HostConfig deployDirectory
[WARNING] [talledLocalContainer] INFO: Deploying web application directory host-manager
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.coyote.http11.Http11Protocol start
[WARNING] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8080
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.jk.common.ChannelSocket init
[WARNING] [talledLocalContainer] INFO: JK: ajp13 listening on /
0.0.0.0:8009[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.jk.server.JkMain start
[WARNING] [talledLocalContainer] INFO: Jk running ID=0 time=0/92 config=null
[WARNING] [talledLocalContainer] Dec 19, 2013 5:12:50 PM org.apache.catalina.startup.Catalina start
[WARNING] [talledLocalContainer] INFO: Server startup in 29254 ms
[INFO] [talledLocalContainer] Tomcat 6.x started on port [8080]
[INFO] Press Ctrl-C to stop the container...
--------------
Thanks again,
Sheldon