Hi,

Still trying to get the hang of SMX 4.1.0.0 and OSGI. I'm installing a
bundle with this result:

install -s file:/tmp/cxf-springdm-weather-4.1.0.0-fuse.jar
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.

I did flush the 'data' directory and set the debug level to DEBUG but can't
find anything in the stack trace below
(or the log) that points to exactly *what* constraint is being violated. How
can I get more specific information about a constraint error?

Thanks, Garry


org.apache.geronimo.gshell.commandline.CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
        at
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:246)
        at
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:107)
        at
org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
        at
org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:61)
        at
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:90)
        at
org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
        at
org.apache.geronimo.gshell.wisdom.shell.CommandLineBuilderImpl$1.execute(CommandLineBuilderImpl.java:96)
        at
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:71)
        at
org.apache.geronimo.gshell.wisdom.shell.ShellImpl.execute(ShellImpl.java:172)
        at
org.apache.geronimo.gshell.wisdom.shell.ShellImpl$2.execute(ShellImpl.java:208)
        at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
        at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
        at
org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:252)
        at
org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrapper.java:81)
        at
org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsole.java:125)
        at java.lang.Thread.run(Thread.java:613)
Caused by: org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
        at
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:148)
        at
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:106)
        at
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor$1.run(ExecutingVisitor.java:208)
        at
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:231)
        ... 15 more
Caused by: org.osgi.framework.BundleException: Unable to resolve due to
constraint violation.
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:770)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:751)
        at
org.apache.servicemix.kernel.gshell.osgi.InstallBundle.doExecute(InstallBundle.java:52)
        at
org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport.execute(OsgiCommandSupport.java:48)
        at
org.apache.geronimo.gshell.wisdom.command.CommandSupport.executeAction(CommandSupport.java:303)
        at
org.apache.geronimo.gshell.wisdom.command.StatefulCommand.executeAction(StatefulCommand.java:94)
        at
org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:194)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
        at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
        at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
        at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy17.execute(Unknown Source)
        at
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:127)

-- 
View this message in context: 
http://www.nabble.com/What-constraint-is-violated--tp23418826p23418826.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to