You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charlesh <ch...@neogrid.com.br> on 2006/03/24 14:25:47 UTC

install servicemix-http-3.0-SNAPSHOT.zip failed

I could execute the example:
"http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml
", without installing: servicemix-http-3.0-SNAPSHOT.zip.

but the example "Lightweight mode" does not function, occurring:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in class path resource [xbean.xml]: Initialization
of bean failed; nested exception is java.lang.IllegalArgumentException:
Component name: ID:charlesh1-2145-1143206466044-0:0 is bound to an object
which is not a JBI component, it is of type: javax.xml.namespace.QName
java.lang.IllegalArgumentException: Component name:
ID:charlesh1-2145-1143206466044-0:0 is bound to an object which is not a JBI
component, it is of type: javax.xml.namespace.QName
	at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:795)
	at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:66)




I´m put servicemix-http-3.0-SNAPSHOT.zip in folder install, This occurring
the 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



Help...

--
View this message in context: http://www.nabble.com/install-servicemix-http-3.0-SNAPSHOT.zip-failed-t1336384.html#a3570997
Sent from the ServiceMix - User forum at Nabble.com.


Re: install servicemix-http-3.0-SNAPSHOT.zip failed

Posted by Guillaume Nodet <gn...@gmail.com>.
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 <ch...@neogrid.com.br> 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.
>
>

Re: install servicemix-http-3.0-SNAPSHOT.zip failed

Posted by Charlesh <ch...@neogrid.com.br>.
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.


Re: install servicemix-http-3.0-SNAPSHOT.zip failed

Posted by Guillaume Nodet <gn...@gmail.com>.
You have to add servicemix-http necessary jars in your classpath if
you want to use configure the component in the servicemix.xml file.
All the needed are jars in the servicemix-http component installer.

Cheers,
Guillaume Nodet

On 3/24/06, Charlesh <ch...@neogrid.com.br> wrote:
>
> I could execute the example:
> "http://svn.apache.org/repos/asf/incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml
> ", without installing: servicemix-http-3.0-SNAPSHOT.zip.
>
> but the example "Lightweight mode" does not function, occurring:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'jbi' defined in class path resource [xbean.xml]: Initialization
> of bean failed; nested exception is java.lang.IllegalArgumentException:
> Component name: ID:charlesh1-2145-1143206466044-0:0 is bound to an object
> which is not a JBI component, it is of type: javax.xml.namespace.QName
> java.lang.IllegalArgumentException: Component name:
> ID:charlesh1-2145-1143206466044-0:0 is bound to an object which is not a JBI
> component, it is of type: javax.xml.namespace.QName
>         at
> org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:795)
>         at
> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:66)
>
>
>
>
> I´m put servicemix-http-3.0-SNAPSHOT.zip in folder install, This occurring
> the 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
>
>
>
> Help...
>
> --
> View this message in context: http://www.nabble.com/install-servicemix-http-3.0-SNAPSHOT.zip-failed-t1336384.html#a3570997
> Sent from the ServiceMix - User forum at Nabble.com.
>
>