Hi everyone. I`ve been installing the xCP environment few days following the guidelines from the xcp_2.0_deploy.pdf -> Manually Provisioning an xCP Environment. So far everything was going well, until I got to the BAM server deployment.
I am using Tomcat 7.0.35 as application server running on port 28080.
The guide is a bit confusing to me, as there is no wrapper.conf in the Tomcat installation, and setting the classpath in setclasspath.bat resulted in no deployment for bam-server.war with the following error:
Could not load properties; nested exception is java.io.FileNotFoundException: ${bam.properties} (The system cannot find the file specified)
The next thing I did was putting all the files in an already predefined classloader for tomcat. I found this on the official tomcat web page:
A class loader is created for each web application that is deployed in a single Tomcat instance. All unpacked classes and resources in the /WEB-INF/classes directory of your web application, plus classes and resources in JAR files under the /WEB-INF/lib directory of your web application, are made visible to this web application, but not to other ones.
Based on this, I put all files inside the /WEB-INF/classes, after what the deployment of bam-server.war went well. However the problem is that although the deployment is going well without errors, bam-server is not available.
Here are my files, previously configured and copied into /WEB-INF/classes:
1. Modified bam.properties file and copied into /WEB-INF/classes:
bam.jdbc.dialect=oracle
bam.jdbc.url=jdbc:oracle:thin@localhost:1521:LISTENER
bam.jdbc.driver=oracle.jdbc.driver.OracleDriver
bam.jdbc.userName=<username>
bam.jdbc.password=<password>
bam.jdbc.preference.maxRows=10000
bam.jdbc.preference.deployBatchSize=2500
bam.jdbc.preference.dataFormatBatchSize=1000
bam.jdbc.preference.initialSize=10
bam.jdbc.preference.maxIdle=-1
bam.jdbc.preference.maxActive=-1
bam.dfc.session.repository=xcp_docu
bam.dfc.session.repositoryUserName=<repository_username>
bam.dfc.session.repositoryPassword=<repository_password>
2. Modified bam-server.properties and copied into /WEB-INF/classes:
bam.server.host=localhost
bam.server.port=8010
bam.server.context=bam-server
3. Copied dfc.properties into /WEB-INF/classes:
dfc.data.dir=C:/Documentum
dfc.globalregistry.password=...
dfc.globalregistry.repository=xcp_docu
dfc.globalregistry.username=<global_rep_username>
dfc.search.ecis.enable=false
dfc.search.ecis.host=
dfc.search.ecis.port=
dfc.session.secure_connect_default=try_native_first
dfc.tokenstorage.dir=C:/Documentum/apptoken
dfc.tokenstorage.enable=false
dfc.docbroker.host[0]=XCP2
dfc.docbroker.port[0]=1489
dfc.session.allow_trusted_login=false
4. Copied dfc.keystore and put instide /WEB-INF/classes
5. log4j is inside /WEB-INF/classes
Can you please help me with the installation, since I am stucked?
Thank you