Re: [users-fr] titres non pri s en compte pour numérotation

2008-07-25 Thread Elodie Omer
Bonjour,

tu as vérifié dans Outils  Numérotation des chapitres : les niveaux 
correspondent-ils à un Style de paragraphe ?
ie Niveau 1 - Style de paragraphe Titre 1
   Niveau 2 - Style de paragraphe Titre 2
etc, etc

Bonne journée

Elodie 

- Mail Original -
De: Bertrand Lemaître [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Vendredi 25 Juillet 2008 10:31:56 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: [users-fr] titres non pris en compte pour numérotation

Bonjour,

Sous Writer2.4.1 j'ai créé un document qui utilise les styles d'un autre.

Est-ce la raison pour laquelle les titres de chapitres (Titre1, 
Titre2,...), pourtant disponibles eet utilisés, ne sont pas reconnus en 
tant que tels.

En effet, le navigateur me dit que je n'ai aucun titre dans mon 
document, la numérotation des titres ne fonctionne pas ni même la table 
des matières basée sur les titres.

Y a t'il un moyen de les réactiver ?


Merci pour votre aide.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] titres non pri s en compte pour numérotation

2008-07-25 Thread Elodie Omer
De nada (-;

Elodie 
- Mail Original -
De: Bertrand Lemaître [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Vendredi 25 Juillet 2008 10:54:39 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: Re: [users-fr] titres non pris en compte pour numérotation

Oui tu as raison, la définition des niveaux pour les titres n'était pas 
définie.

Sans connaître ce paramétrage, j'avais recréé un fichier vierge en 
insérant des titres de niveau en utilisant le style par défaut, puis 
défini que je m'appuyais sur les styles d'un de mes documents, pour 
enfin recopier le contenu du fichier original, et là, les titres étaient 
bien reconnus en tant que tels. Mais c'était de la bidouille :-)

Merci pour l'aide.

Elodie Omer a écrit :
 Bonjour,
 
 tu as vérifié dans Outils  Numérotation des chapitres : les niveaux 
 correspondent-ils à un Style de paragraphe ?
 ie Niveau 1 - Style de paragraphe Titre 1
Niveau 2 - Style de paragraphe Titre 2
 etc, etc
 
 Bonne journée
 
 Elodie 
 
 - Mail Original -
 De: Bertrand Lemaître [EMAIL PROTECTED]
 À: users@fr.openoffice.org
 Envoyé: Vendredi 25 Juillet 2008 10:31:56 GMT +01:00 Amsterdam / Berlin / 
 Berne / Rome / Stockholm / Vienne
 Objet: [users-fr] titres non pris en compte pour numérotation
 
 Bonjour,
 
 Sous Writer2.4.1 j'ai créé un document qui utilise les styles d'un autre.
 
 Est-ce la raison pour laquelle les titres de chapitres (Titre1, 
 Titre2,...), pourtant disponibles eet utilisés, ne sont pas reconnus en 
 tant que tels.
 
 En effet, le navigateur me dit que je n'ai aucun titre dans mon 
 document, la numérotation des titres ne fonctionne pas ni même la table 
 des matières basée sur les titres.
 
 Y a t'il un moyen de les réactiver ?
 
 
 Merci pour votre aide.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
*** Bertrand Lemaître | CRI | SystèmesRéseaux  ***
***  Université d'Angers - www.univ-angers.fr ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] [Writer]

2008-07-24 Thread Elodie Omer
Bonjour Jellyroll,

une idée de piste :
- fais un clic droit dans la cellule de ton tableau 
- sélectionne Format numérique : par défaut, il détecte un format texte
- sélectionne Monétaire qui te donne # ##0,00 [$€-40C];[RED]-# ##0,00 [$€-40C]
# ##0,00 [$€-40C] correspond aux nombres positifs
[RED]-# ##0,00 [$€-40C] correspond aux nombres négatifs
+# ##0,00 [$€-40C] : en rajoutant le plus, tes nombres monétaires auront le + 
devant.
Idem pour 0,00 €, faire un format du sdyle 0,00 [$€-40C]
Voilà peut-être une piste.

Bonne journée

Elodie

- Mail Original -
De: Jellyroll [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Mercredi 23 Juillet 2008 22:49:47 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: [users-fr]  [Writer]


Bonsoir,

Comment, dans un tableau dans Writer, obtenir le format monétaire suivant :

  - les nombres positifs marqués +X XXX,XX €
  - les nombres négatifs marqués -X XXX,XX €
  - 0 marqué 0,00 € (sans le signe +)

Merci pour vos réponses.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] Numérotation continue pour certains niveaux et navigateur

2008-07-17 Thread Elodie Omer
Bonjour,
si je peux me permettre d'intervenir, je viens de faire un test en suivant la 
manipulation suivante :
- tu créés ton arborescence avec tes titres 1 et tes titres 2
- les titres 1 tu appliques une numérotation via Outils  Numérotation des 
chapitres et tu lui assignes A, B, C... du moins dans ton exemple
- pour les titres 2, j'ai procédé ainsi : j'ai assigné, toujours dans Outils  
Numérotation des chapitres, un numéro, 1, 2, 3 Ce qui fonctionne pour les 
premiers titres. Lorsque je passe un niveau de titre 1 et que je remets un 
titre de niveau 2, il reprend la numérotation, normal ! Je suis donc allée dans 
Format  Paragraphe, onglet Numérotation : section Numérotation, j'ai coché 
Commencer avec ce paragraphe puis j'ai coché Commencer avec et j'ai assigné 
le numéro qu'il me fallait. En bidouillant un peu (il faut prendre l'habitude 
de la manœuvre, je pense), on arrive à poursuivre la numérotation, que tu 
retrouves dans le navigateur et le sommaire. Si vous voulez, je mets le ficher 
sur ci-joint.

Vous dites si ça fonctionne pour vous ?
Merci

Cordialement,

Elodie Omer


- Mail Original -
De: Jean-Baptiste Faure [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Mardi 15 Juillet 2008 13:57:08 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [users-fr] Numérotation continue pour certains niveaux et navigateur

Le Mardi 15 Juillet 2008 13:27, Norbert Bellam a écrit :
 Ça marche effectivement pour la numérotation :) , mais je perds Titre2 dans
 le navigateur :(

Lors de la discussion à laquelle Jérôme fait allusion j'avais proposé une 
autre solution qui permet de conserver les titres 2 dans le navigateur. Il 
suffit 
1/ de choisir Numéro aucune pour le niveau 2 dans la numérotation des 
chapitres
2/ ajouter un champ séquence (comme pour la numérotation des équations ou des 
figures) pour compter les titres de niveau 2. Pour se faciliter l'existence 
on peut mettre un prototype de titre 2 avec séquence de comptage en 
autotexte. Par exemple : Article ici le champ séquence : titre de 
l'article. 

JBF
-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[QFR] paramêtrage qmail pour envoi de multiples newsletter

2008-06-26 Thread Elodie Manzoni

Bonjour,

Je suis actuellement à la recherche d'une méthode pour pouvoir modifier le nom 
des logs de Qmail afin de passer dans le nom un identifiant correspondant à une 
newsletter, afin de pouvoir de pouvoir séparer les logs pour ne pas que si 
j'envoi plusieur newsletters en meme temps, elles aient un fichier log commun.
Afin de pouvoir récuperer les informations propre à une newsletter, et 
effectuer des stats.


Cordialement

Elodie


--
Liste de diffusion qmailfr - http://qmail.free.fr/







Re: [users-fr] Ne pas numéroter les pages blanches ...

2008-06-11 Thread Elodie Omer
Bonjour,
as-tu essayé en utilisant les styles de page ? 
Tu prends un style de page Page gauche pour ton recto et un style de page Page 
droite pour ton verso. Sur l'un tu actives un en-tête ou un pied de page avec 
une numérotation et sur l'autre tu ne l'actives pas.
Ou tu crées un style page blanche que tu appliques à tes pages. 
Mais peut-être veux-tu aller plus loin en ne comptant pas ces pages blanches ? 
Précise nous.

Bon courage

Cordialement,

Elodie Omer


- Mail Original -
De: Pierre HENRY [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Mercredi 11 Juin 2008 11:30:26 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [users-fr] Ne pas numéroter les pages blanches ...

Bonjour,

Je dois réaliser un document avec :
- Certaines pages en Recto-verso,
- D'autres pages en Recto uniquement (des documents-réponses et des plans).

Connaissez-vous un moyen pour numéroter (simplement) uniquement les 
pages non blanches ?

Merci d'avance
-- 
Pierre HENRY

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] Calc Lignes masquées

2008-05-22 Thread Elodie Omer
Bonjour à toutes et à tous, 

Salut !


 1 ) - certaines lignes sont masquées Je n'arrive pas à les afficher. 

- Sélectionnez les en-tête de ligne 40 et 43, dans votre exemple 
- clic droit - Afficher


 2 ) - J'ai supprimé tout une plage et ai supprimé la suppression. 
Je n'ai pas rétabli la présentation initiale. Les nouvelles hauteurs de ligne 
ne sont plus égales. 

Pour les hauteurs de ligne, 
- sélectionnez les lignes
- clic droit dans la sélection
- Hauteur de ligne : permet de définir la hauteur qu'on veut
- Hauteur de ligne optimale : ajuste la hauteur par rapport au contenu.

Je ne suis pas sûre que cette dernière réponse correspond à la demande

