OK, I'm armed and ready to go with my JDBC drivers, and a freshly downloaded
copy of the J2EE.  I'm currently wading through the configuration section,
which says this:

<QUOTE>
Driver Location
You must copy the JDBC driver .jar files to the $J2EE_HOME/lib/system
directory. Be sure to include the classpath to these .jar files in the
J2EE_CLASSPATH environment variable.
The J2EE_CLASSPATH Environment Variable
The J2EE server uses a JDBC driver to access a database. It locates the
driver's .jar files by referencing the J2EE_CLASSPATH environment variable.
You can set this environment variable on the command line before you run the
J2EE server. However, we recommend that you set J2EE_CLASSPATH in the user
configuration script. Editing the user configuration script is a required
step during the installation procedure. On UNIX the user configuration
script is in bin/userconfig.sh, and on Windows NT it is in
bin\userconfig.bat.
Note: You should remove the driver .jar files from the CLASSPATH environment
variable.
</QUOTE>

Now, my driver doesn't have a .jar file (I'm using the Oracle thin driver).
Furthermore, is this little snippet telling me that I need *two* copies of
this driver?!  After all, it says that I must "copy the JDBC driver .jar
files to the $J2EE_HOME/lib/system directory", and that I should "remove the
driver .jar files from the CLASSPATH environment variable".  This
configuration stuff is harder than it has to be.

I'm quite horribly confused by the purpose of this J2EE_CLASSPATH
environment variable and where, exactly, I need to put my database drivers.

What I'd *like* to do is leave them where they are currently and have the
J2EE server simply recognize that fact.  I thought that was one of the
abstractions the whole notion of "classpath" was supposed to help you with.

Any clarifications?

Cheers,
Laird

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to