[cas-dev] cas-dev Digest, Vol 42, Issue 8

Smita Vithal Kharkar Smita_Kharkar at infosys.com
Thu May 8 23:55:07 EDT 2008


Thanks Scott for your quick replies!!
Actually the cas-server-3.2.1.war does not include cas-server-support-jdbc-3.2.1.jar,
But it is included in the modules folder which comes with the complete download of CAS3.2.1

Now I am able to use credentials stored in my database.

---
Regards,
Smita
In matters of conscience, the law of majority has no place.
________________________________
From: Scott Battaglia [mailto:scott.battaglia at gmail.com]
Sent: Friday, May 09, 2008 9:11 AM
To: Smita Vithal Kharkar
Subject: Re: cas-dev Digest, Vol 42, Issue 8

Try following the directions here:

http://www.ja-sig.org/wiki/display/CASUM/JDBC

which tells you to import the dependency into the pom which will grab the correct version.

-Scott
On Thu, May 8, 2008 at 11:34 PM, Smita Vithal Kharkar <Smita_Kharkar at infosys.com<mailto:Smita_Kharkar at infosys.com>> wrote:

Ok.

I Referred to the URL http://www.ja-sig.org/wiki/display/CASUM/Using+JDBC+for+Authentication

It says



For CAS 3.0.x, Drop the following jars (or latest-and-greatest-equivalent-specific-to-your-database-vendor) into %CATALINA_HOME%/webapps/cas/WEB-INF/lib

*                                 older releases might use cas-server-jdbc-3.0.5.jar from http://developer.ja-sig.org/maven/cas/jars/

*                                 ojdbc14.jar (this is the Oracle JDBC Driver) or mysql-connector-java-5.1.5-bin.jar (this is the mysql driver)






Unfortunately there was no cas-server-jdbc jar in the CAS Server I downaloded, therefore I downloaded it from above URL and added to CAS Server \ Web-INF\ LIB

I think the version might be wrong, but do you know where to get the correct version for CAS 3.2.1?



---

Regards,

Smita

In matters of conscience, the law of majority has no place.

________________________________

From: Scott Battaglia [mailto:scott.battaglia at gmail.com<mailto:scott.battaglia at gmail.com>]
Sent: Friday, May 09, 2008 8:39 AM
To: Smita Vithal Kharkar
Subject: Re: cas-dev Digest, Vol 42, Issue 8



Sorry, I meant what cas-server-support-jdbc jar are you using?

-Scott

On Thu, May 8, 2008 at 11:04 PM, Smita Vithal Kharkar <Smita_Kharkar at infosys.com<mailto:Smita_Kharkar at infosys.com>> wrote:

Hi Scott,

 Thanks for the reply.

Here are the details -



CAS Version: cas-server-webapp-3.2.1

Oracle JDBC driver- Ojdbc14.jar

DB - Oracle10g



Is any of these incorrect?



---

Regards,

Smita

In matters of conscience, the law of majority has no place.



-----Original Message-----
From: cas-dev-bounces at tp.its.yale.edu<mailto:cas-dev-bounces at tp.its.yale.edu> [mailto:cas-dev-bounces at tp.its.yale.edu<mailto:cas-dev-bounces at tp.its.yale.edu>] On Behalf Of cas-dev-request at tp.its.yale.edu<mailto:cas-dev-request at tp.its.yale.edu>
Sent: Thursday, May 08, 2008 9:30 PM
To: cas-dev at tp.its.yale.edu<mailto:cas-dev at tp.its.yale.edu>
Subject: cas-dev Digest, Vol 42, Issue 8



Send cas-dev mailing list submissions to

        cas-dev at tp.its.yale.edu<mailto:cas-dev at tp.its.yale.edu>



To subscribe or unsubscribe via the World Wide Web, visit

        http://tp.its.yale.edu/mailman/listinfo/cas-dev

or, via email, send a message with subject or body 'help' to

        cas-dev-request at tp.its.yale.edu<mailto:cas-dev-request at tp.its.yale.edu>



