Adrian
2004-04-16 08:01:25 UTC
Hi Guys,
I am trying to remotely install a websphere application as part of an
automated buld script (ant).
I am using WSAD 5.11 and WAS 5.1
I tried running the wsInstallApp task but that was causing errors. I
investigated further and tried to run the installation from the
command line using the wsadmin tool. I log onto the remote WAS server
using SOAP and I can execute commands against the remote server i.e.
list, uninstallApp, stopserver, startserver etc.
However, when I try to run the install command:
(wsadmin>$AdminAppinstall "c:/build/panoramajar/panoramaear.ear"
{-appname Panor
amaEAR -nodeployejb}
I receive the following error:
com.ibm.websphere.management.exception.AdminException
javax.management.MBeanException
com.ibm.websphere.management.exception.AdminException: ADMA0043E:
C:\Documents a
nd Settings\wasadmin\Local Settings\Temp\2\app23320.ear does not exist
for insta
llation.
What seems to happen is:
1) a temp EAR is created i.e. ..\temp\app23320.ear from my EAR
2) The temp EAR is extracted
3) The temp EAR is deleted
4) wsadmin throws error saying it can't find the temp EAR (which it
had just deleted)
I tried running the install command with all sorts of different
options but that seems to make no difference. I also tried using
installInteractive with the same result.
When I deploy the EAR onto the local server it works fine. I tried
running this on different machines and the result is always the same.
It is definitely a problem with my remote deployment.
I've looked around on google and there are a couple other people with
the same problem. However, there are no solutions.
Any guidance would be greatly appreciated.
Thanks,
Adrian
I am trying to remotely install a websphere application as part of an
automated buld script (ant).
I am using WSAD 5.11 and WAS 5.1
I tried running the wsInstallApp task but that was causing errors. I
investigated further and tried to run the installation from the
command line using the wsadmin tool. I log onto the remote WAS server
using SOAP and I can execute commands against the remote server i.e.
list, uninstallApp, stopserver, startserver etc.
However, when I try to run the install command:
(wsadmin>$AdminAppinstall "c:/build/panoramajar/panoramaear.ear"
{-appname Panor
amaEAR -nodeployejb}
I receive the following error:
com.ibm.websphere.management.exception.AdminException
javax.management.MBeanException
com.ibm.websphere.management.exception.AdminException: ADMA0043E:
C:\Documents a
nd Settings\wasadmin\Local Settings\Temp\2\app23320.ear does not exist
for insta
llation.
What seems to happen is:
1) a temp EAR is created i.e. ..\temp\app23320.ear from my EAR
2) The temp EAR is extracted
3) The temp EAR is deleted
4) wsadmin throws error saying it can't find the temp EAR (which it
had just deleted)
I tried running the install command with all sorts of different
options but that seems to make no difference. I also tried using
installInteractive with the same result.
When I deploy the EAR onto the local server it works fine. I tried
running this on different machines and the result is always the same.
It is definitely a problem with my remote deployment.
I've looked around on google and there are a couple other people with
the same problem. However, there are no solutions.
Any guidance would be greatly appreciated.
Thanks,
Adrian