Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAR deployment on WAS 5

 
Aaron
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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!
 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • 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.
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic