struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject plugin problem
Date Thu, 12 Jun 2003 08:44:47 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 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.


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.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message