views:

50

answers:

0

Hi

I have the following ant configuration for remote deployment to weblogic.

<target name="deploy">
    <wldeploy name="${ant.project.name}.ear" user="${wls.username}" password="${wls.password}" adminurl="t3://${wls.hostname}:${wls.port}" action="deploy" source="myApp.ear" targets="${wls.server.name}" stage="true" verbose="true" upload="true" remote="true" debug="true"/>
</target>

I am facing the following error when I run the build file for this target: BUILD FAILED weblogic.management.ManagementException: [Deployer:149003]Unable to access application source information in '<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.0 Draft/EN">/app/myApp.ear' for application 'myApp.ear'.

I believe I am not able to control the server location where the EAR files for deployment are staged. But why? The scripts seem to be working fine when the target is my peer machine(windows). Local deployments work as well. Is it reladted to unix env. or any weblogic server settings?