i use log4j properties
log4j.rootLogger=info, stdout, XCOST
log4j.logger.fr.cognition.xcost=info
#log4j.logger.fr.cognition.xcost.service.rollup.support=trace
Type: Posts; User: meshenka; Keyword(s):
i use log4j properties
log4j.rootLogger=info, stdout, XCOST
log4j.logger.fr.cognition.xcost=info
#log4j.logger.fr.cognition.xcost.service.rollup.support=trace
work as expected, issue fixed
great, that was my next move to catch it in service layer. i think it will do.
Heya with spring 2 aop based tx, a unit test no more pass
here is the test code: i make sure the right exception get raised
public void testSaveDuplicate() throws Exception
{
ILabelKey...
this junit test tell me what i wanted to know
mgr is the aop proxied bean that come from the ApplicationContext
protected void setUp() throws Exception
{
super.setUp();
String...
could you elaborate how i turn on trace?
log4j.logger.fr.cognition.xcost=trace does not work :(
I try to use PerformanceMonitorInterceptor
some config:
<bean id="global_performance" class="org.springframework.aop.interceptor.PerformanceMonitorInterceptor"/>
<aop:config>...
good catch!! but no better result
my tx is now
<tx:advice id="updateDirtyScenarioServiceTxnAdvice">
<tx:attributes>
<tx:method name="update" propagation="REQUIRED" />
...
Heya there
i'm playing with the new <aop:*> anotation to apply txn.
<!-- Service Layer becomes Transactionnal -->
<aop:config>
<aop:advisor id="scenarioMgrAdvisor" ...
my bad, works like a charm
:)
thanks dude
I'm using acegi 1.0.2 with spring-2.0 final.
i recently saw this: http://www.mail-archive.com/acegisecurity-developer%40lists.sourceforge.net/msg02206.html
a nice way to skip some authorization...
my issue is claused. Make sure ACEGY filter runs before Sitemesh
hope it will helps
bbfn
SOLVED!!! IT WAS THE F**CKING Filter order!!!
many many thanks
heya
1. session survive request
2. i use sitemesh, how to ensure acegy runs before sitemesh?
you are correct :(
got same issue, check details here, may be something will help
cheers
i mean this
<bean class="org.acegisecurity.util.FilterChainProxy" id="filterChainProxy">
<property name="filterInvocationDefinitionSource">
<value>CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISO N...
bouayame, your filters are not in the proper order
as define in the doc
hope it helps
as suggested here is the new filter chain:
<!-- ======================== FILTER CHAIN ======================= -->
<!-- if you wish to use channel security, add "channelProcessingFilter," in...
seeing that the acegi-security-sample-contact-filter webapp works fine and use spring-2.0-m2 i moved my app to spring-2.0-rc3 hoping some magic would fix my pb.
No success :(
still bugged ;(
here is an updated version of my acegi config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC
"-//SPRING//DTD BEAN//EN"
...
is this log normal?
DEBUG http-8080-1 org.acegisecurity.intercept.AbstractSecurityInterceptor - Previously Authenticated: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@5defcd7:...
thanks for your comment
new filter config:
<bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
<property name="filterInvocationDefinitionSource">
<value>...
still puzzled :/
Help me please... all my thanks and a Hello Kitty pins to the one that will help me :)
more investigations shows me this:
i add this scriptlet to see session content:
<div class="session">
<h1> Get all session-scoped attributes </h1>
<%
if (session != null) {...