Yes.  That was it.  I thought of that right after I sent the message.

In case someone else runs into this, I was using a jetty-env.xml to define
my JNDI resources.

I had to replace: org.mortbay.jetty.plus.naming.Resource

with: org.eclipse.jetty.plus.jndi.Resource


Mike Brown
VP of e-Business
Auction Software, Inc. - ASI (R)
704-872-2458 **** PLEASE NOTE NEW NUMBER ****
[email protected]



On Mon, Apr 23, 2012 at 5:29 PM, Jan Bartel <[email protected]> wrote:

> Mike,
>
> You probably have a WEB-INF/jetty-env.xml or WEB-INF/jetty-web.xml
> that refers to the old package name.
>
> Jan
>
> On 24 April 2012 08:27, Mike Brown <[email protected]> wrote:
> > I'm trying to port a Jetty 6 application, which uses JNDI (jetty-plus) to
> > Jetty 7.  Note I had the same results with 7.6.2.
> >
> > I'm getting the following exception.  Notice the package prefix is
> > org.mortbay, I thought all packages were renamed to org.eclipse.
> >
> > java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext
> >
> > Is there an incorrect reference to an old package?
> >
> > Do I have my start.ini screwed up somehow?
> >
> > Command line: java -jar start.jar
> >
> > start.ini from trial and error:
> >
> > #===========================================================
> > # Start classpath OPTIONS.
> > # These control what classes are on the classpath
> > # for a full listing do
> > #   java -jar start.jar --list-options
> > #-----------------------------------------------------------
> > OPTIONS=Server,jsp,resources,jndi,ext,annotations
> > #-----------------------------------------------------------
> >
> >
> > #===========================================================
> > # Configuration files.
> > # For a full list of available configuration files do
> > #   java -jar start.jar --help
> > #-----------------------------------------------------------
> > #etc/jetty-jmx.xml
> > etc/jetty.xml
> > # etc/jetty-ssl.xml
> > etc/jetty-requestlog.xml
> > etc/jetty-deploy.xml
> > # etc/jetty-overlay.xml
> > etc/jetty-webapps.xml
> > etc/jetty-contexts.xml
> > # etc/jetty-testrealm.xml
> > etc/jetty-logging.xml
> > etc/jetty-plus.xml
> > #===========================================================
> >
> >
> >
> > Mike Brown
> > VP of e-Business
> > Auction Software, Inc. - ASI (R)
> > 704-872-2458 **** PLEASE NOTE NEW NUMBER ****
> > [email protected]
> >
> >
> > _______________________________________________
> > jetty-users mailing list
> > [email protected]
> > https://dev.eclipse.org/mailman/listinfo/jetty-users
> >
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to