Did you copy the Postgres libraries into your war/WEB-INF/lib folder?

On Fri, May 29, 2009 at 9:28 PM, nagileon
<[email protected]>wrote:

>
> Hi there
>
> I'm following this tutorial:http://www-lehre.inf.uos.de/~btenberg/misc/
> DB-Access-in-GWT-The-Missing-Tutorial.pdf<http://www-lehre.inf.uos.de/%7Ebtenberg/misc/%0ADB-Access-in-GWT-The-Missing-Tutorial.pdf>
>
> Everything is the same except I'm connecting to Postgres.
> I managed to get rid of many problems but when I start the application
> then I get:
> HTTP ERROR: 503
> SERVICE_UNAVAILABLE
> REQUESTURI=/LogIn.html
>
> In the Console:
>
> WARNING: EXCEPTION
> java.lang.ClassNotFoundException:
> com.gabae.login.server.PSQLconnection
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>
> .........
>
> WARNING: failed pSQLconnection
> javax.servlet.UnavailableException:
> com.gabae.login.server.PSQLconnection
>        at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
>
> ...............
>
> WARNING: Failed startup of context
> com.google.apphosting.utils.jetty.devappenginewebappcont...@17b71d9{/,/
> root/workspace/LogIn/war}
> javax.servlet.UnavailableException:
> com.gabae.login.server.PSQLconnection
>        at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
>
> Web.xml looks like this:
>
>  </welcome-file-list>
>
>  <!-- Servlets -->
>  <servlet>
>    <servlet-name>greetServlet</servlet-name>
>    <servlet-class>com.gabae.login.server.GreetingServiceImpl</servlet-
> class>
>  </servlet>
>
>  <!--  <servlet-mapping>
>    <servlet-name>greetServlet</servlet-name>
>    <url-pattern>/login/greet</url-pattern>
>  </servlet-mapping> -->
>
> <servlet>
>  <servlet-name>pSQLconnection</servlet-name>
>  <servlet-class>com.gabae.login.server.PSQLconnection</servlet-class>
> </servlet>
> <servlet-mapping>
>  <servlet-name>pSQLconnection</servlet-name>
>  <url-pattern>/login/PSQLconnection</url-pattern>
> </servlet-mapping>
> </web-app>
>
> I don't understand why the service is not available.
> Can you help guys ?
>
> Reagrds
>
> Peter
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to