473,952 Members | 23,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using Jython in Websphere 6.0

Used the following command to extract correct commandLine arguments to
Automate deployment:

AdminApp.instal lInteractive('z :/Builds_test/sgs/sgs-procDist.ear')

Got the following Args to use for deployment..

install 'z:/Builds_test/sgs/sgs-procDist.ear' '[ -preCompileJSPs
-installed.ear.d estination
d:/WebSphere/AppServer/profiles/profileStandAlo ne/installedApps/TESTND1Network
-distributeApp -nouseMetaDataFr omBinary -nodeployejb -appname
SGSProcedure -createMBeansFor Resources -noreloadEnabled -nodeployws
-validateinstall warn -noprocessEmbedd edConfig -MapModulesToSer vers
[["SGS Wizard" sgs-procDist.war,WE B-INF/web.xml
WebSphere:cell= TESTND1Network, node=IIS,server =webserver+WebS phere:cell=TEST ND1Network,clus ter=SGSProcedur e]]
-MapWebModToVH [["SGS Wizard" sgs-procDist.war,WE B-INF/web.xml
default_host]]]'
When trying to execute command below via "wsadmin -lang jython"
commanfpromt I got the error below..??? Can anyone HELP ??

Traceback (innermost last):
(no code object) at line 0
File "<input>", line 1
AdminApp.instal l 'z:/Builds_test/sgs/sgs-procDist.ear' '[
-preCompileJS
Ps -installed.ear.d estination
d:/WebSphere/AppServer/profiles/profileStandAlo ne/
installedApps/TESTND1Network -distributeApp -nouseMetaDataFr omBinary
-nodeployej
b -appname SGSProcedure -createMBeansFor Resources -noreloadEnabled
-nodeployws -
validateinstall warn -noprocessEmbedd edConfig -MapModulesToSer vers
[["SGS Wizard
" sgs-procDist.war,WE B-INF/web.xml
WebSphere:cell= TESTND1Network, node=IIS,server
=webserver+WebS phere:cell=TEST ND1Network,clus ter=SGSProcedur e]]]'
^
SyntaxError: invalid syntax
wsadmin>

Jul 24 '06 #1
0 3290

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3437
by: angel | last post by:
A java runtime environment includes jvm and java class (for example classes.zip in sun jre). Of course jython need jvm,but does it need java class. Thanx
7
12778
by: Jan Gregor | last post by:
Hello I found that jython catches exact java exceptions, not their subclasses. Is there some way to get around this limitation (or error) ? My program has class representing database source and specialed classes for particulars databases. Now there are two options - to include exception (subclasses of SQLException) for every db in except (so all drivers has to be present) or to move methods to subclasses.
1
2307
by: scott | last post by:
I installed darwinports and did a "sudo port install jython" ------------------------- scott$ which jython /opt/local/bin/jython ------------------------- Jython works in interactive mode as shown below:
3
1956
by: billym | last post by:
Now this is an interesting challenge from IBM: http://star-techcentral.com/tech/story.asp?file=/2003/10/7/corpit/6258973&sec=corpit I wonder... is this really OS/2, the Sequel? Comments, anyone?
0
2156
by: atlantis | last post by:
Hi, I have a very strange problem with xsl:import when usig RELATIVE path on AIX 5.2 server. I have two XSL files in the same directory: "ists_xslt3.xsl" and "ists_xslt3_layout.xsl". This is what the beginning of "ists_xslt3.xsl" looks like:
1
7662
by: Atul Agarwal | last post by:
We have the following configuration DB2 8.1 fix Pack 2 Solaris 9 Websphere Portal server 5 JDK 1.4 While installing the product we are facing a problem which seems to be related to Java connectivity with DB2 through Websphere portal. /websphere/WebSphere/AppServer/java/bin/native2ascii
2
1997
by: PM \(pm3iinc-nospam\) | last post by:
db2 v8 fp2-fp4 Problem : Deploying DB2 Web Tools on WebSphere application servers ... ws 5.0 XMLConfig.bat has been replaced by wsadmin. doc provided for : on WebSphere 4.0 Prerequisites
0
1652
by: luckystarduke | last post by:
Location:Chicago or MN Duration:- 6 months The WebSphere Portal Server administration position requires a great deal of flexibility, both in background and in skill set. Though some tasks will require basic to mid-level Linux System Administration as well as Intel Administration prowess, the vast majority of the workload will be focused on the Architect, Support and Administration of WebSphere Application Server, WebSphere Portal...
5
3619
by: sarup26 | last post by:
Hello .. I would like to know more about Python and Jython? What is the difference between both of them? What is the future for Jython and which are the areas where it is used? Swot
0
10188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11618
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11388
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10714
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9922
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8294
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6245
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3569
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.