A co-worker directed me on how to use the Maven overlay POM to exclude 
components....so I'm giving that a try.


On Monday, February 26, 2024 at 6:24:36 PM UTC-8 Ed O. wrote:

> I'm new to CAS and I'm trying to use jdbc query authentication running on 
> JBOSS 8.0.
>
> In gradle.properties I have set the appServer entry to blank since I'll be 
> using an external servlet container.
> appServer=
>
> and in the build.gradle I specify I need jdbc support.
> implementation "org.apereo.cas:cas-server-support-jdbc"
>
> In my cas.properties, I have specified the driver class and the datasource 
> name to be used from the standalone.xml datasource details in JBOSS. I've 
> also specified the cas.authn.jdbc.query[0].sql and fields.
>
> cas.authn.jdbc.query[0].driver-class=oracle.jdbc.driver.OracleDriver
>
> cas.authn.jdbc.query[0].data-source-name=jdbc/ivrsadminDS
>
> The problem is that the CAS war is built with an oracle JDBC driver, which 
> is not needed....but more importantly the JBOSS server cannot index this 
> driver..and fails to deploy the war.   
>
> So my two part question is, ...when configuring for an external server 
> when a server datasource is specified , should a db driver be bundled in 
> the WAR, and if it is by default, is there a way to exclude the oracle jdbc 
> driver from the war file when specifying jdbc support? 
>
> Thanks!
>
>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/952f7e9a-602d-4eb7-bcdc-33daaf34c392n%40apereo.org.

Reply via email to