Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Issues about deploying web application in GigaSpaces 7.0m6

As I have experienced the excellent feature about dynamic scale up in Web application under GigaSpaces 6.6.3, I decided to have a trial in GigaSpaces 7.0m6. However, I encountered the following issues which I didn't experience in the previous version.

1st issue: When I try to deploy a web application using a space to be the local cache for jetty sessions, I encountered an error shown in GSC console: "WARNING [org.mortbay.jetty]: failed org.openspaces.jee.sessions.jetty.GigaSessionManager@773d3f62 org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'localCache' is defined"

However, I have defined such bean class in the pu.xml clearly as following the web/session example in GigaSpaces 6.6.3:

<os-core:space id="space"
    url="jini://*/*/sessionSpaces?groups=test" />
<os-core:giga-space id="gigaSpace" space="space" />
<os-core:local-cache id="localCache" space="space"/>

Here is the full GSC console log:

Mar 27, 2009 3:35:30 PM INFO [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl]: [LoadBalancing_GS_7.PU] BeanLevelProperties Context {jee.container=jetty, web.threadPool.maxThreads=100, jetty.sessions.spaceUrl=bean://localCache, web.sslPort=9443, web.threadPool.minThreads=15, web.port=8086} Beans {}

Mar 27, 2009 3:35:32 PM INFO [org.openspaces.pu.container.jee.jetty.JettyJeeProcessingUnitContainerProvider]: Using Jetty server with port [8086]

Mar 27, 2009 3:35:32 PM WARNING [org.mortbay.jetty]: failed org.openspaces.jee.sessions.jetty.GigaSessionManager@773d3f62 org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'localCache' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880) at org.openspaces.jee.sessions.jetty.GigaSessionManager.doStart(GigaSessionManager.java:99) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.SessionHandler.doStart(SessionHandler.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:537) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.openspaces.pu.container.jee.jetty.JettyJeeProcessingUnitContainerProvider.createContainer(JettyJeeProcessingUnitContainerProvider.java:504) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.startPU(PUServiceBeanImpl.java:487) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.doStart(PUServiceBeanImpl.java:176) at org.jini.rio.jsb.ServiceBeanAdapter$1.run(ServiceBeanAdapter.java:289) at org.jini.rio.jsb.ServiceBeanAdapter.start(ServiceBeanAdapter.java:302) at org.jini.rio.jsb.JSBLoader.create(JSBLoader.java:107) at org.jini.rio.cybernode.ServiceBeanLoader.load(ServiceBeanLoader.java:333) at org.jini.rio.cybernode.JSBDelegate.startServiceBean(JSBDelegate.java:453) at org.jini.rio.cybernode.JSBDelegate.load(JSBDelegate.java:309) at org.jini.rio.cybernode.JSBContainer.activate(JSBContainer.java:195) at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:1015) 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:597) at com.gigaspaces.lrmi.LRMIRuntime.invoked(LRMIRuntime.java:378) at com.gigaspaces.lrmi.nio.Pivot.consumeAndHandleRequest(Pivot.java:378) at com.gigaspaces.lrmi.nio.Pivot.handleRequest(Pivot.java:466) at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:148) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

Mar 27, 2009 3:35:32 PM INFO [org.openspaces.pu.container.jee.jetty.JettyJeeProcessingUnitContainerProvider]: Deployed web application [192.168.128.193:8086/LoadBalancing_GS_7]

Mar 27, 2009 3:35:32 PM SEVERE [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl]: [LoadBalancing_GS_7.PU] Failed to start PU with xml [ http://www.springframework.org/schema... http://www.springframework.org/schema... http://www.springframework.org/schema... http://www.openspaces.org/schema/core http://www.openspaces.org/schema/core... http://www.openspaces.org/schema/events http://www.openspaces.org/schema/even... http://www.openspaces.org/schema/remo... http://www.openspaces.org/schema/remo... http://www.openspaces.org/schema/sla http://www.openspaces.org/schema/sla/...> ] java.lang.IllegalArgumentException: Monitor did not find bean [systemMonitor] under Spring application context, availalbe beans are [propertiesConfigurer, port, confidentialPort, webAppContext, jettyHolder, jetty] at org.openspaces.pu.sla.monitor.BeanPropertyMonitor.setApplicationContext(BeanPropertyMonitor.java:79) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.startPU(PUServiceBeanImpl.java:510) at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.doStart(PUServiceBeanImpl.java:176) at org.jini.rio.jsb.ServiceBeanAdapter$1.run(ServiceBeanAdapter.java:289) at org.jini.rio.jsb.ServiceBeanAdapter.start(ServiceBeanAdapter.java:302) at org.jini.rio.jsb.JSBLoader.create(JSBLoader.java:107) at org.jini.rio.cybernode.ServiceBeanLoader.load(ServiceBeanLoader.java:333) at org.jini.rio.cybernode.JSBDelegate.startServiceBean(JSBDelegate.java:453) at org.jini.rio.cybernode.JSBDelegate.load(JSBDelegate.java:309) at org.jini.rio.cybernode.JSBContainer.activate(JSBContainer.java:195) at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:1015) 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:597) at com.gigaspaces.lrmi.LRMIRuntime.invoked(LRMIRuntime.java:378) at com.gigaspaces.lrmi.nio.Pivot.consumeAndHandleRequest(Pivot.java:378) at com.gigaspaces.lrmi.nio.Pivot.handleRequest(Pivot.java:466) at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:148) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask ... (more)

asked 2009-03-27 04:34:39 -0500

twinsenc gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Hi,

Thanks for trying out M6, we'll look into it and will report soon.

Guy

answered 2009-03-27 10:09:40 -0500

nirpaz gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-03-27 04:34:39 -0500

Seen: 158 times

Last updated: Aug 08 '13