Stefan,
Could you try replacing file:// with file:/// (just add a slash)? This
sometimes fixes this issue where the G is interpreted as a host instead of a
folder/drive letter.
Regards,
Gert
stlecho wrote:
>
> Hi,
>
> When I'm using the deploy-service-assembly Ant task, I'm receiving an
> UnkownHostException. Currently I'm using file://g:/... to reference the
> service assembly. I've tried to remove file://, replace "/" with "\", but
> none of them solved this problem.
>
> How should the reference to sm.deploy.file be defined ?
>
> Ant target:
> <target name="deploy-service-assembly">
> <ant target="deploy-service-assembly" antfile="${servicemix.buildfile}">
> <property name="sm.deploy.file"
>
> value="file://G:/projects-europa/esb/enotary-esb-servicemix-server/tutorial-sa/tutorial-sa-1.0-SNAPSHOT.jar"/>
> </ant>
> </target>
>
> Error Message:
> [jbi-deploy-service-assembly] <loc-message>Unable to unpack archive:
> file://G:/projects-europa/esb/enotary-esb-servicemix-server/tutorial-sa/tutorial-sa-1.0-SNAPSHOT.jar</loc-message>
> [jbi-deploy-service-assembly] </msg-loc-info>
> [jbi-deploy-service-assembly] </task-status-msg>
> [jbi-deploy-service-assembly] <exception-info>
> [jbi-deploy-service-assembly] <nesting-level>1</nesting-level>
> [jbi-deploy-service-assembly] <loc-token/>
> [jbi-deploy-service-assembly] <loc-message>java.net.UnknownHostException:
> G</loc-message>
> [jbi-deploy-service-assembly]
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException:
> java.net.UnknownHostException: G
>
> Regards, Stefan Lecho.
>
-----
---
Gert Vanthienen
http://www.anova.be
--
View this message in context:
http://www.nabble.com/UnknownHostException-when-using-deploy-service-assembly-tp19088849p19096839.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.