Hi,
>
> We have jboss running on one machine and using standalone
> java app clients
> elsewhere, we can talk to it successfully.
>
> But when using tomcat we have to place the whole of the app and
> jndi.properties in the main classpath of tomcat. Is this
> what other people
> are doing?
>
> Basically, the client is not picking up the jndi.properties from the
> WEB-INF/lib or classes directory - I guess the tomcat
> classloader cannot
> handler property files.
>
In fact even the putting it on the main classpath did not help - I just
realised I have System.setProperty in my code to set the properties - I took
this out and guess what - it cannot find java.naming.factory.initial.
Regards,
Chris
================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and
are sent for the personal attention of the addressee. Although you may be the named
recipient, it may become apparent that this email and its contents are not intended
for you and an addressing error has been made. This email may include information that
is legally privileged and exempt from disclosure. If you have received this email in
error, please advise us immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of Coöperatieve
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630 and
regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been automatically
checked by Rabobank International for the presence of computer viruses prior to it
being sent, however, no guarantee is given or implied that this email is virus free
upon delivery.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]