3 Replies Latest reply on Aug 28, 2007 11:32 AM by aqlong

    GetPageContext fails on CF 7

    aqlong
      I have this bit of code that looks like this:
      <cfscript>
      GetPageContext().include("login.jsp?OPEID=#OPEID#&Role=#Role#&APURL=#APURL#&SSN=#SSN#");
      </cfscript>

      this works on CFMX6 and requires 2 jar files in C:\CFusionMX\wwwroot\WEB-INF\lib. I am building this new server and all settings are exactly the same. I even put the jar files in the MX7 path and restarted services but am now getting this error over and over.

      java.lang.ClassCastException null <br>The error occurred on line 27.

      this is the JSP code that's failing; the second line to be exact

      SecurityToken token = null;
      token = new SecurityToken();

      any help is appreciated. i'm thinking there is some small setting in the new server that I'm overlooking but can't figure it out. thanks