*
The moose likes Websphere and the fly likes WAR deployment on WAS 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAR deployment on WAS 5" Watch "WAR deployment on WAS 5" New topic
Author

WAR deployment on WAS 5

Aaron
Greenhorn

Joined: Jun 02, 2003
Posts: 2
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

Joined: Nov 01, 2002
Posts: 363
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.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Howard Kushner
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 361
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.


Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287
Aaron
Greenhorn

Joined: Jun 02, 2003
Posts: 2
I got it working over the wkend. Don't think i had the right jdbc driver loaded on the was box.
thanks for responding.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAR deployment on WAS 5
 
Similar Threads
servlet deployment issue on websphere server.
servlet aliases are not working
Loosing sessions between pages
WEB-INF/classes contents disappear!
Refresh Header