ApplicationScopeTracker Class not Found & Class path definition

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for the
class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by
(java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker;java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker
not found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky - would
anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee - would
anyone be able to shed some light on this too?

Many thanks in advance.

I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented,
unsupported access) To provide alternatives weā€™d need to know what youā€™re
trying to do, and why. Access variables from other application scopes? (in
which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all
applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦
what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader, as
does adding the libraries to the WEB-INF/lib folder, or the more
complicated solution of making OSGi bundles. It all depends on what you
need the library for, where youā€™re accessing it, etc.

JoeOn Fri, Feb 10, 2017 at 5:35 AM, Chris Young <@Chris_Young> wrote:

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for the
class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by (java.lang.ClassNotFoundException:
coldfusion.runtime.ApplicationScopeTracker;java.
lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker
not found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky - would
anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee -
would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google Groups
ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Also note I tested this against Lucee 5. (You didnā€™t specify a Lucee
version)
-GOn Fri, Feb 10, 2017 at 5:11 PM, Joseph Gooch <@Joseph_Gooch> wrote:

I mean, as long as you know itā€™s badā€¦

Thereā€™s a bunch of Session scope stuff in there too.
(getAllSessionScopes, getAllCFSessionScopes)

Have fun.
-G

On Fri, Feb 10, 2017 at 8:36 AM, Chris Young <@Chris_Young> wrote:

Thanks for responding Joe,

This is more legacy code - and IMO a bad approach - but there isnā€™t scope
to change it if needed. We are using the ApplicationScopeTracker (and the
session tracker) to grab the application variables and session collections
from an admin app that runs with our website. Essentially they need to run
alongside each other.

For the class paths - our CMS comes with a number of different classes so
these need to be included.

On Friday, February 10, 2017 at 1:12:08 PM UTC, Joseph Gooch wrote:

I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented,
unsupported access) To provide alternatives weā€™d need to know what youā€™re
trying to do, and why. Access variables from other application scopes? (in
which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all
applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦
what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader,
as does adding the libraries to the WEB-INF/lib folder, or the more
complicated solution of making OSGi bundles. It all depends on what you
need the library for, where youā€™re accessing it, etc.

Joe

On Fri, Feb 10, 2017 at 5:35 AM, Chris Young chyoun...@gmail.com wrote:

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for
the class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by (java.lang.ClassNotFoundExcept
ion:coldfusion.runtime.ApplicationScopeTracker;java.lang.Cla
ssNotFoundException:coldfusion.runtime.ApplicationScopeTracker not
found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky -
would anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee -
would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google
Groups ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

ā€“
You received this message because you are subscribed to the Google Groups
ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com
https://groups.google.com/d/msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Thanks for responding Joe,

This is more legacy code - and IMO a bad approach - but there isnā€™t scope
to change it if needed. We are using the ApplicationScopeTracker (and the
session tracker) to grab the application variables and session collections
from an admin app that runs with our website. Essentially they need to run
alongside each other.

For the class paths - our CMS comes with a number of different classes so
these need to be included.On Friday, February 10, 2017 at 1:12:08 PM UTC, Joseph Gooch wrote:

I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented,
unsupported access) To provide alternatives weā€™d need to know what youā€™re
trying to do, and why. Access variables from other application scopes? (in
which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all
applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦
what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader,
as does adding the libraries to the WEB-INF/lib folder, or the more
complicated solution of making OSGi bundles. It all depends on what you
need the library for, where youā€™re accessing it, etc.

Joe

On Fri, Feb 10, 2017 at 5:35 AM, Chris Young <chyoun...@gmail.com <javascript:>> wrote:

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for the
class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by
(java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker;java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker
not found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky - would
anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee -
would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google Groups
ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I mean, as long as you know itā€™s badā€¦

Thereā€™s a bunch of Session scope stuff in there too. (getAllSessionScopes,
getAllCFSessionScopes)

Have fun.
-GOn Fri, Feb 10, 2017 at 8:36 AM, Chris Young <@Chris_Young> wrote:

Thanks for responding Joe,

This is more legacy code - and IMO a bad approach - but there isnā€™t scope
to change it if needed. We are using the ApplicationScopeTracker (and the
session tracker) to grab the application variables and session collections
from an admin app that runs with our website. Essentially they need to run
alongside each other.

For the class paths - our CMS comes with a number of different classes so
these need to be included.

On Friday, February 10, 2017 at 1:12:08 PM UTC, Joseph Gooch wrote:

I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented,
unsupported access) To provide alternatives weā€™d need to know what youā€™re
trying to do, and why. Access variables from other application scopes? (in
which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all
applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦
what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader,
as does adding the libraries to the WEB-INF/lib folder, or the more
complicated solution of making OSGi bundles. It all depends on what you
need the library for, where youā€™re accessing it, etc.

Joe

On Fri, Feb 10, 2017 at 5:35 AM, Chris Young chyoun...@gmail.com wrote:

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for the
class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by (java.lang.ClassNotFoundExcept
ion:coldfusion.runtime.ApplicationScopeTracker;java.lang.
ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker not
found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky -
would anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee -
would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google
Groups ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

ā€“
You received this message because you are subscribed to the Google Groups
ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com
https://groups.google.com/d/msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

The application scope tracker is not available (AFAIK) but I can see there is a SessionTracker:
Lucee/core/src/main/java/coldfusion/runtime at master Ā· lucee/Lucee Ā· GitHub https://github.com/lucee/Lucee/tree/master/core/src/main/java/coldfusion/runtime

What do you need to get from the ApplicationScopeTracker?

MD> On 10 Feb 2017, at 13:36, Chris Young <@Chris_Young> wrote:

Thanks for responding Joe,

This is more legacy code - and IMO a bad approach - but there isnā€™t scope to change it if needed. We are using the ApplicationScopeTracker (and the session tracker) to grab the application variables and session collections from an admin app that runs with our website. Essentially they need to run alongside each other.

For the class paths - our CMS comes with a number of different classes so these need to be included.

On Friday, February 10, 2017 at 1:12:08 PM UTC, Joseph Gooch wrote:
I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented, unsupported access) To provide alternatives weā€™d need to know what youā€™re trying to do, and why. Access variables from other application scopes? (in which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦ what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader, as does adding the libraries to the WEB-INF/lib folder, or the more complicated solution of making OSGi bundles. It all depends on what you need the library for, where youā€™re accessing it, etc.

Joe

On Fri, Feb 10, 2017 at 5:35 AM, Chris Young <chyoun...@gmail.com <javascript:>> wrote:
Hi There,

I currently trying to move a CF application over to Lucee, however I am getting the following error:

cannot load class through its string name, because no definition for the class with the specified name [coldfusion.runtime.ApplicationScopeTracker] could be found caused by (java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker;java.lang.ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker not found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky - would anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class Path directory, I also canā€™t seem to find this setting in Lucee - would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google Groups ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

ā€“
You received this message because you are subscribed to the Google Groups ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com https://groups.google.com/d/msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Easiest thing for libs is to just use an Application.cfc setting, i.e. see
Luisā€™s excellent polyglot.

-GOn Fri, Feb 10, 2017 at 8:36 AM, Chris Young <@Chris_Young> wrote:

Thanks for responding Joe,

This is more legacy code - and IMO a bad approach - but there isnā€™t scope
to change it if needed. We are using the ApplicationScopeTracker (and the
session tracker) to grab the application variables and session collections
from an admin app that runs with our website. Essentially they need to run
alongside each other.

For the class paths - our CMS comes with a number of different classes so
these need to be included.

On Friday, February 10, 2017 at 1:12:08 PM UTC, Joseph Gooch wrote:

I think youā€™ll need to provide some more details.

ApplicationScopeTracker is an internal ACF class. (undocumented,
unsupported access) To provide alternatives weā€™d need to know what youā€™re
trying to do, and why. Access variables from other application scopes? (in
which case, youā€™re breaking encapsulation. But Iā€™ve done it) List all
applications on the server? (again, why?)

Similarly, Coldfusion Class Path would add java libraries to the mixā€¦
what libraries? For what purpose?

Application.cfc provides ways to add java libraries, as does Javaloader,
as does adding the libraries to the WEB-INF/lib folder, or the more
complicated solution of making OSGi bundles. It all depends on what you
need the library for, where youā€™re accessing it, etc.

Joe

On Fri, Feb 10, 2017 at 5:35 AM, Chris Young chyoun...@gmail.com wrote:

Hi There,

I currently trying to move a CF application over to Lucee, however I am
getting the following error:

cannot load class through its string name, because no definition for the
class with the specified name [coldfusion.runtime.ApplicationScopeTracker]
could be found caused by (java.lang.ClassNotFoundExcept
ion:coldfusion.runtime.ApplicationScopeTracker;java.lang.
ClassNotFoundException:coldfusion.runtime.ApplicationScopeTracker not
found by lucee.core [64]:wink:

Iā€™m trying to find the Lucee alternative but it is proving tricky -
would anyone be able to shed some kind of light on this?

Also - on our CF application we define a ColdFusion Class Path Class
Path directory,
I also canā€™t seem to find this setting in Lucee -
would anyone be able to shed some light on this too?

Many thanks in advance.

ā€“
You received this message because you are subscribed to the Google
Groups ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e927d717-1601-4d54-ae7d-79c8c1b42e7a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

ā€“
You received this message because you are subscribed to the Google Groups
ā€œLuceeā€ group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com
https://groups.google.com/d/msgid/lucee/ef37f55b-6d75-40a1-80cc-7b38fc0cbcc3%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.