Hari,
First, please try my suggestion to help get a better diagnosis of the
problem. Take one of the encrypted known passwords of an account that
you can login to and just copy it into the password field of the account
that does not login. Try to login again, what happens?
To answer your question though, look in the security.xml file and find
the j_security_check URL mapping. Look at the bean documenation
(AuthenticationProcessingFilter) to get an understanding of what it does.
Mark
Hariprasad Davanagere wrote:
Hi Mark,
I am using acegi 1.0.2 bundled in AppFuse-1.9.4 distribution.
I am not sure how to debug this problem. LoginForm.jsp has the
following lines<
<form method="post" id="loginForm" action="<c:url
value="/j_security_check"/>"
onsubmit="saveUsername(this);return validateForm(this)">
I am new to acegi_security and what exactly does this mean ?
Can you guide me to the right resouce which explains the basics of
acegi_security
Thanks
Hari
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Contribution is not by invitation but by initiative
*
Hariprasad N Davanagere
19929 Sweetgum Cir, #23
Germantown, MD - 20874
*C - (757) 348 3647
H - (???) !!! @@@@
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
From: /[email protected]/
Reply-To: /[email protected]/
To: /[email protected]/
Subject: /Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)/
Date: /Thu, 11 Jan 2007 18:00:41 -0500/
>Hari,
>
>I don't think this is a DB problem. I have had similar problems with
>r1.9.4 on MySQL
>
>What version of acegi are you using? Are the passwords encrypted?
>Try copying the password from another account with an known password
>into the account that does not login... can you login then?
>
>Mark
>
>Matt Raible wrote:
>>The fact that you can create an account and the application
>>functions
>>after that indicates that you may need to populate your database.
>>If
>>you run "ant db-load", can you login to your application?
>>
>>Matt
>>
>>On 1/11/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>Hi Matt,
>>>I got the application to deploy on ORACLE 10G AS.
>>>
>>>I am seeing a wierd behaviour. I cannot login to the application
>>>AT ALL and
>>>i don't see any error message concerned to datasource. To confirm
>>>this i
>>>used the 'sign up for an account' utility and the database
>>>activity was a
>>>success. A new user account was created and i can access the
>>>application
>>>there onwards.
>>>
>>>I am using AppFUSE-Spring-framework 1.9.4 and OC4J 10G
>>>
>>>What am i missing here ?
>>>
>>>I scanned through the documentation and the instructions are
>>>refering to an
>>>earlier version AppFuse.
>>>
>>>Could you please guide me.
>>>
>>>Thanks
>>>Hari
>>>
>>>
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>Contribution is not by invitation but by initiative
>>>
>>>Hariprasad N Davanagere
>>>19929 Sweetgum Cir, #23
>>>Germantown, MD - 20874
>>>
>>>C - (757) 348 3647
>>>H - (???) !!! @@@@
>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> ________________________________
>>> From: "Matt Raible" <[EMAIL PROTECTED]>
>>>Reply-To: [email protected]
>>>To: [email protected]
>>>Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J
>>>(Standalone)
>>>Date: Wed, 10 Jan 2007 19:25:54 -0700
>>>
>>> >Unfortunately, these instructions are very old. They were
>>>written
>>> >in
>>> >February 2004. At that time, those instructions were for AppFuse
>>> >1.2
>>> >(pre-Spring).
>>> >
>>> >http://raibledesigns.com/wiki/Wiki.jsp?page=News
>>> >
>>> >Matt
>>> >
>>> >On 1/10/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >>
>>> >>:-) I am running JDK 5.
>>> >>
>>> >>I did check immediately after the error. I am stiill not sure
>>>where
>>> >>to find
>>> >>LoginServlet to make the code changes as stated in
>>> >>http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnOrion
>>> >>
>>> >>Thanks
>>> >>Hari
>>> >>
>>> >>
>>> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> >>Contribution is not by invitation but by initiative
>>> >>
>>> >>Hariprasad N Davanagere
>>> >>19929 Sweetgum Cir, #23
>>> >>Germantown, MD - 20874
>>> >>
>>> >>C - (757) 348 3647
>>> >>H - (???) !!! @@@@
>>> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> >> ________________________________
>>> >> From: "Matt Raible" <[EMAIL PROTECTED]>
>>> >>Reply-To: [email protected]
>>> >>To: [email protected]
>>> >>Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J
>>>(Standalone)
>>> >>Date: Wed, 10 Jan 2007 16:41:29 -0700
>>> >>
>>> >> >Are you running on Java 1.4? There error seems pretty
>>> >> >self-explanatory to me. ;-)
>>> >> >
>>> >> >"Unable to validate using XSD: Your JAXP provider
>>> >> >[EMAIL PROTECTED] does
>>> >>not support
>>> >> >XML Schema. Are you running on Java 1.4 or below with Apache
>>> >> >Crimson?
>>> >> >Upgrade to Apache Xerces (or Java 1.5) for full XSD support."
>>> >> >
>>> >> >This happens with Resin too - see the instructions for how to
>>>fix
>>> >>it
>>> >> >at the bottom of the following page:
>>> >> >
>>> >>
>>> >http://www.springframework.org/docs/reference/xsd-config.html
>>> >> >
>>> >> >Unfortunately, I don't know how to fix it for OC4J.
>>> >> >
>>> >> >Matt
>>> >> >
>>> >> >
>>> >> >On 1/10/07, Hariprasad Davanagere <[EMAIL PROTECTED]>
>>>wrote:
>>> >> >>
>>> >> >>
>>> >> >>Hi,
>>> >> >>I am trying to configure appfuse to run on standalone OC4J.
>>> >> >>I have followed the guidelines listed out in
>>> >>
>>> >>http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnOrion.
>>> >> >>
>>> >> >>Except for the code changes in LoginServlet.init() which i
>>> >>cannot
>>> >> >>trace in
>>> >> >>the project files.
>>> >> >>
>>> >> >>I went ahead and deployed Appfuse on OC4J and on accessing
>>>the
>>> >> >>application,
>>> >> >>i got the following error.
>>> >> >>
>>> >> >>07/01/10 18:25:06 Error: Line # 0,
>>> >> >>Error: Invalid bodycontent value in TLD: NONE.
>>> >> >>07/01/10 18:25:06 Errors parsing
>>> >> >>jar:file:/C:/oc4j/j2ee/home/applications/caepr/
>>> >>
>>>
>>WEB-INF/lib/spring-modules-validation-0.5.jar!/META-INF/valang.tld
>>> >> >>[caepr] ERROR [HttpRequestHandler-25326212]
>>> >> >>DispatcherServlet.initServletBean(22
>>> >> >>9) | Context initialization failed
>>> >>
>>> >>org.springframework.beans.factory.BeanDefinitionStoreException:
>>> >> >>Unable to valida
>>> >> >>te using XSD: Your JAXP provider
>>> >> >>[EMAIL PROTECTED]
>>> >> >>87] does not support XML Schema. Are you running on Java 1.4
>>>or
>>> >> >>below with
>>> >> >>Apach
>>> >> >>e Crimson? Upgrade to Apache Xerces (or Java 1.5) for full
>>>XSD
>>> >> >>support.
>>> >> >>
>>> >> >>Is this related to the missing code in LoginServlet or is it
>>> >> >>something else.
>>> >> >>
>>> >> >>I am new to OC4J and really can't digest the error message.
>>>Any
>>> >> >>help in
>>> >> >>resolving the issue is appreciated.
>>> >> >>
>>> >> >>Thanks,
>>> >> >>Hari
>>> >> >>
>>> >> >>
>>> >> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> >> >>Contribution is not by invitation but by initiative
>>> >> >>
>>> >> >>Hariprasad N Davanagere
>>> >> >>19929 Sweetgum Cir, #23
>>> >> >>Germantown, MD - 20874
>>> >> >>
>>> >> >>C - (757) 348 DNHP
>>> >> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> >> >>
>>> >> >>________________________________
>>> >> >>Spice up your IM conversations. New, colorful and animated
>>> >> >>emoticons. Get
>>> >> >>chatting!
>>> >>
>>>
>>---------------------------------------------------------------------
>>> >> >>To unsubscribe, e-mail:
>>> >> >>[EMAIL PROTECTED] For additional
>>> >> >>commands, e-mail: [EMAIL PROTECTED]
>>> >> >
>>> >> >
>>> >> >--
>>> >> >http://raibledesigns.com
>>> >> >
>>> >>
>>>
>---------------------------------------------------------------------
>>> >> >To unsubscribe, e-mail:
>>> >>[EMAIL PROTECTED]
>>> >> >For additional commands, e-mail:
>>>[EMAIL PROTECTED]
>>> >> >
>>> >>
>>> >>________________________________
>>> >>Catch all the cricketing action right here. Live score, match
>>> >>reports,
>>> >>photos et al.
>>>
>>---------------------------------------------------------------------
>>> >>To unsubscribe, e-mail:
>>> >>[EMAIL PROTECTED] For additional
>>> >>commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>> >--
>>> >http://raibledesigns.com
>>> >
>>>
>---------------------------------------------------------------------
>>> >To unsubscribe, e-mail:
>>>[EMAIL PROTECTED]
>>> >For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>>
>>>________________________________
>>>Catch all the cricketing action right here. Live score, match
>>>reports,
>>>photos et al.
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail:
>>>[EMAIL PROTECTED] For additional
>>>commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
------------------------------------------------------------------------
Do women make better employees? Join the debate
<http://g.msn.com/8HMBENIN/2743??PS=47575>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]