some type of malformed xml, such as
<imagepath>0001920.tif/imagepath> // missing opening < at end tag
causes a ArrayIndexOutOfBoundsException, which is mishandled by the retry/skip...
Type: Posts; User: bhomass; Keyword(s):
some type of malformed xml, such as
<imagepath>0001920.tif/imagepath> // missing opening < at end tag
causes a ArrayIndexOutOfBoundsException, which is mishandled by the retry/skip...
ok. just wanted confirmation.
I get you. so the reason the two concepts are linked is because the state is there to set the restart counter.
btw, is the execution context persistent?
I am referring to
Partitioning Sample (partition)
The purpose of this sample is to show multi-threaded step execution using the PartitionHandler SPI. The example uses a...
I am referring to statements like
Most of the out-of-the-box ItemReader and ItemWriter implementations are not designed to work in this scenario because they need to be restartable and they are...
I am really confused why every time the documentation covers thread safety, is pulls in restart. How is restart related to statefulness of the reader and writers?
If I understand correctly, the...
I want to make sure I understand this.
a partitioned step using partitioner and splitter are multi-threaded (as supposed to multi-processed), but each thread has its own instance of the step, and...
I found the answer
http://stackoverflow.com/questions/3230608/spring-3-annotations-hibernatedaosupport-repository-requires-session-factory
The trick is to add
@Autowired(required=true)
public...
I added the autowire annotation, but it does not fix the code.
The problem from what I can see is that the second constructor
@Autowired(required=true)
public...
I could not resolve this issue. here is a second try to explain my case.
I am using DAO's that extends HibernateDaoSupport.
I need to get data from two different data sources in one...
that worked, yes!
I posted this once before it disappeared.
I am using Spring OpenSessionInViewFilter to commit hibernate transactions. My DAO's extends HibernateDaoSupport.
whenever I request a database...
after stepping thru the code, I don't think it has to do with the tx declaration. the second set of dao's are not getting the right sessionFactory.
I found this posting
"You have to create...
so, what should i do instead?
my application needs to access two data sources, so I declared two versions of transactionmanager, sessionfactory, and datasource. the first works, as it always did when I had only one data source....
I am using acegi concurrent-session-control to limit one user to one session.
<concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="true" expired-url="/home.html" />
this...
now I added the @SqlResultSetMapping
@NamedNativeQuery(
name = "getLeadSourceStats",
callable = true,
query = "call lead_src_prop()",
resultSetMapping = "statmapping",
readOnly =...
I got much further.
@NamedNativeQuery(
name = "getLeadSourceStats",
callable = true,
query = "call lead_src_prop(:userid)",
readOnly = true,
resultClass = LeadSourceStat.class
)
did all the preliminaries. commented out the attributes, did not help.
applicationContext.xml is all right, because commenting out the entire @NamedQuery worked.
I insert a @NamedQuery into an entity class, now the app does not start
@NamedQuery(
name = "LeadSourceStats",
// callable = true,
query = "call lead_src_prop(:userid)",
readOnly =...
thank you very much. the problems you pointed out were the cause. now working.
I add max sessions into applicationContext-security.xml, and there is no error or any thing. But when I logged in as the same user twice, both succeeded. No error at all.
<?xml version="1.0"...
thank you every for all the help. here is where it stands.
I already removed AuthenticationProvider implementation. so that can not be the source of the problem.
org.acegisecurity classes were...
I added a alias to authentication-manager, now it gets past this step. I have no idea why a fictitious alias referring to nothing real would work.
now I get a
No AuthenticationProvider found for...
I use a completely different type of browser, like switch from FF to IE when I test the second login.
thanks a lot for the link. I used material from there. now something that worked start to...