The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to disable encryption below 128 bit in Websphere ? neel.gurjar AIX 0 04-29-2008 12:58 AM
WSRF for WebSphere Application Server iBot UNIX and Linux RSS News 0 01-15-2008 12:30 PM
Deploying XP patches woofie Windows & DOS: Issues & Discussions 2 10-21-2004 12:57 AM
Deploying IE 5.5 or 6 jnash Windows & DOS: Issues & Discussions 3 10-24-2002 01:01 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2008
Registered User
 

Join Date: Oct 2007
Posts: 21
deploying .ear file Websphere

hi
This may not be right question to ask on this forum, but I think people here can answer the question.

Please give me details of steps/commands used in UNIX ( only command mode) for deploying an ear file on websphere.

Thanks in advance,
Ashish
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-20-2008
Registered User
 

Join Date: May 2008
Posts: 1
Deploying EAR from UNIX command line

WebSphere has a command language implemented in jython. You can create a jython script that calls the following objects/methods:

AdminApp.install("<your ear name and path>", "[-cluster <yourCluster> -appname <your app name> -MapModulesToServers <what ever additional servers - eg web servers you want to map it to> -MapWebModToVH <vhost definition to map it to>]")

AdminConfig.save()

There are simpler versions of this command - just check on WebSphere information center (http://publib.boulder.ibm.com/infoce...v6r0/index.jsp). Then once you have the information in a file (such as myscipt.py), then you can invoke it like this:


<websphere_home>/bin/wsadmin.sh -lang jython -f <name and path of script>

Hopefully that helps. There is a lot of information on info center about scripting. Just go to the info center site and search for scripting.

steve
Reply With Quote
  #3 (permalink)  
Old 05-20-2008
Registered User
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 158
that should be in the websphere manual.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0