File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

WAR deployment on WAS 5


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 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.
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364
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
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="" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287

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:
subject: WAR deployment on WAS 5
It's not a secret anymore!