Hi, I don't think the tests are using the 'old' package name for jetty - you need to run jetty plus to get JNDI support.
The class: org.mortbay.jetty.plus.Server is located in the jar: org.mortbay.jetty.plus.jar which is required in addition to org.mortbay.jetty.jar Regards Andy > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 13 December 2004 16:50 > To: [EMAIL PROTECTED] > Subject: cvs commit: > logging-log4j/tests/src/java/org/apache/log4j/selector PassByJNDI.java > > > yoavs 2004/12/13 08:50:09 > > Modified: docs HISTORY.txt > tests README > tests/src/java/org/apache/log4j/selector > PassByJNDI.java > Log: > Bugzilla 30425: tests used old name for Jetty Server class. > > Revision Changes Path > 1.11 +2 -0 logging-log4j/docs/HISTORY.txt > > Index: HISTORY.txt > =================================================================== > RCS file: /home/cvs/logging-log4j/docs/HISTORY.txt,v > retrieving revision 1.10 > retrieving revision 1.11 > diff -u -r1.10 -r1.11 > --- HISTORY.txt 13 Dec 2004 16:29:01 -0000 1.10 > +++ HISTORY.txt 13 Dec 2004 16:50:09 -0000 1.11 > @@ -28,6 +28,8 @@ > - Implemented Bugzilla 20500: separate registry clearing > from doConfigure in PropertyConfigurator > to allow to easier extension. > > + - Fixed Bugzilla 30425: tests used old name for Jetty > server class. > + > November 25, 2004 > > - Release of version 1.3alpha-3 > > > > 1.11 +1 -2 logging-log4j/tests/README > > Index: README > =================================================================== > RCS file: /home/cvs/logging-log4j/tests/README,v > retrieving revision 1.10 > retrieving revision 1.11 > diff -u -r1.10 -r1.11 > --- README 9 Dec 2004 14:26:59 -0000 1.10 > +++ README 13 Dec 2004 16:50:09 -0000 1.11 > @@ -84,8 +84,7 @@ > We embed jetty to tests log4j within a web-application. > > jetty - http://jetty.mortbay.org/jetty/ - Version 4.2.22 > was used when > -writing the tests. You will need both the > org.mortbay.jetty.jar and > -org.mortbay.jetty.plus.jar > +writing the tests. You will need the org.mortbay.jetty.jar. > > > Database testing > > > > 1.2 +2 -2 > logging-log4j/tests/src/java/org/apache/log4j/selector/PassByJNDI.java > > Index: PassByJNDI.java > =================================================================== > RCS file: > /home/cvs/logging-log4j/tests/src/java/org/apache/log4j/select > or/PassByJNDI.java,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -r1.1 -r1.2 > --- PassByJNDI.java 11 Jun 2004 19:43:36 -0000 1.1 > +++ PassByJNDI.java 13 Dec 2004 16:50:09 -0000 1.2 > @@ -10,7 +10,7 @@ > import javax.naming.InitialContext; > > import org.mortbay.http.SocketListener; > -import org.mortbay.jetty.plus.Server; > +import org.mortbay.jetty.Server; > > > import junit.framework.TestCase; > @@ -80,4 +80,4 @@ > return content; > } > > -} > \ No newline at end of file > +} > > > > > --------------------------------------------------------------------- > 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]