(-; Elodie


Wiindows XP - FF - OOo et tutti quanti !
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [users-fr] Re: probleme de / avec le tableur

2008-05-05 Thread Elodie Omer
Salut,
essaie cette manip' (-; 
- sélectionne les cellules, colonnes, classeur, bref là où tu veux tes 2/5
- Format  Cellules : onglet Nombres. Catégorie : Texte.
Cela devrait fonctionner.

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Pegasus Seiya [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Lundi 5 Mai 2008 06:52:15 GMT +01:00 Amsterdam / Berlin / Berne / Rome 
/ Stockholm / Vienne
Objet: [users-fr]  Re: probleme de / avec le tableur

ok je vois merci,mais comment fait on ca ? ^_^




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] Writer : versio n 2.4.0 - numérotation des pages

2008-04-30 Thread Elodie Omer
Hello,
vérifie dans le menu Affichage si Noms des champs est activé ou CTRL + F9

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: LABROILLE [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Mercredi 30 Avril 2008 16:05:27 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [users-fr]  Writer :  version 2.4.0 - numérotation des pages

Bonjour,
Je disposais jusqu'ici de la version 2.2.1 et je n'avais aucun problème pour la
numérotation des pages dans les en-têtes. Hier j'ai installé la version 2.4 et
quand j'ouvre mes documents faits avec la 2.2.1, à la place de ma numérotation
du genre 4 / 10 j'obtiens Numéro de page / statistique. J'ai beau recommencer et
actualiser les champs, rien n'y fait. S'agit-il d'un bug ou y a-t-il une astuce 
?
Merci de vos éclaircissements !
--
CL


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] Writer - pb de numérotation des chapitres

2008-04-28 Thread Elodie Omer
Salut,
voici un fichier avec ce que tu cherches, à ce qu'il me semble. J'ai juste 
utilisé le style de liste Numérotation 2.
En espérant que cela t'aide.

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Daniel Cartron [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Lundi 28 Avril 2008 13:32:26 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [users-fr] Writer - pb de numérotation des chapitres

Salut à tous

Je voudrais avoir une numérotation continue des titres 2 mais sans que ça 
intègre les titres 1 comme ci après mais j'y arrive pas.

1 
1
2
3
2
4
5
6

Merci d'avance.

-- 
Cordialement, Daniel Cartron
« Si vous ne vous sentez pas bien... faites-vous sentir par un autre! »
Francis Blanche


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




num_continue.odt
Description: application/vnd.oasis.opendocument.text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [users-fr] Writer - pb de numérotation des chapitres

2008-04-28 Thread Elodie Omer
oh là ! doucement, pas d'affolement un lundi, malheureux, surtout une veille de 
w-e ! Pas de panique ((-;
J'ai pas bien compris pourquoi tu as des problèmes, je te renvoie le fichier de 
tout à l'heure en pdf, ça marche bien.Bon d'accord, c'est pas du A5 et je n'ai 
pas modifié les polices. Peux-tu transmettre ton fichier ou partie (qu'avec les 
titres par exemple) pour qu'on t'aide plus précisément ?



Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Daniel Cartron [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Lundi 28 Avril 2008 15:29:07 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [users-fr] Writer - pb de numérotation des chapitres

Le lundi 28 avril 2008, Daniel Cartron a écrit :
 Merci beaucoup et aussi à Anthony qui si j'ai bien compris disait la mm
 chose différemment. En effet ça fonctionne parfaitement.

Conséquence totalement inattendue et du plus mauvais effet : les pdf générés 
sont horriblement pixellisés... Et comme c'est du A5 paysage si j'essaye de 
passer par du ps puis le transformer avec ps2pdf c'est encore plus horrible : 
le ps est en format a5 paysage mais verticla donc illisible à l'écran et si 
je le transforme en les pages se superposent, il se mélange entre le a5 
paysage vertical et horizontal... 

Au secours...

-- 
Cordialement, Daniel Cartron
« Sans alcool pas de lucidité. »
Serge Gainsbourg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [users-fr] Writer - pb de numérotation des chapitres

2008-04-28 Thread Elodie Omer
Et là ? TU les reçois, le fichier ?
sinon, adresse mail [EMAIL PROTECTED]
Voili, voilou !

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Daniel Cartron [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Lundi 28 Avril 2008 15:48:53 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [users-fr] Writer - pb de numérotation des chapitres

Le lundi 28 avril 2008, Elodie Omer a écrit :
 oh là ! doucement, pas d'affolement un lundi, malheureux, surtout une
 veille de w-e ! 

:-)

 Pas de panique ((-; 

Ben je voulais finir le boulot aujourd'hui

 J'ai pas bien compris pourquoi tu  
 as des problèmes, je te renvoie le fichier de tout à l'heure en pdf, ça
 marche bien.

le fichier n'y est pas mais c'et pas grave ici aussi il marche bien

 Bon d'accord, c'est pas du A5 et je n'ai pas modifié les 
 polices. Peux-tu transmettre ton fichier ou partie (qu'avec les titres par
 exemple) pour qu'on t'aide plus précisément ?

Bizarre j'ai viré la quasi totalité du contenu et il pèse toujours autant... 
Je sudoborre que c'et dû au fait que c'est un recueil de partitions fait 
avec OOolilypond (qui au passage n'est tjs pas remis au goût de la dernière 
version, faut le hacker, dommage) et que c'zest resté dans le fichier... Je 
regarde àça, sinon tu le veux en privé ? il fait 1.8 Mo.

-- 
Cordialement, Daniel Cartron
« Depuis deux mille ans, Jésus se venge sur nous de n'être pas mort sur un
canapé. »
E. M. Cioran


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [users-fr] Writer - pb de numérotation des chapitres

2008-04-28 Thread Elodie Omer
vi et peux-tu m'indiquer ton mail. C'est peut-être parceque je t'envoie tout ça 
de mon mail et pas de la liste, non ?

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Daniel Cartron [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Lundi 28 Avril 2008 16:06:19 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [users-fr] Writer - pb de numérotation des chapitres

Le lundi 28 avril 2008, Daniel Cartron a écrit :
 pas plus mais bon je te met le mien, j'ai réussi à virer les png des
 partitions, j'en ai laissé une seule

ps désolé je suis allé trop vite j'ai posté à la liste...

Mes excuses à tous.

-- 
Cordialement, Daniel Cartron
« Des yeux, de l'ordre et de la méthode en face des trous. »
Daniel Cartron.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [users-fr] [writer] Copie automatique de texte

2008-04-24 Thread Elodie Omer
Bonjour,
en faisant un Autotexte, par exemple. Vous sélectionnez le texte que vous 
désirez répéter. Edition  AutoTexte. Dans la fenêtre qui s'ouvre, vous donnez 
un nom. Le raccourci s'inscrit automatiquement, vous pouvez le modifier si vous 
le désirez. A droite vous cliquez sur le bouton Autotexte, plusieurs solutions :
- Nouveau : le texte avec son formatage
- Nouveau (texte seulement) : que le texte et pas de formatage.
Quand vous retournez dans votre document, vous tapez la ou les lettres du 
raccourci puis F3 : le texte apparaît.

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: Eric Hoffmann [EMAIL PROTECTED]
À: users@fr.openoffice.org
Envoyé: Jeudi 24 Avril 2008 15:37:17 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [users-fr] [writer] Copie automatique de texte

Bonjour,

Dans une lettre je dois avoir des parties de phrases qui se retrouvent à 
l'identique dans plusieurs parties du document. Comment écrire 1 fois le 
texte et le voir automatiquement copié ailleurs dans le document ?
Win XP - OOo 2.4
Bonne soirée,

-- 
Eric HOFFMANN



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Bug#166204: The peak of pleasure

2008-03-26 Thread elodie Eid
I whipped out my pole and laughed at his toothpick

http://www.walkiherb.com/
See What You Missed Out In 2008



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308561: Add up to 3 inches today.

2008-03-21 Thread elodie Hedvall
Make your dreams of having a huge rod true within just weeks.

http://www.azaneets.com/
Results in just 6-8 weeks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Réf.: [users-fr] Publipost age et accusé de réception

2008-01-08 Thread Elodie Omer
Hello,
ne serait-ce pas en configurant ton logiciel de messagerie que cela fonctionne 
? 

Cordialement,

Elodie Omer
Support Starxpert

- Mail Original -
De: François Pallut [EMAIL PROTECTED]
À: Liste OpenOffice users@fr.openoffice.org
Envoyé: mardi 8 janvier 2008 11 h 41 (GMT+0100) Europe/Berlin
Objet: [users-fr] Publipostage et accusé de réception

Bonjour,
Est-il possible de faire un publipostage avec accusé de réception dans 
Writer (exemples : mails avec pdf joint)
Merci
François

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[R] a function to compute the cumulative distribution function (cdf) of the gamma

2007-10-06 Thread elodie gillain
Dear Forum,

I would need to write a function to calculate the cumulative distribution
function (cdf) of the gamma random variable. I am allowed to use the
following precoded functions: rgamma, pgamma, and dgamma. I am a little
overwhelmed by this project,  I am wondering how I should start.  Should I
sum dgamma (or pgamma) from 0 to x, in order to obtain the cdf at x?

Thanks in advance for your input.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[M-net] Regardez Aljazeera-Art-France24-2M-Art Sport-Aljazeera Sport sur votre pc

2007-05-20 Thread Elodie Beauchamp
Regardez Aljazeera-Art-France24-2M-Art Sport-Aljazeera Sport en ligne sur votre 
pc 
 
Regardez maintenant  
 
Watch now : Aljazeera-Art-France24-2M-Art Sport-Aljazeera Sport on Line 
 
Watch Now  
 
?? ? ??? ? ??? ? ???  ??? ???  ??? 
?? ??  
 
  
___
M-net mailing list
M-net@mauritanie-net.com
http://mauritanie-net.com/mailman/listinfo/m-net_mauritanie-net.com


X - Pubs 2007!

2007-04-19 Thread Elodie Eudier



Europe’s largest XML Conference X-Pubs 4th  5th of June
2007(http://x-pubs.com) is worth a look.
Covers XML / DITA / CMS. 2006 was brilliant.
 End-users from Bombardier, Schlumberger, BMJ, and the Irish Government are
presenting their stories, AND Michael Priestly (IBM), Steve Manning (Rockley
Group), and other experts from IBM, Adobe, PTC Arbortext,, XyEnterprise,
Mekon, etc.


Torsten Schlabach wrote:
 
 That's strange, actually the sitetree file should be there ...

 I have no idea what goes wrong, maybe we have to wait for other
 experiences.
 
 I am currently trying to understand a bit what's going on.
 Where should the JCR repository be created?
 
 Regards,
 Torsten
 
 Torsten Schlabach wrote:
 Josias,

 Did the problem occur when you started the import-usecase?

 Yes!

 That's strange, actually the sitetree file should be there ...

 I have no idea what goes wrong, maybe we have to wait for other
 experiences.

 -- Andreas

 Which version of cocoon are you using?
 I think you need a recent svn version of 2.1.x


 I do. I use a SVN checkout of 2.1.x as of today.

 Regards,
 Torsten

 Josias Thoeny schrieb:

 On Wed, 2005-07-27 at 11:10 +0200, Torsten Schlabach wrote:

 Andreas,

 just tried this exactly as described in your email. I did not yet dig
 too
 deep into all the details of it, but if I do exactly what you wrote,
 I get
 an error:

 The source [lenya://lenya/pubs/default/content/authoring/sitetree.xml]
 does not exist!



 Did the problem occur when you started the import-usecase?
 Which version of cocoon are you using?
 I think you need a recent svn version of 2.1.x

 Josias



 org.apache.avalon.framework.CascadingRuntimeException:
 file:/usr/local/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js,

 line 168: uncaught JavaScript exception: at executeUsecase
 (file:/usr/local/src/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js,

 Line 168): org.apache.lenya.cms.usecase.UsecaseException:
 org.apache.excalibur.source.SourceNotFoundException: The source
 [lenya://lenya/pubs/default/content/authoring/sitetree.xml] does not
 exist!

 cause: org.apache.excalibur.source.SourceNotFoundException: The source
 [lenya://lenya/pubs/default/content/authoring/sitetree.xml] does not
 exist!

 Regards,
 Torsten



 Hi Lenya devs,

 Lenya now supports JCR :)

 Just kidding, it's not fully integrated, but the content can be
 stored in JCR. To migrate your publication to JCR, follow these
 steps:


 1) Call the Import into JCR usecase to migrate the content:

http://localhost:/index.html?lenya.usecase=jcr.import

(select your publication and click OK)


 2) Correct the node type configuration in cocoon.xconf:

 component-instance
 class=org.apache.cocoon.jcr.source.JCRSourceFactory
 name=jcr
   folder-node new-file=nt:file new-folder=nt:folder
 type=rep:root/
   folder-node new-file=nt:file new-folder=nt:unstructured
 type=nt:unstructured/
   folder-node type=nt:folder new-file=nt:file/
   file-node content-path=jcr:content
 content-type=nt:resource
 type=nt:file/
   file-node content-ref=jcr:content type=nt:linkedFile/
   content-node type=nt:resource
 content-prop=jcr:data
 mimetype-prop=jcr:mimeType
 lastmodified-prop=jcr:lastModified
 validity-prop=jcr:lastModified/
 /component-instance

 I guess this configuration has to be reviewed.
 I just copied it from the JCRSourceFactory javadocs.


 3) Set the JCRNodeFactory as default node factory in
java/org/apache/lenya/lenya.roles

   role name=org.apache.lenya.cms.repository.NodeFactory
 shorthand=node-factory
 default-class=org.apache.lenya.cms.jcr.JCRNodeFactory/


 5) Delete the content directory of your publication.

 4) Restart Jetty.


 Now your content is stored in the JCR repository.

 Of course this is in alpha state, feel free to give it a try and
 report
 problems in Bugzilla.

 -- Andreas


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/JCR-integration-tf164838.html#a10076161
Sent from 

Bug#304679: UP 500% in 2 days

2007-04-17 Thread elodie Napier

http://i11.tinypic.com/4bp1e2h.png

And what of the bio-assay mobile unit, so that this will not happen again.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to create a User Group inbox

2007-01-03 Thread Elodie Trouche-Perrin
Hello tbudl,

Could you tell me how to set up an INBOX only for emails coming from
the BAT! user group so it doesn't mix with my regular inbox


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.95.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: How to create a User Group inbox

2007-01-03 Thread Elodie Trouche-Perrin
Hello Thomas,

it didn't work. coul u be more specific??


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

Wednesday, January 3, 2007, 12:09:33 PM, you wrote:

 Hello Elodie,

 On Wed, 03 Jan 2007 10:25:52 -0500 GMT (03/01/2007, 22:25 +0700 GMT),
 Elodie Trouche-Perrin wrote:

ETP Could you tell me how to set up an INBOX only for emails coming from
ETP the BAT! user group so it doesn't mix with my regular inbox

 Create an incoming filter on Header - Match - Reply-To:.*TBUDL that
 moves the messages to the desired folder.

 --

 Cheers,
 Thomas.

 - MAN WANTED TO WORK IN DYNAMITE FACTORY. MUST BE WILLING TO TRAVEL.
 http://thomas.fernandez.hat-gar-keine-homepage.de/

 Message reply created with The Bat! 3.95.6
 under Windows XP 5.1 Build 2600 Service Pack 2





 
 Current version is 3.95.03 | 'Using TBUDL' information:
 http://www.silverstones.com/thebat/TBUDLInfo.html



-
 



Current version is 3.95.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: Restoring the address book

2006-09-28 Thread Elodie Trouche-Perrin


 Do you get any error when you start the AB and choose:
   File - Open address book ... ?
 Or what else is happening?

MESSAGE:

This is waht i get:
2 addresses from the bat team, email: [EMAIL PROTECTED]

$$$ LDIF Clipboard format $$$
dn: cn=The Bat! Team,[EMAIL PROTECTED]
cn: The Bat! Team
mail: [EMAIL PROTECTED]
modifyTimeStamp: 20060803T161157Z
givenName: The
sn: Team
initials: Bat!
o: RITLABS S.R.L.
streetAddress: 180 Stefan cel Mare Blvd.
location: Chisinau
postalCode: MD 2004
c: Republic of Moldova
telephoneNumber: +373 2 246889
facsimileTelephoneNumber: +373 2 246530
URL: http://www.ritlabs.com/
xbatNewTemplate:: 
JVNVQkpFQ1Q9IlRoZSBCYXQhIC0gaW5mb3JtYXRpb24gcmVxdWVzdCJIZWxsbyBUaGUgQmF0ISBkZXZlbG9wZXJzLA0KDQogIEknbSB1c2luZyBUaGUgQmF0ISBWZXJzaW9uICVUaGVCYXRWZXJzaW9uDQogIFNlcmlhbCBOdW1iZXIgJVRoZUJhdFNlcmlhbE51bWJlcg0KICB1bmRlciAlV2luZG93c1BsYXRmb3JtTmFtZSAlV2luZG93c01ham9yVmVyc2lvbi4lV2luZG93c01pbm9yVmVyc2lvbiBCdWlsZCAlV2luZG93c0J1aWxkTnVtYmVyICVXaW5kb3dzQ1NEVmVyc2lvbg0KICBhbmQgd291bGQgbGlrZSB0byBvYnRhaW4gc29tZSBtb3JlIGluZm9ybWF0aW9uIGFib3V0IHlvdXIgcHJvZ3JhbQ0KDQogICAgJUN1cnNvcg0KDQpSZWdhcmRzLA0KICAlRlJPTU5BTUUNCg==
xbatTemplateOptions: +
xbatFavourite:  
objectclass: top
objectclass: person

signature

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

-
 



Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Restoring the address book

2006-09-27 Thread Elodie Trouche-Perrin
Hello tbudl,

I can't upload the address book and i am sure about the path to find
it. Also when i open the bat! i have those 2 files that arrive in my
desktop:
ADDRBOOK.INI
RootCA.ABD

How can i upload my address book and why those 2 files show up.
Many thanks!
Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: Restoring the address book

2006-09-27 Thread Elodie Trouche-Perrin
Hello Roelof,




Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

Wednesday, September 27, 2006, 1:02:08 PM, you wrote:

 Hallo Elodie,

 On Wed, 27 Sep 2006 10:11:04 -0400GMT (27-9-2006, 16:11 , where I
 live), you wrote:

ETP I can't upload the address book and i am sure about the path to find
ETP it. Also when i open the bat! i have those 2 files that arrive in my
ETP desktop:
ETP ADDRBOOK.INI
ETP RootCA.ABD

 The default directory for these files is your mail directory, are you
 sure you've got write access there?
 I'm not sure what you mean with 'upload your AB'?


Thanks for your reply. i mean i can't open my file (thebat.abd) and by
so having access to my address book

-
 



Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


address book lost

2006-09-22 Thread Elodie Trouche-Perrin
Hello TBUDL,

It seems that i cannot open my address book.
which has been saved in program file/ the bat! /mail /thebat.ABD

anyone has an idea what could be wrong??

Many thanks!
Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


regarding Outlook

2006-09-06 Thread Elodie Trouche-Perrin
Hello TBUDL,

Quick question regarding outlook express:
If i want to switch for outlook express, could i have both the bat! and
outlook express receiving the same email.

How could i make the change without creating troubles for people
sending me emails.


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.85.02 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Test Reliable Messaging

2006-09-01 Thread Mancinelli Elodie

Hi All,

   I have create a client-server with sandesha2. To test the reliable 
messaging, I unplug the Network cable. I launch a TCPMon to see the 
messages and make sure that messages lost are relay broadcast.


   I test firstly the WS normally, I see the createSequence, 11 
messages and the terminatesequence on TCPMon. It works.
The test is to unplug the Network cable when the message 3 is send 
(time2 min). During the unplug messges (4,5 and 6) are send and on my 
client the message 3 stays Active. When I put the Network cable, the 
statut of message 3 become Req and lot of empty messages are send. The 
messages 7 and 8 are send and ok. After I see a new createsequence with 
3 messages send and finally a TerminateSequence.


In summary, I see something like that:

- CreateSequence1
- message 1.1
- message 1.2
- message 1.3
- several empty message
- message1. 7
- several empty message
- message 1.8
- several empty message
- CreateSequence2
- message 2.1
- message 2.2
- message 2.3
-TerminateSequence2

On my client, an error appears:
Error client
1 sept. 2006 11:38:46 
org.apache.sandesha2.storage.inmemory.InMemorySequencePropertyBeanMgr 
findUnique


Furhermore, the messages are really lost and never retransmited.
Why messages are never resend? Is it a configuration problem or unplug 
the Network cable is not a good solution?

Have someone have an idea?

Thanks,

Regards
Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-08-09 Thread Mancinelli Elodie

Sorry,

I want to make precision because I make mistake in my last mail.

In fact, your code works only if I put the test equals to 1 and not 3.

Regards
Elodie

Mancinelli Elodie wrote:


Hi Chamikara,

I checkout the axis2 last version and I keep your code corrected.
Your code works but if I change the test : if (sequenceReport!=null 
 sequenceReport.getCompletedMessages().size()==1) and not 3.

I think it's ok for this one.

Now I want to do the same thing not Anonymous but Addressable. I 
modify your code to do that. Can you try it? And tell me if it works 
for you. Because I meet a Class not Found  on HTTPService. This 
class was present in a precedent version of axis2.


Really thanks for your help.

Regards
Elodie


Chamikara Jayalath wrote:


Hi Elodie,

See my comments below.

On 8/4/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Chamikara,

I tested your client MTOMPingClient and it didn't terminate
because the
variable complete never taked its value to true.


This was due to a mistake. I corrected the code. It should terminate 
properly now.


Like the client
didn't receive the server's response.

In TCPMon, I can see these messages:
- Create Sequence and its response
- Message with the acknowledgement
- Terminate Sequence, and the OK

Markers ReplyTo and AcksTo equal to
http://www.w3.org/2005/08/addressing/anonymous
http://www.w3.org/2005/08/addressing/anonymous

To execute the client, I take the mar which is generate in the 
target

repository. But I can't take the generates jars because they make me
this error:
- Deploying module : soapmonitor
- Deploying module : addressing
- Deploying module : sandesha2
- StandardWrapper.Throwable
java.lang.NoSuchMethodError:

org.apache.axis2.i18n.Messages.addMessageBundle(Ljava/lang/String;Lorg/apache/axis2/i18n/MessageBundle;)V 


at

org.apache.sandesha2.i18n.SandeshaMessageHelper.innit(SandeshaMessageHelper.java:36) 


at
org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)

On this error, you tell me to check out the last version of mar
because
I have the last version.
With a precedent version of jars, the error  disappears.




You seems to be using an old axis2 version. Please take a latest 
Axis2 checkout and build the webapp.


 


Do you know why thid test if (sequenceReport!=null 
sequenceReport.getCompletedMessages ().size()==3) is never past ?

Thanks a lot to help me.

Elodie







/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the License); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

package sandesha2.samples.userguide;

import java.awt.Image;
import java.io.File;
import java.io.FileInputStream;

import javax.activation.DataHandler;
import javax.xml.namespace.QName;

import org.apache.axiom.attachments.utils.ImageDataSource;
import org.apache.axiom.attachments.utils.ImageIO;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.AxisFault;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.client.async.AsyncResult;
import org.apache.axis2.client.async.Callback;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.context.MessageContextConstants;
import org.apache.sandesha2.client.SandeshaClient;
import org.apache.sandesha2.client.SandeshaClientConstants;
import org.apache.sandesha2.client.SandeshaListener;
import org.apache.sandesha2.client.SequenceReport;
import org.apache.sandesha2.util.SandeshaUtil;

import fr.gouv.finances.dgme.presto.PrestoWSRM_MTOMtest.TestCallback;

public class MTOMPingClient {

private static final String applicationNamespaceName = 
http://tempuri.org/;;
private static final String MTOMPing = MTOMPing;
private static final String Text = Text;

private String toIP = 127.0.0.1;

private String toPort = 8080;
private String transportToPort = 8070;

private String toEPR

MTOM-RM Addressable Problem

2006-08-08 Thread Mancinelli Elodie

Hi Chamikara,

Let me give you a summary of my problems :

I want to create an example using both WS-RM and MTOM.
On the server side, two operations are available : the first one is a 
oneWay op and the second is a request-response op.

On the client side, I am trying to perfom three kind of calls :
1) OneWayAnonymous which will perform a one way call in anonymous mode
2) OneWayAddressable which will perform a one way call with specific 
values for Acks-To and Reply-To parameters
3) RequestResponseAddressable which will perform a request-response way 
call with specific values for Acks-To and Reply-To parameters


I have the following problem :
as you told me, I have taken the latest Axis2 trunk and there is a 
missing class : org.apache.axis2.transport.http.server.HttpService
I was using this class to set up the Acks-To property. I have been able 
to see that this class was removed :


Author: chuckw
Date: Fri Jun  9 13:56:06 2006
New Revision: 413166

URL: http://svn.apache.org/viewvc?rev=413166view=rev
Log:
Remove old Commons classes and dangling references to them.

See AXIS2-812



I had a look at the above Axis2 bug and I didn't understand which new 
class I should use...

Can you tell me how I can set this property by now ?

Thanks a lot for your anwser.
Regards,
Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MTOM-RM Addressable Problem

2006-08-08 Thread Mancinelli Elodie

Hi Chamikara,

Let me give you a summary of my problems :

I want to create an example using both WS-RM and MTOM.
On the server side, two operations are available : the first one is a 
oneWay op and the second is a request-response op.

On the client side, I am trying to perfom three kind of calls :
1) OneWayAnonymous which will perform a one way call in anonymous mode
2) OneWayAddressable which will perform a one way call with specific 
values for Acks-To and Reply-To parameters
3) RequestResponseAddressable which will perform a request-response way 
call with specific values for Acks-To and Reply-To parameters


I have the following problem :
as you told me, I have taken the latest Axis2 trunk and there is a 
missing class : org.apache.axis2.transport.http.server.HttpService
I was using this class to set up the Acks-To property. I have been able 
to see that this class was removed :


Author: chuckw
Date: Fri Jun  9 13:56:06 2006
New Revision: 413166

URL: http://svn.apache.org/viewvc?rev=413166view=rev
Log:
Remove old Commons classes and dangling references to them.

See AXIS2-812



I had a look at the above Axis2 bug and I didn't understand which new 
class I should use...

Can you tell me how I can set this property by now ?

Thanks a lot for your anwser.
Regards,
Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Class not found HTTPService

2006-08-07 Thread Mancinelli Elodie

Hi all,

I check out the axis2 last version and I build it.
When I launch my client code, I have an error which is the class 
HTTPService is never found.


This class should be in a axis2-kernel-SNAPSHOT.jar but it 's not 
present in the last version. I search in the repository 
modules/core/src/org/apache/axis2/transport/http/server and no class.


This error appear when I want to execute this:
String acksTo = 
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();

clientOptions.setProperty(SandeshaClientConstants.AcksTo,acksTo);


Why this class is not here? where is it? Or have you an other solution 
to do the same thing?


Regards
Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-08-04 Thread Mancinelli Elodie

Hi Chamikara,

I tested your client MTOMPingClient and it didn't terminate because the 
variable complete never taked its value to true. Like the client 
didn't receive the server's response.


In TCPMon, I can see these messages:
- Create Sequence and its response
- Message with the acknowledgement
- Terminate Sequence, and the OK

Markers ReplyTo and AcksTo equal to 
http://www.w3.org/2005/08/addressing/anonymous


To execute the client, I take the mar which is generate in the target 
repository. But I can't take the generates jars because they make me 
this error:

- Deploying module : soapmonitor
- Deploying module : addressing
- Deploying module : sandesha2
- StandardWrapper.Throwable
java.lang.NoSuchMethodError: 
org.apache.axis2.i18n.Messages.addMessageBundle(Ljava/lang/String;Lorg/apache/axis2/i18n/MessageBundle;)V
   at 
org.apache.sandesha2.i18n.SandeshaMessageHelper.innit(SandeshaMessageHelper.java:36)

   at org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)

On this error, you tell me to check out the last version of mar because 
I have the last version.

With a precedent version of jars, the error  disappears.

Do you know why thid test if (sequenceReport!=null  
sequenceReport.getCompletedMessages().size()==3) is never past ?


Thanks a lot to help me.

Elodie


Chamikara Jayalath wrote:


Hi Elodie,

I tested your module with the RMSampleService with both RM Only and 
RM+MTOM scenarios. It seemed to be working.


I have committed the MTOMPingClient to the Sandesha2 Userguide sample. 
Could u try that. I cannot use the service or client java files u sent 
due to the missing dependencies.


Chamikara


On 8/3/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Chamikara,

Really sorry if you have already receive this mail but I'm not sure I
send it correctly because I can't send a mar on the mailing list. It
return an DELIVERY FAILURE.

I send you the new mar compiles with a Sun JDK ( 1.4.2_12). I hope you
can say me more on my problem.

Thanks

Elodie





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error compile sandesha

2006-08-03 Thread Mancinelli Elodie

Hi Chamikara, Jaliya

OK, problem resolves.

Thanks for your help.

Elodie


Chamikara Jayalath wrote:


Hi Elodie,Jaliya,

I just updated the test.module.xml. Now there shouldnt be any test 
failures. Please check.


Chamikara



On 8/2/06, *Jaliya Ekanayake*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Elodie,

I just added a blank file to the test resoucres. Now there is a
test failure
[ERROR] TEST org.apache.sandesha2.security.SecurityTest FAILED

It will work without the test.

Thanks,
-Jaliya


- Original Message -
From: Mancinelli Elodie  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
To: sandesha-dev@ws.apache.org mailto:sandesha-dev@ws.apache.org
Sent: Wednesday, August 02, 2006 10:54 AM
Subject: Re: Error compile sandesha


 Hi all,

 Has anyone can help me?
 Why the file test.module.xml id not present whereas at the
compilation
 this file should copy. I try sereal time maven
-Dmaven.test.skip=true, but
 anything change.

 Regards

 Elodie




 Mancinelli Elodie wrote:

 Hi all,

 I try to to compile sandesha2 with a jdk 1.4 and i have this error.

 server:create:
[copy] Copying 1 file to
 /home/mancinee/workspace/sandesha/target/repos/server/modules
[copy] Copying 1 file to
 /home/mancinee/workspace/sandesha/target/repos/server/services

 client:create:
[copy] Copying 1 file to
 /home/mancinee/workspace/sandesha/target/repos/client/modules

 secure:create:
[copy] Copying 2 files to
 /home/mancinee/workspace/sandesha/target/repos/secure-client
[copy] Copying 3 files to
 /home/mancinee/workspace/sandesha/target/repos/secure-server
[unjar] Expanding:
 /home/mancinee/workspace/sandesha/target/sandesha2-SNAPSHOT.mar
into
 /home/mancinee/workspace/sandesha/target/temp

 BUILD FAILED
 File.. /home/mancinee/workspace/sandesha/maven.xml
 Element... ant:copy
 Line.. 143
 Column 124
 Warning: Could not find file

/home/mancinee/workspace/sandesha/test-resources/test.module.xml
to copy.
 Total time: 1 minutes 2 seconds
 Finished at: Tue Aug 01 16:59:40 CEST 2006

 I'm synchronize with the sandesha trunk version on this
 addresse:
https://svn.apache.org/repos/asf/webservices/sandesha/trunk.

 Actually, there is no test.module.xml file. But where is it?

 Regards

 Elodie




-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]





-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error compile sandesha

2006-08-02 Thread Mancinelli Elodie

