Sanjeet Jha created IGNITE-7721:
-----------------------------------
Summary: Apache Ignite web session clustering stack after login
success
Key: IGNITE-7721
URL: https://issues.apache.org/jira/browse/IGNITE-7721
Project: Ignite
Issue Type: Bug
Components: cache, websession
Affects Versions: 2.3
Reporter: Sanjeet Jha
I implement Apache ignite in my OfBiz application. after login my application
show login susses. but the browser does not get any response from the server.
Here is my web.xml
{{<context-param> <param-name>IgniteConfigurationFilePath</param-name>
<param-value>specialpurpose/fnp/webapp/fnp/WEB-INF/ignite-config.xml
</param-value> </context-param> <!-- Specify the name of Ignite cache for web
sessions. --> <context-param>
<param-name>IgniteWebSessionsCacheName</param-name>
<param-value>replicated</param-value> </context-param> <listener>
<listener-class>org.apache.ignite.startup.servlet.ServletContextListenerStartup
</listener-class> </listener> <filter>
<filter-name>IgniteWebSessionsFilter</filter-name>
<filter-class>org.apache.ignite.cache.websession.WebSessionFilter
</filter-class> </filter> <!-- You can also specify a custom URL pattern. -->
<filter-mapping> <filter-name>IgniteWebSessionsFilter</filter-name>
<url-pattern>/*</url-pattern> </filter-mapping>}}
{{and my ignite-config.xml}}
{{<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd"> <bean
id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="cacheConfiguration"> <list> <bean
class="org.apache.ignite.configuration.CacheConfiguration"> <!-- Cache name.
--> <property name="name" value="replicated" /> <!-- Cache mode. --> <property
name="cacheMode" value="REPLICATED" /> </bean> </list> </property> <property
name="gridLogger"> <bean class="org.apache.ignite.logger.log4j.Log4JLogger">
<constructor-arg type="java.lang.String" value="/data/log/ignite-log4j.xml" />
</bean> </property> <!-- Enable task execution events for examples. -->
<property name="includeEventTypes"> <list> <!--Task execution events -->
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_STARTED" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_FINISHED" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_FAILED" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_TIMEDOUT" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_SESSION_ATTR_SET" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_REDUCED" /> <!--Cache
events --> <util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_READ" />
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_REMOVED" />
</list> </property> <!-- Explicitly configure TCP discovery SPI to provide list
of initial nodes. --> <property name="discoverySpi"> <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property
name="ipFinder"> <!-- Ignite provides several options for automatic discovery
that can be used instead os static IP based discovery. For information on all
options refer to our documentation:
http://apacheignite.readme.io/docs/cluster-config --> <!-- Uncomment static IP
finder to enable static-based discovery of initial nodes. --> <!--<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
--> <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
<property name="addresses"> <list> <!-- In distributed environment, replace
with actual host IP address. --> <value>127.0.0.1:47500</value> </list>
</property> </bean> </property> </bean> </property> </bean> </beans>}}{{}}
I also try to collected ignite log. but there is no error log. Any idea what
happens.
And also some time I OutOfMemoryError error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)