> -----Original Message----- > From: Jan Olav Kj|de [mailto:[EMAIL PROTECTED] > Sent: 13 February 2004 17:55 > To: Cactus Users List > Subject: RE: Log4j / JDeveloper trouble > > Hi > Apparently this was the whole problem! > I made logging.properties files like in the example, > and now everything works just fine. > Thanks!
Cool > > But I also had to remove some system.out.println sentences in my methods. > I thought this was a nice way to test if the methods were run, > but it turns out that it messed up things. > Or am I missing something here? Er? I don't get this? What error do you get? > > Anyway, now it's finally working! -Vincent > > jan ok > > > At 14:38 13.02.2004 +0100, you wrote: > >Hi Jan, > > > >Your error is in: > > > >org.apache.cactus.client.ParsingException: Not a valid response [500 > >Internal Server Error] > > > >But we need the logged error to know more about the problem. If you have > >logging turned on could you send us the generated log file? > > > >Note: I'm not sure the way you have logging turned on is correct > >anymore. That was the old way of doing it. The new way (which is not yet > >documented on the web site) is by having logging.properties file as > >shown in the sample application (that is included in the cactus > >distribution, in samples/servlet for example). > > > >Thanks > >-Vincent > > > > > -----Original Message----- > > > From: Jan Olav Kj|de [mailto:[EMAIL PROTECTED] > > > Sent: 13 February 2004 14:23 > > > To: Cactus Users List > > > Subject: Re: Log4j / JDeveloper trouble > > > > > > Hello > > > That was the problem, indeed. Thanks! > > > Struts had a commons-logging.jar as well. > > > I got rid of it, and now the logging works. > > > > > > But I still got trouble. > > > JUnit cannot get the test results. > > > Again, the beginTag method is run, but testTag is not. > > > > > > I have declared the ServletRedirectorSecure and its mapping (and the > >other > > > Redirectors as well) in my web.xml file, > > > and created a cactus.properties file with: > > > > > > cactus.contextURL = http://localhost:8988/nesys > > > cactus.enableLogging = true > > > cactus.filterRedirectorName = FilterRedirector > > > cactus.jspRedirectorName = JspRedirector > > > cactus.servletRedirectorName = ServletRedirector > > > cactus.servletRedirectorSecureName = ServletRedirectorSecure > > > > > > > > > This is the error message I get: > > > > > > testTag(no.uio.nesys.web.taglib.test.GetCachedIdsTagTester): Failed to > >get > > > the test results at > >[http://localhost:8988/nesys/ServletRedirectorSecure] > > > > > > org.apache.cactus.util.ChainedRuntimeException: Failed to get the test > > > results at [http://localhost:8988/nesys/ServletRedirectorSecure] > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_around B > >od > > > y0(DefaultHttpClient.java:131) > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_around B > >od > > > y1$advice(DefaultHttpClient.java:240) > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Defaul t > >Ht > > > tpClient.java) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest( W > >eb > > > ClientTestCaseDelegate.java:333) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericT e > >st > > > (WebClientTestCaseDelegate.java:281) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(Web C > >li > > > entTestCaseDelegate.java:257) > > > at > > > > >org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:30 0 > >) > > > at > > > org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263) > > > org.apache.cactus.client.ParsingException: Not a valid response [500 > > > Internal Server Error] > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.callGetResult ( > >De > > > faultHttpClient.java:249) > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_around B > >od > > > y0(DefaultHttpClient.java:126) > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_around B > >od > > > y1$advice(DefaultHttpClient.java:240) > > > at > > > > >org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_around B > >od > > > y1$advice(DefaultHttpClient.java:240) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest( W > >eb > > > ClientTestCaseDelegate.java:333) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericT e > >st > > > (WebClientTestCaseDelegate.java:281) > > > at > > > > >org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(Web C > >li > > > entTestCaseDelegate.java:257) > > > at > > > > >org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:30 0 > >) > > > at > > > org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263) > > > > > > If I turn off security I still get the same problem (but with > > > JspRedirector). > > > > > > This problem is not related to logging, so maybe I should repost the > >email > > > with a different Subject? > > > > > > jan ok > > > > > > > > > At 13:09 13.02.2004 +0900, you wrote: > > > >Hi Jan, > > > > > > > >In article <[EMAIL PROTECTED]>, > > > >Thu, 12 Feb 2004 15:57:03 +0100, > > > >Jan Olav Kj|de <[EMAIL PROTECTED]> wrote: > > > >j.o.kjode> Maybe you can help with this as well? > > > > > > > >I'm afraid to say (maybe) I cannot because I'm not an Oracle9iAS > >user. > > > >Only I can imagine now is that there are some other > >commons-logging.jars > > > >on your server-side classpath and have conflict. > > > > > > > >Regards, > > > >---- > > > >Kazuhito SUGURI > > > >mailto:[EMAIL PROTECTED] > > > > > > > >--------------------------------------------------------------------- > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
