Jump to content
We've recently updated our Privacy Statement, available here ×

I am getting below error while creating domain by using JSON data source.


shruti.kale

Recommended Posts

I am creating JSON datasource as I pass API url to create datasource.

Datasource is created successfully but while creating domain by using that datasource getting error as "datasource connection is failed".

Below error showing in jasperserver.log file

 

2019-10-29 03:44:52,285 ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-10:116 - There was an error on the server. Try again or contact site administrators. (Error UID: d7befe72-db8e-489f-a1c4-cd131a60a501)
2019-10-29 05:08:21,770 ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-2:116 - There was an error on the server. Try again or contact site administrators. (Error UID: 1595610c-ae38-45ac-a3a9-850844c9aa3e)
2019-10-29 05:09:31,585 ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-7:116 - There was an error on the server. Try again or contact site administrators. (Error UID: e12b4888-54d5-4f30-ad02-4cc742678f44)
2019-10-29 05:20:14,636 ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-5:116 - There was an error on the server. Try again or contact site administrators. (Error UID: 2c83ce31-e5c3-422e-964c-f74c247a2f6b)

Please suggest . Is any configuration is required to create domain by using JSON datasource.

 

Link to comment
Share on other sites

  • 2 months later...
  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 2 weeks later...
  • 4 months later...
  • 8 months later...

Same error when adding new SQL Server data source to local host SQL Server 2019 using JDBC driver added via data source download /add.

ERROR SecureExceptionHandlerImpl,http-nio-8080-exec-2:116 - There was an error on the server. Try again or contact site administrators. 

Error implies something with the SecureExceptionHandler ?   

Link to comment
Share on other sites

  • 2 months later...
  • 9 months later...
  • 1 year later...
  • 5 months later...

I resolved the issue 🙂
 

On the server with Jasper Server installed, I created a Wallet directory, and there the file tnsnames.ora 

In tnsnames.ora I put this:

MYDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = IPADDR)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XEPDB1))) 

Then, when adding a new data source, in the URL field (required), I included this:

jdbc:oracle:thin:@mydb?TNS_ADMIN=/your/path/to/Wallet/

And it works ! 

Link to comment
Share on other sites

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...