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:
https://github.com/lucee/Lucee/tree/master/core/src/main/java/coldfusion/runtime 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.

https://github.com/lmajano/messaging-polyglot/tree/master/consumer/cfml
https://github.com/lmajano/messaging-polyglot/blob/master/consumer/cfml/Application.cfc

-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.