« Return to Thread: [jira] Created: (TAP5-745) Remove Woodstox-specific Stax implementation usage

Re: [jira] Commented: (TAP5-745) Remove Woodstox-specific Stax implementation usage

by Christian Edward Gruber-2 :: Rate this Message:

Reply to Author | View in Thread

One little patch that's already provided, man!   Puhleeeez?

Any other committers willing to step-up?  HLS is determined to  
document and is unavailable but not opposed (his words) to a 5.1.0.6.  
I know those burned by StAX would be grateful.

cheers,
Christian.

On Jun 30, 2009, at 6:34 PM, Thiago H. de Paula Figueiredo (JIRA) wrote:

>
>    [ https://issues.apache.org/jira/browse/TAP5-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725838 
> #action_12725838 ]
>
> Thiago H. de Paula Figueiredo commented on TAP5-745:
> ----------------------------------------------------
>
> Christian: Yes, I'm a committer, unfortunately too busy to  
> contribute to Tapestry lately. :(
>
>> Remove Woodstox-specific Stax implementation usage
>> --------------------------------------------------
>>
>>                Key: TAP5-745
>>                URL: https://issues.apache.org/jira/browse/TAP5-745
>>            Project: Tapestry 5
>>         Issue Type: Bug
>>         Components: tapestry-core
>>   Affects Versions: 5.1.0.0, 5.1.0.1, 5.1.0.2, 5.1.0.3, 5.1.0.4,  
>> 5.1.0.5, 5.1
>>           Reporter: Christian Köberl
>>           Priority: Critical
>>        Attachments: TAP5-745-5.1.0.5.patch
>>
>>
>> Tapestry uses some special extensions to StaX (out of Woodstox) in  
>> the template parser. This leads to the problem that Tapestry will  
>> usually not run on any application server because the appservers  
>> will use their own implementation of Stax.
>> There is a workaround but a main stream web application framework  
>> should run on JEE compatible web and application servers without  
>> tweaking.
>> The main problem is in  
>> org
>> .apache
>> .tapestry5
>> .internal
>> .services.TemplateParserImpl.<init>(TemplateParserImpl.java:44).  
>> Here, XMLInputFactory2 is asked for an instance - but  
>> XMLInputFactory2 does not implement the method newInstance. This is  
>> delegated to XMLInputFactory. So, the original XMLInputFactory is  
>> used - which returns the platform implementation of Stax.
>> Workaround:
>> Add the system property below to Application Server (either via  
>> startup script or admin console):
>> -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>

Christian Edward Gruber
christianedwardgruber@...
http://www.geekinasuit.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: [jira] Created: (TAP5-745) Remove Woodstox-specific Stax implementation usage