G'day
I have just raised http://code.google.com/p/openbluedragon/issues/detail?id=361,
which says:
{quote}
I have this file structure:
/subdir/
/app1/
/Application.cfc
/test.cfm
/app2/
/Application.cfc
/test.cfm
app1/Application.cfc is thus:
<cfcomponent>
<cfset this.name = "test5">
<cfset this.sessionManagement = true>
</cfcomponent>
app2/Application.cfc is thus:
<cfcomponent>
<cfset this.name = "test5">
<!--- so no session management here --->
</cfcomponent>
Both test.cfm files are thus:
<cfdump var="#application#">
If I run app1/test.cfm, I get a dump as expected. If I then run app2/
test.cfm, I get this error:
BlueDragon Internal Server Error
The page you were executing caused an internal BlueDragon server error
Request /subdir/app2/test.cfm
File Trace C:/webroots/openbd/subdir/app2/test.cfm
Type Internal
Tag Context
Stack Trace
java.lang.ClassCastException:
com.naryx.tagfusion.cfm.engine.cfDisabledStructData cannot be cast to
com.naryx.tagfusion.cfm.application.cfSessionData
at
com.naryx.tagfusion.cfm.application.cfApplicationManager.onSessionStart(Unknown
Source)
at
com.naryx.tagfusion.cfm.application.cfApplicationManager.loadApplication(Unknown
Source)
at com.naryx.tagfusion.cfm.engine.cfSession.onRequestStart(Unknown
Source)
at com.naryx.tagfusion.cfm.engine.cfEngine.service(Unknown Source)
at com.naryx.tagfusion.cfm.cfServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
859)
at org.apache.coyote.http11.Http11AprProtocol
$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:
1555)
at java.lang.Thread.run(Thread.java:619)
Running the same code on CF8, CF9, BD.NET and Railo all work fine (ie:
I get a dump from both test.cfm files).
{quote}
It actually nae bother for me because I can just change the
application name of one of the apps, but figured you might want to
know about it.
--
Adam
--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en