Unable to connect JNDI connection with Oracle18C

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-tomcat\webapps\jasperserver-pro\META-INF\context.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

Judes's picture
4
Joined: Jul 19 2021 - 3:29am
Last seen: 1 year 6 months ago

0 Answers:

No answers yet
Feedback