You can reach the person managing the list at

        cas-dev-owner at tp.its.yale.edu<mailto:cas-dev-owner at tp.its.yale.edu>



When replying, please edit your Subject line so it is more specific

than "Re: Contents of cas-dev digest..."





Today's Topics:



   1. Re: CAS Configuration : SQL must not be null (Scott Battaglia)





----------------------------------------------------------------------



Message: 1

Date: Thu, 8 May 2008 11:35:44 -0400

From: "Scott Battaglia" <scott.battaglia at gmail.com<mailto:scott.battaglia at gmail.com>>

Subject: Re: [cas-dev] CAS Configuration : SQL must not be null

To: "Mailing list for CAS developers" <cas-dev at tp.its.yale.edu<mailto:cas-dev at tp.its.yale.edu>>

Message-ID:

        <1bbd36a10805080835y78ccb4f3s771fa9b074e88791 at mail.gmail.com<mailto:1bbd36a10805080835y78ccb4f3s771fa9b074e88791 at mail.gmail.com>>

Content-Type: text/plain; charset="iso-8859-1"



It looks like the SQL statement isn't being properly constructed which

doesn't make any sense.  What version of CAS are you using? And are you

using the corresponding JDBC jar?



-Scott



On Thu, May 8, 2008 at 11:16 AM, Smita Vithal Kharkar <

Smita_Kharkar at infosys.com<mailto:Smita_Kharkar at infosys.com>> wrote:



>  Can anybody help me with the exception shown below (Also attaching the

> stack trace & deployerConfigContext.xml for reference)

>

>

>

> *type* Exception report

>

> *message*

>

> *description* *The server encountered an internal error () that prevented

> it from fulfilling this request.*

>

> *exception*

>

> org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.webflow.engine.ActionExecutionException: Exception thrown executing [AnnotatedAction at 13e20dc targetAction = org.jasig.cas.web.flow.AuthenticationViaFormAction at 927633, attributes = map['method' -> 'submit']] in state 'submit' of flow 'login-webflow' -- action execution attributes were 'map['method' -> 'submit']'; nested exception is java.lang.IllegalArgumentException: SQL must not be null

>

>         org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:488)

>

>         org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)

>

>         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

>

>         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

>

>         org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)

>

>         org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)

>

>         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

>

>         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

>

> *root cause*

>

>

>

>

>

> ---

>

> Regards,

>

> Smita

>

> *In matters of conscience, the law of majority has no place.*

>

>

>  **************** CAUTION - Disclaimer *****************

> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended

> solely for the use of the addressee(s). If you are not the intended

> recipient, please notify the sender by e-mail and delete the original

> message. Further, you are not to copy, disclose, or distribute this e-mail

> or its contents to any other person and any such actions are unlawful. This

> e-mail may contain viruses. Infosys has taken every reasonable precaution to

> minimize this risk, but is not liable for any damage you may sustain as a

> result of any virus in this e-mail. You should carry out your own virus

> checks before opening the e-mail or attachment. Infosys reserves the right

> to monitor and review the content of all messages sent to or from this

> e-mail address. Messages sent to or from this e-mail address may be stored

> on the Infosys e-mail system.

> ***INFOSYS******** End of Disclaimer ********INFOSYS***

>

> _______________________________________________

> cas-dev mailing list

> cas-dev at tp.its.yale.edu<mailto:cas-dev at tp.its.yale.edu>

> http://tp.its.yale.edu/mailman/listinfo/cas-dev

>

>





--

-Scott Battaglia

PGP Public Key Id: 0x383733AA

LinkedIn: http://www.linkedin.com/in/scottbattaglia

-------------- next part --------------

An HTML attachment was scrubbed...

URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080508/3b634423/attachment-0001.html



------------------------------



_______________________________________________

cas-dev mailing list

cas-dev at tp.its.yale.edu<mailto:cas-dev at tp.its.yale.edu>

http://tp.its.yale.edu/mailman/listinfo/cas-dev





End of cas-dev Digest, Vol 42, Issue 8

**************************************



--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia



--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080509/c1267d7c/attachment-0001.html 


More information about the cas-dev mailing list