users@glassfish.java.net

Re: Glassfish V3 gives HTTP Status 503 Service Unavailable

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jun 2007 15:28:08 PDT

Hi Jean-Francois,

I am not able to test drive this grizzly. It starts up fine but then it errors as below:
java -cp C:\drivers\postgresql-8.2-505.jdbc3.jar -jar jruby-on-grizzly\jruby-1.5-SNAPSHOT.jar 8080 C:/jruby/myapp/ 1 true

Jun 12, 2007 2:52:02 PM com.sun.grizzly.standalone.StaticResourcesAdapter
INFO: Servicing page from: C:\jruby\myapp\public
 .....
The driver encountered an error: cannot load Java class org.postgresql.Driver
---------- I tried copying the driver jar into $jruby_home/lib, $myapp/lib, myapp/lib/java, it didn't help.

Let me know, how i includ ethe driver jar in the classpqth: I'll to try to run it with the new grizzly.

Thanks,
Sakthi
[Message sent by forum member 'sakthivelg' (sakthivelg)]

http://forums.java.net/jive/thread.jspa?messageID=221864