File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Updating the dictionary app from command line
Joined: Dec 12, 2011
Dec 12, 2011 16:27:51
I was looking for a way to update the DictionaryApp that comes with WebSphere and trying to update if
from command line
, so that I don't have to go thru the admin console every time.
I cannot figure out a way to specify the JNDI is "jdbc/DictionaryDB" which is a mandatory field.
I am calling a batch file that has the following command:
"C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin" -lang jython -user admin -password admin -f "c:\pkg\update.py"
The content of the update.py file is where I am struggling with: I so far have:
(but not sure how to include the fact that it needs another paramter: '-JNDIName' which = 'jdbc/DictionaryDB'
AdminApp.install('DictionaryApp','app',['-operation', 'update', '-contents','C:/pkg/DictionaryApp.ear']);AdminConfig.save();
I agree. Here's the link:
subject: Updating the dictionary app from command line
EJBs in WebSphere
how javac search file?
Problem Loading DB2 Driver
SCJP 5 Study Guide: Self Test Q. 12 - Page 788
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015