JSFUnit not running.
by Anusha.S.Muralikrishnan
hi,
Please help me resolve this.
i am getting the following error whereas i have included all the jars..
Since we are going Calypso project (its an extension on MyFaces) i have host
of other jars.
JDK1.5,
Tomcat 5.5
JSF
using JSFUnit,
URL i am using
http://localhost:8080/JSFSample/ServletTestRunner?suite=com.anu.JSFUnitTe...
when i use
http://localhost:8080/JSFSample/ServletTestRunner?suite=com.anu.JSFUnitTest<http://localhost:8080/JSFSample/ServletTestRunner?suite=com.anu.JSFUnitTe...>
i
can see
* * <?xml version="1.0" encoding="UTF-8" ?>
*-*<http://localhost:8080/NewReporter/ServletTestRunner?suite=com.nsn.nr.cm.c...>
<testsuites>
*-*<http://localhost:8080/NewReporter/ServletTestRunner?suite=com.nsn.nr.cm.c...>
<testsuite name="*com.nsn.nr.cm.cmviewer.dataaccessbean.JSFUnitTest*" tests
="*1*" failures="*0*" errors="*1*" time="*0.328*">
*-*<http://localhost:8080/NewReporter/ServletTestRunner?suite=com.nsn.nr.cm.c...>
<testcase name="*testInitialPage*" time="*0.297*">
* * <error message="*JTidy parser not available*" type="*
org.apache.cactus.internal.client.ServletExceptionWrapper*">*java.lang.RuntimeException:
JTidy parser not available at
com.meterware.httpunit.parsing.HTMLParserFactory.useJTidyParser(HTMLParserFactory.java:60)
at
org.jboss.jsfunit.framework.WebConversationFactory.makeWebConversation(WebConversationFactory.java:98)
at
org.jboss.jsfunit.facade.JSFClientSession.<init>(JSFClientSession.java:74)
at
com.nsn.nr.cm.cmviewer.dataaccessbean.JSFUnitTest.testInitialPage(JSFUnitTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
at
org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
at
org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
at
org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:217)
at
org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
at
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
at
org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:217)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
at
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
at
org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:217)
at
org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:123)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.nsn.calypso.LocaleFilter.doFilter(LocaleFilter.java:61) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)*</error>
* * </testcase>
* * </testsuite>
* * </testsuites>
Thanks
Anusha
16 years, 7 months
cactus-report.xsl giving error
by Anusha.S.Muralikrishnan
Hi Sir/Madam
I am trying to test my JSF Application. As in JSFUnit demo I executed the
steps but i get the following error:
**
*The XML page cannot be displayed
*Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or *try again later. *
The sample program from http://www.jboss.org/jsfunit/gettingstarted.html is
whAT i tried to implement.
I am new to JSF and JSFUnit. Please help me get a direction for the same.
Thanks,
Anusha.
16 years, 7 months
Stream Closed while importing a file system
by Anusha.S.Muralikrishnan
Hi,
I am facing an unique error, I have imported an working copy to my working
folder but i am getting the error. Can u please help me resolve the error.
--
Take care,
With Best wishes always,
An (Usha + Anya) & Murali.
16 years, 7 months