[cocoon 2.2] 1 upload ok , 2 uploads ko

2007-09-26 Thread thuertas
Hi, I'm having a strange problem, I deploy my webapp on jonas and I try to upload xml files. The first upload is ok, all the transformations are done and my objects are stored in my database. When I try to do a second upload with the same file or another one I have this exception: [exec]

Re: [cocoon 2.2] Spring configuration of transformers

2007-09-24 Thread thuertas
Hi, I tried to store beans in a database using Generator, Tansformer and Serializer. That's ok for Generator and Serializer but there's nothing in database when I use a Transformer! That's what I did: bean id=serviceProgramsGenerator

[cocoon 2.2] Spring transactions and transformers

2007-09-21 Thread thuertas
Hi, I'm using spring to manage the transactions in my cocoon transformers and generators. Here is the problem: with the generators, everything is ok (my Hibernate beans are stored in the database) but when I use Transformers, it looks like there is no commit done -- no exception and the

[cocoon 2.2] Spring transactions and transformers

2007-09-21 Thread thuertas
Hi, I'm using spring to manage the transactions in my cocoon transformers and generators. Here is the problem: with the generators, everything is ok (my Hibernate beans are stored in the database) but when I use Transformers, it looks like there is no commit done -- no exception and the

file upload and stream generator

2007-09-11 Thread thuertas
hi, I have a problem between uploading xml files and generating them with a stream generator in cocoon. here are my html file and my sitemap.xmap myfile.html html form method=POST action=http://127.0.0.1:8081/ma/services/ma-import/mapipeline; enctype=multipart/form-data input

cocoon and .betwixt files

2007-08-16 Thread thuertas
Hi, I have a problem with the BetwixtTansformer and cocoon utilisation. From an xml file, I want to create the javabeans. In order to do that, I have 2 .betwixt files that make the matching between the xml and the javabeans. During the JUnit tests, the parsing and instanciation of the

cocoon et fichiers .betwixt

2007-08-14 Thread thuertas
Bonjour, j'ai problème avec l'utilisation de BetwixtTransformer et cocoon. A partir d'un fichier xml, je veux créer des javabeans. Pour ce faire, j'ai besoin de deux fichiers .betwixt afin de correctement mapper le xml avec mes javabeans. Mon problème est le suivant: Lors de tests JUnit, tout

Re: Question débutant

2007-08-07 Thread thuertas
DAVIGNON Andre - CETE NP/DIODé/PANDOC a écrit : En gros, j'ai un fichier xml que je transforme en objets (javabean) afin de les insérer en base. Mais avant de les insérer en base je dois appliquer quelques actions dessus. La question est donc: comment récupérer mes objets après transformation

Re: Question débutant

2007-08-07 Thread thuertas
olivier nouguier a écrit : On 8/7/07, DAVIGNON Andre - CETE NP/DIODé/PANDOC [EMAIL PROTECTED] wrote: Question: Comment passer le résultat de ma transformation à l'autre transformation. ben pas plus il suffit d'enchainer les transformation dans le pipeline. Comment passer

Question débutant

2007-08-06 Thread thuertas
Bonjour, je débute en cocoon et peut-être que la réponse à ma question est déjà quelque part (merci de me rediriger dans ce cas.) En gros, j'ai un fichier xml que je transforme en objets (javabean) afin de les insérer en base. Mais avant de les insérer en base je dois appliquer quelques actions

Novice question

2007-08-06 Thread thuertas
Hello, I begin in cocoon and perhaps my question has already been answer (thank you to redirect me in this case.) I have an xml file which I transform into objects (javabeans) in order to insert them in base. But before inserting them in base I must apply some actions. The question is: how to