Hi all,

Has anyone can help me?
Why the file test.module.xml id not present whereas at the compilation 
this file should copy. I try sereal time maven -Dmaven.test.skip=true, 
but anything change.


Regards

Elodie




Mancinelli Elodie wrote:


Hi all,

I try to to compile sandesha2 with a jdk 1.4 and i have this error.

server:create:
   [copy] Copying 1 file to 
/home/mancinee/workspace/sandesha/target/repos/server/modules
   [copy] Copying 1 file to 
/home/mancinee/workspace/sandesha/target/repos/server/services


client:create:
   [copy] Copying 1 file to 
/home/mancinee/workspace/sandesha/target/repos/client/modules


secure:create:
   [copy] Copying 2 files to 
/home/mancinee/workspace/sandesha/target/repos/secure-client
   [copy] Copying 3 files to 
/home/mancinee/workspace/sandesha/target/repos/secure-server
   [unjar] Expanding: 
/home/mancinee/workspace/sandesha/target/sandesha2-SNAPSHOT.mar into 
/home/mancinee/workspace/sandesha/target/temp


BUILD FAILED
File.. /home/mancinee/workspace/sandesha/maven.xml
Element... ant:copy
Line.. 143
Column 124
Warning: Could not find file 
/home/mancinee/workspace/sandesha/test-resources/test.module.xml to copy.

Total time: 1 minutes 2 seconds
Finished at: Tue Aug 01 16:59:40 CEST 2006

I'm synchronize with the sandesha trunk version on this 
addresse:https://svn.apache.org/repos/asf/webservices/sandesha/trunk.


Actually, there is no test.module.xml file. But where is it?

Regards

Elodie



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-07-26 Thread Mancinelli Elodie

Hi Chamikara,

I dont understand why I have error.
I send you files. in the sandesha2.mar, I change the InvokeInOrder.

Thanks a lot,

Regards
Elodie

package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;

import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.client.async.AsyncResult;
import org.apache.axis2.client.async.Callback;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.context.MessageContextConstants;
import org.apache.sandesha2.client.SandeshaClientConstants;


public class PrestoWSRM_MTOMtest extends junit.framework.TestCase{

	static String fileXMLName=test_data_in.xml;
	static String fileNameAttach=fichier.txt;
	private static EndpointReference targetEPR = new EndpointReference(http://localhost:8080/axis2/services/PrestoSvc;);
	private static String targetEPRTcpmon =http://localhost:8070/axis2/services/PrestoSvc;;
	static String namespace=http://dgme.finances.gouv.fr/presto;;
	private static String CLIENT_REPO_PATH = RepoClient;
	private static String axis2_xml = CLIENT_REPO_PATH + File.separator +conf + File.separator + axis2.xml;

	/**
	 * Call submitRequestReponse with attachment
	 *
	 */
	public  void testSubmitRequestResponseWSRMAddressable() throws Exception{

		String nameMethod=submit;
		ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
		ServiceClient serviceClient = new ServiceClient (configContext,null);

		Options options=initOptions(submit,true);
		serviceClient.setOptions(options);
		String acksTo = serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();
		options.setProperty(SandeshaClientConstants.AcksTo,acksTo);

		System.out.println(Envoi);
		Callback callback1 = new TestCallback (Callback 1);
		serviceClient.sendReceiveNonBlocking (getOMBlock(message1,sequence1,nameMethod),callback1);

		while (!callback1.isComplete()) {
			System.out.println(boucle1);
			Thread.sleep(1000);
		}

		Callback callback2 = new TestCallback (Callback 2);
		serviceClient.sendReceiveNonBlocking(getOMBlock(message2,sequence1,nameMethod),callback2);

		while (!callback2.isComplete()) {
			System.out.println(boucle2);
			Thread.sleep(1000);
		}

		options.setProperty(SandeshaClientConstants.LAST_MESSAGE, true);
		Callback callback3 = new TestCallback (Callback 3);
		serviceClient.sendReceiveNonBlocking(getOMBlock(message3,sequence1,nameMethod),callback3);

		while (!callback3.isComplete()) {
			System.out.println(boucle3);
			Thread.sleep(1000);
		}
		System.out.println(Fin du programme);
		Thread.sleep(1);
		serviceClient.finalizeInvoke();

	}


	/**
	 * Call submitOneWay with attachment
	 *
	 */
	public  void testSubmitOneWayWSRMEmetteurAnonyme() throws Exception {

		String nameMethod=submitOneWay;
		ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
		ServiceClient sender = new ServiceClient (configContext,null);

		Options options=initOptions(submitOneWay, false);
		sender.setOptions(options);

		System.out.println(Envoi);

		sender.fireAndForget(getOMBlock(,ping1,nameMethod));
		sender.fireAndForget(getOMBlock(,ping2,nameMethod));

		options.setProperty(SandeshaClientConstants.LAST_MESSAGE, true);
		sender.fireAndForget(getOMBlock(,ping3,nameMethod));

		Thread.sleep(1);
		System.out.println(\nResult :);
		System.out.println(NO RETURN FOR WEBSERVICE);
		sender.finalizeInvoke();

	}

	public void testSubmitOneWayWSRMEmetteurAdressable() throws Exception {

		String nameMethod=submitOneWay;
		ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
		ServiceClient sender = new ServiceClient (configContext,null);

		Options options = initOptions(submitOneWay, true);
		String acksTo = sender.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();
		options.setProperty(SandeshaClientConstants.AcksTo,acksTo);
		sender.setOptions(options);

		System.out.println(Envoi);
		Callback callback1 = new TestCallback (Callback 1);
		sender.sendReceiveNonBlocking(getOMBlock(,ping1,nameMethod),callback1);

		Callback callback2 = new TestCallback (Callback 2);
		sender.sendReceiveNonBlocking(getOMBlock(,ping2,nameMethod),callback2);

		Callback

Re: [MTOM/XOP+WSRM] servlet error

2006-07-24 Thread Mancinelli Elodie

Hi Sanjiva,

Thanks for your interest

I want to specify my problem.
The problem become when I implement a method addressable(ie I define the 
AcksTo and ReplyTo value) because the anonymous method (no addressable) 
works correctly.


I test an implementation of wsrm and I have the same problem as mtomrm, 
when I launch an addressable client to test the oneway method I saw all 
messages soap but the service is not execute and to test the 
requestresponse method, I see only the CreateSequence and the first 
message, the service is not execute and the client not receive the 
server response.


When I launch the client mtomrm and wsrm oneway but not addressable, no 
problem, my service is execute correctly.


This problem appears with the last version of mar for wsrm addressable 
which works with an precedent version. But the mtomrm addressable never 
works and need the last version of mar.


The resource.properties file is present in the package 
'org.apache.sandesha2.i18n' and it seems to be ok.


I hope I have been more clear.
Have you an idea?

Regards,
Elodie


Sanjiva Weerawarana wrote:


On Sat, 2006-07-22 at 17:55 +0530, Chamikara Jayalath wrote:
 


Hi Elodie,

The reason for this error is resource.properties file not being
available in the package 'org.apache.sandesha2.i18n'. Please check
weather it is available in the 'mar' file you are using.
   



Isn't the problem a default locale issue? Looks like Elodie is running
with French and hence the file searched for doesn't exist.

Sanjiva.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-07-24 Thread Mancinelli Elodie

Hi Sanjiva,

Thanks for your interest

I want to specify my problem.
The problem become when I implement a method addressable(ie I define the 
AcksTo and ReplyTo value) because the anonymous method (no addressable) 
works correctly.


I test an implementation of wsrm and I have the same problem as mtomrm, 
when I launch an addressable client to test the oneway method I saw all 
messages soap but the service is not execute and to test the 
requestresponse method, I see only the CreateSequence and the first 
message, the service is not execute and the client not receive the 
server response.


When I launch the client mtomrm and wsrm oneway but not addressable, no 
problem, my service is execute correctly.


This problem appears with the last version of mar for wsrm addressable 
which works with an precedent version. But the mtomrm addressable never 
works and need the last version of mar.


The resource.properties file is present in the package 
'org.apache.sandesha2.i18n' and it seems to be ok.


I hope I have been more clear.
Have you an idea?

Regards,
Elodie


Sanjiva Weerawarana wrote:


On Sat, 2006-07-22 at 17:55 +0530, Chamikara Jayalath wrote:
 


Hi Elodie,

The reason for this error is resource.properties file not being
available in the package 'org.apache.sandesha2.i18n'. Please check
weather it is available in the 'mar' file you are using.
   



Isn't the problem a default locale issue? Looks like Elodie is running
with French and hence the file searched for doesn't exist.

Sanjiva.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-07-21 Thread Mancinelli Elodie
)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.util.MissingResourceException: Cannot find resource 
'org.apache.sandesha2.i18n.resource'
   at 
org.apache.axis2.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.java:259)
   at 
org.apache.sandesha2.i18n.SandeshaMessageHelper.clinit(SandeshaMessageHelper.java:19)

   ... 32 more

And when I check out the project and I create my mar and jar, I have the 
same error. The module seems to not be initiate. I search to resolve the 
problem but I don't find the solution. I join you the cataliana log, 
there are errors on listeners classes (ContextListener and 
SessionListener) but I think it's not the same problem and it don't have 
consequences on my problem.


Thanks for your time.

Regards
Elodie


Chamikara Jayalath wrote:


Hi Elodie,

Please see my comments below.

On 7/19/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Chamikara,

Your solution is correct.  Can you explain me what is this
property and
why it allows to pass the bug?



In WSRM the messages that belong to a sequence are numbered starting 
from one. If this InvokeInOrder property is set to true, Sandesha2 
will make sure that the messages get invoked in the order of these 
message numbers. This is a delivery assurance provided by Sadesha2 
which is not a must to comply with the WSRM specification. So you can 
safely set it to false if you do not worry abt ardering. Infact 
disabling this will improve the performance.


In implementation wise, we achieve ordering using a seperate thread. 
If InvokeInORder is set to true, messages will be paused at the RM 
handlers and invocation will be done in the order of message numbers 
using our thread. When a message get paused the current thread get 
returned and the incoming sockets with the client get closed.


The bug is with axis2 not reading the attachments from the stream 
before this closing of the socket.


Change this property, make other mistake:
The problem is when I implement method addressable ( i.e. I define the
ReplyTo and AcksTo value for WSRM implementation). I have also the
same
problem in MTOMRM implementation.
These values change with this code:
String acksTo =
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP ).getAddress();
options.setProperty(SandeshaClientConstants.AcksTo,acksTo);
and
options.setUseSeparateListener(true);
In this case, for a RequestResponse method I see only the
CreateSequence
and the first message, others messages never sent. The client never
receive the server response and the  server method is never called.

For OneWay method, in TCPMon, there are all soap messages, but no
server
reactions. The  server method is never called.

Have you an idea? 




I guess this is the bug i fixed yested day. Please try the latest 
SNAPSHOT from

http://people.apache.org/repository/sandesha2/mars/


Chamikara


Thanks for your help.

Regards,

Elodie

Chamikara Jayalath wrote:

 Hi Elodie,

 I just fixed a bug in Sandesha2 not-in-order case is working
properly now.

 Currently MTOM+RM will not work when InOrderInvocation property
is set
 to true. This is due to a bug in OM  (
 https://issues.apache.org/jira/browse/WSCOMMONS-52 ).

 But it perfectly works when InOrderInvocation is set to false. I
just
 added a test case to sandesha2 to demonstrate this (MTOMRMTest).
 Currentlly the code in the test method is commented till the
previous
 bug is fixed. But it passes when InOrderInvation is disabled.

 Hope this will help you.

 Chamikara






21 juil. 2006 08:43:56 org.apache.catalina.core.ApplicationContext log
INFO

Re: [MTOM/XOP+WSRM] servlet error

2006-07-21 Thread Mancinelli Elodie
Ok, my tomcat run correctly, in fact, I have take the last version of 
jars and they have probably an error.
So I an other version of jars with the last version of mar and it don't 
change the problem.


I try to download the mar or chechout the project and create it.  The 
problem is always:


For Oneway addressable, I saw message soap but the server method is 
nerver call.
For the RequestResponse addressable, I saw the createSequence and the 
first message, the client don't receive response and the server method 
is nerver call.


Regards

Elodie

Mancinelli Elodie wrote:


Hi Chamikara,

Thanks for your explain.

I download the mar and jar last version on link. I change the value of 
InOrderInvocation to false in the module.xml.

And now, I have an error, at the start of tomcat.

- Deploying module : sandesha2
- StandardWrapper.Throwable
java.lang.ExceptionInInitializerError
   at 
org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:54)
   at 
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128) 

   at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104) 

   at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40) 

   at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213) 

   at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) 

   at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
   at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915) 

   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 

   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
   at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) 

   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 

   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 


   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.util.MissingResourceException: Cannot find resource 
'org.apache.sandesha2.i18n.resource'
   at 
org.apache.axis2.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.java:259) 

   at 
org.apache.sandesha2.i18n.SandeshaMessageHelper.clinit(SandeshaMessageHelper.java:19) 


   ... 32 more
- La servlet /axis2 a généré une exception load()
java.lang.ExceptionInInitializerError
   at 
org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:54)
   at 
org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:128) 

   at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:104) 

   at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:40) 

   at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:213) 

   at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) 

   at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
   at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915

[Axis2] Messages differents on client and on server

2006-07-21 Thread Mancinelli Elodie

Hi all,

I use apache-tomcat-5.5.15, axis2 1.0 and sandesha2 1.0.

I try to implement WSRM with MTOM and my problem is a difference between 
message send and message received.

The message which is create on the client is:
Document sent :
m:submitOneWay xmlns:m=http://dgme.finances.gouv.fr/presto;
   m0:testDocIn xmlns:m0=http://dgme.finances.gouv.fr/prototype;
   m0:intStrElement
   m0:intElement0/m0:intElement
   m0:strElementString/m0:strElement
   /m0:intStrElement
   
m0:binaryElementUjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi/m0:binaryElement

   m0:anyElement
   test1231 2 3 4 5 6/test123
   /m0:anyElement
   /m0:testDocIn
   m:attachment
ZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkDQpmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmQ=
   /m:attachment
   m:mtomrmtrue/m:mtomrm
   m:sequenceping3/m:sequence
/m:submitOneWay

In TCPMon:
...
...
soapenv:Body
  m:submitOneWay 
xmlns:m=http://dgme.finances.gouv.fr/presto;
 m0:testDocIn 
xmlns:m0=http://dgme.finances.gouv.fr/prototype;   
m0:intStrElement   
   m0:intElement0/m0:intElement   
   m0:strElementString/m0:strElement
  
/m0:intStrElement   

m0:binaryElementUjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi/m0:binaryElement
  
m0:anyElement   
   test1231 2 3 4 5 6/test123   
/m0:anyElement

 /m0:testDocIn
 m:attachment
xop:Include 
href=cid:1.urn:uuid:[EMAIL PROTECTED] 
xmlns:xop=http://www.w3.org/2004/08/xop/include; /

 /m:attachment
 m:mtomrmtrue/m:mtomrm
 m:sequenceping3/m:sequence
  /m:submitOneWay
   /soapenv:Body

/soapenv:Envelope--MIMEBoundaryurn_uuid_DD530DB2A0C18615C2115348985007710content-id:

1.urn:uuid:[EMAIL PROTECTED]content-type:text/plaincontent-transfer-encoding:binaryfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfdfsdvgfsdvgfd--MIMEBoundaryurn_uuid_DD530DB2A0C18615C2115348985007710--


And on the server side, the document past in service method parameter is:
m:submitOneWay xmlns:m=http://dgme.finances.gouv.fr/presto; 
xmlns:wsa=http://www.w3.org/2005/08/addressing; 
xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;

   m0:testDocIn xmlns:m0=http://dgme.finances.gouv.fr/prototype;
  m0:intStrElement
  m0:intElement0/m0:intElement
  m0:strElementString/m0:strElement
  /m0:intStrElement
  
m0:binaryElementUjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi/m0:binaryElement

  m0:anyElement
  test1231 2 3 4 5 6/test123
  /m0:anyElement
   /m0:testDocIn
   m:attachment
ZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkZnNkdmdmc2R2Z2ZkDQpmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmRmc2R2Z2ZzZHZnZmQ=
   /m:attachment
/m:submitOneWay

Can someone explain why there are differences between messages?

Regards,

Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [MTOM/XOP+WSRM] servlet error

2006-07-21 Thread Mancinelli Elodie
)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.util.MissingResourceException: Cannot find resource 
'org.apache.sandesha2.i18n.resource'
   at 
org.apache.axis2.i18n.ProjectResourceBundle.getBundle(ProjectResourceBundle.java:259)
   at 
org.apache.sandesha2.i18n.SandeshaMessageHelper.clinit(SandeshaMessageHelper.java:19)

   ... 32 more

And when I check out the project and I create my mar and jar, I have the 
same error. The module seems to not be initiate. I search to resolve the 
problem but I don't find the solution. I join you the cataliana log, 
there are errors on listeners classes (ContextListener and 
SessionListener) but I think it's not the same problem and it don't have 
consequences on my problem.


Thanks for your time.

Regards
Elodie


Chamikara Jayalath wrote:


Hi Elodie,

Please see my comments below.

On 7/19/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi Chamikara,

Your solution is correct.  Can you explain me what is this
property and
why it allows to pass the bug?



In WSRM the messages that belong to a sequence are numbered starting 
from one. If this InvokeInOrder property is set to true, Sandesha2 
will make sure that the messages get invoked in the order of these 
message numbers. This is a delivery assurance provided by Sadesha2 
which is not a must to comply with the WSRM specification. So you can 
safely set it to false if you do not worry abt ardering. Infact 
disabling this will improve the performance.


In implementation wise, we achieve ordering using a seperate thread. 
If InvokeInORder is set to true, messages will be paused at the RM 
handlers and invocation will be done in the order of message numbers 
using our thread. When a message get paused the current thread get 
returned and the incoming sockets with the client get closed.


The bug is with axis2 not reading the attachments from the stream 
before this closing of the socket.


Change this property, make other mistake:
The problem is when I implement method addressable ( i.e. I define the
ReplyTo and AcksTo value for WSRM implementation). I have also the
same
problem in MTOMRM implementation.
These values change with this code:
String acksTo =
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP ).getAddress();
options.setProperty(SandeshaClientConstants.AcksTo,acksTo);
and
options.setUseSeparateListener(true);
In this case, for a RequestResponse method I see only the
CreateSequence
and the first message, others messages never sent. The client never
receive the server response and the  server method is never called.

For OneWay method, in TCPMon, there are all soap messages, but no
server
reactions. The  server method is never called.

Have you an idea? 




I guess this is the bug i fixed yested day. Please try the latest 
SNAPSHOT from

http://people.apache.org/repository/sandesha2/mars/


Chamikara


Thanks for your help.

Regards,

Elodie

Chamikara Jayalath wrote:

 Hi Elodie,

 I just fixed a bug in Sandesha2 not-in-order case is working
properly now.

 Currently MTOM+RM will not work when InOrderInvocation property
