Coder Social home page Coder Social logo

Comments (4)

araczkowski avatar araczkowski commented on June 17, 2024

Hi @lmfmsilva

it's because the Oracle REST Data Service in the apex_pu.xml is not configured correctly.

I will check this deeper but as a workaround you can:

  1. in console
ssh root@localhost -p 49160
vim /u01/ords/conf/apex_pu.xml

change the password to your password and the username to APEX_REST_PUBLIC_USER
image
service tomcat restart
tail -f /tomcat/logs/catalina.out

  1. in browser go to http://localhost:8080/ords

now should be OK

from docker-oracle-apex-ords.

lmfmsilva avatar lmfmsilva commented on June 17, 2024

Hi Andrzej ,

Even though the workaround clears the error, the fundamental issue is that ords doesn't seem able to serve workspace static files (I suspect that static application files as well).

I tried to validate the ords.war:
java -jar /tomcat/webapps/ords.war validate
(used the localhost, sys/secret params)
But the connection fails:
WARNING: Failed to connect to user SYS AS SYSDBA jdbc:oracle:thin:@localhost:1521:xe
IO Error: Connection reset

Any ideas?

from docker-oracle-apex-ords.

araczkowski avatar araczkowski commented on June 17, 2024

now I noticed that you have a problem with the serving static APEX files via ORDS, strange
(previously I thought the your problem is with Oracle REST)

OK, tell me more:

  1. Which option?
    Own image
    or
    Prebuild image from docker hub

  2. Which version?
    the newest APEX 5.1 and ORDS 3.0.9
    or
    older version

  3. Are you able to connect to the container via ssh?
    (https://github.com/araczkowski/docker-oracle-apex-ords#connect-via-ssh-to-server-with-following-setting)

  4. send me a print screen from your browser console, what can you see on this link: http://localhost:8080/ords/apex
    image

from docker-oracle-apex-ords.

lmfmsilva avatar lmfmsilva commented on June 17, 2024

Hi,

  1. Prebuilt image from hub.docker.com
  2. The newest version (apex 5.1) - but the problem also occured in the previous version
  3. Yes I am
  4. See atached image:
    apex_login

I was able to solve this problems by repeating the ords.war setup command (and restarting tomcat):
root@8845bb4fb5e9:/tomcat/webapps# java -jar ords.war setup

from docker-oracle-apex-ords.

Related Issues (9)

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.