cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: SVG problems
Date Tue, 29 Jul 2003 14:22:53 GMT
What about any messages in the other .log files ?

>>> laura.mcdonald@ipov.net 29/07/2003 04:16:40 >>>
This is what I found

java.net.SocketException: Software caused connection abort: socket write 
error
<snip>


Derek Hohls wrote:

>Laura
>
>What error messages appear in the log files?
>
>Derek
>
>  
>
>>>>laura.mcdonald@ipov.net 29/07/2003 03:47:37 >>>
>>>>        
>>>>
>I had tried that before thats why I added all the other stuff. But I 
>tried agian just in case ;-) and still no luck. The page renders but 
>without the graphics. I'm using the graphics to link and the link works 
>but the jpeg never shows. Any other thoughts/comments would be greatly 
>appriciated
>
>Laura
>
>Derek Hohls wrote:
>
>  
>
>>Laura
>>
>>I have used the SVG serializer for a while on Cocoon 2.0.3/4 and
>>Tomcat 4 steup without any problems - I have only done the
>>SVG to JPEG serialisation and not the PNG.
>>
>>If it helps, my sitemap entry is very simple:
>>
>><map:serializer 
>> name="svg2jpeg" 
>> src="org.apache.cocoon.serialization.SVGSerializer" 
>> mime-type="image/jpeg"/>
>>
>>Maybe this will work?
>>
>>Derek
>>
>> 
>>
>>    
>>
>>>>>laura.mcdonald@ipov.net 28/07/2003 09:54:15 >>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>Hi, I'm a new user and am trying to use the  svg2jpeg serializer... I 
>>think all my xml and xsl is correct considering that when I do svg2png 
>>instead of svg2jpeg it works correctly. If I add a background that too 
>>will show up when using svg2jpeg but the picutre never does.
>>the following is my code from my components section
>>
>><map:serializer name="svg2jpeg" mime-type="image/jpeg" 
>>src="org.apache.cocoon.serialization.SVGSerializer">
>>               <parameter name="quality" type="float" value="0.9"/>
>>               <parameter name="transcoder" 
>>value="org.apache.batik.transcoder.image.JPEGTranscoder"/>
>>           </map:serializer>
>>           <map:serializer name="svg2png" mime-type="image/png" 
>>src="org.apache.cocoon.serialization.SVGSerializer"/>
>>
>>this is my code from my pipeline
>>       <map:pipeline>
>>           <map:match pattern="graphics/*">
>>               <map:generate src="svg.xml"/>
>>                <map:transform src="addlabel.xsl">
>>                   <map:parameter name="use-request-parameters" 
>>value="true"/>
>>                   <map:parameter name="label" value="{1}"/>
>>               </map:transform> 
>>               <map:serialize type="svg2png"/>
>>           </map:match>
>>       </map:pipeline>
>>
>>currently it reads svg2png and works correctly but if i change that to 
>>svg2jpeg , the page shows up but the jpegs dont. I'm using cocoon 2.0 
>>and tomcat. If anyone has any suggestions or knows anything that might 
>>be helpfull I would greatly appriciate it. Thanks
>>Laura
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
>>For additional commands, e-mail: users-help@cocoon.apache.org 
>>
>>
>>
>> 
>>
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
>For additional commands, e-mail: users-help@cocoon.apache.org 
>
>
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message