Re: [Resin-interest] Database access

2008-02-01 Thread Courtenay Teska Race
Thank you so much!  That solved the startup problem!



On Jan 31, 2008 3:34 PM, Vic Simkus <[EMAIL PROTECTED]> wrote:
> Courtenay wrote:
> > Hi,
> >
> > I realize this is a fairly basic question, but I'm new to setting up
> > resin.  I've installed resin on Windows under C:\resin-3.1.3\ .  If I
> > run the server using the httpd.exe, the server starts and I can view
> > jsp pages under http://localhost:8080/ as well as under
> > http://localhost:8080/TestResinProject/web where I am testing some
> > code.
> >
> > I am now trying to give access to my database located on another
> > server, but my modifications to the resin.conf file, seem to be
> > causing problems with starting the server.
> >
> > I am accessing a postgres 7.3 database on a remote server.
> >
> > I entered the following into the resin.conf file right below the
> > "Sample database pool configuration" added by coucho (I've blocked out
> > my actual password):
> >
> 
>
> I put my JDBC jars in the lib directory under the main resin install
> directory.  So in your case it would be c:\resin-3.1.3\lib.
>
> Vic
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
>


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Database access

2008-01-31 Thread Vic Simkus
Courtenay Teska Race wrote:
> Hi,
> 
> I realize this is a fairly basic question, but I'm new to setting up
> resin.  I've installed resin on Windows under C:\resin-3.1.3\ .  If I
> run the server using the httpd.exe, the server starts and I can view
> jsp pages under http://localhost:8080/ as well as under
> http://localhost:8080/TestResinProject/web where I am testing some
> code.
> 
> I am now trying to give access to my database located on another
> server, but my modifications to the resin.conf file, seem to be
> causing problems with starting the server.
> 
> I am accessing a postgres 7.3 database on a remote server.
> 
> I entered the following into the resin.conf file right below the
> "Sample database pool configuration" added by coucho (I've blocked out
> my actual password):
> 


I put my JDBC jars in the lib directory under the main resin install 
directory.  So in your case it would be c:\resin-3.1.3\lib.

Vic


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Database access

2008-01-31 Thread Courtenay Teska Race
Hi,

I realize this is a fairly basic question, but I'm new to setting up
resin.  I've installed resin on Windows under C:\resin-3.1.3\ .  If I
run the server using the httpd.exe, the server starts and I can view
jsp pages under http://localhost:8080/ as well as under
http://localhost:8080/TestResinProject/web where I am testing some
code.

I am now trying to give access to my database located on another
server, but my modifications to the resin.conf file, seem to be
causing problems with starting the server.

I am accessing a postgres 7.3 database on a remote server.

I entered the following into the resin.conf file right below the
"Sample database pool configuration" added by coucho (I've blocked out
my actual password):


jdbc/teska_messb1

org.postgresql.Driver
jdbc:postgresql://209.18.79.71:5432/teska_messb1
teska_admin




I also placed the 7.3 driver under the following directory:
C:\resin-3.1.3\webapps\ROOT\WEB-INF\lib\pg73jdbc3.jar

When I start the resin server via httpd.exe I get the following error message:

-
Resin-3.1.3 (built Sun, 07 Oct 2007 03:58:02 PDT)
Copyright(c) 1998-2007 Caucho Technology.  All rights reserved.

  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

Starting Resin on Thu, 31 Jan 2008 13:42:25 -0600 (CST)

conf/resin.conf:237: java.lang.ClassNotFoundException: org.postgresql.Driver

235: jdbc/teska_messb1
236: 
237: org.postgresql.Driver
238: jdbc:postgresql://209.18.79.71:5432/teska_messb1
239: teska_admin

Jan 31, 2008 1:42:26 PM com.caucho.boot.ResinWatchdog run
INFO: Watchdog[] stopping Resin
-

I am wondering if I need to put the driver into a different directory,
but I don't know which directory.

Also, I would like the database to be available to
http://localhost:8080/TestResinProject/web where I am testing some
code.  What do I need to do to make this happen?

Thanks in advance,
Courtenay


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest