Hello All,
I think this may be a question for Filip.....I am testing a network load balancing and tomcat clustering configuration (InMemorySessionReplication)......Here's my setup: I have two servers both of which have IIS 5 and Tomcat 4.1.29 installed. I am using Microsoft Network Load Balancing Services to do my front end load balancing/failover detection in front of the two IIS web servers....I implemented the JK2 connector between IIS and Tomcat on both of the boxes. NLB services and the JK2 Connector setup are working great! I downloaded tomcat-javagroups.jar and javagroups.jar and put them in my /server/lib directory.....I also have the following in webapp <context> element: <Manager className="org.apache.catalina.session.InMemoryReplicationManager" protocolStack="UDP(mcast_addr=228.1.2.3;mcast_port=45566;ip_ttl=32) :PING(timeout=3000;num_initial_members=6):FD(timeout=5000): VERIFY_SUSPECT(timeout=1500):pbcast.STABLE (desired_avg_gossip=10000):pbcast.NAKACK(gc_lag=10;retransmit_timeout=30 00): UNICAST(timeout=5000;min_wait_time=2000):MERGE2:FRAG:pbcast.GMS (join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=f alse)"> </Manager> I copied and pasted the above from here: http://www.theserverside.com/resources/article.jsp?l=Tomcat When I start up Tomcat I see the EXPECTED error that the InSessionMemoryReplication mbean is not found. Cool..... I can access static content no problem such as an html page but, when I go to access .jsp page I receive the following error in the localhost log..... 2003-12-11 15:55:56 JspFactoryImpl: Exception initializing page context java.lang.NullPointerException at org.apache.catalina.session.InMemoryReplicationManager.createSession(InM emoryReplicationManager.java:212) at org.apache.catalina.session.InMemoryReplicationManager.createSession(InM emoryReplicationManager.java:242) at org.apache.coyote.tomcat4.CoyoteRequest.doGetSession(CoyoteRequest.java: 1882) I'm not sure what to make of this....I know I need to make all of my session attributes implement java.io.Serializable......But, I haven't even put anything into my session yet........I'm just accessing a jsp that is bare bones with just a simple "hello" string...... Any Ideas?
