• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Local Server inside WSAD

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
I have a local server configured to run inside WSAD.
I have an EJB Project,Web Project and the others.
I have a oracleconnection.properties file that has the information about whic database to connect to, the userid, password,etc.
I have made soem changes inside the EJB Project ie chaged some business methods. When I run the individual business method as a Java Application, I am able to see the exact results in the console.

I have a test client for the EJB business methods.
When I run the server, and bring up the test client, I am able to see the result in the test client but the data is from a different database.
I suppose that my server is pointing to a different database.
How do I change it?
I saw the testServer.wsi file but was not able to figure it out.Can somebody help me with this? It is very urgent!
Many Thanks,
Prabha
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the server perspective and edit the server configuration for your test server. Especially look at the Data Sources tab.
Kyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic