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]

Reply via email to