taylor      2004/05/12 11:48:55

  Modified:    portal/src/java/org/apache/jetspeed/container
                        ContainerValve.java
  Log:
  creating a new session, thought that might have been causing problems with TOmcat 5

  

  PR:

  Obtained from:

  Submitted by: 

  Reviewed by:  

  CVS: ----------------------------------------------------------------------

  CVS: PR:

  CVS:   If this change addresses a PR in the problem report tracking

  CVS:   database, then enter the PR number(s) here.

  CVS: Obtained from:

  CVS:   If this change has been taken from another system, such as NCSA,

  CVS:   then name the system in this line, otherwise delete it.

  CVS: Submitted by:

  CVS:   If this code has been contributed to Apache by someone else; i.e.,

  CVS:   they sent us a patch or a new module, then include their name/email

  CVS:   address here. If this is your work then delete this line.

  CVS: Reviewed by:

  CVS:   If we are doing pre-commit code reviews and someone else has

  CVS:   reviewed your changes, include their name(s) here.

  CVS:   If you have not had it reviewed then delete this line.

  
  Revision  Changes    Path
  1.7       +4 -1      
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/ContainerValve.java
  
  Index: ContainerValve.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/ContainerValve.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContainerValve.java       7 Apr 2004 03:55:00 -0000       1.6
  +++ ContainerValve.java       12 May 2004 18:48:55 -0000      1.7
  @@ -45,6 +45,9 @@
       {
           try
           {  
  +            // create a session if not already created, necessary for Tomcat 5
  +            request.getRequest().getSession(true);
  +            
               //PortletContainerServices.prepare();
               NavigationalState state = request.getNavigationalState();
               if (state != null)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to