Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Resin 2.0.5 vs Resin 2.1.X XSLT diff?

Reply
Thread Tools

Resin 2.0.5 vs Resin 2.1.X XSLT diff?

 
 
asaguden
Guest
Posts: n/a
 
      01-24-2005
Hi,
We have a production env with Resin 2.0.5 and
a development end with Resin 2.1.X.

Xslt cmd '<xsl:import href="common/general.xsl"/>' in file.xsl
works fine in Resin 2.1.X with
Java imports:
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;

and transform code:
Transformer xsl = getTransform( "file.xsl" );
xsl.transform( new StreamSource( new StringReader( obj.toXML() ) ),
new StreamResult( res.getOutputStream() ) );

BUT same code in Resin 2.0.5 throws:
java.io.IOException: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
"<swe>Fick IO-Undantag med stylesheet-fil</swe>: common/general.xsl
at
our.proprieritary.servlet.getTransform(OurBaseServ let.java:56) at
our.proprieritary.servlet.doPost(OurServlet.java:7 2) at
our.proprieritary.servlet.doGet(OurBaseServlet.jav a:110) at
our.proprieritary.servlet.service(OurBaseServlet.j ava:87) at
javax.servlet.http.HttpServlet.service(HttpServlet .java:103) at

com.caucho.server.http.FilterChainServlet.doFilter (FilterChainServlet.java:82)
at
com.caucho.server.http.Invocation.service(Invocati on.java:28 at

com.caucho.server.http.CacheInvocation.service(Cac heInvocation.java:132)
at

com.caucho.server.http.ServletServer.serviceTop(Se rvletServer.java:937)
at

com.caucho.server.http.HttpRequest.handleRequest(H ttpRequest.java:213)
at

com.caucho.server.http.HttpRequest.handleConnectio n(HttpRequest.java:15
at
com.caucho.server.TcpConnection.run(TcpConnection. java:140) at
java.lang.Thread.run(Thread.java:534)
What is the XSL difference between the two releases?
/ Peter

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resin Error: Init Marissa Java 2 10-15-2003 08:24 PM
detecting tomcat and resin luca passani Java 0 09-15-2003 04:38 PM
Tomcat, Resin and cookies luca passani Java 0 09-13-2003 04:23 PM
HTTPS connection using JSSE & Resin - the code works, but not sure why Keith G Java 0 09-08-2003 06:25 PM
Resin/JNDI: object lifecycle dhek bhun kho Java 0 07-02-2003 06:54 PM



Advertisments