Hey Magnus;
As you probably guessed already, the error is being thrown on
purpose in response to the false value apparently
returned by the isUserLoggedIn() function in Base.cfc; which is
testing session.auth for session.auth.loggedIn and session.auth.password
(and comparing the later to the result of getPassword() function).
All this implies that the session in use (to establish your
logged-in state) does not contain the needed parameters or correct
values. Have you cleared out any session tokens that were in place
(or restarted the J2EE engine) since you moved the app to the new
location? Were you ever asked to log in to the Admin app again after
all the stuff was moved (or is it still trying to use the session
from the former location)?
Look at the session provided as part of the error structure/message
for the above values. It's possible that your new configuration is
confusing the relationship between the session provided by the J2EE
engine and the one exposed to the functions in the administration
app. What's the value of j2eesession in
/WEB-INF/bluedragon/bluedragon.xml (just curious)?
There seem to be some settings in the admin app (lines 36~67 of
Base.cfc for example) which look for specific directory structures
too.
That's all I can think of right off the bat...
Al Holden
On 7/10/2017 11:26 PM, Magnus wrote:
When log in the administrator on a new dev install I get
this error and I am not able to access or change any of the
settings. I have moved the site out of webapps to another
drive and moved over the WEB-INF and bluedragon folders. Other
pages on the site as far as I can tell. The datasource hasn't
been set up yet but other pages load with the expected error
of no dsn.
Any ideas about what I am missing or got wrong:
Thanks for your help.
| Type |
bluedragon.adminapi.security |
| Function(s) |
onRequestStart
(E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=62, Column=2)
|
+--setInitialSecurity
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=30, Column=151)
|
+--setConfig
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=106, Column=86)
|
+--checkLoginStatus
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=95, Column=103)
|
| Tag Context |
CFTHROW
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=97, Column=7)
|
+-- CFIF
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=96, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=95, Column=103)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=114, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=106, Column=86)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=49, Column=7)
|
+-- CFIF
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=44, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc, Line=30,
Column=151)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=65, Column=3)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=62, Column=2) |
| Source |
94 : <cffunction name="checkLoginStatus" access="package" output="false" returntype="void"
95 : hint="Checks login status and throws a security exception if there is no valid logged in user">
96 : <cfif !isUserLoggedIn()>
97 : <cfthrow message="#variables.msg.security.notLoggedIn#" type="bluedragon.adminapi.security" />
98 : </cfif>
^ Snippet from underlying CFML source |
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google
Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
|