is set
 to true. This is due to a bug in OM  (
 https://issues.apache.org/jira/browse/WSCOMMONS-52 ).

 But it perfectly works when InOrderInvocation is set to false. I
just
 added a test case to sandesha2 to demonstrate this (MTOMRMTest).
 Currentlly the code in the test method is commented till the
previous
 bug is fixed. But it passes when InOrderInvation is disabled.

 Hope this will help you.

 Chamikara






21 juil. 2006 08:43:56 org.apache.catalina.core.ApplicationContext log
INFO

Question about attachment/ bytes

2006-07-21 Thread Elodie Trouche-Perrin
Hello TBUDL,

I sent an email with jpegs attached. It left my outbox ok with size
around 2000 kbytes. The recipient received my email with all jpegs
attached with their right size, but when i look at my send box, the jpeg are at 
0 [EMAIL PROTECTED]
how it is possible!?


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: [MTOM/XOP+WSRM] servlet error

2006-07-19 Thread Mancinelli Elodie

Hi Chamikara,

Your solution is correct.  Can you explain me what is this property and 
why it allows to pass the bug?


Change this property, make other mistake:
The problem is when I implement method addressable (i.e. I define the 
ReplyTo and AcksTo value for WSRM implementation). I have also the same 
problem in MTOMRM implementation.

These values change with this code:
String acksTo = 
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();

options.setProperty(SandeshaClientConstants.AcksTo,acksTo);
and
options.setUseSeparateListener(true);
In this case, for a RequestResponse method I see only the CreateSequence 
and the first message, others messages never sent. The client never 
receive the server response and the  server method is never called.


For OneWay method, in TCPMon, there are all soap messages, but no server 
reactions. The  server method is never called.


Have you an idea?

Thanks for your help.

Regards,

Elodie

Chamikara Jayalath wrote:


Hi Elodie,

I just fixed a bug in Sandesha2 not-in-order case is working properly now.

Currently MTOM+RM will not work when InOrderInvocation property is set 
to true. This is due to a bug in OM  ( 
https://issues.apache.org/jira/browse/WSCOMMONS-52 ).


But it perfectly works when InOrderInvocation is set to false. I just 
added a test case to sandesha2 to demonstrate this (MTOMRMTest). 
Currentlly the code in the test method is commented till the previous 
bug is fixed. But it passes when InOrderInvation is disabled.


Hope this will help you.

Chamikara



On 7/17/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi,

Can you think the problem is due to the tomcat version? Or the
sandesha2
version? I download jars and war on
http://people.apache.org/repository/sandesha2/
http://people.apache.org/repository/sandesha2/.

To configure the server,I have only change the axis2.xml. I can't
change
the module.xml because I intente to create a common server for all
independante client (WSRM only, MTOM only, MTOM-WSRM).

Sorry to insit.
Regards

Elodie


Mancinelli Elodie wrote:

 Hi Chamikara,

 I use tomcat in the server side and its version is the
 apache-tomcat-5.5.15.
 I join in attachment my client code.

 Thanks for your help.

 Regards

 Elodie



 Chamikara Jayalath wrote:

 Hi Elodie,

 Are you using tomcat in the server side. If so which version?
 Can u send your client code as well.

 Chamikara


 On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

 Hi all,

 I want to realise an client-server which supports MTOM and
WSRM. I
 created separatly a client-server with MTOM and a client-server
 with WSRM.

 My server has two methods: OneWay and RequestResponse.

 - When I launch my client to test the RequestResponse method:
 In TCPMon, I see, the CreateSequence and the
 CreateSequenceResponse. My
 first message is sent and it is accpeted.
 But my client never receives the response and there is no
trace
 on my
 server, the method seems not be executed.

 - When I launch my client to test the OneWay method:
 In TCPMon, I see:
 - CreateSequence, CreateSequenceResponse
 - Three messages have send and three acknowledgments
 But no TerminateSequence.
 And on the server, there is an error:
 - Servlet.service() pour la servlet AxisServlet a généré une
 exception
 java.lang.IllegalStateException: Impossible de créer une
 sessionaprès
 que la réponse ait été envoyée
 at


org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
 at

org.apache.catalina.connector.Request.getSession(Request.java:2024)

 at



org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)

 at
 




package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory ;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants ;
import org.apache.axis2

Re: [MTOM/XOP+WSRM] servlet error

2006-07-19 Thread Mancinelli Elodie

Hi Chamikara,

Your solution is correct.  Can you explain me what is this property and 
why it allows to pass the bug?


Change this property, make other mistake:
The problem is when I implement method addressable (i.e. I define the 
ReplyTo and AcksTo value for WSRM implementation). I have also the same 
problem in MTOMRM implementation.

These values change with this code:
String acksTo = 
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();

options.setProperty(SandeshaClientConstants.AcksTo,acksTo);
and
options.setUseSeparateListener(true);
In this case, for a RequestResponse method I see only the CreateSequence 
and the first message, others messages never sent. The client never 
receive the server response and the  server method is never called.


For OneWay method, in TCPMon, there are all soap messages, but no server 
reactions. The  server method is never called.


Have you an idea?

Thanks for your help.

Regards,

Elodie

Chamikara Jayalath wrote:


Hi Elodie,

I just fixed a bug in Sandesha2 not-in-order case is working properly now.

Currently MTOM+RM will not work when InOrderInvocation property is set 
to true. This is due to a bug in OM  ( 
https://issues.apache.org/jira/browse/WSCOMMONS-52 ).


But it perfectly works when InOrderInvocation is set to false. I just 
added a test case to sandesha2 to demonstrate this (MTOMRMTest). 
Currentlly the code in the test method is commented till the previous 
bug is fixed. But it passes when InOrderInvation is disabled.


Hope this will help you.

Chamikara



On 7/17/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi,

Can you think the problem is due to the tomcat version? Or the
sandesha2
version? I download jars and war on
http://people.apache.org/repository/sandesha2/
http://people.apache.org/repository/sandesha2/.

To configure the server,I have only change the axis2.xml. I can't
change
the module.xml because I intente to create a common server for all
independante client (WSRM only, MTOM only, MTOM-WSRM).

Sorry to insit.
Regards

Elodie


Mancinelli Elodie wrote:

 Hi Chamikara,

 I use tomcat in the server side and its version is the
 apache-tomcat-5.5.15.
 I join in attachment my client code.

 Thanks for your help.

 Regards

 Elodie



 Chamikara Jayalath wrote:

 Hi Elodie,

 Are you using tomcat in the server side. If so which version?
 Can u send your client code as well.

 Chamikara


 On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

 Hi all,

 I want to realise an client-server which supports MTOM and
WSRM. I
 created separatly a client-server with MTOM and a client-server
 with WSRM.

 My server has two methods: OneWay and RequestResponse.

 - When I launch my client to test the RequestResponse method:
 In TCPMon, I see, the CreateSequence and the
 CreateSequenceResponse. My
 first message is sent and it is accpeted.
 But my client never receives the response and there is no
trace
 on my
 server, the method seems not be executed.

 - When I launch my client to test the OneWay method:
 In TCPMon, I see:
 - CreateSequence, CreateSequenceResponse
 - Three messages have send and three acknowledgments
 But no TerminateSequence.
 And on the server, there is an error:
 - Servlet.service() pour la servlet AxisServlet a généré une
 exception
 java.lang.IllegalStateException: Impossible de créer une
 sessionaprès
 que la réponse ait été envoyée
 at


org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
 at

org.apache.catalina.connector.Request.getSession(Request.java:2024)

 at



org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)

 at
 




package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory ;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants ;
import org.apache.axis2

Re: [MTOM/XOP+WSRM] servlet error

2006-07-17 Thread Mancinelli Elodie

Hi Chamikara,

I use tomcat in the server side and its version is the apache-tomcat-5.5.15.
I join in attachment my client code.

Thanks for your help.

Regards

Elodie



Chamikara Jayalath wrote:


Hi Elodie,

Are you using tomcat in the server side. If so which version?
Can u send your client code as well.

Chamikara


On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I want to realise an client-server which supports MTOM and WSRM. I
created separatly a client-server with MTOM and a client-server
with WSRM.

My server has two methods: OneWay and RequestResponse.

- When I launch my client to test the RequestResponse method:
In TCPMon, I see, the CreateSequence and the
CreateSequenceResponse. My
first message is sent and it is accpeted.
But my client never receives the response and there is no trace on my
server, the method seems not be executed.

- When I launch my client to test the OneWay method:
In TCPMon, I see:
- CreateSequence, CreateSequenceResponse
- Three messages have send and three acknowledgments
But no TerminateSequence.
And on the server, there is an error:
- Servlet.service() pour la servlet AxisServlet a généré une
exception
java.lang.IllegalStateException: Impossible de créer une sessionaprès
que la réponse ait été envoyée
at
org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
at
org.apache.catalina.connector.Request.getSession(Request.java:2024)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:842)
at

org.apache.axis2.transport.http.AxisServlet.createAndSetInitialParamsToMsgCtxt
(AxisServlet.java:81)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:173)
at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

I have no informations in catalina logs.
In precedent mails, somebody advise me to change the value of
InOrderInvoker in the module.xml, but when I change this,
client-server
with MTOM only and client-server with WSRM only don't works.
I have download the sandesha2-SNAPSHOT.mar
(http://people.apache.org/repository/sandesha2/mars/
http://people.apache.org/repository/sandesha2/mars/)

Someone have an idea?

Thanks a lot

Elodie






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import

Re: [MTOM/XOP+WSRM] servlet error

2006-07-17 Thread Mancinelli Elodie

Hi,

Can you think the problem is due to the tomcat version? Or the sandesha2 
version? I download jars and war on 
http://people.apache.org/repository/sandesha2/.


To configure the server,I have only change the axis2.xml. I can't change 
the module.xml because I intente to create a common server for all 
independante client (WSRM only, MTOM only, MTOM-WSRM).


Sorry to insit.
Regards

Elodie


Mancinelli Elodie wrote:


Hi Chamikara,

I use tomcat in the server side and its version is the 
apache-tomcat-5.5.15.

I join in attachment my client code.

Thanks for your help.

Regards

Elodie



Chamikara Jayalath wrote:


Hi Elodie,

Are you using tomcat in the server side. If so which version?
Can u send your client code as well.

Chamikara


On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I want to realise an client-server which supports MTOM and WSRM. I
created separatly a client-server with MTOM and a client-server
with WSRM.

My server has two methods: OneWay and RequestResponse.

- When I launch my client to test the RequestResponse method:
In TCPMon, I see, the CreateSequence and the
CreateSequenceResponse. My
first message is sent and it is accpeted.
But my client never receives the response and there is no trace 
on my

server, the method seems not be executed.

- When I launch my client to test the OneWay method:
In TCPMon, I see:
- CreateSequence, CreateSequenceResponse
- Three messages have send and three acknowledgments
But no TerminateSequence.
And on the server, there is an error:
- Servlet.service() pour la servlet AxisServlet a généré une
exception
java.lang.IllegalStateException: Impossible de créer une 
sessionaprès

que la réponse ait été envoyée
at

org.apache.catalina.connector.Request.doGetSession(Request.java:2214)

at
org.apache.catalina.connector.Request.getSession(Request.java:2024)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831) 


at





package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.client.async.AsyncResult;
import org.apache.axis2.client.async.Callback;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.context.MessageContextConstants;
import org.apache.sandesha2.client.SandeshaClientConstants;


public class PrestoWSRM_MTOMtest extends junit.framework.TestCase{

static String fileXMLName=test_data_in.xml;
static String fileNameAttach=fichier.txt;
private static EndpointReference targetEPR = new 
EndpointReference(http://localhost:8080/axis2/services/PrestoSvc;);
private static String targetEPRTcpmon 
=http://localhost:8070/axis2/services/PrestoSvc;;
static String namespace=http://dgme.finances.gouv.fr/presto;;
private static String CLIENT_REPO_PATH = RepoClient;
private static String axis2_xml = CLIENT_REPO_PATH + File.separator +conf + 
File.separator + axis2.xml;

/**
 * Call submitRequestReponse with attachment
 *
 */
public  void testSubmitRequestResponseWSRMAddressable() throws 
Exception{

String nameMethod=submit;
ConfigurationContext configContext = 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
ServiceClient serviceClient = new ServiceClient 
(configContext,null);

Options options=initOptions(submit,true);
serviceClient.setOptions(options);
String acksTo = 
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();
options.setProperty(SandeshaClientConstants.AcksTo,acksTo);

System.out.println(Envoi);
Callback callback1 = new TestCallback (Callback 1);
serviceClient.sendReceiveNonBlocking 
(getOMBlock(message1,sequence1,nameMethod),callback1);

while (!callback1.isComplete()) {
System.out.println(boucle1);
Thread.sleep

Re: [MTOM/XOP+WSRM] servlet error

2006-07-17 Thread Mancinelli Elodie

Hi Chamikara,

I use tomcat in the server side and its version is the apache-tomcat-5.5.15.
I join in attachment my client code.

Thanks for your help.

Regards

Elodie



Chamikara Jayalath wrote:


Hi Elodie,

Are you using tomcat in the server side. If so which version?
Can u send your client code as well.

Chamikara


On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I want to realise an client-server which supports MTOM and WSRM. I
created separatly a client-server with MTOM and a client-server
with WSRM.

My server has two methods: OneWay and RequestResponse.

- When I launch my client to test the RequestResponse method:
In TCPMon, I see, the CreateSequence and the
CreateSequenceResponse. My
first message is sent and it is accpeted.
But my client never receives the response and there is no trace on my
server, the method seems not be executed.

- When I launch my client to test the OneWay method:
In TCPMon, I see:
- CreateSequence, CreateSequenceResponse
- Three messages have send and three acknowledgments
But no TerminateSequence.
And on the server, there is an error:
- Servlet.service() pour la servlet AxisServlet a généré une
exception
java.lang.IllegalStateException: Impossible de créer une sessionaprès
que la réponse ait été envoyée
at
org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
at
org.apache.catalina.connector.Request.getSession(Request.java:2024)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:842)
at

org.apache.axis2.transport.http.AxisServlet.createAndSetInitialParamsToMsgCtxt
(AxisServlet.java:81)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:173)
at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

I have no informations in catalina logs.
In precedent mails, somebody advise me to change the value of
InOrderInvoker in the module.xml, but when I change this,
client-server
with MTOM only and client-server with WSRM only don't works.
I have download the sandesha2-SNAPSHOT.mar
(http://people.apache.org/repository/sandesha2/mars/
http://people.apache.org/repository/sandesha2/mars/)

Someone have an idea?

Thanks a lot

Elodie






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import

Re: [MTOM/XOP+WSRM] servlet error

2006-07-17 Thread Mancinelli Elodie

Hi,

Can you think the problem is due to the tomcat version? Or the sandesha2 
version? I download jars and war on 
http://people.apache.org/repository/sandesha2/.


To configure the server,I have only change the axis2.xml. I can't change 
the module.xml because I intente to create a common server for all 
independante client (WSRM only, MTOM only, MTOM-WSRM).


Sorry to insit.
Regards

Elodie


Mancinelli Elodie wrote:


Hi Chamikara,

I use tomcat in the server side and its version is the 
apache-tomcat-5.5.15.

I join in attachment my client code.

Thanks for your help.

Regards

Elodie



Chamikara Jayalath wrote:


Hi Elodie,

Are you using tomcat in the server side. If so which version?
Can u send your client code as well.

Chamikara


On 7/13/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I want to realise an client-server which supports MTOM and WSRM. I
created separatly a client-server with MTOM and a client-server
with WSRM.

My server has two methods: OneWay and RequestResponse.

- When I launch my client to test the RequestResponse method:
In TCPMon, I see, the CreateSequence and the
CreateSequenceResponse. My
first message is sent and it is accpeted.
But my client never receives the response and there is no trace 
on my

server, the method seems not be executed.

- When I launch my client to test the OneWay method:
In TCPMon, I see:
- CreateSequence, CreateSequenceResponse
- Three messages have send and three acknowledgments
But no TerminateSequence.
And on the server, there is an error:
- Servlet.service() pour la servlet AxisServlet a généré une
exception
java.lang.IllegalStateException: Impossible de créer une 
sessionaprès

que la réponse ait été envoyée
at

org.apache.catalina.connector.Request.doGetSession(Request.java:2214)

at
org.apache.catalina.connector.Request.getSession(Request.java:2024)
at

org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831) 


at





package fr.gouv.finances.dgme.presto;

import java.io.File;
import java.io.FileInputStream;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.om.OMText;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.client.async.AsyncResult;
import org.apache.axis2.client.async.Callback;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.context.MessageContextConstants;
import org.apache.sandesha2.client.SandeshaClientConstants;


public class PrestoWSRM_MTOMtest extends junit.framework.TestCase{

static String fileXMLName=test_data_in.xml;
static String fileNameAttach=fichier.txt;
private static EndpointReference targetEPR = new 
EndpointReference(http://localhost:8080/axis2/services/PrestoSvc;);
private static String targetEPRTcpmon 
=http://localhost:8070/axis2/services/PrestoSvc;;
static String namespace=http://dgme.finances.gouv.fr/presto;;
private static String CLIENT_REPO_PATH = RepoClient;
private static String axis2_xml = CLIENT_REPO_PATH + File.separator +conf + 
File.separator + axis2.xml;

/**
 * Call submitRequestReponse with attachment
 *
 */
public  void testSubmitRequestResponseWSRMAddressable() throws 
Exception{

String nameMethod=submit;
ConfigurationContext configContext = 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
ServiceClient serviceClient = new ServiceClient 
(configContext,null);

Options options=initOptions(submit,true);
serviceClient.setOptions(options);
String acksTo = 
serviceClient.getMyEPR(Constants.TRANSPORT_HTTP).getAddress();
options.setProperty(SandeshaClientConstants.AcksTo,acksTo);

System.out.println(Envoi);
Callback callback1 = new TestCallback (Callback 1);
serviceClient.sendReceiveNonBlocking 
(getOMBlock(message1,sequence1,nameMethod),callback1);

while (!callback1.isComplete()) {
System.out.println(boucle1);
Thread.sleep

Re[2]: insert picture

2006-07-17 Thread Elodie Trouche-Perrin
Hello Thomas,

Thanks for your reply. I will send you the example. Thanks to let me
know if you could see the image in the body of the email (AND also as
an attachment).


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

Friday, July 14, 2006, 9:31:43 PM, you wrote:

 Hello Elodie,

 On Fri, 14 Jul 2006 16:43:47 -0400 GMT (15/07/2006, 03:43 +0700 GMT),
 Elodie Trouche-Perrin wrote:

ETP When I insert a jpeg in my email and send it to an aol, yahoo, gmail
ETP or hotmail account, the jpeg do not appear with the text of my email
ETP but at the bottom (or as an attachment). and i got a symbol instead of
ETP the picture.

 Does it show correctly if you send it to accounts with other
 providers? Are mails with embedded pictures shown correctly at aol 
 friends when sent with another email client?

 You can send me an example by PM, if you want. I think TB sends them
 correctly, and I will dissect the HTML code to see what the problem
 might be.




-
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


insert picture

2006-07-14 Thread Elodie Trouche-Perrin
Hello TBUDL,

When I insert a jpeg in my email and send it to an aol, yahoo, gmail
or hotmail account, the jpeg do not appear with the text of my email
but at the bottom (or as an attachment). and i got a symbol instead of
the picture.

How can i make sure when i insert a jpeg it will appear where it was
created in the first place.
 


Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


[MTOM/XOP+WSRM] servlet error

2006-07-13 Thread Mancinelli Elodie

Hi all,

I want to realise an client-server which supports MTOM and WSRM. I 
created separatly a client-server with MTOM and a client-server with WSRM.


My server has two methods: OneWay and RequestResponse.

- When I launch my client to test the RequestResponse method:
In TCPMon, I see, the CreateSequence and the CreateSequenceResponse. My 
first message is sent and it is accpeted.
But my client never receives the response and there is no trace on my 
server, the method seems not be executed.


- When I launch my client to test the OneWay method:
In TCPMon, I see:
- CreateSequence, CreateSequenceResponse
- Three messages have send and three acknowledgments
But no TerminateSequence.
And on the server, there is an error:
- Servlet.service() pour la servlet AxisServlet a généré une exception
java.lang.IllegalStateException: Impossible de créer une sessionaprès 
que la réponse ait été envoyée
   at 
org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
   at 
org.apache.catalina.connector.Request.getSession(Request.java:2024)
   at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
   at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:842)
   at 
org.apache.axis2.transport.http.AxisServlet.createAndSetInitialParamsToMsgCtxt(AxisServlet.java:81)
   at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

   at java.lang.Thread.run(Thread.java:595)

I have no informations in catalina logs.
In precedent mails, somebody advise me to change the value of 
InOrderInvoker in the module.xml, but when I change this, client-server 
with MTOM only and client-server with WSRM only don't works.
I have download the sandesha2-SNAPSHOT.mar 
(http://people.apache.org/repository/sandesha2/mars/)


Someone have an idea?

Thanks a lot

Elodie






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to attach a picture

2006-07-13 Thread Elodie Trouche-Perrin
Hello TBUDL,

I would like to know how to INSERT a picture (a jpeg) in the body of
the email.

So when someone opens the email they don't have to actually click on
the jpeg to open it.


Many thanks!

Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: How to attach a picture

2006-07-13 Thread Elodie Trouche-Perrin
Hello Dwight,

thanks for your reply but where do i find Format

Best,
Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

Thursday, July 13, 2006, 12:03:15 PM, you wrote:

 On Thursday, July 13, 2006, 10:40:23 AM, Elodie Trouche-Perrin wrote:

 I would like to know how to INSERT a picture (a jpeg)

 If you choose to create an HTML message, it is a piece of cake.

 format/insert image





-
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: How to attach a picture

2006-07-13 Thread Elodie Trouche-Perrin
Hello Peter,

thanks for your reply but where do i find the editor window (is it in 
preference), then is it the htlm/window option? but i can't find any option 
that will let me insert a picture.

Best,
Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery 
521 West 23rd Street  2nd floor
New York, NY 10011

Tel. 212 966 3978
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
-

Thursday, July 13, 2006, 11:52:07 AM, you wrote:

 Hi Elodie,

 on Thu, 13 Jul 2006 11:40:23 -0400GMT (13.07.2006, 17:40 +0200GMT here),
 Elodie Trouche-Perrin wrote:

ETP I would like to know how to INSERT a picture (a jpeg) in the body of
ETP the email.

 You have to create an HTML mail for this. At the bottom of the editor
 window right click the entry Plain Text and select HTML or
 HTML/Plain Text. Then you'll be given the options to format the text
 or insert pictures.




-
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


[Axis2]Save attachment MTOM

2006-07-06 Thread Mancinelli Elodie
).equalsIgnoreCase(cid)) {
   contentID = contentID.substring(4);

   }
   DataHandler dataHandler = attachment.getDataHandler(contentID);
   System.out.println(contentID:  + contentID);
   DataSource dataSource=dataHandler.getDataSource();
   System.out.println(dataSource:  + dataSource.toString());
   InputStream infile;

   infile = dataSource.getInputStream();

   System.out.println(infile:  + infile.toString());
   PrintWriter filetmp =  new PrintWriter(new 
BufferedWriter(new FileWriter(fileSaveName)));

   String ligne;
   BufferedReader br = new BufferedReader(new 
InputStreamReader(infile,UTF-8));

   while((ligne = br.readLine())!=null) filetmp.println(ligne);
   br.close();
   filetmp.close();

   } catch (Exception e) {
   e.printStackTrace();
   }

   }


   public static void deleteFile(String nameFile){
   File file = new File(nameFile);
   Boolean resultat = file.delete();
   System.out.println(The delete of file  + nameFile +  is  + 
resultat);

   }

}


Thanks for your help.
Regards,
Elodie


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-04 Thread Mancinelli Elodie
)
   at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I search the class ExactlyOne in jars and mar but I don't find. Where 
