How do you add jetty-plus-6.1.11.jar and jetty-naming-6.1.11.jar to class path so that stand alone jetty can see it? It runs in Hosted Mode but not in stand alone Jetty. I have jetty-plus-6.1.11.jar and jetty-naming-6.1.11.jar in WEB-INF/ lib.
I keep getting: [WARN] Config error at <New id="website" class="org.mortbay.jetty.plus.naming.Resource"> java.lang.ClassNotFoundException: org.mortbay.jetty.plus.naming.Resource This is my jetty-web.xml <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure id='wac' class="org.mortbay.jetty.webapp.WebAppContext"> <!-- Ensure Jetty Plus features are enabled for this webapp --> <Set name="configurationClasses"> <Array type="java.lang.String"> <Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item> <Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item> <Item>org.mortbay.jetty.plus.webapp.Configuration</Item> <Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item> <Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item> </Array> </Set> <Set name="contextPath">/test</Set> <Set name="war"><SystemProperty name="jetty.home" default="."/>/ webapps/test</Set> <Set name="extractWAR">false</Set> <Set name="copyWebDir">false</Set> <New id="website" class="org.mortbay.jetty.plus.naming.Resource"> <Arg>java:comp/env/jdbc/test</Arg> <Arg> <New class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"> <Set name="Url">jdbc:mysql://localhost:3306/test</Set> <Set name="User">admin</Set> <Set name="Password">pass</Set> </New> </Arg> </Configure> Some reference I use: http://osdir.com/ml/GoogleWebToolkit/2009-05/msg01419.html http://docs.codehaus.org/display/JETTY/DataSource+Examples http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---