What I am trying to do is put Java classes in WEB-INF/classes. The reason is that's the standard way of doing it for Java EE applications. I don't want to have to create a jar file each time I update a source file.
This works in Adobe ColdFusion and the WAR distribution of OpenDB deployed on a standard jetty installation. It only doesn't work when using the pre-configured jetty/openbd installation. The only differences I can see in the jetty configurations are: Handlers standard jetty: org.mortbay.jetty.handler.ContextHandlerCollection pre-configured jetty/openbd: org.mortbay.jetty.webapp.WebAppContext standard jetty also has a "context deployer" and a "webapp deployer" that was removed from the pre-configured jetty/openbd install. My guess is it has something to do with these differences, but I don't know enough about jetty to know if that's true or not. On Sep 22, 10:38 pm, "Adam Haskell" <[EMAIL PROTECTED]> wrote: > Is there a reason you don't just put it in the /lib/ directory? To do what > you are looking to do I think you would want alter jetty-service.conf or > start.config . > > Adam > > On Mon, Sep 22, 2008 at 7:58 PM, Tim N <[EMAIL PROTECTED]> wrote: > > > No, but I'm sure that would work. However, I want the java class files > > to be in WEB-INF/classes like standard JavaEE applications. > > > On Sep 22, 6:43 pm, "Kevin Pepperman" <[EMAIL PROTECTED]> wrote: > > > did you try adding the jar to the \lib\openbd\ folder? > > > > On Mon, Sep 22, 2008 at 7:22 PM, Tim N <[EMAIL PROTECTED]> wrote: > > > > > I can't seem to be able to create a java object, that's located in WEB- > > > > INF/classes, when using the pre-configured version of jetty/openbd. It > > > > works fine when openbd is installed as a war file in a default jetty > > > > installation but not the pre-configured version. > > > > > Does anyone know why this is, or should it work? > > > > > Thanks, > > > > Tim > > > > -- > > > "anything you say can/will be used against you-- > > > --nothing you say can/will be used to help you." > > > -Professor James Duane > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official blog @ http://blog.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
