The problem was that the class name is PSQLConnection and in web.xmal I said PSQLconnection ;)
Also the URL path was wrong:  /login/PSQLconnection versus //login/server/PSQLConnection

Purely PICNIC problem ;)

Regards

Peter


Rajeev Dayal wrote:
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


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








--

Peter Kirklewski Systems Architect ı  GABAE DEVELOPMENT

75 Bathurst Drive, Waterloo, ON  N2V 1N2

Cell: 226-339-1512 ı  Fax: 519-342-1315  ı  E-mail: [email protected]

 

CONFIDENTIALITY NOTICE:  This email and any attachments are for the sole use of the intended recipient(s) and contain information that may be confidential, proprietary and/or legally privileged that is exempt from disclosure under law.  If you have received this message in error, please notify the sender by reply email and delete the message.  Any disclosure, copying, distribution or use of this communication by someone other than the intended recipient is prohibited.

 


--~--~---------~--~----~------------~-------~--~----~
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