is it?

And What is the problem?

Thanks a lot.

Regards
Elodie





Chamikara Jayalath wrote:


Hi Elodie,

This was due to a bug, fixed now. Please take a latest checkout of 
Sandesha2.


Chamikara


On 7/3/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Sorry I forget the StackTrace:

java.lang.NullPointerException

org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage
(TerminateSeqMsgProcessor.java:128)

org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke (AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)

org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
org.apache.axis2.transport.http.AxisServlet.doPost
(AxisServlet.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/pre
  This error appear in the response at the TerminateSequence.

Elodie


Mancinelli Elodie wrote:

 Hi Chamikara,

 Thanks you for your help.

 I change the 'InvokeInOrder' policy in the module.xml to 'false' in
 the sandesha2_1.0 mar.
 And now,I have an other error. I give you the catalina log:

 3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve
custom
 GRAVE: Exception Processing ErrorPage[errorCode=500,
 location=/axis2-web/Error/error500.jsp]
 org.apache.jasper.JasperException: getOutputStream() a déjà été
 appelé pour cette réponse
at
 org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)

at


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)

at
 org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)

at


org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at
 org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:672)

at


org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)

at
 org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:398)

at


org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

at
 org.apache.catalina.core.StandardHostValve.custom
(StandardHostValve.java:363)

at


org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

at
 org.apache.catalina.core.StandardHostValve.throwable
(StandardHostValve.java:228)

at


org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134

Re: [Axis2,Sandesha2][resolve]MTOM/XOP + WSRM

2006-07-04 Thread Mancinelli Elodie

Yes it work!  :-)

I want to thank all person which have help me.

Regards
Elodie


Chamikara Jayalath wrote:


Hi Elliod,

This is because u hv the old Neethi jar in you tomcat lib directory. 
Remove this and add the latest Neethi-SNAPSHOT.jar from

http://people.apache.org/repository/ws-commons/jars/


Chamikara




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-04 Thread Mancinelli Elodie
)
   at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I search the class ExactlyOne in jars and mar but I don't find. Where 
is it?

And What is the problem?

Thanks a lot.

Regards
Elodie





Chamikara Jayalath wrote:


Hi Elodie,

This was due to a bug, fixed now. Please take a latest checkout of 
Sandesha2.


Chamikara


On 7/3/06, *Mancinelli Elodie* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Sorry I forget the StackTrace:

java.lang.NullPointerException

org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage
(TerminateSeqMsgProcessor.java:128)

org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke (AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)

org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
org.apache.axis2.transport.http.AxisServlet.doPost
(AxisServlet.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/pre
  This error appear in the response at the TerminateSequence.

Elodie


Mancinelli Elodie wrote:

 Hi Chamikara,

 Thanks you for your help.

 I change the 'InvokeInOrder' policy in the module.xml to 'false' in
 the sandesha2_1.0 mar.
 And now,I have an other error. I give you the catalina log:

 3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve
custom
 GRAVE: Exception Processing ErrorPage[errorCode=500,
 location=/axis2-web/Error/error500.jsp]
 org.apache.jasper.JasperException: getOutputStream() a déjà été
 appelé pour cette réponse
at
 org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)

at


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)

at
 org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)

at


org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at
 org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:672)

at


org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)

at
 org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:398)

at


org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

at
 org.apache.catalina.core.StandardHostValve.custom
(StandardHostValve.java:363)

at


org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

at
 org.apache.catalina.core.StandardHostValve.throwable
(StandardHostValve.java:228)

at


org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134

Re: [Axis2,Sandesha2][resolve]MTOM/XOP + WSRM

2006-07-04 Thread Mancinelli Elodie

Yes it work!  :-)

I want to thank all person which have help me.

Regards
Elodie


Chamikara Jayalath wrote:


Hi Elliod,

This is because u hv the old Neethi jar in you tomcat lib directory. 
Remove this and add the latest Neethi-SNAPSHOT.jar from

http://people.apache.org/repository/ws-commons/jars/


Chamikara




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Hi Paul

1) Yes, MTOM + XMLBeans code works without WSRM and also WSRM + XMLBeans 
code works without WSRM.
2) The error for MTOM + WSRM with ADB, I don't know because I can't 
generate sources.
I'm trying to do MTOM + WSRM with ADB on a other little exemple like 
HelloWorld. I tell you the result when I finish it.


Thanks

Elodie




Paul Fremantle wrote:


Elodie

I'm not completely clear on the situation!

1) Is the MTOM + XMLBeans code working without WSRM?
2) What is the error you get with ADB?
3) Can you post the WSDL?

Paul

On 6/29/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:


Hi Paul

Thanks for your response. I wish have more information because I don' t
understand why MTOM can't work with XmlBeans? And what is the
marshalling I have to use?
I try ADB but it not seems to work, I can't generate the server
implementation.

In more, I create a client-server with only MTOM and I also create the
same thing with only WSRM(sandesha2) and  both work separetly with
XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to
resolve my problem?


Thanks a lot.

Regards
Elodie


Paul Fremantle wrote:

 Elodie

 I think the problem is that you are using MTOM with XMLBeans which
 does not work.

 Paul

 --
 Paul Fremantle
 VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

 http://bloglines.com/blog/paulfremantle
 [EMAIL PROTECTED]

 Oxygenating the Web Service Platform, www.wso2.com


 On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:

 Mancinelli Elodie wrote:

  Sorry, I want to precise my request. When I observe with TCPMon the
  soap message, the differents messages of WSRM's protocole are 
created
  (CreateSequence, CreateSequenceResponse, Message, Acknowldgement 
and
  TerminateSequence). These messages are correct. The problem is 
on the

  server after messages.
 
  Thanks,
 
  Regards,
  Elodie
 
 
  Mancinelli Elodie wrote:
 
  Hi all,
 
  I try to create an OneWay method which supports WSRM and an
 attachment.
  My service is really simple, it's only a println.
  The method runs successfully when there is only the WSRM
  implementation, but when I add the attachement part, I have an 
server

  error:
 
  org.apache.sandesha2.SandeshaException: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error; nested
  exception is:
 org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at
 
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)

  Caused by: org.apache.axis2.AxisFault: Data binding error; nested
  exception is:
 java.lang.RuntimeException: Data binding error
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 



 
 at
 
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 



 
 at
  
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

 at
 org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
 at
 
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

  Caused by: java.lang.RuntimeException: Data binding error
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 



 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 



 
 ... 4 more
  Caused by: org.apache.axiom.om.OMException:
  java.lang.NullPointerException
 at
  
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)

 at
 
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 



 
 at
 
 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 



 
 at
 
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)

 at
 
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)

 at
 
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 



 
 at
 
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 



 
 at
 
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 



 
 ... 5 more
  Caused by: java.lang.NullPointerException
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 



 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 



 
 at
 
 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 



 
 at org.apache.coyote.Request.doRead(Request.java

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in the 
sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été appelé 
pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the message 
before its actual invocation and Axis2 closes the InPutStream when the 
message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do that 
change the 'InvokeInOrder' policy in the module.xml to 'false' (this 
is 'true' by default).


Chamikara



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Sorry I forget the StackTrace:

java.lang.NullPointerException
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage(TerminateSeqMsgProcessor.java:128)
org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/pre

 This error appear in the response at the TerminateSequence.

Elodie


Mancinelli Elodie wrote:


Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in 
the sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été 
appelé pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) 

   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387) 

   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 

   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 

   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) 

   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465) 

   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) 

   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) 

   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363) 

   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284) 

   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228) 

   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) 

   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 

   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 

   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 

   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 

   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) 

   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 

   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) 

   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 


   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the 
message before its actual invocation and Axis2 closes the InPutStream 
when the message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do 
that change the 'InvokeInOrder' policy in the module.xml to 'false' 
(this is 'true' by default).


Chamikara






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in the 
sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été appelé 
pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the message 
before its actual invocation and Axis2 closes the InPutStream when the 
message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do that 
change the 'InvokeInOrder' policy in the module.xml to 'false' (this 
is 'true' by default).


Chamikara



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-07-03 Thread Mancinelli Elodie

Sorry I forget the StackTrace:

java.lang.NullPointerException
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.setUpHighestMsgNumbers(TerminateSeqMsgProcessor.java:185)
org.apache.sandesha2.msgprocessors.TerminateSeqMsgProcessor.processInMessage(TerminateSeqMsgProcessor.java:128)
org.apache.sandesha2.handlers.SandeshaInHandler.invoke(SandeshaInHandler.java:87)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)/pre

 This error appear in the response at the TerminateSequence.

Elodie


Mancinelli Elodie wrote:


Hi Chamikara,

Thanks you for your help.

I change the 'InvokeInOrder' policy in the module.xml to 'false' in 
the sandesha2_1.0 mar.

And now,I have an other error. I give you the catalina log:

3 juil. 2006 15:01:45 org.apache.catalina.core.StandardHostValve custom
GRAVE: Exception Processing ErrorPage[errorCode=500, 
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() a déjà été 
appelé pour cette réponse
   at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) 

   at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387) 

   at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 

   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 

   at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) 

   at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465) 

   at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) 

   at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) 

   at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363) 

   at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284) 

   at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228) 

   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) 

   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 

   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 

   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 

   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 

   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) 

   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 

   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) 

   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 


   at java.lang.Thread.run(Thread.java:595)

I search in the mailling list,and I don't find if there is a solution 
but I find a JIRA bug(http://issues.apache.org/jira/browse/AXIS2-707).


Have you an idea?

Elodie




Chamikara Jayalath wrote:


Hi Elodie, Paul,

It seems like MTOM + Sandesha2 + NotInOrder case is working.
But MTOM + Sadesha2 + InOrder case is not working.

When InOrder Invocation is enabled Sandesha2 always pauses the 
message before its actual invocation and Axis2 closes the InPutStream 
when the message get paused and the thread get returned.


Because of that the service Impl. get exceptions when tring to read 
the MTOM attachments from the already closed stream. This seems to be 
a general problem with message pausing.


So Elodie, for now disable InOrder invocation in Sandesha2. To do 
that change the 'InvokeInOrder' policy in the module.xml to 'false' 
(this is 'true' by default).


Chamikara






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Sandesha2] problem MTOM+WSRM and XmlBeans

2006-06-30 Thread Mancinelli Elodie

Hi all,

I really need your help.
I want to create a WS which supports an attachment and WSRM 
specifiaction. My problem is separatly WSRM and MTOM works correctly but 
when I  make  a service with together , it not  works. My client sends 
messages and in TCPMon, I observe soap messages of requests and 
responses. The problem is on the server, I have this error:


org.apache.sandesha2.SandeshaException: Data binding error; nested 
exception is:

  java.lang.RuntimeException: Data binding error; nested exception is:
  org.apache.axis2.AxisFault: Data binding error; nested exception is:
  java.lang.RuntimeException: Data binding error
  at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
Caused by: org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

  java.lang.RuntimeException: Data binding error
  at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
  at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 

  at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 

  at 
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

  at org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
  at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

Caused by: java.lang.RuntimeException: Data binding error
  at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 

  at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 


  ... 4 more
Caused by: org.apache.axiom.om.OMException: java.lang.NullPointerException
  at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
  at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 

  at 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154)
  at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
  at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
  at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 

  at 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 

  at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 


  ... 5 more
Caused by: java.lang.NullPointerException
  at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 

  at 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 

  at 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 


  at org.apache.coyote.Request.doRead(Request.java:423)
  at 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 

  at 
org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
  at 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
  at 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 


  at java.io.FilterInputStream.read(FilterInputStream.java:66)
  at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
  at 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 

  at 
javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
  at 
javax.mail.internet.InternetHeaders.init(InternetHeaders.java:92)

  at javax.mail.internet.MimeBodyPart.init(MimeBodyPart.java:59)
  at 
org.apache.axiom.attachments.PartOnMemory.init(PartOnMemory.java:31)
  at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:451)
  at 
org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359)
  at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324)
  at 
org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) 

  at 
org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) 

  at 
org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) 

  at 
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:368) 

  at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:238)


Is the problem is due to the marshalling XmlBeans? and why? I try ADB, 
but I can't generate the skeleton with WSDL2Java. Is there an other kind 
of marshalling?


Please help me.

Thank for your time

Regards
Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Sandesha2] problem MTOM+WSRM and XmlBeans

2006-06-30 Thread Mancinelli Elodie

Hi Paul,

Thanks you for your help.
I send you my WSDL if  you can fix ADB.

Thanks a lot.
Elodie



Paul Fremantle wrote:


Elodie

If this is really simple, you could just use the NO DATA BINDING
option on WSDL2Java, because you can just walk the OMElement. When you
get to the MTOM element you just use the OMText model to treat it as a
MTOM and pull out the data. If you want help I can probably write a
sample. Its just the opposite of the client code. You can also just do
it using the RawXMLMessageReceiver that comes with Axis2.

It would also be helpful if you could post the WSDL you are having
problems with as we'd like to fix ADB so it works for you.

Paul


?xml version=1.0 encoding=UTF-8?
definitions targetNamespace=http://test.bull.fr/projet;
xmlns=http://schemas.xmlsoap.org/wsdl/;
xmlns:pre=http://test.bull.fr/projet;
xmlns:pro=http://test.bull.fr/prototype;
xmlns:proto=http://test.bull.fr/prototype;
xmlns:s=http://www.w3.org/2001/XMLSchema;
xmlns:s0=http://test.bull.fr/projet;
xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:tns=http://test.bull.fr/projet;
types
s:schema elementFormDefault=qualified
targetNamespace=http://test.bull.fr/projet;
s:import namespace=http://test.bull.fr/prototype;
schemaLocation=proto_schema.xsd/
s:element name=submitOneWay
s:complexType
s:sequence
s:element ref=pro:testDocIn/
/s:sequence
/s:complexType
/s:element
s:element name=submit
s:complexType
s:sequence
s:element ref=pro:testDocIn/
/s:sequence
/s:complexType
/s:element
s:element name=submitResponse
s:complexType
s:sequence
s:element ref=pro:testDocOut/
/s:sequence
/s:complexType
/s:element
/s:schema
/types
	message name=submitOWSoap12In
part element=tns:submitOneWay name=input/
/message
message name=submitSoap12In
part element=tns:submit name=request/
/message
message name=submitSoap12Out
part element=tns:submitResponse name=reply/
/message
		portType name=ProjetSvcSoap12
operation name=submitOneWay
input message=tns:submitOWSoap12In/
/operation	
operation name=submit
input message=tns:submitSoap12In/
output message=tns:submitSoap12Out/
/operation
/portType
binding name=ProjetSvcSoap12 type=tns:ProjetSvcSoap12
soap12:binding style=document
transport=http://schemas.xmlsoap.org/soap12/http/

		operation name=submitOneWay
soap12:operation
soapAction=http://test.bull.fr/projet/submit;
style=document/
input
soap12:body parts=input use=literal/
/input
		/operation
		operation name=submit
soap12:operation
soapAction=http://test.bull.fr/projet/submit;
style=document/
input
soap12:body parts=request use=literal/
/input
output
soap12:body parts=reply use=literal/
/output
/operation
/binding
service name=ProjetSvc
port binding=tns:ProjetSvcSoap12 name=ProjetSvcSoap12
soap12:address location=http://127.0.0.1:27070/ProxyWSDL//
/port
/service
/definitions

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[sandesha2] MTOM+ WSRM and XmlBeans

2006-06-30 Thread Mancinelli Elodie

Hi all,

I really need your help.
I want to create a WS which supports an attachment and WSRM 
specifiaction. My problem is separatly WSRM and MTOM works correctly but 
when I  make  a service with together , it not  works. My client sends 
messages and in TCPMon, I observe soap messages of requests and 
responses. The problem is on the server, I have this error:


org.apache.sandesha2.SandeshaException: Data binding error; nested 
exception is:

 java.lang.RuntimeException: Data binding error; nested exception is:
 org.apache.axis2.AxisFault: Data binding error; nested exception is:
 java.lang.RuntimeException: Data binding error
 at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
Caused by: org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

 java.lang.RuntimeException: Data binding error
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
 at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 

 at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 

 at 
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

 at org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
 at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

Caused by: java.lang.RuntimeException: Data binding error
 at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 

 at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 


 ... 4 more
Caused by: org.apache.axiom.om.OMException: java.lang.NullPointerException
 at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
 at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 

 at 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154)
 at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
 at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
 at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 

 at 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 

 at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 


 ... 5 more
Caused by: java.lang.NullPointerException
 at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 

 at 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 

 at 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 


 at org.apache.coyote.Request.doRead(Request.java:423)
 at 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 


 at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
 at 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
 at 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 


 at java.io.FilterInputStream.read(FilterInputStream.java:66)
 at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
 at 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 


 at javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
 at 
javax.mail.internet.InternetHeaders.init(InternetHeaders.java:92)

 at javax.mail.internet.MimeBodyPart.init(MimeBodyPart.java:59)
 at 
org.apache.axiom.attachments.PartOnMemory.init(PartOnMemory.java:31)
 at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:451)
 at 
org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359)
 at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324)
 at 
org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) 

 at 
org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) 

 at 
org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) 

 at 
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:368) 

 at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:238)


Is the problem is due to the marshalling XmlBeans? and why? I try ADB, 
but I can't generate the skeleton with WSDL2Java. Is there an other kind 
of marshalling?


Please help me.

Thank for your time

Regards
Elodie


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-29 Thread Mancinelli Elodie

Hi Paul

Thanks for your response. I wish have more information because I don' t 
understand why MTOM can't work with XmlBeans? And what is the 
marshalling I have to use?
I try ADB but it not seems to work, I can't generate the server 
implementation.


In more, I create a client-server with only MTOM and I also create the 
same thing with only WSRM(sandesha2) and  both work separetly with 
XmlBeans. Is the problem is WSRM + MTOM together? And how could I do to 
resolve my problem?



Thanks a lot.

Regards
Elodie


Paul Fremantle wrote:


Elodie

I think the problem is that you are using MTOM with XMLBeans which
does not work.

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com


On 6/28/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:


Mancinelli Elodie wrote:

 Sorry, I want to precise my request. When I observe with TCPMon the
 soap message, the differents messages of WSRM's protocole are created
 (CreateSequence, CreateSequenceResponse, Message, Acknowldgement and
 TerminateSequence). These messages are correct. The problem is on the
 server after messages.

 Thanks,

 Regards,
 Elodie


 Mancinelli Elodie wrote:

 Hi all,

 I try to create an OneWay method which supports WSRM and an 
