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