junitee-user Mailing List for JUnitEE
Brought to you by:
o_rossmueller
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(3) |
Oct
(21) |
Nov
(7) |
Dec
(7) |
| 2003 |
Jan
(19) |
Feb
(15) |
Mar
(18) |
Apr
(10) |
May
(10) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(7) |
Oct
(3) |
Nov
(12) |
Dec
(9) |
| 2004 |
Jan
(6) |
Feb
(6) |
Mar
(9) |
Apr
(7) |
May
(13) |
Jun
(8) |
Jul
(6) |
Aug
(3) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(7) |
| 2005 |
Jan
(2) |
Feb
(1) |
Mar
(5) |
Apr
|
May
(9) |
Jun
(1) |
Jul
(4) |
Aug
(4) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2006 |
Jan
(5) |
Feb
(3) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(5) |
| 2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Peter K <pki...@ho...> - 2013-02-08 12:59:42
|
By Peter K http://www.mencas.es/2013choise.html |
|
From: <Sri...@co...> - 2012-06-21 10:14:02
|
I need samples to test a normal web application that is written in struts or spring mvc. Besides that I would like to know if I can generate code coverage for web application Thanks and regards, Architect - Projects, SrinivasaRao Gurram | IME | Cognizant Technology Solutions, Hyderabad VNET: 682787| Phone: (India) +91-40-44512787 | (US) +1 973-368 9600 Extn: 682787 | (UK) 207-531-9340 Extn: 62787 | Mobile:9989764000 This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. |
|
From: Miral P. <pat...@gm...> - 2012-01-12 21:44:33
|
I have simple test class which extends TestCase. In web-inf , I have file named testCase.txt. When I am acessing servlet /TestServlet, its not finding any testcases. Do I need any configuration in web.xml for this mode. My current configuration: <web-app> <display-name>*Einstein* Unit Tester Web Application</display-name> <servlet> <servlet-name>JUnitEETestServlet</servlet-name> <description>JUnitEE test runner</description> <servlet-class>*org*.*junitee*.*servlet*.JUnitEEServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>JUnitEETestServlet</servlet-name> <url-pattern>/TestServlet/*</url-pattern> </servlet-mapping> </web-app> -- Thanks and regards, Miral Patel |
|
From: Drake P. <dph...@sa...> - 2011-10-19 20:36:23
|
I am running this in RAD 7.5.4. I am having the same null pointer issue described here. http://www.coderanch.com/t/422297/Testing/JunitEE I have all the correct jars in the WEB-INF lib directory of my Dynamic Web Project. [10/19/11 15:27:30:407 EDT] 00000024 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [WC] [/junit] [JUnitEEServlet]: Initialization successful. [10/19/11 15:27:30:422 EDT] 00000024 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet JUnitEEServlet in application WC. Exception created : java.lang.NullPointerException at org.junitee.servlet.JUnitEEServlet.streamResource(JUnitEEServlet.java:251) at org.junitee.servlet.JUnitEEServlet.doGet(JUnitEEServlet.java:119) Can someone elaborate on this comment? You will have to create the object of TestRunner Class in your servlet and then call the run method on this object. Then Pass the TestRunnerResult Object to create the object of OutputProducer class . Call render() method on this object of OutputProducer Class. -- Thanks! Drake Philbrook |
|
From: <Sum...@co...> - 2011-10-13 06:57:31
|
Hi, I have used JUNITEE, to do in-container testing for my EJB 3.0 session beans. But I am not finding the way to apply and generate code coverage on JUNITEE test cases. Please help me for any solutions if you know already. Thanks in advance, Sumit Apani. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. |
|
From: Kalpana A. <kal...@gm...> - 2011-06-09 01:41:05
|
Junitee2.0 has to be downloaded from http://sourceforge.net/projects/junite2/ for compatibility towards Junit 4. I have used it and it works great On Wed, Jun 8, 2011 at 6:05 AM, Sreedhar A <asr...@gm...> wrote: > Hi, > > At present JUnitee is using JUnit3. > Is JUnitee will support JUnit4 in feature??????? > > Thanks > Sreedhar Adigopula > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > > |
|
From: Sreedhar A <asr...@gm...> - 2011-06-08 10:05:39
|
Hi, At present JUnitee is using JUnit3. Is JUnitee will support JUnit4 in feature??????? Thanks Sreedhar Adigopula |
|
From: matias e. <me...@gm...> - 2011-02-28 22:16:38
|
howdy: i was just cruising over your homepage (www.junitee.org) and tried to access the (broken) link to "Test Infected" -- that should be this URL instead: http://junit.sourceforge.net/doc/testinfected/testing.htm same path, just different domain. thanks for writing junitee; that person you describe (over-caffinated, recurring bug) -- that's me right now :( hope to fix that and infect my team with junit. cheers, matias |
|
From: smile d. <no...@ne...> - 2010-04-29 16:54:30
|
Hey, I have created a Netlog profile with my pictures, videos, blogs and events and I want to add you as a friend so you can see it. You first need to register on Netlog! When you log in, you can create your own profile. Take a look: http://en.netlog.com/go/mailurl/-bT03OTEyMzE4NzAmbD0xJmdtPTM3JnU9JTJGZ28lMkZyZWdpc3RlciUyRmlkJTNEMTg2MDAzMzM2NCUyNmklM0R0OTE_ Cheers, smile ---------------------------------------------------------------- Don't want to receive invitations from your friends anymore? http://en.netlog.com/go/mailurl/-bT03OTEyMzE4NzAmbD0yJmdtPTM3JnU9JTJGZ28lMkZub21haWxzJTJGaW52aXRlJTJGZW1haWwlM0QtYW5WdWFYUmxaUzExYzJWeVFHeHBjM1J6TG5OdmRYSmpaV1p2Y21kbExtNWxkQV9fJTI2Y29kZSUzRDEwMjcxNjg5JTI2aWQlM0QxODYwMDMzMzY0JTI2aSUzRHQ5Mg__ |
|
From: smile d. <smi...@gm...> - 2010-02-25 21:27:25
|
Hi All,
The JUnitEE test results XML format is not same as JUnit test results XML
format.
Can someone help me in making JUnitEE test results XML in the same format as
JUnit XML format?
Following is the junitee ant task to execute my tests.
<junitee url="${WEBAPP_GENERIC_URL}/TestServlet" printsummary="true"
haltonfailure="false" haltonerror="false" filtertrace="false">
<formatter type="xml"/>
<formatter type="brief" usefile="false"/>
<test runall="true" failureproperty="tests.failed"
todir="${reportsdir}"/>
</junitee>
I see the results xml as below:
<testsuite errors="0" failures="0" name="SearchTest"
package="com.abcd.xyz" tests="14" time="43.946">
<testcase name="testRegistrationSearch" time="4.578"></testcase>
<testcase name="testSubcatSearch" time="2.707"></testcase>
<testcase name="testSimpleSearchString" time="2.948"></testcase>
</testsuite>
But I need the result xml output to be in the following format ( like the
output if executed as JUnit test)
<testsuite errors="0" failures="0" name="SearchTest"
package="com.abcd.xyz" tests="14" time="43.946">
<testcase name="testRegistrationSearch" time="4.578"></testcase>
<testcase classname="com.abcd.xyz.SearchTest"
name="testSubcatSearch" time="2.707"></testcase>
<testcase classname="com.abcd.xyz.SearchTest"
name="testSimpleSearchString" time="2.948"></testcase>
</testsuite>
I need this in the same formate as JUnit test results Since in my company
the test results (only in JUnit test results format ) are automatically read
& posted in the dashboard.
I searched in the junitee.org, where it says the results are in line with
the junit tests. So i wonder if i am missing something in my junitee ant
task so that i am missing the classname.
Any help on this would be greatly appreciated !
Thanks & Regards
Dinakar
|
|
From: Shantaram <svw...@gm...> - 2010-02-17 04:34:33
|
Hi, Are there any plans to add TestNG support to the framework ? If not, i can try porting to TestNG. -- Thanks & Regards, Shantaram Waingankar Saba Software India Pvt. Ltd. Cell +91 9969035764 Small Loans, Big Impacts. Log on to www.rangde.org to make a social investment today! |
|
From: Sandro H. <san...@we...> - 2009-10-17 08:58:55
|
Hi, i dont know... I finally used TestNG, Selenium and Emma with Seam. Regards, Sandro David Conil schrieb: > Hi all, > > Is this project still active? How to contribute? > > Best regards, > David > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ------------------------------------------------------------------------ > > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > |
|
From: David C. <dav...@gm...> - 2009-10-17 07:57:37
|
Hi all, Is this project still active? How to contribute? Best regards, David |
|
From: Wade T. <way...@gm...> - 2009-05-06 12:18:28
|
I would recommend creating a new build for the production environment; the only way you could potentially disable JunitEE is probably through whatever application server you're using. I also think your concerns about deploying the application excluding the test classes are extreme. You are putting an untested "build" in production, but the application has been tested. -w On Tue, May 5, 2009 at 6:33 PM, Peter Kelly <pki...@ho...> wrote: > I'm new to JunitEE and from reading the documentation it is not clear what > the approach is to disable the JunitEE TestServlet in production. > > JunitEE and associated test classes are being added to an existing > application so that the test classes can access existing Services and > infrastructure in the app that is being tested. Once the build is done it is > installed in the App Server and the JunitEE tests are run. Eventually the > exact same build will go to production so how do we disable it there or do > we need to create a new build excluding the JunitEE jars and test classes? > The preference would be not to create a new build but to somehow disable > JunitEE. Otherwise we would be testing one app, re-building and essentially > putting an un-tested build in production. > > Any help/suggestions is appreciated. > > Regards, > Peter Kelly > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > > |
|
From: Peter K. <pki...@ho...> - 2009-05-05 22:33:31
|
I'm new to JunitEE and from reading the documentation it is not clear what the approach is to disable the JunitEE TestServlet in production. JunitEE and associated test classes are being added to an existing application so that the test classes can access existing Services and infrastructure in the app that is being tested. Once the build is done it is installed in the App Server and the JunitEE tests are run. Eventually the exact same build will go to production so how do we disable it there or do we need to create a new build excluding the JunitEE jars and test classes? The preference would be not to create a new build but to somehow disable JunitEE. Otherwise we would be testing one app, re-building and essentially putting an un-tested build in production. Any help/suggestions is appreciated. Regards, Peter Kelly |
|
From: Andre L. <al...@ar...> - 2008-09-03 09:21:55
|
Hi all, I've started using JUnitEE in the last few days, and when using the version 1.11 everything was ok. Then yesterday, I've tried to upgrade my test files for JUnitEE 2.0.0. I've made all necessary changes, deployed the project in a WAR file(same method i've used with v1.11) and then i've runned the tests. The tests have done their job with success, has expected, but in the HTML output, the browser wasn't able to render the images (like, bullets_green_hook.png, info.png, etc), showing only the text of the "alt" property of the "img" HTML tag. The problem occurs: * Executing a SuiteTest from http://localhost:8080/TestApp/TestApp * Executing a single test selected in a form (v1.11 tutorial form) in http://localhost:8080/TestApp I'm using: * The jar file available at http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/junite2-2.0.0.jar * Junit4.5 jar file * JBoss 4.0.5 The web.xml file is: <?xml version="1.0" encoding="utf-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>TestApp</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <servlet> <servlet-name>TestAppServlet</servlet-name> <servlet-class>org.junitee.servlet.JUnitEEServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>TestAppServlet</servlet-name> <url-pattern>/TestApp/*</url-pattern> </servlet-mapping> </web-app> Any help would be appreciated. Many thanks, Andre Lopes |
|
From: Wade T. <way...@gm...> - 2008-06-06 14:26:14
|
- the package names for junit 3.8 are junit.* - the package names for junit 4 are org.junit.* if you look at the source of junitee-1.11 you can see that the import statements are all "junit.*" NOT "org.junit.*". different package names means they're basically different classes. i don't use maven, but i can still use the junitee-2 jar. to upgrade, you would just replace the junitee-1.11 jar with junitee-2 jar and convert all your test cases to junit 4 test cases. -w On Fri, Jun 6, 2008 at 9:46 AM, TS <10t...@gm...> wrote: > Thnaks Wade, > > > the answer to #1 is no, but that is junit's fault for changing all their > > package names in version 4. > > This means JUNITEE can't recognize its test cases written in JUNIT4 is > not JUNITEE fault itself > buy JUNIT fault?? > > >i don't use maven so i won't be much help on #2. > > Then, how can I use the latest test version?? > The URL you sent to me doesn't explain anything how to setup and use it... > > > > 2008/6/6 Wade Taylor <way...@gm...>: > > the answer to #1 is no, but that is junit's fault for changing all their > > package names in version 4. i don't use maven so i won't be much help on > #2. > > > > > > > > -w > > > > > > > > > > On Fri, Jun 6, 2008 at 4:15 AM, TS <10t...@gm...> wrote: > >> > >> Wade > >> > >> Thanks for your reply. > >> > >> However, could you tell me more details?? > >> > >> 1. Is it possible for "junitee-1.11" to recognize JUNIT4 Test case?? > >> If it's possible, then how to do it?? > >> > >> 2. In case of the latest test release of JUNITEE, > >> Is there any guideline for describing how to use it??? > >> > >> It seems "pom.xml" file in test version doesn't work correctly... > >> I got those types of errors during compiling... Is the remote > >> repositry location right??? > >> > >> ===== > >> $ mvn compile > >> [INFO] Scanning for projects... > >> Downloading: > >> > http://repo1.maven.org/maven2/net/sourceforge/junitee/juniteepom/2.0.0/juniteepom-2.0.0.pom > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] FATAL ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Failed to resolve artifact. > >> > >> GroupId: net.sourceforge.junitee > >> ArtifactId: juniteepom > >> Version: 2.0.0 > >> > >> Reason: Unable to download the artifact from any repository > >> > >> net.sourceforge.junitee:juniteepom:pom:2.0.0 > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Trace > >> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > >> net.sourceforge.junitee:juniteepom for project: net.sourceforge.junite > >> e:junite2:jar:2.0.0 for project > net.sourceforge.junitee:junite2:jar:2.0.0 > >> at > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) > >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:585) > >> at > >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >> at > >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot > >> find parent: net.sourceforge.junitee:juniteepom for project: > >> net.source > >> forge.junitee:junite2:jar:2.0.0 for project > >> net.sourceforge.junitee:junite2:jar:2.0.0 > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198) > >> at > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) > >> at > >> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) > >> at > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) > >> ... 11 more > >> Caused by: org.apache.maven.project.ProjectBuildingException: POM > >> 'net.sourceforge.junitee:juniteepom' not found in repository: Unable > >> to do > >> wnload the artifact from any repository > >> > >> net.sourceforge.junitee:juniteepom:pom:2.0.0 > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> for project net.sourceforge.junitee:juniteepom > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) > >> at > >> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) > >> ... 17 more > >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > >> Unable to download the artifact from any repository > >> > >> net.sourceforge.junitee:juniteepom:pom:2.0.0 > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2) > >> > >> > >> > >> 2008/6/5 Wade Taylor <way...@gm...>: > >> > follow the URL to download the jar... > >> > > >> > > http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/ > >> > > >> > or if you use maven, then follow the instructions. > >> > > >> > > >> > > >> > > >> > > >> > > >> > On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote: > >> >> > >> >> Hello all, > >> >> > >> >> My name is Takashi. Currently, I'm using junitee-1.11. > >> >> It works fine with JUnit3 frameworks, however, when I try to > integrate > >> >> JUnit4 farameworks, > >> >> it doesn't recognize Test Caess.... > >> >> > >> >> How can I integrate JUnit4 frameworks to JUnitEE?? > >> >> > >> >> I've already checked this URL, > >> >> http://sourceforge.net/forum/forum.php?forum_id=726010 > >> >> > >> >> However, a lot of information is missing... > >> >> I have no idea how to use this test release.... > >> >> > >> >> Any suggestions are realy appreciated. > >> >> > >> >> > >> >> Takashi > >> >> > >> >> > >> >> > ------------------------------------------------------------------------- > >> >> Check out the new SourceForge.net Marketplace. > >> >> It's the best place to buy or sell services for > >> >> just about anything Open Source. > >> >> http://sourceforge.net/services/buy/index.php > >> >> _______________________________________________ > >> >> junitee-user mailing list > >> >> jun...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/junitee-user > >> > > >> > > >> > > >> > > ------------------------------------------------------------------------- > >> > Check out the new SourceForge.net Marketplace. > >> > It's the best place to buy or sell services for > >> > just about anything Open Source. > >> > http://sourceforge.net/services/buy/index.php > >> > _______________________________________________ > >> > junitee-user mailing list > >> > jun...@li... > >> > https://lists.sourceforge.net/lists/listinfo/junitee-user > >> > > >> > > >> > >> > ------------------------------------------------------------------------- > >> Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://sourceforge.net/services/buy/index.php > >> _______________________________________________ > >> junitee-user mailing list > >> jun...@li... > >> https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > junitee-user mailing list > > jun...@li... > > https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > |
|
From: TS <10t...@gm...> - 2008-06-06 13:46:09
|
Thnaks Wade, > the answer to #1 is no, but that is junit's fault for changing all their > package names in version 4. This means JUNITEE can't recognize its test cases written in JUNIT4 is not JUNITEE fault itself buy JUNIT fault?? >i don't use maven so i won't be much help on #2. Then, how can I use the latest test version?? The URL you sent to me doesn't explain anything how to setup and use it... 2008/6/6 Wade Taylor <way...@gm...>: > the answer to #1 is no, but that is junit's fault for changing all their > package names in version 4. i don't use maven so i won't be much help on #2. > > > > -w > > > > > On Fri, Jun 6, 2008 at 4:15 AM, TS <10t...@gm...> wrote: >> >> Wade >> >> Thanks for your reply. >> >> However, could you tell me more details?? >> >> 1. Is it possible for "junitee-1.11" to recognize JUNIT4 Test case?? >> If it's possible, then how to do it?? >> >> 2. In case of the latest test release of JUNITEE, >> Is there any guideline for describing how to use it??? >> >> It seems "pom.xml" file in test version doesn't work correctly... >> I got those types of errors during compiling... Is the remote >> repositry location right??? >> >> ===== >> $ mvn compile >> [INFO] Scanning for projects... >> Downloading: >> http://repo1.maven.org/maven2/net/sourceforge/junitee/juniteepom/2.0.0/juniteepom-2.0.0.pom >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: net.sourceforge.junitee >> ArtifactId: juniteepom >> Version: 2.0.0 >> >> Reason: Unable to download the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: >> net.sourceforge.junitee:juniteepom for project: net.sourceforge.junite >> e:junite2:jar:2.0.0 for project net.sourceforge.junitee:junite2:jar:2.0.0 >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot >> find parent: net.sourceforge.junitee:juniteepom for project: >> net.source >> forge.junitee:junite2:jar:2.0.0 for project >> net.sourceforge.junitee:junite2:jar:2.0.0 >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198) >> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) >> at >> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) >> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) >> ... 11 more >> Caused by: org.apache.maven.project.ProjectBuildingException: POM >> 'net.sourceforge.junitee:juniteepom' not found in repository: Unable >> to do >> wnload the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> for project net.sourceforge.junitee:juniteepom >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) >> at >> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) >> ... 17 more >> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: >> Unable to download the artifact from any repository >> >> net.sourceforge.junitee:juniteepom:pom:2.0.0 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> >> 2008/6/5 Wade Taylor <way...@gm...>: >> > follow the URL to download the jar... >> > >> > http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/ >> > >> > or if you use maven, then follow the instructions. >> > >> > >> > >> > >> > >> > >> > On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote: >> >> >> >> Hello all, >> >> >> >> My name is Takashi. Currently, I'm using junitee-1.11. >> >> It works fine with JUnit3 frameworks, however, when I try to integrate >> >> JUnit4 farameworks, >> >> it doesn't recognize Test Caess.... >> >> >> >> How can I integrate JUnit4 frameworks to JUnitEE?? >> >> >> >> I've already checked this URL, >> >> http://sourceforge.net/forum/forum.php?forum_id=726010 >> >> >> >> However, a lot of information is missing... >> >> I have no idea how to use this test release.... >> >> >> >> Any suggestions are realy appreciated. >> >> >> >> >> >> Takashi >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Check out the new SourceForge.net Marketplace. >> >> It's the best place to buy or sell services for >> >> just about anything Open Source. >> >> http://sourceforge.net/services/buy/index.php >> >> _______________________________________________ >> >> junitee-user mailing list >> >> jun...@li... >> >> https://lists.sourceforge.net/lists/listinfo/junitee-user >> > >> > >> > >> > ------------------------------------------------------------------------- >> > Check out the new SourceForge.net Marketplace. >> > It's the best place to buy or sell services for >> > just about anything Open Source. >> > http://sourceforge.net/services/buy/index.php >> > _______________________________________________ >> > junitee-user mailing list >> > jun...@li... >> > https://lists.sourceforge.net/lists/listinfo/junitee-user >> > >> > >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> junitee-user mailing list >> jun...@li... >> https://lists.sourceforge.net/lists/listinfo/junitee-user > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > > |
|
From: Wade T. <way...@gm...> - 2008-06-06 13:40:15
|
the answer to #1 is no, but that is junit's fault for changing all their package names in version 4. i don't use maven so i won't be much help on #2. -w On Fri, Jun 6, 2008 at 4:15 AM, TS <10t...@gm...> wrote: > Wade > > Thanks for your reply. > > However, could you tell me more details?? > > 1. Is it possible for "junitee-1.11" to recognize JUNIT4 Test case?? > If it's possible, then how to do it?? > > 2. In case of the latest test release of JUNITEE, > Is there any guideline for describing how to use it??? > > It seems "pom.xml" file in test version doesn't work correctly... > I got those types of errors during compiling... Is the remote > repositry location right??? > > ===== > $ mvn compile > [INFO] Scanning for projects... > Downloading: > http://repo1.maven.org/maven2/net/sourceforge/junitee/juniteepom/2.0.0/juniteepom-2.0.0.pom > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: net.sourceforge.junitee > ArtifactId: juniteepom > Version: 2.0.0 > > Reason: Unable to download the artifact from any repository > > net.sourceforge.junitee:juniteepom:pom:2.0.0 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > net.sourceforge.junitee:juniteepom for project: net.sourceforge.junite > e:junite2:jar:2.0.0 for project net.sourceforge.junitee:junite2:jar:2.0.0 > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot > find parent: net.sourceforge.junitee:juniteepom for project: > net.source > forge.junitee:junite2:jar:2.0.0 for project > net.sourceforge.junitee:junite2:jar:2.0.0 > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) > at > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198) > at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) > at > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) > ... 11 more > Caused by: org.apache.maven.project.ProjectBuildingException: POM > 'net.sourceforge.junitee:juniteepom' not found in repository: Unable > to do > wnload the artifact from any repository > > net.sourceforge.junitee:juniteepom:pom:2.0.0 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > for project net.sourceforge.junitee:juniteepom > at > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) > ... 17 more > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > Unable to download the artifact from any repository > > net.sourceforge.junitee:juniteepom:pom:2.0.0 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > > 2008/6/5 Wade Taylor <way...@gm...>: > > follow the URL to download the jar... > > > http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/ > > > > or if you use maven, then follow the instructions. > > > > > > > > > > > > > > On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote: > >> > >> Hello all, > >> > >> My name is Takashi. Currently, I'm using junitee-1.11. > >> It works fine with JUnit3 frameworks, however, when I try to integrate > >> JUnit4 farameworks, > >> it doesn't recognize Test Caess.... > >> > >> How can I integrate JUnit4 frameworks to JUnitEE?? > >> > >> I've already checked this URL, > >> http://sourceforge.net/forum/forum.php?forum_id=726010 > >> > >> However, a lot of information is missing... > >> I have no idea how to use this test release.... > >> > >> Any suggestions are realy appreciated. > >> > >> > >> Takashi > >> > >> > ------------------------------------------------------------------------- > >> Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://sourceforge.net/services/buy/index.php > >> _______________________________________________ > >> junitee-user mailing list > >> jun...@li... > >> https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > junitee-user mailing list > > jun...@li... > > https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > |
|
From: TS <10t...@gm...> - 2008-06-06 08:15:56
|
Wade
Thanks for your reply.
However, could you tell me more details??
1. Is it possible for "junitee-1.11" to recognize JUNIT4 Test case??
If it's possible, then how to do it??
2. In case of the latest test release of JUNITEE,
Is there any guideline for describing how to use it???
It seems "pom.xml" file in test version doesn't work correctly...
I got those types of errors during compiling... Is the remote
repositry location right???
=====
$ mvn compile
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/net/sourceforge/junitee/juniteepom/2.0.0/juniteepom-2.0.0.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: net.sourceforge.junitee
ArtifactId: juniteepom
Version: 2.0.0
Reason: Unable to download the artifact from any repository
net.sourceforge.junitee:juniteepom:pom:2.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
net.sourceforge.junitee:juniteepom for project: net.sourceforge.junite
e:junite2:jar:2.0.0 for project net.sourceforge.junitee:junite2:jar:2.0.0
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
find parent: net.sourceforge.junitee:juniteepom for project:
net.source
forge.junitee:junite2:jar:2.0.0 for project
net.sourceforge.junitee:junite2:jar:2.0.0
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'net.sourceforge.junitee:juniteepom' not found in repository: Unable
to do
wnload the artifact from any repository
net.sourceforge.junitee:juniteepom:pom:2.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project net.sourceforge.junitee:juniteepom
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository
net.sourceforge.junitee:juniteepom:pom:2.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
2008/6/5 Wade Taylor <way...@gm...>:
> follow the URL to download the jar...
> http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/
>
> or if you use maven, then follow the instructions.
>
>
>
>
>
>
> On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote:
>>
>> Hello all,
>>
>> My name is Takashi. Currently, I'm using junitee-1.11.
>> It works fine with JUnit3 frameworks, however, when I try to integrate
>> JUnit4 farameworks,
>> it doesn't recognize Test Caess....
>>
>> How can I integrate JUnit4 frameworks to JUnitEE??
>>
>> I've already checked this URL,
>> http://sourceforge.net/forum/forum.php?forum_id=726010
>>
>> However, a lot of information is missing...
>> I have no idea how to use this test release....
>>
>> Any suggestions are realy appreciated.
>>
>>
>> Takashi
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> junitee-user mailing list
>> jun...@li...
>> https://lists.sourceforge.net/lists/listinfo/junitee-user
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> junitee-user mailing list
> jun...@li...
> https://lists.sourceforge.net/lists/listinfo/junitee-user
>
>
|
|
From: Wade T. <way...@gm...> - 2008-06-05 16:57:05
|
follow the URL to download the jar... http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/ or if you use maven, then follow the instructions. On Thu, Jun 5, 2008 at 7:24 AM, TS <10t...@gm...> wrote: > Hello all, > > My name is Takashi. Currently, I'm using junitee-1.11. > It works fine with JUnit3 frameworks, however, when I try to integrate > JUnit4 farameworks, > it doesn't recognize Test Caess.... > > How can I integrate JUnit4 frameworks to JUnitEE?? > > I've already checked this URL, > http://sourceforge.net/forum/forum.php?forum_id=726010 > > However, a lot of information is missing... > I have no idea how to use this test release.... > > Any suggestions are realy appreciated. > > > Takashi > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > |
|
From: TS <10t...@gm...> - 2008-06-05 11:24:03
|
Hello all, My name is Takashi. Currently, I'm using junitee-1.11. It works fine with JUnit3 frameworks, however, when I try to integrate JUnit4 farameworks, it doesn't recognize Test Caess.... How can I integrate JUnit4 frameworks to JUnitEE?? I've already checked this URL, http://sourceforge.net/forum/forum.php?forum_id=726010 However, a lot of information is missing... I have no idea how to use this test release.... Any suggestions are realy appreciated. Takashi |
|
From: <dav...@th...> - 2008-01-02 15:39:03
|
The following is a partial snapshot of FFDC log files in IBM WebSphere
version 6.0.2.17. Getting a MalformedURLException.
------Start of DE processing------ = [12/27/07 13:06:42:324 CST] , key =
java.net.MalformedURLException
com.ibm.ws.webcontainer.srt.WebGroup.getResourceAsStream 602
Exception = java.net.MalformedURLException
Source = com.ibm.ws.webcontainer.srt.WebGroup.getResourceAsStream
probeid = 602
Stack Dump = java.net.MalformedURLException: SRVE0238E: Resource paths
should have a leading slash
at
com.ibm.ws.webcontainer.webapp.WebApp.getResource(WebApp.java:2038)
at
com.ibm.ws.webcontainer.webapp.WebApp.getResourceAsStream(WebApp.java:2006)
at
com.ibm.ws.webcontainer.facade.ServletContextFacade.getResourceAsStream(ServletContextFacade.java:108)
at
org.junitee.servlet.JUnitEEServlet.searchForTests(JUnitEEServlet.java:350)
at
org.junitee.servlet.JUnitEEServlet.searchForTests(JUnitEEServlet.java:275)
at
org.junitee.servlet.JUnitEEServlet.doGet(JUnitEEServlet.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
at
com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:98)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
In tracing the execution of the code, I've found that this exception is
thrown in the JUnitEEServlet.searchForTestCaseList() method. The line
InputStream in =
getServletContext().getResourceAsStream("WEB-INF/testCase.txt");
is the problem as the string does not have a leading slash ("/") before
"WEB-INF". The code handles this problem by trying it again, this time
including the leading slash. Here's that code:
if (in == null) {
// there are issues with some containers with/without trailing
slash, so try it again
in =
getServletContext().getResourceAsStream("/WEB-INF/testCase.txt");
}
Although the code does perform/work (because of the 2nd try using the
leading slash), the errors in the FFDC log files clutter things up and our
system administrators want us to clean them up. I'm wondering a couple
things:
1) The comment in the code above mentioned some containers have problems
with/without the slash. What containers? What problems?
2) Could the code be changed so that the first check includes the slash
and the 2nd check doesn't use the slash?
Thanks,
David |
|
From: Diane L S. <la...@us...> - 2007-12-26 23:02:47
|
I am out of the office until 01/02/2008. I will respond to your message when I return. Note: This is an automated response to your message Re: [junitee-user] Question about junitee-example-1.11 sent on 12/26/07 15:42:59]. This is the only notification you will receive while this person is away. |
|
From: Wade T. <way...@gm...> - 2007-12-26 20:43:01
|
if you deploy a war which contains a properties file, then you can access it using the getResourceAsStream method. this way you just use the path of the file with respect to the base of the war. On Dec 11, 2007 9:30 AM, TS <10t...@gm...> wrote: > Yes, > > First problem is how can I include properties file or some other files > into build.xml of junitee-example-1.11? > > > > > 2007/12/11, Wade Taylor <way...@gm...>: > > is the properties file included in the ear or war? > > > > > > > > > > On Dec 10, 2007 5:14 PM, TS <10t...@gm...> wrote: > > > > > > Hello there, > > > > > > My name is Takashi. As showed in title, I have question about > > JunitEE(example). > > > How can I recognize some files on other location that have > > > relationship to junitee test code?? > > > I'll explain the details below, > > > > > > About "build.xml", I modified this file little bit for treating my own > > > test cases. > > > The detail is I modified "build.xml" like this. > > > > > > 1. Change the source code location. > > > <property name=" src.java" value="my Sorce location"/> > > > > > > 2. Add my own jar file as library. > > > <property name="mine.library" value="Add My External Jar"/> > > > > > > I tried to modify like this and this worked well. > > > It generated "ear" file contains my own test cases and libraries. > > > However, in some test cases, I used properties file for getting > values. > > > > > > I specify the properties files like this as reference path in my code, > > > "javalesson\\input.properties" > > > > > > When I tried to execute junitee on web, I got an error, it said, > > > [Can't find the specified path "javalesson\\input.properties"] > > > It seems it doesn't recognize the properties files or some files on > > > external location. > > > > > > When I specify absolute path in the properties files, it works well. > > > However, I want to use reference path instead. > > > How can I fix this problem?? > > > > > > > > > Thank you > > > > > > Takashi > > > > > > > > > ------------------------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > junitee-user mailing list > > > jun...@li... > > > https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > > > > > ------------------------------------------------------------------------- > > SF.Net email is sponsored by: > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > junitee-user mailing list > > jun...@li... > > https://lists.sourceforge.net/lists/listinfo/junitee-user > > > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > junitee-user mailing list > jun...@li... > https://lists.sourceforge.net/lists/listinfo/junitee-user > |