attachment.

 My service is really simple, it's only a println.
 The method runs successfully when there is only the WSRM
 implementation, but when I add the attachement part, I have an server
 error:

 org.apache.sandesha2.SandeshaException: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error; nested
 exception is:
org.apache.axis2.AxisFault: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error
at
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)

 Caused by: org.apache.axis2.AxisFault: Data binding error; nested
 exception is:
java.lang.RuntimeException: Data binding error
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 



at
 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 



at
 org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)
at 
org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)

at
 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

 Caused by: java.lang.RuntimeException: Data binding error
at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 



at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 



... 4 more
 Caused by: org.apache.axiom.om.OMException:
 java.lang.NullPointerException
at
 org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
at
 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 



at
 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 



at
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)

at
 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)

at
 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 



at
 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 



at
 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 



... 5 more
 Caused by: java.lang.NullPointerException
at
 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 



at
 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 



at
 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 



at org.apache.coyote.Request.doRead(Request.java:423)
at
 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 



at
 org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
at
 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)

at
 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 



at java.io.FilterInputStream.read(FilterInputStream.java:66)
at 
java.io.PushbackInputStream.read(PushbackInputStream.java:120)

at
 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 



at
 javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106

[Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-28 Thread Mancinelli Elodie
);
OMElement bodymess = fac.createOMElement(bodymessage, omNs);



 // Add Text
String bodymessvalue=createSoapMessageString(fileXMLName);
payload.addChild(fac.createOMText(bodymess, bodymessvalue));

// Add text file
OMElement attach=createAttachment(fac,omNs);
attach = fac.createOMElement(attachment, omNs);
File fileTxt = new File(fileName);
FileDataSource dataSource = new FileDataSource(fileTxt);
DataHandler expectedDH = new DataHandler(dataSource);
OMText textData = fac.createOMText(expectedDH, true);
System.out.println(Client:contentID + textData.getContentID());
attach.addChild(textData);
payload.addChild(attach);

System.out.println(callAXIOM, doc sent : +payload);
Options options = new Options();
options.setTo(targetEPR);
options.setAction(submitOneWay);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
options.setUseSeparateListener(false);
options.setProperty(Constants.Configuration.ENABLE_MTOM, 
Constants.VALUE_TRUE);
   
options.setProperty(MessageContextConstants.TRANSPORT_URL,targetEPRTcpmon);

sender.setOptions(options);

options.setProperty(SandeshaClientConstants.LAST_MESSAGE, true);
sender.fireAndForget(payload);
Thread.sleep(1);
System.out.println(NO RETURN FOR WEBSERVICE);

   }

I join also the configuration file : client_axis2.xml

Can someone have an idea?

Thanks for your help.

Regards
Elodie

axisconfig name=AxisJava2.0
!-- = --
!-- Parameters --
!-- = --
parameter name=hotdeployment locked=falsetrue/parameter
parameter name=hotupdate locked=falsefalse/parameter
parameter name=enableMTOM locked=truetrue/parameter

!--During a fault, stacktrace can be sent with the fault message. The following flag will control --
!--that behaviour.--
parameter name=sendStacktraceDetailsWithFaults locked=falsetrue/parameter

!--If there aren't any information available to find out the fault reason, we set the message of the expcetion--
!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be --
!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag--
!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.--
parameter name=DrillDownToRootCauseForFaultReason locked=falsefalse/parameter

!-- Uncomment this to enable REST support --
!--parameter name=enableREST locked=falsetrue/parameter--

!--This is the user name and password of admin console--
parameter name=userName locked=falseadmin/parameter
parameter name=password locked=falseaxis2/parameter

!-- = --
!-- Message Receivers --
!-- = --
!--This is the Deafult Message Receiver for the system , if you want to have MessageReceivers for --
!--all the other MEP implement it and add the correct entry to here , so that you can refer from--
!--any operation --
!--Note : You can ovride this for particular service by adding the same element with your requirement--
messageReceivers
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;
 class=org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver/
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
 class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/
/messageReceivers

!-- messageReceivers
		messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
class=fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOut/
		messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;
class=fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly/
	/messageReceivers --
!-- = --
!-- Transport Ins --
!-- = --
transportReceiver name=http
   class=org.apache.axis2.transport.http.SimpleHTTPServer
parameter name=port locked=false6060/parameter
!--If you want to give your own host address for EPR generation--
!--uncommet following paramter , and set as you required.--
!--parameter name=hostname locked=falsehttp://myApp.com/ws/parameter--
/transportReceiver

transportReceiver name=tcp
   class=org.apache.axis2.transport.tcp.TCPServer
parameter name=port locked=false6061/parameter
!--If you want to give your own host address for EPR generation--
!--uncommet following paramter , and set as you required.--
!--parameter name=hostname locked=falsetcp

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-28 Thread Mancinelli Elodie

Mancinelli Elodie wrote:

Sorry, I want to precise my request. When I observe with TCPMon the 
soap message, the differents messages of WSRM's protocole are created 
(CreateSequence, CreateSequenceResponse, Message, Acknowldgement and 
TerminateSequence). These messages are correct. The problem is on the 
server after messages.


Thanks,

Regards,
Elodie


Mancinelli Elodie wrote:


Hi all,

I try to create an OneWay method which supports WSRM and an attachment.
My service is really simple, it's only a println.
The method runs successfully when there is only the WSRM 
implementation, but when I add the attachement part, I have an server 
error:


org.apache.sandesha2.SandeshaException: Data binding error; nested 
exception is:
   java.lang.RuntimeException: Data binding error; nested 
exception is:
   org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
Caused by: org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 

   at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 

   at 
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

   at org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

Caused by: java.lang.RuntimeException: Data binding error
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 


   ... 4 more
Caused by: org.apache.axiom.om.OMException: 
java.lang.NullPointerException
   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
   at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 

   at 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 

   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
   at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 

   at 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 


   ... 5 more
Caused by: java.lang.NullPointerException
   at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 

   at 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 

   at 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 


   at org.apache.coyote.Request.doRead(Request.java:423)
   at 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 

   at 
org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
   at 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
   at 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 


   at java.io.FilterInputStream.read(FilterInputStream.java:66)
   at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
   at 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 

   at 
javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
   at 
javax.mail.internet.InternetHeaders.init(InternetHeaders.java:92)

   at javax.mail.internet.MimeBodyPart.init(MimeBodyPart.java:59)
   at 
org.apache.axiom.attachments.PartOnMemory.init(PartOnMemory.java:31)
   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:451)
   at 
org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359) 

   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324)
   at 
org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) 

   at 
org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:368) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:238)


My client is:

public static void testSubmitOneWayWSRM

[Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-28 Thread Mancinelli Elodie
);
OMElement bodymess = fac.createOMElement(bodymessage, omNs);



 // Add Text
String bodymessvalue=createSoapMessageString(fileXMLName);
payload.addChild(fac.createOMText(bodymess, bodymessvalue));

// Add text file
OMElement attach=createAttachment(fac,omNs);
attach = fac.createOMElement(attachment, omNs);
File fileTxt = new File(fileName);
FileDataSource dataSource = new FileDataSource(fileTxt);
DataHandler expectedDH = new DataHandler(dataSource);
OMText textData = fac.createOMText(expectedDH, true);
System.out.println(Client:contentID + textData.getContentID());
attach.addChild(textData);
payload.addChild(attach);

System.out.println(callAXIOM, doc sent : +payload);
Options options = new Options();
options.setTo(targetEPR);
options.setAction(submitOneWay);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
options.setUseSeparateListener(false);
options.setProperty(Constants.Configuration.ENABLE_MTOM, 
Constants.VALUE_TRUE);
   
options.setProperty(MessageContextConstants.TRANSPORT_URL,targetEPRTcpmon);

sender.setOptions(options);

options.setProperty(SandeshaClientConstants.LAST_MESSAGE, true);
sender.fireAndForget(payload);
Thread.sleep(1);
System.out.println(NO RETURN FOR WEBSERVICE);

   }

I join also the configuration file : client_axis2.xml

Can someone have an idea?

Thanks for your help.

Regards
Elodie

axisconfig name=AxisJava2.0
!-- = --
!-- Parameters --
!-- = --
parameter name=hotdeployment locked=falsetrue/parameter
parameter name=hotupdate locked=falsefalse/parameter
parameter name=enableMTOM locked=truetrue/parameter

!--During a fault, stacktrace can be sent with the fault message. The following flag will control --
!--that behaviour.--
parameter name=sendStacktraceDetailsWithFaults locked=falsetrue/parameter

!--If there aren't any information available to find out the fault reason, we set the message of the expcetion--
!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be --
!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag--
!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.--
parameter name=DrillDownToRootCauseForFaultReason locked=falsefalse/parameter

!-- Uncomment this to enable REST support --
!--parameter name=enableREST locked=falsetrue/parameter--

!--This is the user name and password of admin console--
parameter name=userName locked=falseadmin/parameter
parameter name=password locked=falseaxis2/parameter

!-- = --
!-- Message Receivers --
!-- = --
!--This is the Deafult Message Receiver for the system , if you want to have MessageReceivers for --
!--all the other MEP implement it and add the correct entry to here , so that you can refer from--
!--any operation --
!--Note : You can ovride this for particular service by adding the same element with your requirement--
messageReceivers
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;
 class=org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver/
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
 class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/
/messageReceivers

!-- messageReceivers
		messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
class=fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOut/
		messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;
class=fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly/
	/messageReceivers --
!-- = --
!-- Transport Ins --
!-- = --
transportReceiver name=http
   class=org.apache.axis2.transport.http.SimpleHTTPServer
parameter name=port locked=false6060/parameter
!--If you want to give your own host address for EPR generation--
!--uncommet following paramter , and set as you required.--
!--parameter name=hostname locked=falsehttp://myApp.com/ws/parameter--
/transportReceiver

transportReceiver name=tcp
   class=org.apache.axis2.transport.tcp.TCPServer
parameter name=port locked=false6061/parameter
!--If you want to give your own host address for EPR generation--
!--uncommet following paramter , and set as you required.--
!--parameter name=hostname locked=falsetcp

Re: [Axis2,Sandesha2]MTOM/XOP + WSRM

2006-06-28 Thread Mancinelli Elodie

Mancinelli Elodie wrote:

Sorry, I want to precise my request. When I observe with TCPMon the 
soap message, the differents messages of WSRM's protocole are created 
(CreateSequence, CreateSequenceResponse, Message, Acknowldgement and 
TerminateSequence). These messages are correct. The problem is on the 
server after messages.


Thanks,

Regards,
Elodie


Mancinelli Elodie wrote:


Hi all,

I try to create an OneWay method which supports WSRM and an attachment.
My service is really simple, it's only a println.
The method runs successfully when there is only the WSRM 
implementation, but when I add the attachement part, I have an server 
error:


org.apache.sandesha2.SandeshaException: Data binding error; nested 
exception is:
   java.lang.RuntimeException: Data binding error; nested 
exception is:
   org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:199)
Caused by: org.apache.axis2.AxisFault: Data binding error; nested 
exception is:

   java.lang.RuntimeException: Data binding error
   at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:50) 

   at 
org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:34) 

   at 
org.apache.axis2.engine.AxisEngine.resumeReceive(AxisEngine.java:497)

   at org.apache.axis2.engine.AxisEngine.resume(AxisEngine.java:543)
   at 
org.apache.sandesha2.workers.InOrderInvoker.run(InOrderInvoker.java:189)

Caused by: java.lang.RuntimeException: Data binding error
   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:174) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.invokeBusinessLogic(PrestoSvcMessageReceiverInOnly.java:46) 


   ... 4 more
Caused by: org.apache.axiom.om.OMException: 
java.lang.NullPointerException
   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:254)
   at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.getTextCharacters(OMStAXWrapper.java:365) 

   at 
org.apache.xmlbeans.impl.store.Locale.loadXMLStreamReader(Locale.java:1154) 

   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:843)
   at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
   at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231) 

   at 
fr.gouv.finances.dgme.presto.SubmitOneWayDocument$Factory.parse(SubmitOneWayDocument.java:128) 

   at 
fr.gouv.finances.dgme.presto.PrestoSvcMessageReceiverInOnly.fromOM(PrestoSvcMessageReceiverInOnly.java:145) 


   ... 5 more
Caused by: java.lang.NullPointerException
   at 
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) 

   at 
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) 

   at 
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) 


   at org.apache.coyote.Request.doRead(Request.java:423)
   at 
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283) 

   at 
org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:371)
   at 
org.apache.catalina.connector.InputBuffer.readByte(InputBuffer.java:292)
   at 
org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:104) 


   at java.io.FilterInputStream.read(FilterInputStream.java:66)
   at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
   at 
org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:49) 

   at 
javax.mail.internet.InternetHeaders.load(InternetHeaders.java:106)
   at 
javax.mail.internet.InternetHeaders.init(InternetHeaders.java:92)

   at javax.mail.internet.MimeBodyPart.init(MimeBodyPart.java:59)
   at 
org.apache.axiom.attachments.PartOnMemory.init(PartOnMemory.java:31)
   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:451)
   at 
org.apache.axiom.attachments.Attachments.getNextPart(Attachments.java:359) 

   at 
org.apache.axiom.attachments.Attachments.getPart(Attachments.java:324)
   at 
org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:274) 

   at 
org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder.getDataHandler(MTOMStAXSOAPModelBuilder.java:151) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getDataHandler(OMTextImpl.java:341) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getInputStream(OMTextImpl.java:368) 

   at 
org.apache.axiom.om.impl.llom.OMTextImpl.getText(OMTextImpl.java:238)


My client is:

public static void testSubmitOneWayWSRM

Re: org.apache.axis2.AxisFault: Operation Not found EPR

2006-06-27 Thread Mancinelli Elodie

Hi,

Thanks for your help. Effectively I forget to engage sandesha2 in the 
server.


Now I have an other problem in the method request-reply(I join the 
implementation in attachment):


I send the CreateSequence, the three messages, and the 
TerminateSequence. In TCPMon, the CreateSequence and 
TerminateSequence are accepted and the three messages are OK, but the 
State is nerver Done.


In the client implementation, the expression  (!callback3.isComplete())  
never takes the value at true. The client seems to not receive the 
server response.
  
Have you an idea?


Thanks,

Regards

Elodie



Deepal jayasinghe wrote:


Hi Mancinelli;
did you engage sandesha into server side  ?

Mancinelli Elodie wrote:

 


Hi all,

Tools use: Axis2 1.0, Sandesha2 1.0 and apache-tomcat-5.5.15
I wish to create a client-server which suports the specifications of
WSRM. The service has two functions in One way and in
Response-request. For the moment, I only test the OneWay method. I
generate the server implementation with the wsdl. I Implement the
client and server. Finally, the service has deployed correctly.

When I launch the client, an error appears, it seems to take the
origine on the TomCat server(any information are present on TomCat logs):

HTTP/1.1 500 Erreur Interne de Servlet
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=B3A702F3FF667549CF4BB267BFC32420; Path=/axis2
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 26 Jun 2006 09:03:14 GMT
Connection: close

2be
?xml version='1.0' encoding='UTF-8'?
 soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:wsa=http://www.w3.org/2005/08/addressing;
soapenv:Header
   wsa:Tohttp://www.w3.org/2005/08/addressing/anonymous/wsa:To
   wsa:ReplyTo
 
wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address

   /wsa:ReplyTo
  
wsa:MessageIDurn:uuid:4D11878674B6191F4E11513125946953/wsa:MessageID
  
wsa:Actionhttp://www.w3.org/2005/08/addressing/fault/wsa:Action

   wsa:RelatesTo
wsa:RelationshipType=http://www.w3.org/2005/08/addressing/reply;urn:uuid:D7D33AC8C77F2659F411513125923103/wsa:RelatesTo

/soapenv:Header
soapenv:Body
   soapenv:Fault
  faultcodesoapenv:Client/faultcodeb3
  faultstringOperation Not found EPR is
http://129.183.149.72:8080/axis2/services/PrestoSvc and WSA Action = 
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence/faultstring7ec

  detail
 Exceptionorg.apache.axis2.AxisFault: Operation Not
found EPR is http://129.183.149.72:8080/axis2/services/PrestoSvc and
WSA Action = 
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceat
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:46)   
at org.apache.axis2.engine.Phase.invoke(Phase.java:396)at

org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)   
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)   
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)at

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)   
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)   
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)   
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)   
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)   
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)   
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)   
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)   
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)   
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)   
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)   
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)   
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)   
at java.lang.Thread.run(Thread.java:595)/Exception

  /detail32
   /soapenv:Fault
/soapenv:Body
 /soapenv:Envelope0

The soap message request and the address
http://129.183.149.72:8080/axis2/services/PrestoSvc; are good.

POST /axis2/services/PrestoSvc HTTP/1.1
User-Agent: Axis2
SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
Host: 127.0.0.1:8070
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8

2f9
?xml version='1.0' encoding='UTF-8

org.apache.axis2.AxisFault: Operation Not found EPR

2006-06-26 Thread Mancinelli Elodie

Hi

I write again because I really need your help. I don't find the 
resolution. I don't know why I can't access to my service.


Please help me.

Regards,

Elodie


Mancinelli Elodie wrote:


Hi all,

Tools use: Axis2 1.0, Sandesha2 1.0 and apache-tomcat-5.5.15
I wish to create a client-server which suports the specifications of 
WSRM. The service has two functions in One way and in 
Response-request. For the moment, I only test the OneWay method. I 
generate the server implementation with the wsdl. I Implement the 
client and server. Finally, the service has deployed correctly.


When I launch the client, an error appears, it seems to take the 
origine on the TomCat server(any information are present on TomCat logs):


HTTP/1.1 500 Erreur Interne de Servlet
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=B3A702F3FF667549CF4BB267BFC32420; Path=/axis2
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 26 Jun 2006 09:03:14 GMT
Connection: close

2be
?xml version='1.0' encoding='UTF-8'?
  soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:wsa=http://www.w3.org/2005/08/addressing;

 soapenv:Header
wsa:Tohttp://www.w3.org/2005/08/addressing/anonymous/wsa:To
wsa:ReplyTo
   
wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address

/wsa:ReplyTo

wsa:MessageIDurn:uuid:4D11878674B6191F4E11513125946953/wsa:MessageID

wsa:Actionhttp://www.w3.org/2005/08/addressing/fault/wsa:Action
wsa:RelatesTo 
wsa:RelationshipType=http://www.w3.org/2005/08/addressing/reply;urn:uuid:D7D33AC8C77F2659F411513125923103/wsa:RelatesTo 


 /soapenv:Header
 soapenv:Body
soapenv:Fault
   faultcodesoapenv:Client/faultcodeb3
   faultstringOperation Not found EPR is 
http://129.183.149.72:8080/axis2/services/PrestoSvc and WSA Action =  
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence/faultstring7ec

   detail
  Exceptionorg.apache.axis2.AxisFault: Operation Not 
found EPR is http://129.183.149.72:8080/axis2/services/PrestoSvc and 
WSA Action =  
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceat 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:46)
at org.apache.axis2.engine.Phase.invoke(Phase.java:396)at 
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)at 
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)/Exception

   /detail32
/soapenv:Fault
 /soapenv:Body
  /soapenv:Envelope0

The soap message request and the address 
http://129.183.149.72:8080/axis2/services/PrestoSvc; are good.


POST /axis2/services/PrestoSvc HTTP/1.1
User-Agent: Axis2
SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
Host: 127.0.0.1:8070
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8

2f9
?xml version='1.0' encoding='UTF-8'?
  soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:wsa=http://www.w3.org/2005/08/addressing;

 soapenv:Header

wsa:Tohttp://129.183.149.72:8080/axis2/services/PrestoSvc/wsa:To

wsa:ReplyTo
   
wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address

/wsa:ReplyTo

wsa:MessageIDurn:uuid:D7D33AC8C77F2659F411513125923103/wsa:MessageID

wsa:Actionhttp

How to change the size of the font for small screen computer

2006-06-23 Thread Elodie Trouche-Perrin
Hello Bat User Group,

How I could change the size of the font to make it more visible
(bigger) and still have all the email sfit on the screen.
This is for a laptop which has a very small screen.

-- 
Best,
Elodie

Elodie Trouche-Perrin
Steven Kasher Gallery
521 West 23rd Street 2nd floor
New York, NY 10011

