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
Adam Cameron - 23 Aug 2007 22:35 GMT
> GetPageContext().include("login.jsp?OPEID=#OPEID#&Role=#Role#&APURL=#APURL#&SSN=
> #SSN#");
It surprises me that an INCLUDE would accept a file name with *URL
arguments*. An include is not a HTTP request, so what would one expect the
URL arguments to achieve?
Are you sure you're not thinking of getPageContext().forward()?

Signature
Adam
aqlong - 24 Aug 2007 13:28 GMT
yes, i'm not really familiar with this tag to be honest as i "inherited" this
code. but i am sure that I can't even load the jsp page by itself. it's dying
when it tries token = new SecurityToken();
thanks
aqlong - 28 Aug 2007 19:32 GMT
:beer;
i moved the jar files to C:\CFusionMX7\wwwroot\WEB-INF\cfform\jars and it works