Thanks Thomas, Because Eclipse Jetty launch only works on Jetty5, that is why I am looking for Jetty5's example. Regards, Wei.
Thomas Hackel wrote: > > Weisu schrieb: >> Hi, I am using Tomcat for my old app, now I am tring to use Jetty5. In >> How do I do this in Jetty5? And I would like to use Oracle 9. > > This is not Jetty5 but in Jetty6 it is like this (jetty-env.xml): > > <Configure class="org.mortbay.jetty.webapp.WebAppContext"> > <New id="SOMEID" class="org.mortbay.jetty.plus.naming.Resource"> > <Arg>jdbc/SOMENAME</Arg> > <Arg> > <New > > class="oracle.jdbc.pool.OracleConnectionPoolDataSource"> > <Set name="URL">SOMEURL</Set> > <Set name="User">SOMEUSER</Set> > <Set name="Password">SOMEPASSWORD</Set> > </New> > </Arg> > </New> > </Configure> > > The jetty docs and examples on their website have improved, its a good > source now! > > Regards, > Thomas Hackel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5---DataSource-in-Jetty5-tf4115195.html#a11719605 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]