This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes How to deploy WAR file in WebSphere Applcation Server 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to deploy WAR file in WebSphere Applcation Server 7" Watch "How to deploy WAR file in WebSphere Applcation Server 7" New topic
Author

How to deploy WAR file in WebSphere Applcation Server 7

Ashraf Abu-Aisheh
Ranch Hand

Joined: Apr 17, 2009
Posts: 88
I have a web project as a WAR file, and I want to deploy my war to WebSphere Applcation Server 7.0 (trial)

This war is already deployed to Tomcat and Jboss in simple way as the following:
The war file place: Apache Tomcat 6.0.18\webapps\application.war
The datasource: Apache Tomcat 6.0.18\conf\context.xml
The oracle driver: Apache Tomcat 6.0.18\lib\ojdbc14.jar
then start the application-->Apache Tomcat 6.0.18\bin\startup.bat

I want a simple way like tomcat or jboss to deploy my war in WebSphere...
What is the WAR file path?
Where can i define the datasources?
Where can i put the ojdbc14.jar file?
and How to run the server?

If there is no way like this, please tell me how to do that using the admin console?
Thanks

SCJP 5 - 79%
SCWCD 5 - 100%
yin chen
Greenhorn

Joined: Aug 05, 2009
Posts: 1
you can use ojdbc14.jar in the "Resources->JDBC->JDBC providers", then "Resources->JDBC->JDBC providers" set datasources.
the file "startSever.sh" or "startSever.bat" is found in "IBM/WebSphere/AppServer/bin" to run the server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deploy WAR file in WebSphere Applcation Server 7
 
Similar Threads
can i deploy any ear/jar/war without admin console on websphere 6.1?
How to deploy WAR files in WebSphere Applcation Server 6.0
Basic difference between Application server & Webserver
How to convert web application from jboss to tomcat
How to deploy/undeploy EJBs application through HOT Deployment on websphere 6.1?