Hi,

Ensure you have a quote for the 'webbundle:path…'
Something like
install -s 
'webbundle:file:///home/gv/work/experiments/ttt/CamelTest/target/CamelTest.wab?Web-ContextPath=/CT222&Bundle-SymbolicName=CamelTestSymbolicName2'
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-5-8, at 下午1:46, Gražvydas Valeika wrote:

> Hi,
> 
> ok, one step further. Now I can define Web-ContextPath in install url.
> 
> But this doesn't allow to define Bundle-SymbolicName in the install url and 
> because of this (not unique symbolic name) I can't deploy 2 web applications 
> side by side. It says: 
> 
> 2013-05-08 08:33:16,183 | INFO  | e ssh user karaf | ShellUtil                
>         | 48 - org.apache.karaf.shell.console - 3.0.0.RC1 | Exception caught 
> while executing command
> org.apache.karaf.shell.console.MultiException: Error installing bundles:
>       Unable to install bundle 
> webbundle:file:///home/gv/work/experiments/ttt/CamelTest/target/CamelTest.wab?Web-ContextPath=/CT222&Bundle-SymbolicName=CamelTestSymbolicName2
>  ...
> Caused by: java.net.MalformedURLException: The webbundle URL handler can not 
> be used with bundles
>       at 
> org.ops4j.pax.url.war.internal.WebBundleConnection.createBundle(WebBundleConnection.java:82)
>       at 
> org.ops4j.pax.url.war.internal.AbstractConnection.getInputStream(AbstractConnection.java:143)
> ...
> 
> Any workaround for this?
> 
> Best regards,
> 
> Grazvydas
> 
> 

Reply via email to