OK. That's not quite the same as putting the EAR in a directory and having Websphere autonomously deploy it. I was pretty sure it was not so easy. :)

We've done many installations using the WAS console. The wsadmin Jython scripts look doable. There will be some trial-and-error.

Question - What is the best way to remotely execute a Jython script on an IBMi system?

Thanks,
Todd


-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of dkimmel
Sent: Wednesday, September 09, 2015 1:54 PM
To: Java Programming on and around the IBM i
Subject: RE: Websphere remote scripting

EAR on WebSphere takes an extra step. Put the file in the installable apps path. Go to WAS console and create a new WebSphere enterprise application. You'll be prompted for the path to the ear file. The wizard will prompt for more info.

Anything you can do with WAS console you can also do with wsadmin. I suggest deploying once with console, recording your responses before attempting to write jython scripts for wsadmin.

<div>-------- Original message --------</div><div>From: "Allen, Todd" <Todd.Allen@xxxxxxxxxxxxxxxxx> </div><div>Date:09/09/2015 11:22 AM (GMT-06:00) </div><div>To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx> </div><div>Subject: RE: Websphere remote scripting </div><div> </div>I don't think it's quite that simple. For one, the EAR is exploded in the IFS. Simply copying an EAR file to the "installedApps" folder does nothing, as far as I can tell.

Thanks,
Todd


-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of dkimmel
Sent: Friday, September 04, 2015 10:07 PM
To: Java Programming on and around the IBM i
Subject: RE: Websphere remote scripting

If you have the ear file built all you have to do is copy it into the right directory within the WebSphere path and WebSphere will discover it there and autonomously deploy it. Do a little study on the java web container spec to find the right path.

<div>-------- Original message --------</div><div>From: "Allen, Todd" <Todd.Allen@xxxxxxxxxxxxxxxxx> </div><div>Date:09/04/2015 3:16 PM (GMT-06:00) </div><div>To: "Java Programming on and around the IBM i (java400-l@xxxxxxxxxxxx)" <java400-l@xxxxxxxxxxxx> </div><div>Subject: Websphere remote scripting </div><div> </div>I’m in the very early stages of trying to automate the deployment/installation of Java apps to a Websphere 8.0 server on the IBMi. I’ve got the build process of the EAR file in our Jenkins server. The next step is to deploy it.

I’ve looked around and see there are JACL and Python capabilities to do this but have not seen anything IBMi-specific. Admittedly, I’ve not looked too deeply yet. I thought I would check here to see if anyone has some experience with this or if I’m going down a dead end. Any guidance and/or tips is appreciated.

<rant>It is increasingly difficult to search for IBMi content on the web as some is listed under “AS/400” or “iSeries” or “IBMi” on various sites.</rant>

Todd Allen
Estes Express Lines
804-353-1900 x2283
tallen@xxxxxxxxxxxxxxxxx<mailto:tallen@xxxxxxxxxxxxxxxxx>
www.estes-express.com<http://www.estes-express.com>


For More Than 80 Years—Delivering Solutions That Exceed Expectations.

This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.