The UNIX and Linux Forums  

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 03: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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-20-2008
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
Reply With Quote
Sponsored Links
  #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
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 490
that should be in the websphere manual.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 12:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66