quality@glassfish.java.net

Re: Unable to access unit test result log when deployed Hudson in GlassFish v3

From: Srinivas Naresh Bhimisetty <shri.naresh_at_gmail.com>
Date: Fri, 5 Feb 2010 12:04:59 +0530

BTW, I'm using Hudson v 1.312.

- Naresh

On Fri, Feb 5, 2010 at 12:02 PM, Srinivas Naresh Bhimisetty <
shri.naresh_at_gmail.com> wrote:

> Hi,
>
> I have Hudson deployed on GlassFish v3.
>
> Things are running extremely fine, except that when I try to access the
> logs of JUnit tests, I see some "Unable to parse Jelly..." kind of
> exceptions:
>
> --------------------------------------------------------------------------------------------------------------------------
> [#|2010-02-05T11:11:48.920+0530|WARNING|glassfishv3.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=28;_ThreadName=http-thread-pool-9090-(2);|StandardWrapperValve[Stapler]:
> PWC1406: Servlet.service() for servlet Stapler threw exception
> org.apache.commons.jelly.JellyException: Could not parse Jelly script
> at
> org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:525)
> at
> org.kohsuke.stapler.jelly.JellyClassTearOff.parseScript(JellyClassTearOff.java:31)
> at
> org.kohsuke.stapler.jelly.JellyClassTearOff.parseScript(JellyClassTearOff.java:22)
> at
> org.kohsuke.stapler.AbstractTearOff.findScript(AbstractTearOff.java:57)
> at
> org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:39)
> at
> org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:80)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:475)
> at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:309)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:309)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:309)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:424)
> at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:309)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:143)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> at
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91)
>
> --------------------------------------------------------------------------------------------------------------------------
>
>
> When I try to run Hudson standalone with the embedded Jetty container, I'm
> able to view the test logs without any issue.
>
> Please let me know what needs to be done to avoid this problem when using
> GlassFish.
>
> Thanks,
> Naresh
>