Skip to Main Content

Database Software

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.

pgx.get_session returning no realm client implementation found

User_BNJR8Jul 16 2021

This is my first time using pypgx and I'm trying to load a session and I'm using Oracle Graph Client but I keep getting this error even trying to run .get_session()
Traceback (most recent call last):
File "query-PgxServer.py", line 30, in <module>
instance = pgx.get_session("http://ipagtpgx1.snt.bls.bls.com:40001/pypgx", " my_session")
File "/opt/app/canopi/appl/python/python3/lib/python3.8/site-packages/pypgx/ap i/_pgx.py", line 101, in get_session
server_instance = pgx.get_instance(base_url, token=token)
File "/opt/app/canopi/appl/python/python3/lib/python3.8/site-packages/pypgx/ap i/_pgx.py", line 46, in get_instance
java_server_instance = java_handler(self._pgx.getInstance, args)
File "/opt/app/canopi/appl/python/python3/lib/python3.8/site-packages/pypgx/ut ils/error_handling.py", line 57, in java_handler
raise RuntimeError(message) from None
RuntimeError: JVM exception occurred: no realm client implementation found; make sure you have all required JAR files on the classpath java.lang.IllegalStateExc eption
Java stack trace:
java.lang.IllegalStateException: no realm client implementation found; make sure you have all required JAR files on the classpath
oracle.pgx.api.internal.RealmClientFactory.provide(RealmClientFactory.java:4 6)
oracle.pgx.api.Pgx.getRealmClientFor(Pgx.java:107)
oracle.pgx.api.ServerInstance.<init>(ServerInstance.java:73)
oracle.pgx.api.ServerInstance.<init>(ServerInstance.java:69)
oracle.pgx.api.Pgx.getInstance(Pgx.java:199)
oracle.pgx.api.Pgx.getInstance(Pgx.java:188)
oracle.pgx.api.Pgx.getInstance(Pgx.java:126)

Comments

Post Details

Added on Jul 16 2021
6 comments
373 views