When you put the zip in the install dir, ServiceMix will "install" the
component as described in the jbi spec.  Then you will have to write a
service unit and a service assembly to deploy to this component.  If
you use the lighweight way, you have to unzip the component and put
all the jars inside it in your classpath (the lib dir of the
distribution) so that they are in ServiceMix container's classloader.

Cheers,
Guillaume Nodet

On 3/24/06, Charlesh <[EMAIL PROTECTED]> wrote:
>
> I´m put servicemix-http-3.0-SNAPSHOT.zip in folder install
>
> This occurringthe following error:
>
> >
> > [24/Mar/2006 10:04:56:115]
> > [org.apache.servicemix.jbi.framework.AutoDeploymentService] Automatic
> > install of
> > C:\integrator\bin\..\server\jbi\install\servicemix-http-3.0-SNAPSHOT.zip
> > failed
> > javax.resource.spi.work.WorkCompletedException: Unknown error, error code:
> > 0
> >         at
> > org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:323)
> >         at
> > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> > Source)
> >         at java.lang.Thread.run(Unknown Source)
> > Caused by: java.lang.ExceptionInInitializerError
> >         at
> > org.apache.servicemix.http.HttpLifeCycle.<init>(HttpLifeCycle.java:33)
> >         at
> > org.apache.servicemix.http.HttpComponent.createLifeCycle(HttpComponent.java:35)
> >         at
> > org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:48)
> >         at
> > org.apache.servicemix.http.HttpComponent.<init>(HttpComponent.java:29)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > Source)
> >         at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > Source)
> >         at java.lang.reflect.Constructor.newInstance(Unknown Source)
> >         at java.lang.Class.newInstance0(Unknown Source)
> >         at java.lang.Class.newInstance(Unknown Source)
> >         at
> > org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:136)
> >         at
> > org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:325)
> >         at
> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:209)
> >         at
> > org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:515)
> >         at
> > org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
> >         ... 2 more
> > Caused by: java.lang.SecurityException: sealing violation: package
> > org.mortbay.jetty is sealed
> >         at java.net.URLClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.access$100(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at
> > org.apache.servicemix.jbi.framework.InstallationClassLoader.findClass(InstallationClassLoader.java:86)
> >         at
> > org.apache.servicemix.jbi.framework.ParentFirstClassLoader.loadClass(ParentFirstClassLoader.java:74)
> >         at
> > org.apache.servicemix.jbi.framework.InstallationClassLoader.loadClass(InstallationClassLoader.java:97)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at java.lang.ClassLoader.defineClass1(Native Method)
> >         at java.lang.ClassLoader.defineClass(Unknown Source)
> >         at java.security.SecureClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.defineClass(Unknown Source)
> >         at java.net.URLClassLoader.access$100(Unknown Source)
> >         at java.net.URLClassLoader$1.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(Unknown Source)
> >         at
> > org.apache.servicemix.jbi.framework.InstallationClassLoader.findClass(InstallationClassLoader.java:86)
> >         at
> > org.apache.servicemix.jbi.framework.ParentFirstClassLoader.loadClass(ParentFirstClassLoader.java:74)
> >         at
> > org.apache.servicemix.jbi.framework.InstallationClassLoader.loadClass(InstallationClassLoader.java:97)
> >         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Unknown Source)
> >         at
> > org.apache.servicemix.http.HttpConfiguration.class$(HttpConfiguration.java:23)
> >         at
> > org.apache.servicemix.http.HttpConfiguration.<clinit>(HttpConfiguration.java:23)
> >         ... 17 more
> --
> View this message in context: 
> http://www.nabble.com/install-servicemix-http-3.0-SNAPSHOT.zip-failed-t1336384.html#a3576980
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Reply via email to