Look at the Torque.properties file.  In there is some sample settings
for connecting to a connection pool from an app server using JNDI.  I
think this is what you need.  Do something like this:

torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory
torque.dsfactory.default.jndi.path=JetspeedDB
 
The jndi.path may need something in front of it like
env:jdbc/JetspeedDB or something similar for JBoss.  My settings work
fine on Weblogic.
-- Jeff


On Wed,  5 Jan 2005 15:32:48 +0100, angeloimm <[EMAIL PROTECTED]> wrote:
> I don't understand...... noone has ever had this kind of problem or is it 
> with no solution?
> 
> ---------- Initial Header -----------
> 
> From      : "angeloimm" [EMAIL PROTECTED]
> To          : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org
> Cc          :
> Date      : Wed,  5 Jan 2005 10:33:04 +0100
> Subject : Jetspeed 1.5 and datasources
> 
> > Hi all.... how can i use the datasources defined in JBoss? I need to use 
> > this datasource..how can i do?
> >
> >
> >
> > ____________________________________________________________
> > Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza 
> > limiti a meno di 1 euro al giorno.
> > Abbonati subito senza costi di attivazione su http://www.libero.it
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ____________________________________________________________
> Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza 
> limiti a meno di 1 euro al giorno.
> Abbonati subito senza costi di attivazione su http://www.libero.it
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to