You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by zack1403 <za...@gmail.com> on 2009/08/06 19:42:50 UTC
Re: Intermittent Stax Exception
Hey guys this has actually become a big issue as it is breaking a substantial
part of our app. There is not a single line of my code in the trace. Ive
tried upgrading to the most recent snapshot with the same results. It
really looks like its a problem with woodstox. Can anyone help me out?
Zack
zack1403 wrote:
>
> I am actually able to reproduce one situation where it shows up. If I
> modify the source of ViewEmail.tml the exception shows up. A restart
> promptly fixes it. This is just one instance, as it will show up from
> time to time on production which is not being modified.
>
> I'm not sure it is an issue with the file system as it is showing up on
> multiple machines and containers. The example described above is using
> the jetty:run goal and my production machine is using Tomcat. Is it
> possible Stax is trying to something funky and causing that exception?
>
> Zack
>
>
--
View this message in context: http://www.nabble.com/Intermittent-Stax-Exception-tp24648581p24851235.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Intermittent Stax Exception
Posted by zack1403 <za...@gmail.com>.
Thanks for the points felix. The real issue is that the exception is
intermittent. I've closed the bug 2 times only to be opened again when
customers start calling. The page is incredibly simple and I can safely say
everything is split up as much as possible. Its a simple unsubscribe page
very disconnected from the rest of the app. All my machines are on java 6.
Luckily I dont work on any non unix based systems so case sensitivity is not
an issue.
Is there still no way to turn off live class reloading?
Thanks again,
Zack
Felix Gonschorek-2 wrote:
>
> hi zack,
>
> i'am very sorry to hear that it was'nt possible to find a solution and
> that you
> are going to switch the framework. we've had problems too but luckily we
> were
> able to solve them all so far.
>
> since we are using tapestry we are way more productive than with other
> frameworks or technologies before - i wish you could tell the same.
>
> here are some more tipps:
>
> - somtimes the page or page class rewriting fails - mostly if you access
> services, session state object or symbols in event methods in nested
> method
> calls. in these cases i divide and remove parts from the code until it
> starts to
> work again and then i split up the method calls in several lines like:
>
> before:
> boolean result = myService1.serviceCall1(myOhterService2.serviceCall2());
>
> after:
> Bean b = myOtherService2.serviceCall2();
> boolean result = myService1.serviceCall1(b);
>
> - make absolutely sure, that you have the right dependencies in your path
> (maven
> dependency tree).
>
> - use the latest jdk version
>
> - since you posted a stack trace with filesystem related problems before:
> check
> the lower/UPPER case names of files (classes/tml/gfx). we have people over
> here
> working with windows and since the windows filesystems don't make a
> differeence
> between uppper and lower case problems occur first on unix machines.
>
> I am sure that you already knew my points, but maybe you missed one.
>
> I hope that you will finally find a solution.
>
>
> Felix
>
--
View this message in context: http://www.nabble.com/Intermittent-Stax-Exception-tp24648581p25051435.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Intermittent Stax Exception
Posted by Felix Gonschorek <fe...@ggmedia.net>.
hi zack,
i'am very sorry to hear that it was'nt possible to find a solution and that you
are going to switch the framework. we've had problems too but luckily we were
able to solve them all so far.
since we are using tapestry we are way more productive than with other
frameworks or technologies before - i wish you could tell the same.
here are some more tipps:
- somtimes the page or page class rewriting fails - mostly if you access
services, session state object or symbols in event methods in nested method
calls. in these cases i divide and remove parts from the code until it starts to
work again and then i split up the method calls in several lines like:
before:
boolean result = myService1.serviceCall1(myOhterService2.serviceCall2());
after:
Bean b = myOtherService2.serviceCall2();
boolean result = myService1.serviceCall1(b);
- make absolutely sure, that you have the right dependencies in your path (maven
dependency tree).
- use the latest jdk version
- since you posted a stack trace with filesystem related problems before: check
the lower/UPPER case names of files (classes/tml/gfx). we have people over here
working with windows and since the windows filesystems don't make a differeence
between uppper and lower case problems occur first on unix machines.
I am sure that you already knew my points, but maybe you missed one.
I hope that you will finally find a solution.
Felix
zack1403 schrieb:
> Ummm alright well I guess this is just a bug? We are switching the site
> slowly back over to a more mature framework without all the bugs. I am
> having to rewrite this isolated page in php to get it working in the mean
> time. I guess I bet on the wrong horse with tapestry.
>
> Zack
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Intermittent Stax Exception
Posted by zack1403 <za...@gmail.com>.
Ummm alright well I guess this is just a bug? We are switching the site
slowly back over to a more mature framework without all the bugs. I am
having to rewrite this isolated page in php to get it working in the mean
time. I guess I bet on the wrong horse with tapestry.
Zack
--
View this message in context: http://www.nabble.com/Intermittent-Stax-Exception-tp24648581p25049792.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Intermittent Stax Exception
Posted by zack1403 <za...@gmail.com>.
Thanks for the help felix! I regularly check the dependency hierarchy to
make sure there are not any big conflicts. Commons-collections is
conflicted but thats it. Nothing in woodstox or javassist. I have had so
many issues like this lately with tapestry. Its incredibly annoying and
time wasting.
Zack
Did you check that you don't have any dependencies which override tapestry
dependencies? i had several time problems with woodstox and javassist when
there
where wrong (mostly older) versions resolved (versions differing from
tapestry's
(transitive) dependencies). the maven tree dependencies view in the eclipse
m2eclipse plugin always helped me to solve the problems - i excluded the
dependencies from other artifacts.
felix
--
View this message in context: http://www.nabble.com/Intermittent-Stax-Exception-tp24648581p24867903.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Intermittent Stax Exception
Posted by Felix Gonschorek <fe...@ggmedia.net>.
Did you check that you don't have any dependencies which override tapestry
dependencies? i had several time problems with woodstox and javassist when there
where wrong (mostly older) versions resolved (versions differing from tapestry's
(transitive) dependencies). the maven tree dependencies view in the eclipse
m2eclipse plugin always helped me to solve the problems - i excluded the
dependencies from other artifacts.
felix
zack1403 schrieb:
> Hey guys this has actually become a big issue as it is breaking a substantial
> part of our app. There is not a single line of my code in the trace. Ive
> tried upgrading to the most recent snapshot with the same results. It
> really looks like its a problem with woodstox. Can anyone help me out?
>
> Zack
>
>
> zack1403 wrote:
>> I am actually able to reproduce one situation where it shows up. If I
>> modify the source of ViewEmail.tml the exception shows up. A restart
>> promptly fixes it. This is just one instance, as it will show up from
>> time to time on production which is not being modified.
>>
>> I'm not sure it is an issue with the file system as it is showing up on
>> multiple machines and containers. The example described above is using
>> the jetty:run goal and my production machine is using Tomcat. Is it
>> possible Stax is trying to something funky and causing that exception?
>>
>> Zack
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org