• 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

WAR deployment on WAS 5

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having a deployment problem on WAS 5. I have a war which was created on wsad 5. WAR consists of html page calling servlet which accesses db2 using db2java.zip jdbc driver. Servlet creates an iterator of the resultset which is returned for display to a jsp. Once i deploy to WAS, the html page displays fine, but when servlet post method gets called i get a blank page.
Lastly, the app runs fine using the wsad test environment. i'm also new to deployment, so very likely something dumb.
thanks!
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you provide us with the error located in the log files? That would help a bit. If I had to guess, I'd say the data source is not set up properly on the machine running WAS or you are not setting up connection pooling appropriately. Please go to the websphere logs and find the error that is occurring and we may be able to help a bit more.
 
author
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Aaron,
Have you tried "view source" for the "blank" page? Maybe there's something there, else, it's time to check the logs. That's where the console output that you're used to seeing will now be going.
 
Aaron
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it working over the wkend. Don't think i had the right jdbc driver loaded on the was box.
thanks for responding.
 
Something about .... going for a swim. With this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic