Git Product home page Git Product logo

ansible-role-oracle-weblogic's People

Contributors

jeqo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-role-oracle-weblogic's Issues

Weblogic installer not found

Hi everyone,
I had located my jar installer in the files directory (fmw_12.2.1.0.0_wls.jar and fmw_12.2.1.0.0_wls_Disk1_1of1.zip), path of my ansible server
But the next error appears ...

TASK [sysco-middleware.oracle-weblogic : install weblogic] **************************************************************************************************************
fatal: [ansible_host_01]: FAILED! => {"changed": true, "cmd": "java -jar /srv/files/12.2.1/fmw_12.2.1.0.0_wls.jar -silent -responseFile /opt/oraclefmw/wls.rsp >> /tmp/weblogic-installation.log", "delta": "0:00:00.004188", "end": "2017-11-04 18:28:46.774233", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-11-04 18:28:46.770045", "stderr": "Error: Unable to access jarfile /srv/files/12.2.1/fmw_12.2.1.0.0_wls.jar", "stderr_lines": ["Error: Unable to access jarfile /srv/files/12.2.1/fmw_12.2.1.0.0_wls.jar"], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/home/centos/Ansible/playbooks/weblogic/playbook.retry

Thanks for your help.

fatal: oracle_soa_oracle_home' is undefined"

I followed the README and overall all went well but I had to do to manual steps.
First fix the JAVA_HOME and PATH vairable for the user oraclefmw.
I did this by modifying the global bashrc file located at /etc/bashrc added the following two lines

export JAVA_HOME=/usr/java/jdk1.8.0_74
export PATH=${JAVA_HOME}/bin:${PATH}

Then I reran ansible and I got:


< TASK [sysco-middleware.oracle-weblogic : lineinfile] >


    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||

fatal: [default]: FAILED! => {"failed": true, "msg": "'oracle_soa_oracle_home' is undefined"}
to retry, use: --limit @oracle-retailapps.retry


so I set the variable oracle_soa_oracle_home in my yml ansible script
so the role looked something like the following

INSTALL MIDDLEWARE

- role: sysco-middleware.oracle-weblogic
  oracle_weblogic_version: 12c
  oracle_weblogic_release: 12.2.1
  oracle_weblogic_quick_installation: yes
  oracle_weblogic_install_type: Complete with Examples # WebLogic Server, Coherence, Complete with Examples
  oracle_wls_installers_12_2_1_1of1: /srv/files/fmw_12.2.1.0.0_wls_quick.zip
  oracle_weblogic_jar: /srv/files/fmw_12.2.1.0.0_wls_quick.jar
  oracle_soa_oracle_home: /opt/oraclefmw/product/oracle_home

So question is should you set the value so it has this by default or just remove the fix-wlst-securerandom-12c.yml type script ?

I am not sure what the fix-wlst-securerandom-12c.yml does so not sure if its needed since seems to be related to SOA.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.