Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 4748 invoked from network); 15 Jul 2002 20:15:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Jul 2002 20:15:44 -0000 Received: (qmail 2164 invoked by uid 97); 15 Jul 2002 20:16:01 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 2148 invoked by uid 97); 15 Jul 2002 20:16:01 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 2135 invoked by uid 98); 15 Jul 2002 20:16:00 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: init Logging Error? Date: Mon, 15 Jul 2002 21:14:37 +0100 Organization: OCTO Technology Message-ID: <006d01c22c3c$3ee7be30$b0c8c8c8@octovma> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-Reply-To: <3D3309F9.5070801@borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Shane, This is very strange and it should not happen. It simply means that somehow the Cactus logging initialization step was skipped ... somehow ... Can you give us more information on : - Cactus version - JUnit version - How do you start it ? From JBuilder ? (I'm just asking as I saw Borland in your email ! :-)). With what Test Runner ? I was going to say : "the easiest would be for you to send the logs", but obviously this won't work ... Have you tried running the Cactus sample which is packaged in the Cactus distribution ? Is it working ok ? Thanks -Vincent > -----Original Message----- > From: Shane Duan [mailto:sduan@borland.com] > Sent: 15 July 2002 18:44 > To: Cactus Users List > Subject: init Logging Error? > > I think this has to be pretty common but I just cannot find any > information. And I cannot find any archive of the mails for me to search. > > I am trying to run the example in > http://jakarta.apache.org/cactus/howto_ejb_j2eeri.html and I keep on > getting the following stack trace, even when I don't have the logging > turned on in the cactus.properties file. > > Has anyone seen this before? > > Thanks. > > java.lang.RuntimeException: Must call init() first > at org.apache.cactus.util.log.LogService.getLog(LogService.java:202) > at > org.apache.cactus.util.ChainedRuntimeException.around97_printStackTrace( Ch > ainedRuntimeException.java;org/apache/cactus/util/log/LogAspect.java(1k) :1 > 133) > at > org.apache.cactus.util.ChainedRuntimeException.printStackTrace(ChainedRu nt > imeException.java;org/apache/cactus/util/log/LogAspect.java(1k):141) > at junit.framework.TestSuite.exceptionToString(TestSuite.java:123) > at junit.framework.TestSuite.addTestMethod(TestSuite.java:106)Error > Eorr!!! > at junit.framework.TestSuite.(TestSuite.java:66) > > > > -- > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org> > For additional commands, e-mail: help@jakarta.apache.org> -- To unsubscribe, e-mail: For additional commands, e-mail: