You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by ke...@yahoo.fr on 2007/01/11 14:23:53 UTC

RE : [jira] Commented: (SM-808) Servicemix jboss deployer

Thanks could you please create a svn diff onto your
code and attach it into this jira. 


--- "Eric Dofonsou (JIRA)" <ji...@apache.org> a écrit :

> 
>     [
>
https://issues.apache.org/activemq/browse/SM-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37887
> ] 
> 
> Eric Dofonsou commented on SM-808:
> ----------------------------------
> 
> Okay here are the two functinothat I've modified :
> 
> --------------
>     public SAXSource toSAXSourceFromDOM(DOMSource
> source) throws TransformerException {
>         StringWriter buffer = new StringWriter();
>         toResult(source, new StreamResult(buffer));
>         StringReader reader = new
> StringReader(buffer.getBuffer().toString());
>         return new SAXSource(new
> InputSource(reader));
>     }
> 
>     public Node toDOMNodeFromSAX(SAXSource source)
> throws ParserConfigurationException, IOException,
> SAXException, TransformerException {
> 
>         StringWriter buffer = new StringWriter();
>         toResult(source, new StreamResult(buffer));
>         StringReader reader = new
> StringReader(buffer.getBuffer().toString());
>         Document doc =
>
getDocumentBuilderFactory().newDocumentBuilder().parse(new
> InputSource(reader));
>         return doc;
>     }
> --------------
> 
> They both use the toResult fonction like you
> suggested guillaume, I no longer need to add the
> "full" version of xalan in my jboss lib.  Is this
> correct ? it works fine for me now.
> 
> Eric,
> 
> > Servicemix jboss deployer
> > -------------------------
> >
> >                 Key: SM-808
> >                 URL:
> https://issues.apache.org/activemq/browse/SM-808
> >             Project: ServiceMix
> >          Issue Type: Bug
> >         Environment: JBoss 4.0.5 GA
> >            Reporter: Eric Dofonsou
> >             Fix For: 3.1
> >
> >
> > The servicemix-jboss-deployer-3.1-SNAPSHOT.sar
> file generated by the jboss depolyer  does not
> include the xalan-2.7.0.jar file in the lib.  This
> is required by servicemix and is not included in
> jboss.
> > Adding the jar to the .sar file fixed the issue.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>
https://issues.apache.org/activemq/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> 
>         
> 



	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com