sustain_1 Posted March 18, 2019 Share Posted March 18, 2019 Hello,I am trying to add external users authentication from Oracle database. Current JasperServer (7.1.0) database is Postgres (Community Edition).In /WEB-INF/applicationContext-externalAuth-db.xml file i write like this: <bean id="externalDataSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.jdbc.JSDriverManagerDataSource"> <property name="driverClassName" value="${external.jdbc.driverClassName}"/> <property name="url" value="${external.jdbc.url}"/> <property name="username" value="${external.jdbc.username}"/> <property name="password" value="${external.jdbc.password}"/> </bean>and in default_master.properties i have: external.jdbcDriverClass=oracle.jdbc.OracleDriver external.jdbcUrl=jdbc:oracle:thin:@host:1521:SID external.dbUsername=uname external.dbPassword=passwordAfter server restarts i have status 404 not found in browser.And in jasperserver.log file i see this error:ERROR ContextLoader,localhost-startStop-1:331 - Context initialization failedorg.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'externalDataSource' defined in ServletContext resource [/WEB-INF/applicationContext-externalAuth-db.xml]: Could not resolve placeholder 'external.jdbcDriverClass' in string value "${external.jdbcDriverClass}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'external.jdbcDriverClass' in string value "${external.jdbcDriverClass}"in my reports i am using the same Oracle connection and it works good. I try to change string on external.jdbcDriverClass=oracle.jdbc.driver.OracleDriver but it did't works too.Help me please, what can be wrong ? Link to comment Share on other sites More sharing options...
sthomas_3 Posted March 29, 2019 Share Posted March 29, 2019 COuld you try to add tibco oracle driver that is tibcosoftware.jdbc.oracle.oracleDriver Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now