Tel. 212 966 3978 
Fax. 212 226 1485

[EMAIL PROTECTED]

www.stevenkasher.com
 



Current version is 3.80.06 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Internal Error Servlet

2006-06-13 Thread Mancinelli Elodie

Hi all,

Tools use: Axis2 1.0, Sandesha2 1.0 and apache-tomcat-5.5.15
I try to do the sandesha2 user guide. I deploy on tomcat the aar giving 
by the sandesha2 1.0-bin.zip. I recover the client in the user guide. I 
do instructions of sandesha2 user guide.

I only change this in the client code:
private static String toEPR = 
http://127.0.0.1:8080/axis2/services/RMSampleService;;
private static String CLIENT_REPO_PATH = 
/home/mancinee/workspace/wsrm/client/Client_Repo;


I add this property
clientOptions.setProperty(MessageContextConstants.TRANSPORT_URL,http://localhost:8070/axis2/services/RMSampleService;); 



I use TCPMon to observe SOAP message.
I put 8080 on the Target Port and I listen on the port 8070.

The error appears when I launch my client. I can access tomcat, but it 
returns an error: HTTP/1.1 500 Internal Error Servlet
The server met an internal error which stopped the request. I can't say 
more because I do not have more information.

The http request caugth in tcpmon is:

POST /axis2/services/RMSampleService HTTP/1.1
User-Agent: Axis2
SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
Host: 127.0.0.1:8070
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8

320
?xml version='1.0' encoding='UTF-8'?
soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:wsa=http://www.w3.org/2005/08/addressing;

   soapenv:Header
  
wsa:Tohttp://127.0.0.1:8080/axis2/services/RMSampleService/wsa:To

  wsa:ReplyTo
 
wsa:Addresshttp://129.183.149.72:6060/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__/wsa:Address 


  /wsa:ReplyTo
  
wsa:MessageIDurn:uuid:07B228029E7191235511496802483123/wsa:MessageID
  
wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence/wsa:Action 


   /soapenv:Header
   soapenv:Body
  wsrm:CreateSequence 
xmlns:wsrm=http://schemas.xmlsoap.org/ws/2005/02/rm;

 wsrm:AcksTo

wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address

 /wsrm:AcksTo
  /wsrm:CreateSequence
   /soapenv:Body
/soapenv:Envelope0

I restart the setup of axis2 and download the sandesha2 1.0-bin.zip. But 
no difference.

The tomcat logs give no information.

I don't understand why Tomcat return this error.
Can someone have an idea?

Thanks for you time.

Regards
Elodie
package client;

import java.io.File;
import javax.xml.namespace.QName;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.soap.SOAPBody;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.client.async.AsyncResult;
import org.apache.axis2.client.async.Callback;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.context.MessageContextConstants;
import org.apache.sandesha2.client.SandeshaClientConstants;

public class UserguideEchoClient {

private final static String applicationNamespaceName = http://tempuri.org/;;
private final static String echoString = echoString;
private final static String Text = Text;
private final static String Sequence = Sequence;
private final static String echoStringResponse = echoStringResponse;
private final static String EchoStringReturn = EchoStringReturn;
private static String toEPR = http://127.0.0.1:8080/axis2/services/RMSampleService;;

private static String CLIENT_REPO_PATH = //home//mancinee//workspace//wsrm//client//Client_Repo;

public static void main(String[] args) throws Exception {

String axis2_xml = CLIENT_REPO_PATH + File.separator +client_axis2.xml;
ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(CLIENT_REPO_PATH,axis2_xml);
ServiceClient serviceClient = new ServiceClient (configContext,null);

Options clientOptions = new Options ();
clientOptions.setTo(new EndpointReference (toEPR));
clientOptions.setTransportInProtocol(Constants.TRANSPORT_HTTP);
clientOptions.setUseSeparateListener(true);
clientOptions.setProperty(MessageContextConstants.TRANSPORT_URL,http://localhost:8070/axis2/services/RMSampleService;);

serviceClient.setOptions(clientOptions);

//  serviceClient.engageModule(new QName (sandesha2));
//  serviceClient.engageModule(new QName (addressing));
System.out.println(Envoi);
Callback callback1 = new TestCallback (Callback 1);
serviceClient.sendReceiveNonBlocking (getEchoOMBlock(echo1,sequence1),callback1);
//Callback callback2 = new TestCallback (Callback 2);
//serviceClient.sendReceiveNonBlocking(getEchoOMBlock(echo2,sequence1),callback2

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-08 Thread Mancinelli Elodie

Hi Chamikara,

I restart the setup of Axis2 and I download once time sandesha2. I make 
sure that the RMSampleService is available. No problem appears.


Logs give no information. But I join it nevertheless.
I don't inderstand where is the error.

Is the error can be due to the proxy?

I really appreciate your help. Thanks a lot.

Regards

Elodie


Chamikara Jayalath wrote:


Hi Elodie,

Could u make sure that the Axis2 is setup correctly and that the 
RMSampleService is available when u list the services.


Also check the tomcat logs to see weather u can get any clues to find 
out the reason for HTTP 500 response.


Chamikara



8 juin 2006 09:57:21 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/lib/i386/client:/usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/../lib/i386
8 juin 2006 09:57:21 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
8 juin 2006 09:57:21 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3171 ms
8 juin 2006 09:57:22 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
8 juin 2006 09:57:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
8 juin 2006 09:57:22 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
8 juin 2006 09:57:25 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive axis2.war de l'application web
8 juin 2006 09:57:33 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
8 juin 2006 09:57:34 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
8 juin 2006 09:57:34 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/359  config=null
8 juin 2006 09:57:34 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
8 juin 2006 09:57:35 org.apache.catalina.startup.Catalina start
INFO: Server startup in 13858 ms
8 juin 2006 10:04:26 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8080
8 juin 2006 10:04:27 org.apache.catalina.core.StandardService stop
INFO: Arrêt du service Catalina
8 juin 2006 10:04:28 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Arrêt de Coyote HTTP/1.1 sur http-8080
8 juin 2006 10:04:28 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
8 juin 2006 09:57:21 org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
/usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/lib/i386/client:/usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk-ia32/sun/jdk1.5.0_06/jre/../lib/i386
8 juin 2006 09:57:21 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
8 juin 2006 09:57:21 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3171 ms
8 juin 2006 09:57:22 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
8 juin 2006 09:57:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
8 juin 2006 09:57:22 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
8 juin 2006 09:57:25 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive axis2.war de l'application web
- Deploying module : soapmonitor
- Deploying module : addressing
- Deploying module : sandesha2-1.0
8 juin 2006 09:57:33 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
8 juin 2006 09:57:34 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
8 juin 2006 09:57:34 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/359  config=null
8 juin 2006 09:57:34 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
8 juin 2006 09:57:35 org.apache.catalina.startup.Catalina start
INFO: Server startup in 13858 ms
8 juin 2006 10:04:26 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8080
8 juin 2006 10:04:27 org.apache.catalina.core.StandardService stop
INFO: Arrêt du service Catalina
8 juin 2006 10:04:28 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Arrêt de Coyote HTTP/1.1 sur http-8080
8 juin 2006 10:04:28 org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
8 juin 2006 09:57:31 org.apache.catalina.core.ApplicationContext log
INFO

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-07 Thread Mancinelli Elodie

Hi Chamikara

Thanks for your help. You are all rigth.

Now, I can access tomcat, but it returns an error: HTTP/1.1 500 Internal 
Error Servlet
The server met an internal error which stopped the request. I can't say 
more because I do not have more information.

The http request caugth in tcpmon is:

POST /axis2/services/RMSampleService HTTP/1.1
User-Agent: Axis2
SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
Host: 127.0.0.1:8070
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8

320
?xml version='1.0' encoding='UTF-8'?
  soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:wsa=http://www.w3.org/2005/08/addressing;

 soapenv:Header

wsa:Tohttp://127.0.0.1:8080/axis2/services/RMSampleService/wsa:To

wsa:ReplyTo
   
wsa:Addresshttp://129.183.149.72:6060/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__/wsa:Address

/wsa:ReplyTo

wsa:MessageIDurn:uuid:07B228029E7191235511496802483123/wsa:MessageID

wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence/wsa:Action

 /soapenv:Header
 soapenv:Body
wsrm:CreateSequence 
xmlns:wsrm=http://schemas.xmlsoap.org/ws/2005/02/rm;

   wsrm:AcksTo
  
wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address

   /wsrm:AcksTo
/wsrm:CreateSequence
 /soapenv:Body
  /soapenv:Envelope0

Do you have an idea?

Elodie


Chamikara Jayalath wrote:


Hi Elodie,

Have you configured the tcp monitor correctly. You should start tomcat 
in the port 8080 and have a mapping in tcp monitor from port 8070 to 8080.


Add the following additional line to the client code to send the 
request through the ctp monitor.

clientOptions.setProperty(MessageContextConstants.TRANSPORT_URL,http://localhost:8070/axis2/services/RMSampleService;);



Chamikara




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-02 Thread Mancinelli Elodie
(sequenceElem);

  return echoStringElement;
  }

  static class TestCallback extends Callback {

  String name = null;
  public TestCallback (String name) {
  this.name = name;
  }

  public void onComplete(AsyncResult result) {
  SOAPBody body = result.getResponseEnvelope().getBody();

  OMElement echoStringResponseElem = 
body.getFirstChildWithName(new QName 
(applicationNamespaceName,echoStringResponse));
  OMElement echoStringReturnElem = 
echoStringResponseElem.getFirstChildWithName(new QName 
(applicationNamespaceName,EchoStringReturn));


  String resultStr = echoStringReturnElem.getText();
  System.out.println(Callback ' + name +  ' got result: + 
resultStr);

  }

  public void onError (Exception e) {
  System.out.println(Error reported for test call back);
  e.printStackTrace();
  }
  }
}

Thanks for your time

Regards

Elodie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Create WAR- installation

2006-04-20 Thread Mancinelli Elodie

Hello,

My problem become when I want to create WAR in Axis 2 0.95 installation.

/war:
   [echo]  MODULES=
   [echo]  Copy2Dir=target/temp/war/lib
   [echo] Fetching Dependencies for modules: 
,target/lib/axis2-0.95.jar,axis2/target/axis2-0.95.jar,axis2/bin/http-server.bat,axis2/bin/start.bat,

axis2/bin/tcp-server.sh,axis2/bin/WSDL2Java.bat,axis2/bin/WSDL2Java.sh,
axis2/bin/tcp-server.bat,axis2/bin/http-server.sh,axis2/bin/WSDL2Code.bat,
axis2/description/AxisOperation.java,axis2/description/AxisDescription.java,
axis2/description/FlowInclude.java,axis2/description/RobustOutOnlyAxisOperation.java,
axis2/description/ParameterIncludeImpl.java,axis2/description/PhaseRule.java,
..


apache/axis2/Version.class,common/target/axis2-common-0.95.jar,
axis2/etc/junit-noframes.xsl,axis2/etc/junit-frames.xsl,axis2/etc/maven.xml,
axis2/etc/project.xml,axis2/etc/project.properties,install/axis2/maven.xml,
install/axis2/project.xml,install/axis2/README.txt,install/axis2/release-notes.html,
install/axis2/LICENSE.txt
Starting the reactor...
Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
   at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
   at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)

   at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1527)
   at 
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)

   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
   at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
   at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:302)
   at 
org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:428)
   at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:321)

   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at 
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
   at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
   at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)

   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)

   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
   at org.apache.maven.cli.App.doMain(App.java:488)
   at org.apache.maven.cli.App.main(App.java:1239)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.werken.forehead.Forehead.run(Forehead.java:551)
   at com.werken.forehead.Forehead.main(Forehead.java:581)

BUILD FAILED
File.. /home/mancinee/install/axis2/maven.xml
Element... maven:reactor
Line.. 658
Column 45
Error parsing project.xml 
'/home/mancinee/install/axis2/target/lib/axis2-0.95.jar'/


I think it's an error on an xml file but I can say anything more. I test 
all module present in maven.xml (i.e common, core, xml, wsdl, abd, 
codegen, doom, webapp, addressing) and the error come on the xml module.


Moreover, I don't understand why the module Samples is not in this list.

What do we think?

Thanks,

Elodie


[Axis2] Create WAR- installation

2006-04-20 Thread Mancinelli Elodie

Hello,

My problem become when I want to create WAR in Axis 2 0.95 installation.

/war:
  [echo]  MODULES=
  [echo]  Copy2Dir=target/temp/war/lib
  [echo] Fetching Dependencies for modules: 
,target/lib/axis2-0.95.jar,axis2/target/axis2-0.95.jar,axis2/bin/http-server.bat,axis2/bin/start.bat, 


axis2/bin/tcp-server.sh,axis2/bin/WSDL2Java.bat,axis2/bin/WSDL2Java.sh,
axis2/bin/tcp-server.bat,axis2/bin/http-server.sh,axis2/bin/WSDL2Code.bat,
axis2/description/AxisOperation.java,axis2/description/AxisDescription.java, 

axis2/description/FlowInclude.java,axis2/description/RobustOutOnlyAxisOperation.java, 

axis2/description/ParameterIncludeImpl.java,axis2/description/PhaseRule.java, 


..


apache/axis2/Version.class,common/target/axis2-common-0.95.jar,
axis2/etc/junit-noframes.xsl,axis2/etc/junit-frames.xsl,axis2/etc/maven.xml, 


axis2/etc/project.xml,axis2/etc/project.properties,install/axis2/maven.xml,
install/axis2/project.xml,install/axis2/README.txt,install/axis2/release-notes.html, 


install/axis2/LICENSE.txt
Starting the reactor...
Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
  at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
  at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
  at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
  at 
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown 
Source)
  at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)

  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.apache.commons.digester.Digester.parse(Digester.java:1527)
  at 
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)

  at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
  at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
  at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:302)
  at 
org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:428) 

  at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:321)

  at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  at 
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
  at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
  at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) 

  at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) 


  at com.werken.werkz.Goal.fire(Goal.java:639)
  at com.werken.werkz.Goal.attain(Goal.java:575)
  at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)

  at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
  at org.apache.maven.cli.App.doMain(App.java:488)
  at org.apache.maven.cli.App.main(App.java:1239)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 


  at java.lang.reflect.Method.invoke(Method.java:324)
  at com.werken.forehead.Forehead.run(Forehead.java:551)
  at com.werken.forehead.Forehead.main(Forehead.java:581)

BUILD FAILED
File.. /home/mancinee/install/axis2/maven.xml
Element... maven:reactor
Line.. 658
Column 45
Error parsing project.xml 
'/home/mancinee/install/axis2/target/lib/axis2-0.95.jar'/


I think it's an error on an xml file but I can say anything more. I test 
all module present in maven.xml (i.e common, core, xml, wsdl, abd, 
codegen, doom, webapp, addressing) and the error come on the xml module.


Moreover, I don't understand why the module Samples is not in this list.

Can we help me?

Thanks for interesting

Elodie



Re: [spip-dev] Warning depuis mise à jour SPIP de 1.7.2 à 1.8.1

2005-05-05 Thread Elodie

J'ai trouvé la solution à mon problème.
En fait, c'était assez semblable à ce que j'ai pu lire sur la liste des 
problèmes d'include avec la 1.8
J'avais mal fait mes tests (il devait être un peu tard) et avait loupé 
un include profond qui empéchait mes scripts de tourner correctement.
Désolée pour le bruit. Mais bon, on ne sait jamais, ça servira peut être 
à qq d'autre.


Elodie



Elodie a écrit :


Bonjour,

Je suis bien embêtée depuis que j'ai mis à jour un de mes site de 1.7.2
à 1.8.1
Tout s'est bien passé mais depuis j'ai des Warning qui sont apparus sur
certaine de mes pages. (Je précise qu'entre temps je n'avais pas touché
à mes squelettes).
Par exemple, sur ma page d'acceuil, j'ai ce message :
*   Fatal error*: Call to undefined function: cut_str() in
*/Web_server/CCI_A10_v2/inc-public.php3(60) : eval()'d code* on line *122
*En fait la fameuse fonction cut_str() avait été définie par moi-même
dans le fichier sommaire.php3. Voici le code je j'utilise et qui
fonctionnait bien jusqu'à maintenant :
/
/

En voyant l'erreur j'ai d'abord cherché à réintroduire la déclaration de
la fonction dans mon squelette sommaire.html, mais ça n'a rien changé.
Je suis vraiment perdue.

Dans le même style, j'inclus dans certains autres fichier .php3 mon
fichier 'traitement_dates.php3' et j'obtient alors les erreurs suivantes :
 *Warning*: Unknown(traitement_datesphp3): failed to open stream: No
such file or directory in */Web_server/CCI_A10_v2/inc-public.php3(20) :
eval()'d code* on line *4*
 *Warning*: (null)(): Failed opening 'traitement_datesphp3' for
inclusion (include_path='.:/usr/local/php/lib/php') in
*/Web_server/CCI_A10_v2/inc-public.php3(20) : eval()'d code* on line *4
*Ce n'est pas bloquant pour ma page car je me suis apperçue que je
n'utilisais finalement plus ces fonctions dans les squelettes associés,
mais lorsque je supprime les includes des fichiers .php3 l'erreur est
toujours présente sur mes pages. Je ne vois vraiment pas d'où proviens
ce warning si ce n'est pas de là.
J'ai vérifié et dans les squelettes en question je n'ai pas d'autres
include qui pourraient faire appel à 'traitement_dates.php3'.

Auriez-vous une idée pour m'aider ??

Elodie





___
liste: http://listes.rezo.net/mailman/listinfo/spip-dev
doc: http://www.spip.net/
cvs: http://www.spip.net/spip-dev/devel/
irc://irc.freenode.net/spip

 





[spip-dev] Warning depuis mise à jour SPIP de 1.7.2 à 1.8.1

2005-05-05 Thread Elodie

Bonjour,

Je suis bien embêtée depuis que j'ai mis à jour un de mes site de 1.7.2
à 1.8.1
Tout s'est bien passé mais depuis j'ai des Warning qui sont apparus sur
certaine de mes pages. (Je précise qu'entre temps je n'avais pas touché
à mes squelettes).
Par exemple, sur ma page d'acceuil, j'ai ce message :
*   Fatal error*: Call to undefined function: cut_str() in
*/Web_server/CCI_A10_v2/inc-public.php3(60) : eval()'d code* on line *122
*En fait la fameuse fonction cut_str() avait été définie par moi-même
dans le fichier sommaire.php3. Voici le code je j'utilise et qui
fonctionnait bien jusqu'à maintenant :
/
/

En voyant l'erreur j'ai d'abord cherché à réintroduire la déclaration de
la fonction dans mon squelette sommaire.html, mais ça n'a rien changé.
Je suis vraiment perdue.

Dans le même style, j'inclus dans certains autres fichier .php3 mon
fichier 'traitement_dates.php3' et j'obtient alors les erreurs suivantes :
 *Warning*: Unknown(traitement_datesphp3): failed to open stream: No
such file or directory in */Web_server/CCI_A10_v2/inc-public.php3(20) :
eval()'d code* on line *4*
 *Warning*: (null)(): Failed opening 'traitement_datesphp3' for
inclusion (include_path='.:/usr/local/php/lib/php') in
*/Web_server/CCI_A10_v2/inc-public.php3(20) : eval()'d code* on line *4
*Ce n'est pas bloquant pour ma page car je me suis apperçue que je
n'utilisais finalement plus ces fonctions dans les squelettes associés,
mais lorsque je supprime les includes des fichiers .php3 l'erreur est
toujours présente sur mes pages. Je ne vois vraiment pas d'où proviens
ce warning si ce n'est pas de là.
J'ai vérifié et dans les squelettes en question je n'ai pas d'autres
include qui pourraient faire appel à 'traitement_dates.php3'.

Auriez-vous une idée pour m'aider ??

Elodie







[spip-dev] Warning depuis mise à jour SPIP de 1.7.2 à 1.8.1

2005-05-05 Thread Elodie BOUILLARD

Bonjour,

Je suis bien embêtée depuis que j'ai mis à jour un de mes site de 1.7.2 
à 1.8.1
Tout s'est bien passé mais depuis j'ai des Warning qui sont apparus sur 
certaine de mes pages. (Je précise qu'entre temps je n'avais pas touché 
à mes squelettes).

