struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meissa.Sa...@assetmanagement.natexis.fr
Subject problem with plugin
Date Thu, 12 Jun 2003 12:35:28 GMT

Hi all,

I have configured a plugin and in my application.
In my plugin init method, I need to call JNDI variables
and to connect to obtain JDBC datasource connexions.

My JNDI variables and my jdbc datasources are all defined
in a DefaultContext in the server.xml config file of Tomcat.

It seem's that when the plugin's init method is called, the jndi variables
that are defined in the server.xml are not bound yet in a context.
Because of this, I'm getting a javax.naming.NameNotFoundException
when my plugin's init is called.


I really need to put these tasks in the plugin.
can someone explain me how please.

thanks in advance.

Meissa

L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it and 
notify the sender.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message