<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Connecting to UCCX Datasource from custom Java class</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6522489" />
  <subtitle>Connecting to UCCX Datasource from custom Java class</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6522489</id>
  <updated>2013-05-21T11:03:31Z</updated>
  <dc:date>2013-05-21T11:03:31Z</dc:date>
  <entry>
    <title>RE: Connecting to UCCX Datasource from custom Java class</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11978112" />
    <author>
      <name>Steven Pawlak</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11978112</id>
    <updated>2013-02-15T16:27:10Z</updated>
    <published>2013-02-15T16:27:10Z</published>
    <summary type="html">The DB sources in UCCX Administration are not going to be exposed to users or documented. 
 
I would suggest that you look at decompiling one of the DB steps or view source on the DB connection page to see what code they are calling. Personally I would just use a parameter in the script to pass the string or go to Premium and use the steps. </summary>
    <dc:creator>Steven Pawlak</dc:creator>
    <dc:date>2013-02-15T16:27:10Z</dc:date>
  </entry>
  <entry>
    <title>Connecting to UCCX Datasource from custom Java class</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522488" />
    <author>
      <name>Josh Whaley</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6522488</id>
    <updated>2012-09-18T21:12:47Z</updated>
    <published>2012-09-18T21:12:47Z</published>
    <summary type="html">I have a java class that saves some information to a database after it's run. I can connect to the database using the java.sql.DriverManager.getConnection() method. But I can't seem to use a datasource created in UCCX administration. Is there a way to do this?
 
I am able to do this in UCCE, but when I attempt to retrieve the context using initialContext.lookup("java:comp/env") I get a namingexception.
 
Can anyone point me in the right direction?</summary>
    <dc:creator>Josh Whaley</dc:creator>
    <dc:date>2012-09-18T21:12:47Z</dc:date>
  </entry>
</feed>

