You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@assetmanagement.natexis.fr on 2003/06/12 10:44:47 UTC

plugin problem

Hi all,

I have configured a plugin and in my application.
In my plugin init method, I need to call JNDI variables
and to 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 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 is called.

Can someone has a suitable solution to my problem. 
I really need to put these tasks in the plugin.

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.