The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 03:58 AM
WSRF for WebSphere Application Server iBot UNIX and Linux RSS News 0 01-15-2008 04:30 PM
Deploying XP patches woofie Windows & DOS: Issues & Discussions 2 10-21-2004 03:57 AM
Deploying IE 5.5 or 6 jnash Windows & DOS: Issues & Discussions 3 10-24-2002 04:01 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-20-2008
ashish_uiit ashish_uiit is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 25
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
  #2 (permalink)  
Old 05-20-2008
swarsa swarsa is offline
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
  #3 (permalink)  
Old 05-20-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 542
that should be in the websphere manual.
Sponsored Links
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0