Building CAS

Matthew Jones matthew.jones at interactivedata.com
Fri Oct 10 12:22:19 EDT 2008


Hi David,

> You're having the "CAS-that-I-built-deployment-problem" :-)  That's
> why I still recommend you put the logging, the UI, the LDAP, etc.
> aside.  Use your newly installed Maven 2.0.9 and build the CAS
> download overall.  It automatically pulls the authenticator and builds
> a CAS.war for you.  When that deploys, add the logging.  Do it again.
> If you're successful, modify the UI for your CAS.war.  Deploy.  Test.

All those done and all work
Next I modified the pom.xml file and it still works and the sping LDAP 
jars are pulled in and appear in the libs folder.
Next, I edited deployerContextConfig.xml first just adding 
AuthenticatedLdapContextSource without enabling it as the authentication 
handler and then enabling it.

On each occasion, I stopped Tomcat (after un-deploying) and cleared the 
log files so I could see that there were no errors. So I ended up 
producing the correctly configured & working .war file.

When I was differencing my deployer config with one from one of my the 
previous installs, I finally saw the difference in the file (which I 
have just seen that Scott diagnosed, thanks Scott). I had obviously 
managed to pull a 3.2.1 config file into my 3.3 tree. (I think I know 
why that happened too, someone switched off my 3.3 test server!)

> I'm purposely not trying to tell you what the error is.  I want you to
> understand how to find the reason why your Spring bean won't
> instantiate.  And, when your Spring bean doesn't instantiate, your
> application that you built doesn't work.  I'll look over these files
> and reply if I see something obvious.  I understand your pain there,
> but if you start simple and add you'll be able to ask the list why
> "this" configuration for this bean "classA" doesn't instantiate.
> 
> Simplify your CAS.war and deploy that successfully.  You're building it.

I'm not sure I am that much the wiser but I got to deploy my war file 
loads of times and it does now work.

Thanks

-- 
Matthew Jones
Interactive Data Managed Solutions Ltd
-----------------------------------------------------------------------
Registered in England Company Number 3691868
Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL
Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109
matthew.jones at interactivedata.com
http://www.interactivedata-ms.com/694133

This message (including any files transmitted with it) may contain 
confidential and/or proprietary information, is the property of 
Interactive Data Corporation and/or its subsidiaries, and is directed 
only to the addressee(s). If you are not the designated recipient or 
have reason to believe you received this message in error, please delete 
this message from your system and notify the sender immediately. An 
unintended recipient's disclosure, copying, distribution, or use of this 
message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered 
Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2690 bytes
Desc: S/MIME Cryptographic Signature
Url : http://tp.its.yale.edu/pipermail/cas/attachments/20081010/ca0069bb/attachment.bin 


More information about the cas mailing list