Closed i-rupesh closed 3 years ago
Hi @rupeshk071
there are two issues here I believe.
oscm-identity
in /docker/docker-compose-oscm.yml
and the line starting with IMAGE_IDENTITY=...
in /docker/.env
(assuming /docker
is the directory where you installed OSCM).docker run --name deployer2 --rm -v /docker:/target -v /var/run/docker.sock:/var/run/docker.sock -e INITDB=true -e STARTUP=true servicecatalog/oscm-deployer
Hi GoebeIL,
I have tried to do same as mentioned by you, but i don't know exactly what i need to replace in var.env
DB_PORT_CORE=5432 DB_PORT_JMS=5432 DB_PORT_APP=5432 DB_PWD_CORE=${DB_PWD_CORE} DB_PWD_APP=${DB_PWD_APP} DB_SUPERPWD=${DB_SUPERPWD} SMTP_HOST=${SMTP_HOST} SMTP_PORT=${SMTP_PORT} SMTP_FROM=${SMTP_FROM} SMTP_USER=${SMTP_USER} SMTP_PWD=${SMTP_PWD} SMTP_AUTH=${SMTP_AUTH} SMTP_TLS=${SMTP_TLS} APP_ADMIN_MAIL_ADDRESS=${SMTP_FROM} APP_TRUSTSTORE_BSS_ALIAS=1 CONTROLLER_ORG_ID=${CONTROLLER_ORG_ID} CONTROLLER_USER_KEY=${CONTROLLER_USER_KEY} CONTROLLER_USER_NAME=${CONTROLLER_USER_NAME} CONTROLLER_USER_PASS=${CONTROLLER_USER_PASS} DB_USER_VMWARE=${DB_USER_VMWARE} DB_PWD_VMWARE=${DB_PWD_VMWARE} VCENTER_NAME=${VCENTER_NAME} DATACENTER_NAME=${DATACENTER_NAME} CLUSTER_NAME=${CLUSTER_NAME} LOAD_BALANCER_NAME=${LOAD_BALANCER_NAME} KEY_SECRET=${KEY_SECRET} HOST_FQDN=${HOST_FQDN} REPORT_ENGINEURL=https://${HOST_FQDN}:8681/birt/frameset?__report=\${reportname}.rptdesign&SessionId=\${sessionid}&__locale=\${locale}&WSDLURL=\${wsdlurl}&SOAPEndPoint=\${soapendpoint}&wsname=Report&wsport=ReportPort
Hi @rupeshk071 you need to replace all variables ${...}. See the hint given in the comment above each setting. We will share an example version for the var.env file.
Please also find the information in the Operator's Guide. Settings are listed in the Appendix.
followed the instruction to install oscm in my local vm by install docker and docker-compose, All the Containers started but when i hit url got empty reply from server. Dubug by going inside container checked with curl localhost::8081/oscm-portal/ same issue (Empty reply from server).
Checked the logs got some issue in logs please find below some Error lines of the logs:
=========================================================== docker logs -f oscm-core
keytool error: java.io.FileNotFoundException: /opt/trusted_certs/* (No such file or directory) Listening for transport dt_socket at address: 8000 11-Aug-2019 08:10:31.709 INFO [main] org.apache.openejb.persistence.PersistenceBootstrap.getDefaultProvider Default JPA Provider changed to org.eclipse.persistence.jpa.PersistenceProvider 11-Aug-2019 08:10:32.298 WARNING [main] sun.reflect.NativeMethodAccessorImpl.invoke [SetAllPropertiesRule]{Server/Service/Connector/SSLHostConfig/Certificate} Setting property 'xpoweredBy' to 'false' did not find a matching property. 11-Aug-2019 08:10:32.298 WARNING [main] sun.reflect.NativeMethodAccessorImpl.invoke [SetAllPropertiesRule]{Server/Service/Connector/SSLHostConfig/Certificate} Setting property 'server' to 'Apache TomEE' did not find a matching property.
11-Aug-2019 08:10:37.837 SEVERE [main] org.apache.openejb.OpenEJB$Instance. OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system.
org.apache.openejb.OpenEJBException: java.lang.IllegalStateException: Infinite loop in property interpolation of ${DB_PWD_CORE}: DB_PWD_CORE: Infinite loop in property interpolation of ${DB_PWD_CORE}: DB_PWD_CORE
============================================================== docker logs -f oscm-app
/opt/apache-tomee/bin/catalina.sh: line 104: ${PROXY_ENABLED}: command not found
11-Aug-2019 08:10:58.759 SEVERE [main] org.apache.openejb.OpenEJB$Instance. OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system.
org.apache.openejb.OpenEJBException: java.lang.IllegalStateException: Infinite loop in property interpolation of ${DB_PWD_APP}: DB_PWD_APP: Infinite loop in property interpolation of ${DB_PWD_APP}: DB_PWD_APP
============================================================== [root@instance-1 ~]# docker logs -f oscm-birt sed: can't read /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/lib/security/java.security: No such file or directory Java virtual machine used: /usr/lib/jvm/jre/bin/java classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar main class used: org.apache.catalina.startup.Bootstrap flags used: options used: -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager arguments used: start
Please help its urgent ...