[Jetty-support] Connecting to MySQL data source
"Gerard O' Sullivan" <[email protected]> Tue, 9 Aug 2011 18:56:38 +0100
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <CAAP_j9L-zmBv7vjEXOD2n-zZet--eYjyF+7b7L_CRnLcxchreg@mail.gmail.com> |
hi, I'm new to Jetty, and am trying to connect to MySQL from Jetty 8, am getting a class not found exception for org.eclipse.jetty.plus.jndi.Resource 2011-08-09 13:29:23.717:WARN::Config error at <New id="DSTest" class="org.eclipse.jetty.plus.jndi.Resource">| <Arg/>| <Arg>jdbc/mysql</Arg>| <Arg>| <New class="org.apache.commons.dbcp.BasicDataSource">| <Set name="driverClassName">com.mysql.jdbc.Driver</Set>| <Set name="url">jdbc:mysql://localhost:3306/analytics</Set>| <Set name="username">username</Set>| <Set name="password">password</Set>| </New>| </Arg>| </New> java.lang.ClassNotFoundException: org.eclipse.jetty.plus.jndi.Resource Do I need to do something to get the plus jar onto the classpath? Had a look through the files in /etc, and there's a jetty-plus.xml, but not sure what to do to get that jar loaded. Thanks, Gerard ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Jetty-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jetty-support