Gaurav Kishore wrote:
>
> Hi,
>
> I am having problems connecting to the database from a simple servlet,
> which tries to connect to the database on another server.. THOUGH I AM
> ABLE TO ACCESS THE DATABASE FROM A STANDALONE JAVA APPLICATION.
>
> I am using JDBC thin driver.  Apache Web Server and Jserv are on one
> machine and the Oracle 7.2.3 is on other server. I also have the jdbc
> path in the 'wrapper.classpath' command in the jserv.properties file. I
> am not able to figure out what is the problem.
>
> I think that it is something related to classpath???
>
> Any help is highly appreciated.
>

Enable security.selfservlet=true in jserv.properties
and see http://yourmachine/jserv/
You will see the real used classpath.

I have noticed that JServ started automatically
takes CLASSPATH from wrapper.classpath directives, but JServ
started manually takes CLASSPATH from enviroment variable
and ignores wrapper.classpath.

Martin

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   INET, a.s.                          Mgr. Martin Kuba
Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
  601 12 Brno                      WWW: http://www.inet.cz/~makub/
 Czech Republic                    tel: +420-5-41242414/33
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1  C3 48 B2 59 00 58 42 27
 http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to