Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper, OracleDB and tnsnames

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper, OracleDB and tnsnames


Chronological Thread 
  • From: "Gettes, Michael" <>
  • To: "" <>
  • Subject: [grouper-users] Grouper, OracleDB and tnsnames
  • Date: Fri, 1 Feb 2019 03:09:40 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:f6BFhxKZpvRue/CvmdmcpTZWNBhigK39O0sv0rFitYgeI/7xwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicZOTAk7GHZhM9+gqVaoB29qBNy2JTbbJ2QNPdkfqPRYdEXSGxcVchRTSxBBYa8YpMBA+QAI+lYs5X9qEUVrRemGAKiA+LvxSNIhnDsw6I61+otGhzB0QwvAd0OrGjUo8vuNKoJTOC1wq3IwS/dYPxLxDfw8Y7FeQ0vr/GLWLJ/a8vRyU83GgPZjlWQs5LqMCmI2egXqWib8uxgWfqoi249sQ5+vjyvydk2hobVgYIVz0jI9StkwIYpON24UlB0YcK+H5tLtCGWLZF2Qt4kQ2xupS00yaUGtIamcCQUy5kr3QDTZ+KFfoSS4B/uW/ydLSpmiH9lYL6zmgq+/VKux+D9TMW4zVJHoylfntXRqHwBzxLT5daER/dh+0qs3CiA2B3N5uxGJE07jrTUJp09zrM1i5YevlnMEjHzlUrokKOWeF8r9+614Or9eLrmvIWTN4pshwH+LKsunsu/DPwjMggLQ2ib4f6w1KDt/U39WrlFkOA5krTBvJDbI8QUuLK5DhdI3oo96BuzFSmq3MoakHUdLl9IdwiLg5X3N1zOOPz4CO2wg1WokDdl3fDGObjhD43CLnfdjLfhYahy61VHxQouw9Bf44hYBa8cL/LuQkPxrsDXDgclMwyoxObqENp91pkZWWKSGq+WLrnSvUaV5uI0PeaMfpQVtS35K/gk/P7ukWQ5lUUcfamvwZsYdmq4HvJ4LEWFf3bgmMkOHnoXvll2cOu/wlKYViNLamz3Qrkx/CoTCYS6AJ3FS5z3xrGNwW3zSpJMYX1eB0rJDGzlbZ6sWvEQZTiUL9M71DEISO7yZZUm0ETkmwLm17d8aqLx+yYYvJ/nnpAh6ODPiRwp3SF6C4KQ33zbHDI8pX8BWzJjhPM3mkd60FrWiaU=

Hi all,

I am trying to configure (in docker containers, of course) grouper to use OracleDB.  I have been doing this for some time with no issue but I have been using the syntax of jdbc:oracle:thin:@FULL-TNS-NAMES-ENTRY-SINGLE-STRING

I want to switch to using jdbc:oracle:thin:@tnsEntryName.  The page  https://docs.oracle.com/cd/B19306_01/java.102/b14355/urls.htm#i1070726 towards the bottom where it says "Thin-style Service Name Syntaxā€¯ indicates this is possible.  I have configured -Doracle.net.tns_admin=/ in GSH_JVMARGS env variable for docker and I test it with GSH and it appears to work fine.  I do a look up against the subject source and no issues.  HOWEVER, I then go and fire up the UI with the same config I get the error below.  Has anyone else gotten this to work either with Docker or not?

ui_1        | tomcat;console;dev;;Subject API error: problem with subject.properties source id: UFperson, Error connecting to the database with credentials from subject.properties, url: jdbc:oracle:thin:@SHIBPRD, driver: oracle.jdbc.driver.OracleDriver, user: XXXXXX, java.sql.SQLRecoverableException: IO Error: Unknown host specified 
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:548)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:564)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:251)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
ui_1        | tomcat;console;dev;; at java.sql.DriverManager.getConnection(DriverManager.java:664)
ui_1        | tomcat;console;dev;; at java.sql.DriverManager.getConnection(DriverManager.java:247)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.subject.provider.JDBCSourceAdapter2.checkConfig(JDBCSourceAdapter2.java:218)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.subject.SubjectCheckConfig.checkConfig(SubjectCheckConfig.java:106)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.grouper.misc.GrouperCheckConfig$1.callback(GrouperCheckConfig.java:522)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:974)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:518)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:313)
ui_1        | tomcat;console;dev;; at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:781)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4599)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5242)
ui_1        | tomcat;console;dev;; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
ui_1        | tomcat;console;dev;; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
ui_1        | tomcat;console;dev;; at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:596)
ui_1        | tomcat;console;dev;; at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1805)
ui_1        | tomcat;console;dev;; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
ui_1        | tomcat;console;dev;; at java.util.concurrent.FutureTask.run(FutureTask.java:266)
ui_1        | tomcat;console;dev;; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
ui_1        | tomcat;console;dev;; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
ui_1        | tomcat;console;dev;; at java.lang.Thread.run(Thread.java:748)
ui_1        | tomcat;console;dev;;Caused by: oracle.net.ns.NetException: Unknown host specified 
ui_1        | tomcat;console;dev;; at oracle.net.resolver.HostnameNamingAdapter.resolve(HostnameNamingAdapter.java:188)
ui_1        | tomcat;console;dev;; at oracle.net.resolver.NameResolver.resolveName(NameResolver.java:130)
ui_1        | tomcat;console;dev;; at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:428)
ui_1        | tomcat;console;dev;; at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:897)
ui_1        | tomcat;console;dev;; at oracle.net.ns.NSProtocol.connect(NSProtocol.java:271)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1663)
ui_1        | tomcat;console;dev;; at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:385)
ui_1        | tomcat;console;dev;; ... 29 more
ui_1        | tomcat;console;dev;;



  • [grouper-users] Grouper, OracleDB and tnsnames, Gettes, Michael, 02/01/2019

Archive powered by MHonArc 2.6.19.

Top of Page