Ok i have found a solution and an explanation.
I must to commit unitils transaction before and start it at the end of test. I can't disabled it (with...
Type: Posts; User: lecogiteur; Keyword(s):
Ok i have found a solution and an explanation.
I must to commit unitils transaction before and start it at the end of test. I can't disabled it (with...
Hello, I have a problem with transaction. I think it's come from unitils. But i am not sure.
Spring context
<bean id="dataSource" class="org.unitils.database.UnitilsDataSourceFactoryBean"/>...
Hello,
i hope to have a answer :)
I have another problem. in command line i define some parameter.
org.springframework.batch.core.launch.support.CommandLineJobRunner -next...
Need really help please
Hello,
I have create a Job "myJob" with incrementer.
My batch is standalone.
In order to launch my batch, i use this command:
...
I create a sample config file
<!-- BATCH -->
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource"...
Hello,
I need some help in order to manage transaction.
My batch do that:
1) read element in database, process them and write them in a flat file
2) read a flat file, process it and write...
Ok. Sorry for my english.
So, i want the number 2. But i only want that reader are in multithread mode not the writer. I want only one writer.
In fact i use a JpaPagingItemReader, a...
Hello,
I want to use multi thread. I want to create multiple ItemReader but one ItemWriter which write the result on a single file.
On the doc multithreadedStep it seems that multi thread...
finally i found the problem.
I must add in Jboss Configuration, the parameter useBodyEncodingForURI="true" on connector
It's a problem with Jboss Configuration not with web application.
...
Hello,
I need help. I find no solution.
I have a problem of character encoding.
My request: http://localhost/myapplication/myContent.xml?param1=tronçonneuse
In my web.xml i add:
Hello,
what is the meaning of keepaliveseconds of ThreadPoolExecutor?
I see that:
"Set the ThreadPoolExecutor's keep-alive seconds. Default is 60.
This setting can be modified at runtime,...
please need help
I try a test
public class MyClassA{
@PersistenceContext(unitName = "persistenceUnitMarcoPoloCms")
Hello,
I define a transaction manager with org.springframework.orm.jpa.JpaTransactionManager .
We use Hibernate and postgreSQL.
We define a method with
We do into this method only a...
please need help
Hello,
I use the marshaller Jaxb2 like view.
My configuration:
<beans xmlns="http://www.springframework.org/schema/beans"
i have this web flow
<flow start-state="saisirProduit">
<view-state id="saisirProduit" view="/saisirproduit.jsp">
<transition on="suivant" to="saisirEmail" />
<transition...
ok i understand thank you very much :)
I see this post http://forum.springsource.org/showthread.php?18953-DispatcherServlet-and-ContextLoaderListener
In fact, i must create for the dispatcher its own config file. The...
ok thanks. I try to read them i read the chapter 13 and chapter 3.8 but don't understand all.
But how to tell the dispatcherservlet to load nothing because if i delete the init-param i have this...
Sorry i don't understand your answer.
This configuration is it normal?
Explication of my problem:
In applicationContext.xml, i register a cacheManager in a MBean. But, this context is loaded...
in a web.xml of an application i have this config
...
<servlet>
<servlet-name>springsample</servlet-name>
...
Sorry i do mistake in my example:
public class A{
@Async
public Future(Void) myMethod() throws Exception {...}
}
Hello,
I want to know the good way in order to manage exception for asynchronous method.
for exemple, what i do now:
public class A{
Hello,
I hava a service with several method annotated Async.
In a method annotated @Async, i call another method annotated @Async of the same class . The problem the call of another is in the...