WebSphere Application Server - wsanttasks or wsadmin or wsInstallApplication or wsInstallApp with remote EAR install

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > October 2004 > wsanttasks or wsadmin or wsInstallApplication or wsInstallApp with remote EAR install





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author wsanttasks or wsadmin or wsInstallApplication or wsInstallApp with remote EAR install
p00hba

2004-10-18, 1:11 pm

Hello,

Can anyone help me out and confirm whether or not it is possible at this time to use the wsadmin functionality of IBM's websphere ant tasks or even just the simple wsadmin.bat to actually install an EAR file to a physically remote server?

It appears that there is a design decision taken in which the temp files for the client/server are assumed to be the same and when the server looks for a temp file that the client uncompressed or stored on the client's local machine, it's obviously not finding it in it's own server temp dirctory.

Listing the applications or starting/stopping the server works fine but I get error messages about not being able to find temporary files whenever I try to do a modifcation via a remote, different physical machine, or a "Java Result 105" error .

Using WASD 5.1, ANT 1.6.2 on WinXP

I was unable to get ant to call this InstallApplication task from within WASD as I got errors regarding IBMJSSEProvider which is apparently resolved by using the provided ws_ant.bat file to setup env correctly.

I also tried to use an exec task to launch wsadmin.bat and also recieved similar warnings about "ear does not exist for installation".

After setting up a target with wsInstallApp, I get a Java Result 105 Jacl error with an AdminException (presumably about not being able to locate the Jacl temp file that is on the client machine instead of the server machine).

Thanks a bunch ahead of time for any help on this!

-- == Damien Joldersma -- djold "at" oah.wa.gov == --
Information Application Specialist
Office of Administrative Hearings
State of Washington
Barry Searle

2004-10-22, 7:49 am

Absolutely, if that machine is in an ND cell. DMgr takes care of the
transfer.
I do this all the time. I have one server on my build machine, and use
ws_Ant
and its <wsAdmin> task to install EARs anywhere in the remote cell I want.


If not, I believe you need to transfer the file (typically FTP) then you can
connect to that
remote server and install.

"p00hba" <p00hba.1ecg9r@mail.webservertalk.com> wrote in message
news:p00hba.1ecg9r@mail.webservertalk.com...
>
> Hello,
>
> Can anyone help me out and confirm whether or not it is possible at
> this time to use the wsadmin functionality of IBM's websphere ant tasks
> or even just the simple wsadmin.bat to actually install an EAR file to a
> physically remote server?
>
> It appears that there is a design decision taken in which the temp
> files for the client/server are assumed to be the same and when the
> server looks for a temp file that the client uncompressed or stored on
> the client's local machine, it's obviously not finding it in it's own
> server temp dirctory.
>
> Listing the applications or starting/stopping the server works fine but
> I get error messages about not being able to find temporary files
> whenever I try to do a modifcation via a remote, different physical
> machine, or a "Java Result 105" error .
>
> Using WASD 5.1, ANT 1.6.2 on WinXP
>
> I was unable to get ant to call this InstallApplication task from
> within WASD as I got errors regarding IBMJSSEProvider which is
> apparently resolved by using the provided ws_ant.bat file to setup env
> correctly.
>
> I also tried to use an exec task to launch wsadmin.bat and also
> recieved similar warnings about "ear does not exist for installation".
>
>
> After setting up a target with wsInstallApp, I get a Java Result 105
> Jacl error with an AdminException (presumably about not being able to
> locate the Jacl temp file that is on the client machine instead of the
> server machine).
>
> Thanks a bunch ahead of time for any help on this!
>
> -- == Damien Joldersma -- djold "at" oah.wa.gov == --
> Information Application Specialist
> Office of Administrative Hearings
> State of Washington
>
>
>
> --
> p00hba
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message437782.html
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com