Search:

Type: Posts; User: lecogiteur; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Ok i have found a solution and an explanation. ...

    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...
  2. [unitils][MyBatis][Spring] problem with transaction.

    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"/>...
  3. JobParametersIncrementer and scope step

    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...
  4. Need really help please

    Need really help please
  5. JobParametersIncrementer and iteration on job

    Hello,

    I have create a Job "myJob" with incrementer.
    My batch is standalone.
    In order to launch my batch, i use this command:


    ...
  6. Replies
    1
    Views
    260

    I create a sample config file

    I create a sample config file



    <!-- BATCH -->
    <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
    <property name="dataSource"...
  7. Replies
    1
    Views
    260

    Transaction Management

    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...
  8. Replies
    11
    Views
    992

    Ok. Sorry for my english. So, i want the...

    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...
  9. Replies
    11
    Views
    992

    Mutliple reader and one writer

    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...
  10. Replies
    1
    Views
    396

    finally i found the problem. I must add in...

    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.
    ...
  11. Replies
    1
    Views
    396

    Parameter and encoding

    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:
  12. keepaliveseconds and ThreadPoolExecutor

    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,...
  13. Replies
    1
    Views
    434

    please need help I try a test public...

    please need help

    I try a test




    public class MyClassA{

    @PersistenceContext(unitName = "persistenceUnitMarcoPoloCms")
  14. Replies
    1
    Views
    434

    transaction and readonly

    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...
  15. Replies
    1
    Views
    481

    please need help

    please need help
  16. Replies
    1
    Views
    481

    Jaxb2Marshaller and scan package

    Hello,

    I use the marshaller Jaxb2 like view.

    My configuration:




    <beans xmlns="http://www.springframework.org/schema/beans"
  17. AbstractFlowHandler - forward the generated HTML of web flow to a servlet

    i have this web flow




    <flow start-state="saisirProduit">
    <view-state id="saisirProduit" view="/saisirproduit.jsp">
    <transition on="suivant" to="saisirEmail" />
    <transition...
  18. Replies
    6
    Views
    527

    ok i understand thank you very much :)

    ok i understand thank you very much :)
  19. Replies
    6
    Views
    527

    I see this post...

    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...
  20. Replies
    6
    Views
    527

    ok thanks. I try to read them i read the chapter...

    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...
  21. Replies
    6
    Views
    527

    Sorry i don't understand your answer. 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...
  22. Replies
    6
    Views
    527

    Config in web.xml of context

    in a web.xml of an application i have this config



    ...

    <servlet>
    <servlet-name>springsample</servlet-name>
    ...
  23. Replies
    1
    Views
    630

    Sorry i do mistake in my example: public...

    Sorry i do mistake in my example:



    public class A{
    @Async
    public Future(Void) myMethod() throws Exception {...}
    }
  24. Replies
    1
    Views
    630

    Manage Exception with Async annotation

    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{
  25. Replies
    1
    Views
    777

    @Async in the same class

    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...
Results 1 to 25 of 34
Page 1 of 2 1 2