Jump to content
Changes to the Jaspersoft community edition download ×

Unable to connect JNDI connection with Oracle18C


Judes

Recommended Posts

Hi recenlty we have migrated to jasper V7.8.

We try to create the JNDI connection to Oracle 18C from jasper,

below is the context.xml, From your Jasper install location, apache-tomcatwebappsjasperserver-proMETA-INFcontext.xml

<Context path="/jasperserver" 
         reloadable="false" crossContext="true">
            
    <Resource name="jdbc/jasperserver" auth="Container"
              type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
              url="jdbc:oracle:thin:@10.101.90.12:1525:jasperserver"
              username="test" password="****" maxActive="300" maxIdle="10"
              validationQuery="SELECT 1"
              maxWait="100000" 
              factory="com.jaspersoft.jasperserver.tomcat.jndi.JSCommonsBasicDataSourceFactory"
    />

    <!-- Comment this line to enable session persistence across Tomcat restarts -->
    <Manager pathname="" />

</Context>

While testing, the conection got failed and its generated the UUID: 1dc9fedb-4213-4a92-aa2d-be261fc4b613.

Kindly help me to resolve this issue.

Thanks

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...