load-balancing limitations?

2000-10-09 Thread Klaus Thiele

Hello,

i just set up load-balancing as described in the documentation.

i testet with "default-web-app" and some servlets and it seems
to work fine.

then i tried my struts-based application and i got following exception:

---snipp-
java.lang.IllegalArgumentException: Only java.io.Serializable, 
  javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound 
  to a session in a distributable web-application
at com.evermind.server.http.ClusteredHttpSession.setAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.putValue(JAX)
at com.evermind.server.http.EvermindPageContext.setAttribute(JAX)
 - at org.apache.struts.taglib.FormTag.doStartTag(FormTag.java:510)
-
at /logon.jsp._jspService(/logon.jsp.java:73) (JSP page line 27)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xa(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.so(JAX)
at com.evermind.server.http.d3.sm(JAX)
at com.evermind.server.http.ef.su(JAX)
at com.evermind.server.http.ef.dn(JAX)
at com.evermind.util.f.run(JAX)
---snipp-
FormTag.java:510
pageContext.setAttribute(name, bean, scope);
---snipp-

whats the problem?

thanks a lot
  klaus

--
Klaus Thiele - Personal  Informatik AG
mailto:[EMAIL PROTECTED]

 "There's got to be more to life than compile-and-go."




Re: load-balancing limitations?

2000-10-09 Thread Robert Krueger


same limitations as for persistent sessions. to replicate session state 
orion has to be send it over the wire, i.e. serialize it. for homes and 
ejbobjects that's automtically taken care of by orion. for the other stuff 
you have to make everything you put into a session serializable.

HTH

robert


At 16:06 09.10.00 , you wrote:
Hello,

i just set up load-balancing as described in the documentation.

i testet with "default-web-app" and some servlets and it seems
to work fine.

then i tried my struts-based application and i got following exception:

---snipp-
java.lang.IllegalArgumentException: Only java.io.Serializable,
   javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound
   to a session in a distributable web-application
 at com.evermind.server.http.ClusteredHttpSession.setAttribute(JAX)
 at com.evermind.server.http.EvermindHttpSession.putValue(JAX)
 at com.evermind.server.http.EvermindPageContext.setAttribute(JAX)
  - at org.apache.struts.taglib.FormTag.doStartTag(FormTag.java:510)
-
 at /logon.jsp._jspService(/logon.jsp.java:73) (JSP page line 27)
 at com.orionserver.http.OrionHttpJspPage.service(JAX)
 at com.evermind.server.http.HttpApplication.xa(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d3.so(JAX)
 at com.evermind.server.http.d3.sm(JAX)
 at com.evermind.server.http.ef.su(JAX)
 at com.evermind.server.http.ef.dn(JAX)
 at com.evermind.util.f.run(JAX)
---snipp-
FormTag.java:510
 pageContext.setAttribute(name, bean, scope);
---snipp-

whats the problem?

thanks a lot
   klaus

--
Klaus Thiele - Personal  Informatik AG
mailto:[EMAIL PROTECTED]

  "There's got to be more to life than compile-and-go."

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de