The issue lies in your custom code: com.myapp.webapps.loginsystem.client.LoginSystemClient.authenticate(LoginSystemClient.java:101)
You may want to see what XML is being returned to it. On Wed, Mar 30, 2011 at 11:14 AM, mala s <[email protected]> wrote: > The both service parameters are same, but they r diff in ur attachement > cause i forgot to change validations' service parameter. I changed the > original project names to myapp . > > I attached the full stack trace. > > Thanks much. > > Mala. > > > On Tue, Mar 29, 2011 at 8:56 PM, Scott Battaglia < > [email protected]> wrote: > >> One thing is that your service url for the authentication and validation >> part don't match up. Also the validateUrl part of the AuthenticationFilter >> won't do anything. >> >> Otherwise, can you post the entire stack trace? It looks like part got >> cut off. >> >> >> On Tue, Mar 29, 2011 at 4:10 PM, mala s <[email protected]> wrote: >> >>> I forgot to attach web.xml file >>> >>> >>> On Tue, Mar 29, 2011 at 3:04 PM, mala s <[email protected]> wrote: >>> >>>> scott, >>>> >>>> I run in to SAXParserException. I tried to solve it in many ways. But i >>>> couldn't. >>>> >>>> I attached my complete web.xml. we are authenticating user on restful >>>> api and using spring security also for autherization. >>>> >>>> Could you please tell me is there any problem in my xml file. >>>> >>>> Tomcat Log file has exception: >>>> >>>> >>>> 2011-03-29 12:33:43,719 ERROR [org.apache.commons.digester.Digester] - >>>> <Parse Fatal Error at line 87 column 101: The reference to entity "locale" >>>> must end with the ';' delimiter.> >>>> org.xml.sax.SAXParseException: The reference to entity "locale" must end >>>> with the ';' delimiter. >>>> at >>>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) >>>> at >>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown >>>> Source) >>>> at >>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown >>>> Source) >>>> at org.apache.commons.digester.Digester.parse(Digester.java:1887) >>>> at >>>> >>>> Thanks. >>>> >>>> On Sat, Mar 26, 2011 at 10:45 PM, Scott Battaglia < >>>> [email protected]> wrote: >>>> >>>>> First you should not be adding your code to our jars. You should be >>>>> maintaining it separately. >>>>> >>>>> Second, can you post any of your code? (removing any private/secret >>>>> stuff). The auditing is failing because the resource is null. >>>>> >>>>> Cheers, >>>>> Scott >>>>> >>>>> >>>>> On Wed, Mar 23, 2011 at 4:50 PM, mala <[email protected]> wrote: >>>>> >>>>>> i implemented custom handle in cas-server-core module. i deploy that >>>>>> cas-server-core.jar file in tomcat/cas-server-webapp. >>>>>> >>>>>> when i used my credintials to login at cas-login page then it thows >>>>>> exception. >>>>>> >>>>>> "CAS is Unavailable >>>>>> >>>>>> There was an error trying to complete your request. Please notify your >>>>>> support desk or try again." >>>>>> >>>>>> I attached tomcat.logs. >>>>>> log file has this exception: >>>>>> >>>>>> java.lang.IllegalArgumentException: resourceOperatedUpon cannot be >>>>>> null >>>>>> at >>>>>> com.github.inspektr.audit.AuditActionContext.assertNotNull(AuditActionContext.java:81) >>>>>> at >>>>>> com.github.inspektr.audit.AuditActionContext.<init>(AuditActionContext.java:64) >>>>>> at >>>>>> >>>>>> can anybody tell me what i m doing wrong here. >>>>>> >>>>>> >>>>>> -- >>>>>> You are currently subscribed to [email protected] as: >>>>>> [email protected] >>>>>> >>>>>> To unsubscribe, change settings or access archives, see >>>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>>>>> >>>>> >>>>> -- >>>>> You are currently subscribed to [email protected] as: >>>>> [email protected] >>>>> To unsubscribe, change settings or access archives, see >>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>>>> >>>>> >>>> >>> -- >>> >>> You are currently subscribed to [email protected] as: >>> [email protected] >>> >>> >>> >>> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
