exception during opensocial-container

View: New views
6 Messages — Rating Filter:   Alert me  

exception during opensocial-container

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I don't know why I am getting an exception during opensocial-container deployment when one of my custom plugins is in directory nuxeo.ear/plugins. I don't even contribute to any opensocial extension points. Because of that exception I get an error in opensocial dashbord and none of the gadgets are displayed. I've looking for several days. Does anyone have a clue ? Here is the exception :
2009-10-23 12:05:48,096 DEBUG [org.nuxeo.runtime.model.ComponentManager] Dispatching event: COMPONENT_REGISTERED: service:org.nuxeo.opensocial.container.factory

2009-10-23 12:05:48,096 INFO  [org.nuxeo.runtime.model.ComponentManager] Registering component: service:org.nuxeo.opensocial.container.factory

2009-10-23 12:05:48,096 INFO  [org.nuxeo.runtime.model.ComponentManager] Registering service: org.nuxeo.opensocial.container.component.api.FactoryManager

2009-10-23 12:05:48,111 DEBUG [org.nuxeo.runtime.model.ComponentManager] Dispatching event: COMPONENT_RESOLVED: service:org.nuxeo.opensocial.container.factory

2009-10-23 12:05:48,111 DEBUG [org.nuxeo.runtime.model.ComponentManager] Dispatching event: ACTIVATING_COMPONENT: service:org.nuxeo.opensocial.container.factory

2009-10-23 12:05:48,111 DEBUG [org.nuxeo.runtime.model.ComponentManager] Dispatching event: COMPONENT_ACTIVATED: service:org.nuxeo.opensocial.container.factory

2009-10-23 12:05:48,111 ERROR [org.nuxeo.runtime.model.ComponentManager] Failed to create component: service:org.nuxeo.opensocial.container.factory

java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/IsSerializable

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:690)

        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:670)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)

        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)

        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:690)

        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:670)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)

        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)

        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)

        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:164)

        at org.nuxeo.opensocial.container.component.FactoryManagerImpl.registerContribution(FactoryManagerImpl.java:38)

        at org.nuxeo.runtime.model.DefaultComponent.registerExtension(DefaultComponent.java:41)

        at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.registerExtension(ComponentInstanceImpl.java:172)

        at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:298)

        at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.resolve(RegistrationInfoImpl.java:347)

        at org.nuxeo.runtime.model.impl.ComponentManagerImpl._register(ComponentManagerImpl.java:200)

        at org.nuxeo.runtime.model.impl.ComponentManagerImpl.register(ComponentManagerImpl.java:145)

        at org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy(DefaultRuntimeContext.java:92)

        at org.nuxeo.runtime.osgi.OSGiRuntimeService.loadComponents(OSGiRuntimeService.java:207)

        at org.nuxeo.runtime.osgi.OSGiRuntimeService.createContext(OSGiRuntimeService.java:157)

        at org.nuxeo.runtime.osgi.OSGiComponentLoader.bundleChanged(OSGiComponentLoader.java:108)

        at org.nuxeo.osgi.OSGiAdapter.fireBundleEvent(OSGiAdapter.java:222)

        at org.nuxeo.osgi.BundleImpl.setResolved(BundleImpl.java:263)

        at org.nuxeo.osgi.BundleRegistry.doRegister(BundleRegistry.java:163)

        at org.nuxeo.osgi.BundleRegistry.register(BundleRegistry.java:120)

        at org.nuxeo.osgi.BundleRegistry.install(BundleRegistry.java:81)

        at org.nuxeo.osgi.OSGiAdapter.install(OSGiAdapter.java:160)

        at org.nuxeo.osgi.jboss.JBossOSGiAdapter.installBundle(JBossOSGiAdapter.java:110)

        at org.nuxeo.osgi.jboss.JBossOSGiAdapter.handleNotification2(JBossOSGiAdapter.java:255)

        at org.jboss.system.ListenerServiceMBeanSupport.handleNotification(ListenerServiceMBeanSupport.java:403)

        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)

        at $Proxy64.handleNotification(Unknown Source)

        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)

        at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:110)

        at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)

        at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)

        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

        at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at $Proxy25.deploy(Unknown Source)

        at org.nuxeo.runtime.jboss.deployment.NuxeoDeployer.start(NuxeoDeployer.java:268)

        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at $Proxy9.deploy(Unknown Source)

        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)

        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)

        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

        at $Proxy0.start(Unknown Source)

        at org.jboss.system.ServiceController.start(ServiceController.java:417)

        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at $Proxy4.start(Unknown Source)

        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)

        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

        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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at $Proxy5.deploy(Unknown Source)

        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

        at org.jboss.Main.boot(Main.java:200)

        at org.jboss.Main$1.run(Main.java:508)

        at java.lang.Thread.run(Thread.java:595)

2009-10-23 12:05:48,393 DEBUG [nuxeo.bundle.debug] Bundle changed: org.nuxeo.opensocial.container STARTING

2009-10-23 12:05:48,393 DEBUG [nuxeo.bundle.debug] Bundle changed: org.nuxeo.opensocial.container STARTED
--
Posted by "vdu" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8631>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: exception during opensocial-container deployment

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does your plugin use GWT ?

The OpenSocial dashboard relies on the 1.5.3 version of GWT. If your plugins uses a different version, it may conflicts with the one we use there for the RPC communication.
--
Posted by "dmetzler" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8634>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: exception during opensocial-container deployment

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, it does not, that's why I am a bit confused. My custom plugin is not a advanced one, it contains one seam component class and several contributions like actions, layouts, virtual navigation, directory UI, ... Pretty basic stuffs.
--
Posted by "vdu" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8635>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: exception during opensocial-container deployment

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have several custom plugins, but I am not able to determine which one causes the problem. I tried to remove some plugins to know which one is the culprit but it's mission impossible. The weird thing is I don't even include any libraries/jars in my plugins so I dont think it's a problem of version of GWT jar. I am getting desperate.
--
Posted by "vdu" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8677>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: exception during opensocial-container deployment

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

does it work if you could remove all gwt library from nuxeo.ear and put it in $JBOSS/server/default/lib (Note that some nuxeo plugins used to have gwt jar in their lib folder). At least you'll find out if it is a gwt version pb or a deployment order problem.
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8682>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: exception during opensocial-container deployment

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I tried with Nuxeo DM 5.3 GA and I can not reproduce the problem with it, let say my problem is solved.

Thanks anyway.
--
Posted by "vdu" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2942#8688>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm