Hello,
I run servicemix 3.3 with JDK 1.5.0_14-b03 on linux. So I follow the hello
word BC tutorial (http://servicemix.apache.org/hello-world-bc.html) and I
corrected the MyBootstrap class problem by generating this class
implementing Bootstrap by hand - with no change on auto generated method.
Now, I have a new blocking exception problem when I deploy the compiled BC :
INFO - AutoDeploymentService - Directory: hotdeploy: Archive
changed: processing hello-world-bc-1.0-SNAPSHOT-installer.zip ...
Exception in thread "Timer-3" java.lang.VerifyError: (class:
org/apache/servicemix/samples/helloworld/bc/MyProviderEndpoint, method:
validate signature: ()V) Illegal use of nonvirtual function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.apache.servicemix.samples.helloworld.bc.MyComponent.class$(MyComponent.java:47)
at
org.apache.servicemix.samples.helloworld.bc.MyComponent.getEndpointClasses(MyComponent.java:47)
at
org.apache.servicemix.common.DefaultComponent.createServiceUnitManager(DefaultComponent.java:213)
at
org.apache.servicemix.common.DefaultComponent.<init>(DefaultComponent.java:58)
at
org.apache.servicemix.samples.helloworld.bc.MyComponent.<init>(MyComponent.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:187)
at
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:165)
at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:326)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
I already try to get explanations for this error thanks google, but it seems
I'm the lonely one to get this error :'(
Is there anyone who have an idea how I can correct it ?
Thanks for all.
--
View this message in context:
http://www.nabble.com/Exception-on-hello-world-BC-sample-tp20538633p20538633.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.