• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

connexion to Cloudssape db in WSAD

 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
What may cause a connexion to a Cloudscape db deployed in test environnment fail in WSAD 5.0?
I've created a connexion under folder:
C:\Documents and Settings\Cyril\Bureau\Mes_docs\websphere\MessagingCenter\Web Content\WEB-INF\databases\UserDB
and specified no userID nor password during creation of the connexion.
In a servlet , I've tried to get the connexion to the db by standard way:

and also with pooled connexion:

but in both case, the connexion fails..
I have no more idea to fix the problem..
I've the book of Gary Craig and Peter Jakob devoted to certification test 285.
p.346, they use a pooling connection with the following code:

I think it's a generic code to apply to a db that need a login"userid" and a password "password". But in my case, i've specified none of them during the creation of the connexion, so:

must be sufficient, no?
I would be very grateful for any assistance,
Regards,
Cyril.
 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to the Websphere/IBM forum, as this forum deals with just the certification of such products, not general help on the product itself.
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic