Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Connect autonomous database with fn through python

3497231Sep 11 2019

Hi Everyone,

Can anyone ,please suggest me in the below .

I wanted to run my python code through oracle serverless computing( through fn function)

Therefore I am facing challenge in connecting to adwc database with fn.

In order to connect I need a init image file in python or Dockerfile in python.

Can anyone suggest me, how to connect to autonomous database using fn .

I tried connecting using instant client . How ever it didn't worked.

Here is the dockerfile

FROM oraclelinux:7-slim

ARG release=18

ARG update=5

RUN  yum -y install oracle-release-el7 && yum-config-manager --enable ol7_oracle_instantclient && \

     yum -y install oracle-instantclient${release}.${update}-basic oracle-instantclient${release}.${update}-devel oracle-instantclient${release}.${update}-sqlplus && \

     rm -rf /var/cache/yum && \

     echo /usr/lib/oracle/${release}.${update}/client64/lib > /etc/ld.so.conf.d/oracle-instantclient${release}.${update}.conf && \

     ldconfig

Please suggest.

ENV PATH=$PATH:/usr/lib/oracle/${release}.${update}/client64/bin

CMD ["sqlplus", "-v"]

Comments

843799
..try ask on another, "more officiall" Java3D forum:

[http://forums.java.net/jive/forum.jspa?forumID=70]

843799
neblaz wrote:
Does anybody knows, how Java 3D will develop in the near future?
Not at all I regret,

[http://forums.java.net/jive/thread.jspa?threadID=36022&tstart=315]

Your best option if you want 3D on your desktop is JOGL.

[http://jogamp.org/jogl/www/]

What's missing is Oracle's official approval and support. It would cost so little and mean so much so I hope they'll step forward and show responsibility and leadership.
843799
Why do people keep talking about the demise of java3d? It WAS on hold but it's still actively developed as evidenced by a 1.6 pre-release (last one dated a week ago).

Also, your solution to use JOGL doesn't answer the question. He wanted to know about an alternative scene graph engine. JOGL is a low level API around OpenGL, Not the same thing.

So I'll ask - is there an alternative scene graph engine out there? One that can run fine on mac, windows and linux?
843799
SproketBoy wrote:
So I'll ask - is there an alternative scene graph engine out there? One that can run fine on mac, windows and linux?
Why do you ask that for if you're so happy with Java3D?

I'm reluctant to give any alternatives to Java3D because I think the best option is Jogl as I said. But okay you have Aviatrix3D and JMonkey which I find the most promising.
843799
Ardor3D might be worth checking out.
843799
Thanks. That's interesting.
1 - 6

Post Details

Added on Sep 11 2019
0 comments
297 views