Par exemple, sur ma page d'acceuil, j'ai ce message :
*   Fatal error*: Call to undefined function: cut_str() in 
*/Web_server/CCI_A10_v2/inc-public.php3(60) : eval()'d code* on line *122
*En fait la fameuse fonction cut_str() avait été définie par moi-même 
dans le fichier sommaire.php3. Voici le code je j'utilise et qui 
fonctionnait bien jusqu'à maintenant :

/
/

En voyant l'erreur j'ai d'abord cherché à réintroduire la déclaration de 
la fonction dans mon squelette sommaire.html, mais ça n'a rien changé.

Je suis vraiment perdue.

Dans le même style, j'inclus dans certains autres fichier .php3 mon 
fichier 'traitement_dates.php3' et j'obtient alors les erreurs suivantes :
 *Warning*: Unknown(traitement_datesphp3): failed to open stream: No 
such file or directory in */Web_server/CCI_A10_v2/inc-public.php3(20) : 
eval()'d code* on line *4*
 *Warning*: (null)(): Failed opening 'traitement_datesphp3' for 
inclusion (include_path='.:/usr/local/php/lib/php') in 
*/Web_server/CCI_A10_v2/inc-public.php3(20) : eval()'d code* on line *4
*Ce n'est pas bloquant pour ma page car je me suis apperçue que je 
n'utilisais finalement plus ces fonctions dans les squelettes associés, 
mais lorsque je supprime les includes des fichiers .php3 l'erreur est 
toujours présente sur mes pages. Je ne vois vraiment pas d'où proviens 
ce warning si ce n'est pas de là.
J'ai vérifié et dans les squelettes en question je n'ai pas d'autres 
include qui pourraient faire appel à 'traitement_dates.php3'.


Auriez-vous une idée pour m'aider ??

Elodie






[spip-dev] Warning depuis mise à jour SPIP de 1.7.2 à 1.8.1

2005-05-05 Thread Elodie BOUILLARD

Bonjour,

Je suis bien embêtée depuis que j'ai mis à jour un de mes site de 1.7.2 
à 1.8.1
Tout s'est bien passé mais depuis j'ai des Warning qui sont apparus sur 
certaine de mes pages. (Je précise qu'entre temps je n'avais pas touché 
à mes squelettes).

Par exemple, sur ma page d'acceuil, j'ai ce message :
*   Fatal error*: Call to undefined function: cut_str() in 
*/Web_server/CCI_A10_v2/inc-public.php3(60) : eval()'d code* on line *122
*En fait la fameuse fonction cut_str() avait été définie par moi-même 
dans le fichier sommaire.php3. Voici le code je j'utilise et qui 
fonctionnait bien jusqu'à maintenant :

/
/

En voyant l'erreur j'ai d'abord cherché à réintroduire la déclaration de 
la fonction dans mon squelette sommaire.html, mais ça n'a rien changé.

Je suis vraiment perdue.

Dans le même style, j'inclus dans certains autres fichier .php3 mon 
fichier 'traitement_dates.php3' et j'obtient alors les erreurs suivantes :
  *Warning*: Unknown(traitement_datesphp3): failed to open stream: No 
such file or directory in */Web_server/CCI_A10_v2/inc-public.php3(20) : 
eval()'d code* on line *4*
  *Warning*: (null)(): Failed opening 'traitement_datesphp3' for 
inclusion (include_path='.:/usr/local/php/lib/php') in 
*/Web_server/CCI_A10_v2/inc-public.php3(20) : eval()'d code* on line *4
*Ce n'est pas bloquant pour ma page car je me suis apperçue que je 
n'utilisais finalement plus ces fonctions dans les squelettes associés, 
mais lorsque je supprime les includes des fichiers .php3 l'erreur est 
toujours présente sur mes pages. Je ne vois vraiment pas d'où proviens 
ce warning si ce n'est pas de là.
J'ai vérifié et dans les squelettes en question je n'ai pas d'autres 
include qui pourraient faire appel à 'traitement_dates.php3'.


Auriez-vous une idée pour m'aider ??

Elodie




[XFree86] problem with graphical card i815

2003-12-12 Thread Duprat Elodie
We use Mandrake 9.2 (kernel 2.4.22) and the last i810 drivers.

we can't get a resolution more than 640x480 under linux but everything 
runs OK under windows XP.
We try to check the Xf86Config-4 : Mandrake set the display subsection 
as VIRTUAL and get then a virtual desk of 1024x768. We set the 
subsection to MODES  and MODELINE corresponding to a higher resolution 
but XFree seems to crash and get back to the 640x480.

Thanks for helping us



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[spip-dev] upload de documents par ftp ...

2003-10-29 Thread bouillard elodie
Bonjour à tous.
 
Je commence à regarder un peu plus sérieusement du côté de l'option 
d'attachement d'un document à un article et j'ai remarquéque si 
l'administrateur uploadait les doc par ftp dans ecrire/upload les redacteurs 
n'avaient par la suite qu'à les selectionner. Le problème c'est qu'une fois 
séléctionnés puis téléchargés, ces documents sont placés dans IMG (j'ai fait le 
test avec un pdf dc il s'est retrouvé dans IMG/pdf), mais aussi qu'ils restent 
dans le répertoire ecrire/upload.
Je trouve ça un peu génant d'avoir des fichier en double sur mon serveur. Je 
trouve que ça prend de la place pour rien.
Y a-t-il une raison à ce doublement de fichiers ou est-ce modifiable sans trop 
perturber le système ??
 
Merci de votre attention
Elodie


[spip-dev] Pb de répertoires virtuels et de recalcul de page

2003-09-04 Thread bouillard elodie
Bonjour,
En desespoir de cause je pose une dernière fois ma question. Quelqu'un 
a-t-il déjà utilisé les réécritures d'url avec les répertoires virtuels ??
J'ai réussi à tout mettre en place et les fonctionnement "simple" passent tout 
seul. Les problèmes arrivent avec le recalcul des pages. il n'utilise pas 
l'adresse avec le répertoire virtuel donc ne trouve pas la page (l'url n'est 
pas retranscrite). J'ai cherché ce que je pouvait faire mais en vain car je ne 
comprends pas comment est traité le clic sur le bouton recalculer.
Auriez-vous une solution ???
 
Merci d'avance,
Elodie


Re: Conflicts between 2 lib in Tomcat 4.0.3

2003-02-04 Thread Elodie Tasia

 Or maybe he is using  the old Xerces (1.4.4) with the new Xerces(2.x). 
 They have make huge changes between the 2 versions and backward 
 compatibility is no longer supported (Xerces 1.4.4 doesn't fully 
 supports JAXP, Xerces 2.x does). They probably use a public API, but not 
 the JAXP one. You will have to stick with that version or ask other app 
 to update to Xerces 2.x :-(

I thought the same thing... last week, ant I tried ti update myself the olds apps 
(because the developpers have gone), but I lost too time...

 Also, the classloader will not properly load the second jar since it 
 doesn't load a class that is in memory. Since your 2 xerces share some 
 base classes, that's probably why it doesn't work.
That's exactly the problem : when I try to access to new methods in xerces2, I get an 
exception. So why does Tomcat load the older librairy before the newer ? Does it know 
which one is the old ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Conflicts between 2 lib in Tomcat 4.0.3

2003-02-03 Thread Elodie Tasia
Hi,

I'm working with TC 4.0.3. In the WEB-INF/lib directory, I've got 2 libraries : 
xerces.jar (I think it's an old Xerces, I didn't put myself there : someone else need 
it) and xercesImpl.jar (a newer version of xerces).
I coded a class that need xerces2, but when I launch it (via a servlet) in my Tomcat, 
it throws a NoSuchMethoError cause it doesn't take the good jar !
How can I force TC to take the new librairy ?

Thanx in advance

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Conflicts between 2 lib in Tomcat 4.0.3

2003-02-03 Thread Elodie Tasia
I already tried to remove those libs from WEB-INF/lib to CATALINA_HOME/common/lib or 
CATALINA_HOME/lib, but all the classes in WEB-INF/classes that were coded by another 
developpers didn't worked any more !


 Put it in CATALINA_HOME/common/endorsed or common/lib.  You aren't supposed 
 to put endorsed packages such as javax.* and org.w3c.* in WEB-INF/lib.  It 
 causes all sorts of problems and violates the Sun classloading spec which 
 Tomcat, as of 4.0.2, enforces.
 
 Jake
 
 At 10:11 AM 2/3/2003 +0100, you wrote:
 Hi,
 
 I'm working with TC 4.0.3. In the WEB-INF/lib directory, I've got 2 
 libraries : xerces.jar (I think it's an old Xerces, I didn't put myself 
 there : someone else need it) and xercesImpl.jar (a newer version of xerces).
 I coded a class that need xerces2, but when I launch it (via a servlet) in 
 my Tomcat, it throws a NoSuchMethoError cause it doesn't take the good jar !
 How can I force TC to take the new librairy ?
 
 Thanx in advance
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




auto login/pass ?

2002-06-25 Thread Elodie Tasia

Hi,

I'm using Slide 1.0.16 (binayr release).

When I open in my browser a file using that kind of URL : 
http://localhost:8081/files/mydirectory/myfile.txt, the server always asks for a login 
and a password.
I'd like to know if I can directly send these login and password IN the URL. How can I 
do ?

Thanx



Re: Can't remove properties

2002-06-13 Thread Elodie Tasia

It's strange, I can't delete properties either with the default namespace
nor with a given namespace.
But I can modify it, what's not logical.
What is the bug you're talking to ?

- Original Message -
From: Eric Hodges [EMAIL PROTECTED]
To: Slide Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, June 12, 2002 5:44 PM
Subject: RE: Can't remove properties


Yes, using the default namespace I can edit and delete properties.  At one
point I stepped into the server source and confirmed for myself that there's
a bug in how it deals with namespaces on properties.


 -Original Message-
 From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 12, 2002 10:38 AM
 To: Slide Users Mailing List
 Subject: Re: Can't remove properties


 Did you try with a default namespace ? I mean, without giving
 any namespace
 with the proppatch ?


 - Original Message -
 From: Eric Hodges [EMAIL PROTECTED]
 To: Slide Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, June 12, 2002 5:08 PM
 Subject: RE: Can't remove properties


 I haven't been able to delete or modify properties with
 explicit namespaces.
 I think there's a bug in the server code.


  -Original Message-
  From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 12, 2002 4:21 AM
  To: Slide Group
  Subject: Can't remove properties
 
 
  Hi,
 
  I'm using Slide client API ans Slide server. I downloaded the
  last nightly builts.
  When I add a new property to a resource, with the PROPPATCH
  method [in WebdavResource class : proppatchMethod(path,
  propName, propValue , true)], this property appears with the
  namespace ns0, when I call a PROPFIND.
  And when I want to delete this property, with
  proppatchMethod(path, propName,  , false), I get a
  multistatus response (207), but the property is not deleted.
 
  Has someone already had such a problem ?
  Can someone help me ?
 
  thx
 

 --
 To unsubscribe, e-mail:
 mailto:slide-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]




 --
 To unsubscribe, e-mail:
 mailto:slide-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Ajout des sources WebDAV dans dPortal

2002-06-11 Thread Elodie Tasia

Bonjour,

voici quelques infos à propos de l'ajout  dans dPortal de sources et de librairies 
relatifs à WebDAV :

*** INTEGRATION ***

Tout a été archivé dans CVS :

La dernière version de JDOM est disponible.
Les seules modifications à faire en cas de problème seront sans doute de remplacer 
addAttribute() par setAttribute(), ou getMixedContent par getContent ou getText...

Les deux autres librairies nécessaires sont : commons-httpclient.jar et webdavlib.jar.

Il y a deux templates : listCol.htm et listRes.htm à mettre, comme d'habitude, dans le 
répertoire Templates.

En ce qui concerne les classes, elles consistent en trois packages : 
dPortal.webdav.lib, dPortal.webdav.collections, dPortal.webdav.resources (avec un seul 
's' car c'est en anglais !).
Elles doivent être mises dans les répertoires correspondants, à savoir 
src\dPortal\webdav\lib ; \collections et \resources.

*** SERVEUR WEBDAV ***

Si vous voulez tester les fonctionnalités webdav, vous avez besoin : 
- d'un serveur implémentant webdav. Pour l'instant ce n'est pas encore fait, mais 
à priori les paramètres nécessaires à la connexion au serveur se trouveront dans 
la base de données (hôte, port, etc).
Si vous utilisez le serveur Jakarta Slide, simple à installer, n'oubliez pas que 
le port est 8081. Si vous utilisez Tomcat 4, ne vous étonnez pas si certaines 
méthodes (ACL, PROPPATCH) ne fonctionnent pas, c'est normal !
- d'une nouvelle table CSLOCKS dans la base.

*** ***

Elodie Tasia




Re: Put a file on the server

2002-06-04 Thread Elodie Tasia

No, I'm sure the path is correct : I've been using that method [
putMethod(String, File) ] for a long time, but I forgot to test it with a
file not on the same computer as the server...
Since I get a FileNotFoundException, the problem can only come from the file
that I want to put to the server...



- Original Message -
From: Jean-Philippe Courson [EMAIL PROTECTED]
To: Slide Users Mailing List [EMAIL PROTECTED]
Sent: Monday, June 03, 2002 8:35 PM
Subject: Re: Put a file on the server


 What exactly is the path you give to the method ?

 I think that your problem comes from this path which
 may be wrong and the cause of the exception.

 What is the file that server claims not to find ?

 - Original Message -
 From: Elodie Tasia [EMAIL PROTECTED]
 To: Slide Users Mailing List [EMAIL PROTECTED]
 Sent: Monday, June 03, 2002 4:17 PM
 Subject: Re: Put a file on the server


 | Yes, excuse me : I wrote my code by memory, I didn't verifiy the secund
 | parameter !
 | I effectively use the same method as you.
 | And, like you, I verify that the file exists before calling the method
(I
 | didn't give my entire code, that what just an example to show where my
 | problem was).
 | But the real problem is that, if the file is not ON the server itself,
it
 | doesn't work ! The server (or the client librairy, I don't know) doesn't
 | understand that the path of the file is the path on the remote client...
 |
 |
 | - Original Message -
 | From: Jean-Philippe Courson [EMAIL PROTECTED]
 | To: Slide Users Mailing List [EMAIL PROTECTED]
 | Sent: Monday, June 03, 2002 4:05 PM
 | Subject: Re: Put a file on the server
 |
 |
 |  Elodie Tasia wrote:
 |   Hi,
 |  
 |   I'm testing the method of the WebdavResource class : putMethod(File
 | file).
 |   The documentation about it is not clear, so I tried to put a file
from
 | my PC
 |   to a server on another computer.
 |  
 |   I created my file like this :
 |   File myfile = new File(d:\\temp.txt);
 |  
 |   and then I used the put method to send it. But I got the error
message
 :
 |   FileNotFoundException.
 |   That means that the server search the file on its own file system :
 the
 | data
 |   on MY computer are not sent.
 |  
 |   Why ?
 |   I don't see the utility of such a method, in that case.
 |  
 |   Can somenone explain ?
 |  
 |   Thanx
 |  
 |  
 |  
 |   --
 |   To unsubscribe, e-mail:
 | mailto:[EMAIL PROTECTED]
 |   For additional commands, e-mail:
 | mailto:[EMAIL PROTECTED]
 |  
 |  
 |  
 | 
 |  Hi,
 | 
 |  Which putMethod method are you using ?
 | 
 |  I use a putMethod method that takes two arguments : the path on the
 |  server where the file has to be put and the file itself.
 | 
 |  My code looks like :
 | 
 |  if(!file.exists()) // exception handling
 |  else {
 | exit = resource.putMethod(path, file);
 | if(!exit) // exception handling
 |  }
 | 
 |  Jp
 | 
 | 
 |  --
 |  To unsubscribe, e-mail:
 | mailto:[EMAIL PROTECTED]
 |  For additional commands, e-mail:
 | mailto:[EMAIL PROTECTED]
 | 
 | 
 |
 |
 | --
 | To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 | For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 |
 |
 |



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Put a file on the server

2002-06-03 Thread Elodie Tasia

Hi,

I'm testing the method of the WebdavResource class : putMethod(File file).
The documentation about it is not clear, so I tried to put a file from my PC
to a server on another computer.

I created my file like this :
File myfile = new File(d:\\temp.txt);

and then I used the put method to send it. But I got the error message :
FileNotFoundException.
That means that the server search the file on its own file system : the data
on MY computer are not sent.

Why ?
I don't see the utility of such a method, in that case.

Can somenone explain ?

Thanx



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Put a file on the server

2002-06-03 Thread Elodie Tasia

Yes, excuse me : I wrote my code by memory, I didn't verifiy the secund
parameter !
I effectively use the same method as you.
And, like you, I verify that the file exists before calling the method (I
didn't give my entire code, that what just an example to show where my
problem was).
But the real problem is that, if the file is not ON the server itself, it
doesn't work ! The server (or the client librairy, I don't know) doesn't
understand that the path of the file is the path on the remote client...


- Original Message -
From: Jean-Philippe Courson [EMAIL PROTECTED]
To: Slide Users Mailing List [EMAIL PROTECTED]
Sent: Monday, June 03, 2002 4:05 PM
Subject: Re: Put a file on the server


 Elodie Tasia wrote:
  Hi,
 
  I'm testing the method of the WebdavResource class : putMethod(File
file).
  The documentation about it is not clear, so I tried to put a file from
my PC
  to a server on another computer.
 
  I created my file like this :
  File myfile = new File(d:\\temp.txt);
 
  and then I used the put method to send it. But I got the error message :
  FileNotFoundException.
  That means that the server search the file on its own file system : the
data
  on MY computer are not sent.
 
  Why ?
  I don't see the utility of such a method, in that case.
 
  Can somenone explain ?
 
  Thanx
 
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 
 

 Hi,

 Which putMethod method are you using ?

 I use a putMethod method that takes two arguments : the path on the
 server where the file has to be put and the file itself.

 My code looks like :

 if(!file.exists()) // exception handling
 else {
exit = resource.putMethod(path, file);
if(!exit) // exception handling
 }

 Jp


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: character encoding - put method

2002-05-24 Thread Elodie Tasia

Oh, it's in the source code. :o
But I usually use a binary distribution and I think it's a bit heavy if,
every time I need to configure that, I have to build my own sources, isn't ?
There isn't any other solution ?


- Original Message -
From: Pill, Juergen [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 6:16 PM
Subject: RE: character encoding - put method


It is a file in the class path org.apache.slide.

The source is located under:
...\jakarta-slide\src\share\org\apache\slide\slide.properties


juergen


 -Original Message-
From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 17.02 PM
To: Slide Users Mailing List
Subject: Re: character encoding - put method

Yes, I know, you wrote it in your precedent mails.
I'm sorry, but I can't see what slide.properties is, since it is not a
file...


- Original Message -
From: Pill, Juergen [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 4:33 PM
Subject: RE: character encoding - put method


The server encoding can be specified in slide.properties (e.g.
org.apache.slide.urlEncoding=UTF-8, default is platform encoding to work
best with webFolders).

Juergen


 -Original Message-
From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 15.49 PM
To: Slide Users Mailing List
Subject: Re: character encoding - put method

How can I use that ? Where can I configure this URL encoding ?

- Original Message -
From: Pill, Juergen [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 3:34 PM
Subject: RE: character encoding - put method


Hello,

The default for the client is utf-8, the default for the server is platform
encoding, this could explain your problems. Do you want to try to use
org.apache.slide.urlEncoding=UTF-8 to set the server to utf-8.

Best regards

Juergen



 -Original Message-
From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 14.22 PM
To: Slide Users Mailing List
Subject: Re: character encoding - put method

I'm using both Slide server and Slide client, so I can't see why I could get
such a problem, if they're using the same encoding

- Original Message -
From: Pill, Juergen [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 12:41 PM
Subject: RE: character encoding - put method


Hello,

Did you make sure, that client and server are using the same url encoding.
The server encoding can be specified in slide.properties (e.g.
org.apache.slide.urlEncoding=UTF-8, default is platform encoding to work
best with webFolders). Which client did you use. WebFolders uses
platform-specific encoding, IE either utf-8 (default) or uses
platform-specific encoding. Slide client API uses utf-8 as default.

Best regards,

Juergen



 -Original Message-
From: Elodie Tasia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11.38 AM
To: Slide Group
Subject: character encoding - put method

Hi,

I've got a problem with special characters, like é or è for example.
When you put a file on the server whose name has such a character, your è
becomes a è !!!
What can I do against that ?


thanx

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




<    1   2   3   4   5   6   >